mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-10 00:18:49 -06:00
Add georgian language for weblate.
This commit is contained in:
parent
ef564b0a93
commit
1e0f5cfcea
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 New Issue
Block a user