feat: enlarge the size of the next button for uploading files and add locale config to global.ts (#195)

feat: enlarge the size of the next button for uploading files
feat: add locale config to global.ts
This commit is contained in:
balibabu
2024-04-02 10:31:46 +08:00
committed by GitHub
parent 7a36d25687
commit e3c24e653e
8 changed files with 135 additions and 79 deletions

View File

@ -5,20 +5,20 @@ import translation_en from './en.json';
import translation_zh from './zh.json';
const resources = {
en: {
translation: translation_en,
},
zh: {
translation: translation_zh,
},
en: {
translation: translation_en,
},
zh: {
translation: translation_zh,
},
};
i18n.use(initReactI18next).init({
resources,
lng: 'zh',
interpolation: {
escapeValue: false,
},
resources,
lng: 'en',
interpolation: {
escapeValue: false,
},
});
export default i18n;