diff --git a/src/main/utils/locales.ts b/src/main/utils/locales.ts index 9e8d9be839..397e69fd96 100644 --- a/src/main/utils/locales.ts +++ b/src/main/utils/locales.ts @@ -1,13 +1,13 @@ import EnUs from '../../renderer/src/i18n/locales/en-us.json' -import JaJP from '../../renderer/src/i18n/locales/ja-jp.json' -import RuRu from '../../renderer/src/i18n/locales/ru-ru.json' import ZhCn from '../../renderer/src/i18n/locales/zh-cn.json' import ZhTw from '../../renderer/src/i18n/locales/zh-tw.json' // Machine translation import elGR from '../../renderer/src/i18n/translate/el-gr.json' import esES from '../../renderer/src/i18n/translate/es-es.json' import frFR from '../../renderer/src/i18n/translate/fr-fr.json' +import JaJP from '../../renderer/src/i18n/translate/ja-jp.json' import ptPT from '../../renderer/src/i18n/translate/pt-pt.json' +import RuRu from '../../renderer/src/i18n/translate/ru-ru.json' const locales = Object.fromEntries( [ diff --git a/src/renderer/src/i18n/index.ts b/src/renderer/src/i18n/index.ts index da6b924af9..8257f36ad9 100644 --- a/src/renderer/src/i18n/index.ts +++ b/src/renderer/src/i18n/index.ts @@ -5,15 +5,15 @@ import { initReactI18next } from 'react-i18next' // Original translation import enUS from './locales/en-us.json' -import jaJP from './locales/ja-jp.json' -import ruRU from './locales/ru-ru.json' import zhCN from './locales/zh-cn.json' import zhTW from './locales/zh-tw.json' // Machine translation import elGR from './translate/el-gr.json' import esES from './translate/es-es.json' import frFR from './translate/fr-fr.json' +import jaJP from './translate/ja-jp.json' import ptPT from './translate/pt-pt.json' +import ruRU from './translate/ru-ru.json' const logger = loggerService.withContext('I18N')