diff --git a/content/i18n/bg.json b/content/i18n/bg.json index 3a58787..0af16c9 100644 --- a/content/i18n/bg.json +++ b/content/i18n/bg.json @@ -5,9 +5,9 @@ "greeting": "Здравей", "farewell": "Довиждане", "changeTo": "", - "BG": "Български", - "EN": "Английски", - "RU": "Руски", + "BG": "български", + "EN": "английски", + "RU": "руски", "login": "Вход", "logout": "Изход" }, @@ -23,7 +23,7 @@ "contactAll": "Участници", "feedback": "Отзиви", "contactUs": "За връзка", - "admin": "Админ", + "admin": "Администрация", "cart-places": "Места", "cart-publishers": "Вестители", "cart-events": "План", diff --git a/content/i18n/en.json b/content/i18n/en.json index 9ca0d0e..6b4c22f 100644 --- a/content/i18n/en.json +++ b/content/i18n/en.json @@ -10,6 +10,25 @@ "logout": "logout" }, "menu": { - "dashboard": "Dashboard" + "dashboard": "Dashboard", + "shedule": "Schedule", + "myshedule": "My Schedule", + "locations": "Cart Locations", + "cart-report": "Report", + "cart-experience": "Experience", + "guidelines": "Guidelines", + "permits": "Permits", + "contactAll": "Contacts", + "feedback": "Feedback", + "contactUs": "Contact Us", + "admin": "Administration", + "cart-places": "Places", + "cart-publishers": "Publishers", + "cart-events": "Events", + "cart-calendar": "Scheduler", + "cart-reports": "View Reports", + "statistics": "View Statistics", + "coverMeLogs": "View CoverMe logs", + "translations": "Translation" } } \ No newline at end of file diff --git a/pages/_app.tsx b/pages/_app.tsx index f6150ad..2093f0a 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -30,8 +30,8 @@ import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs' //function SmwsApp({ Component, pageProps: { locale, messages, session, ...pageProps }, }: AppProps<{ session: Session }>) { function SmwsApp({ Component, pageProps, session, locale, messages }) { // dynamic locale loading using our API endpoint - // const [locale, setLocale] = useState(router.locale || 'bg'); - // const [messages, setMessages] = useState({}); + // const [locale, setLocale] = useState(_locale); + // const [messages, setMessages] = useState(_messages); // useEffect(() => { // async function loadLocaleData() { // const res = await fetch(`/api/translations/${locale}`);