Add georgian language for weblate.

This commit is contained in:
Dessalines 2020-04-01 13:22:44 -04:00
parent ef564b0a93
commit 1e0f5cfcea
2 changed files with 6 additions and 0 deletions

4
ui/src/utils.ts vendored
View File

@ -12,6 +12,7 @@ import 'moment/locale/ca';
import 'moment/locale/fa'; import 'moment/locale/fa';
import 'moment/locale/pt-br'; import 'moment/locale/pt-br';
import 'moment/locale/ja'; import 'moment/locale/ja';
import 'moment/locale/ka';
import { import {
UserOperation, UserOperation,
@ -59,6 +60,7 @@ export const languages = [
{ code: 'eo', name: 'Esperanto' }, { code: 'eo', name: 'Esperanto' },
{ code: 'es', name: 'Español' }, { code: 'es', name: 'Español' },
{ code: 'de', name: 'Deutsch' }, { code: 'de', name: 'Deutsch' },
{ code: 'ka', name: 'ქართული ენა' },
{ code: 'fa', name: 'فارسی' }, { code: 'fa', name: 'فارسی' },
{ code: 'ja', name: '日本語' }, { code: 'ja', name: '日本語' },
{ code: 'pt_BR', name: 'Português Brasileiro' }, { code: 'pt_BR', name: 'Português Brasileiro' },
@ -353,6 +355,8 @@ export function getMomentLanguage(): string {
lang = 'pt-br'; lang = 'pt-br';
} else if (lang.startsWith('ja')) { } else if (lang.startsWith('ja')) {
lang = 'ja'; lang = 'ja';
} else if (lang.startsWith('ka')) {
lang = 'ka';
} else { } else {
lang = 'en'; lang = 'en';
} }

2
ui/translations/ka.json vendored Normal file
View File

@ -0,0 +1,2 @@
{
}