Skip to content

Commit

Permalink
Update app files
Browse files Browse the repository at this point in the history
  • Loading branch information
pschlan committed Jan 14, 2025
1 parent 883692d commit 9b05d83
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import translationRo from './locales/ro/translation.json';
import translationPL from './locales/pl/translation.json';
import translationPtBR from './locales/pt_BR/translation.json';
import translationZhCN from './locales/zh_CN/translation.json';
import translationHU from './locales/hu/translation.json';

import AppMenu from './components/AppMenu';
import Dashboard from './components/dashboard/Dashboard';
Expand All @@ -47,6 +48,7 @@ import 'moment/locale/pl';
import 'moment/locale/zh-tw';
import 'moment/locale/pt-br';
import 'moment/locale/zh-cn';
import 'moment/locale/hu';
import moment from 'moment';
import useLanguageCode, { getLanguageCode } from './hooks/useLanguageCode';
import { Config } from './utils/Config';
Expand Down Expand Up @@ -91,6 +93,9 @@ const LANGUAGE_RESOURCES = {
zh_CN: {
translation: translationZhCN,
},
hu: {
translation: translationHU,
},
};

i18n
Expand Down
9 changes: 9 additions & 0 deletions statuspage/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@ import translationRo from './locales/ro/translation.json';
import translationPL from './locales/pl/translation.json';
import translationPtBR from './locales/pt_BR/translation.json';
import translationZhCN from './locales/zh_CN/translation.json';
import translationHU from './locales/hu/translation.json';

import 'moment/locale/de';
import 'moment/locale/it';
import 'moment/locale/fr';
import 'moment/locale/ro';
import 'moment/locale/ru';
import 'moment/locale/pl';
import 'moment/locale/zh-cn';
import 'moment/locale/zh-tw';
import 'moment/locale/pt-br';
import 'moment/locale/hu';
import moment from 'moment';
import { Config } from './utils/Config';

Expand Down Expand Up @@ -60,6 +66,9 @@ const LANGUAGE_RESOURCES = {
},
zh_CN: {
translation: translationZhCN
},
hu: {
translation: translationHU
}
};

Expand Down

0 comments on commit 9b05d83

Please sign in to comment.