From: Dessalines Date: Wed, 1 Apr 2020 17:22:44 +0000 (-0400) Subject: Add georgian language for weblate. X-Git-Url: http://these/git/readmes/static/%7B%60/css/themes/%7BimageUploadUrl%7D?a=commitdiff_plain;h=1e0f5cfcea5a467ffed41d4eba722301f22ccf83;p=lemmy.git Add georgian language for weblate. --- 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'; } diff --git a/ui/translations/ka.json b/ui/translations/ka.json new file mode 100644 index 00000000..2c63c085 --- /dev/null +++ b/ui/translations/ka.json @@ -0,0 +1,2 @@ +{ +}