Skip to content

Commit

Permalink
improve naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Markusplay committed Feb 6, 2025
1 parent 3c7ff5a commit cbaf789
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/(private)/app-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const createMenuGroups = (t: ReturnType<typeof useTranslations>) => [
},
{
title: t('employment-system'),
url: '/survey',
url: '/employment-system',
icon: BagSimple,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Paragraph } from '@/components/typography/paragraph';
import { Button } from '@/components/ui/button';
import { redirectToEmploymentSystem } from '@/actions/auth.actions';

const INTL_NAMESPACE = 'private.survey';
const INTL_NAMESPACE = 'private.employment-system';

export async function generateMetadata({ params: { locale } }: any) {
const t = await getTranslations({ locale, namespace: INTL_NAMESPACE });
Expand All @@ -16,7 +16,7 @@ export async function generateMetadata({ params: { locale } }: any) {
};
}

export default function SettingsPage() {
export default function EmploymentSystemPage() {
const t = useTranslations(INTL_NAMESPACE);

return (
Expand Down
2 changes: 1 addition & 1 deletion src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"not-specified": "Not specified"
}
},
"survey": {
"employment-system": {
"title": "Employment system",
"subtitle": "You can proceed to filling out the skills and knowledge questionnaire or watch the video tutorial",
"button": {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"not-specified": "Не вказано"
}
},
"survey": {
"employment-system": {
"title": "Система працевлаштування",
"subtitle": "Ви можете перейти до заповнення анкети навичок та знань, або переглянути відео-інструкцію",
"button": {
Expand Down

0 comments on commit cbaf789

Please sign in to comment.