mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-26 04:41:31 +00:00
Add georgian language for weblate.
This commit is contained in:
parent
5269f23720
commit
a8c7468af9
2 changed files with 6 additions and 0 deletions
4
ui/src/utils.ts
vendored
4
ui/src/utils.ts
vendored
|
@ -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
2
ui/translations/ka.json
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{
|
||||||
|
}
|
Loading…
Reference in a new issue