From 5e7975f1047dc86140ee327226e30eb54ae58a58 Mon Sep 17 00:00:00 2001 From: aquaratixc Date: Sun, 23 Apr 2023 12:30:31 +0300 Subject: [PATCH 1/2] Update index.ts Added russian translation --- src/locales/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/locales/index.ts b/src/locales/index.ts index 07da442e6c..82f413ea76 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -4,6 +4,7 @@ import enUS from './en-US' import koKR from './ko-KR' import zhCN from './zh-CN' import zhTW from './zh-TW' +import zhTW from './ru-RU' import { useAppStoreWithOut } from '@/store/modules/app' import type { Language } from '@/store/modules/app/helper' @@ -20,6 +21,7 @@ const i18n = createI18n({ 'ko-KR': koKR, 'zh-CN': zhCN, 'zh-TW': zhTW, + 'ru-RU': ruRU, }, }) From 6be256302856ee21d60a1083e82c1e9bf51dbfd9 Mon Sep 17 00:00:00 2001 From: Redon <790348264@qq.com> Date: Mon, 24 Apr 2023 20:10:17 +0800 Subject: [PATCH 2/2] fix: locale name --- src/locales/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locales/index.ts b/src/locales/index.ts index 82f413ea76..1df66cd820 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -4,7 +4,7 @@ import enUS from './en-US' import koKR from './ko-KR' import zhCN from './zh-CN' import zhTW from './zh-TW' -import zhTW from './ru-RU' +import ruRU from './ru-RU' import { useAppStoreWithOut } from '@/store/modules/app' import type { Language } from '@/store/modules/app/helper'