diff options
author | Dessalines <tyhou13@gmx.com> | 2020-04-01 13:22:44 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-04-01 13:22:44 -0400 |
commit | 1e0f5cfcea5a467ffed41d4eba722301f22ccf83 (patch) | |
tree | 70b69ca1f0352ddfce8f9f08bed5400646d16a10 /ui/src/utils.ts | |
parent | ef564b0a931c90acab4be67a317d8fda11779fb6 (diff) |
Add georgian language for weblate.
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r-- | ui/src/utils.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts index 48bd175e..8ecef19b 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -12,6 +12,7 @@ import 'moment/locale/ca'; import 'moment/locale/fa'; import 'moment/locale/pt-br'; import 'moment/locale/ja'; +import 'moment/locale/ka'; import { UserOperation, @@ -59,6 +60,7 @@ export const languages = [ { code: 'eo', name: 'Esperanto' }, { code: 'es', name: 'Español' }, { code: 'de', name: 'Deutsch' }, + { code: 'ka', name: 'ქართული ენა' }, { code: 'fa', name: 'فارسی' }, { code: 'ja', name: '日本語' }, { code: 'pt_BR', name: 'Português Brasileiro' }, @@ -353,6 +355,8 @@ export function getMomentLanguage(): string { lang = 'pt-br'; } else if (lang.startsWith('ja')) { lang = 'ja'; + } else if (lang.startsWith('ka')) { + lang = 'ka'; } else { lang = 'en'; } |