about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
authorKirill <ponfertato@ya.ru>2024-09-07 23:50:18 +0300
committerGitHub <noreply@github.com>2024-09-07 13:50:18 -0700
commit63ab16a62d7e63a3ef38b6363bbf8034ccfb490f (patch)
tree8bcd881190bd1574b6bbfc7e4eba83c6754b006e /src/locale/helpers.ts
parent9b8d62ca254863455b895cf016fe19825285ca70 (diff)
downloadvoidsky-63ab16a62d7e63a3ef38b6363bbf8034ccfb490f.tar.zst
Add Russian translation (#3875)
* Add Russian translation

* Update messages.po

* Update messages.po (draft)

* Добавлены новые строки для перевода

В ручную объеденил исправленный RU с самым новым EN. Могут быть ошибки но быстрый тест проблем не выявил.

* Переведены не переведенные строки, некоторые исправления перевода.

* Еще небольшие правки

* Update messages.po (draft)

* Update messages.po (stage)

* Update messages.po

* Init lingui compiling ru language

* Update messages.po

* Update messages.po (clear)

* Update messages.po

* Update messages.po

* change await import to await Promise.all

* Update messages.po

* Update messages.po (clear)

---------

Co-authored-by: DearFox <59219907+DearFox@users.noreply.github.com>
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index cbaaf445a..3bae45214 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -143,6 +143,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.ko
       case 'pt-BR':
         return AppLanguage.pt_BR
+      case 'ru':
+        return AppLanguage.ru
       case 'tr':
         return AppLanguage.tr
       case 'uk':