mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
refactor(i18n): 将日语和俄语翻译文件移动到机器翻译目录
This commit is contained in:
parent
fb1cf5942b
commit
feb27d4af5
@ -1,13 +1,13 @@
|
|||||||
import EnUs from '../../renderer/src/i18n/locales/en-us.json'
|
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 ZhCn from '../../renderer/src/i18n/locales/zh-cn.json'
|
||||||
import ZhTw from '../../renderer/src/i18n/locales/zh-tw.json'
|
import ZhTw from '../../renderer/src/i18n/locales/zh-tw.json'
|
||||||
// Machine translation
|
// Machine translation
|
||||||
import elGR from '../../renderer/src/i18n/translate/el-gr.json'
|
import elGR from '../../renderer/src/i18n/translate/el-gr.json'
|
||||||
import esES from '../../renderer/src/i18n/translate/es-es.json'
|
import esES from '../../renderer/src/i18n/translate/es-es.json'
|
||||||
import frFR from '../../renderer/src/i18n/translate/fr-fr.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 ptPT from '../../renderer/src/i18n/translate/pt-pt.json'
|
||||||
|
import RuRu from '../../renderer/src/i18n/translate/ru-ru.json'
|
||||||
|
|
||||||
const locales = Object.fromEntries(
|
const locales = Object.fromEntries(
|
||||||
[
|
[
|
||||||
|
|||||||
@ -5,15 +5,15 @@ import { initReactI18next } from 'react-i18next'
|
|||||||
|
|
||||||
// Original translation
|
// Original translation
|
||||||
import enUS from './locales/en-us.json'
|
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 zhCN from './locales/zh-cn.json'
|
||||||
import zhTW from './locales/zh-tw.json'
|
import zhTW from './locales/zh-tw.json'
|
||||||
// Machine translation
|
// Machine translation
|
||||||
import elGR from './translate/el-gr.json'
|
import elGR from './translate/el-gr.json'
|
||||||
import esES from './translate/es-es.json'
|
import esES from './translate/es-es.json'
|
||||||
import frFR from './translate/fr-fr.json'
|
import frFR from './translate/fr-fr.json'
|
||||||
|
import jaJP from './translate/ja-jp.json'
|
||||||
import ptPT from './translate/pt-pt.json'
|
import ptPT from './translate/pt-pt.json'
|
||||||
|
import ruRU from './translate/ru-ru.json'
|
||||||
|
|
||||||
const logger = loggerService.withContext('I18N')
|
const logger = loggerService.withContext('I18N')
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user