summaryrefslogtreecommitdiffstats
path: root/ui/src/utils.ts
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-07-01 18:50:38 -0400
committerDessalines <tyhou13@gmx.com>2020-07-01 18:50:38 -0400
commit360e7aec424ca07a0329e18549f8dce692495ed8 (patch)
tree36241237085e3a0b7783551e7ed9648a000b63f4 /ui/src/utils.ts
parent42c5c9fd654f2adacbd1a689386f04df1fd87373 (diff)
Adding Albanian for weblate.
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r--ui/src/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts
index 7bf6fdd1..48d2095d 100644
--- a/ui/src/utils.ts
+++ b/ui/src/utils.ts
@@ -21,6 +21,7 @@ import 'moment/locale/gl';
import 'moment/locale/tr';
import 'moment/locale/hu';
import 'moment/locale/uk';
+import 'moment/locale/sq';
import {
UserOperation,
@@ -83,6 +84,7 @@ export const languages = [
{ code: 'fi', name: 'Suomi' },
{ code: 'fr', name: 'Français' },
{ code: 'sv', name: 'Svenska' },
+ { code: 'sq', name: 'Shqip' },
{ code: 'tr', name: 'Türkçe' },
{ code: 'uk', name: 'українська мова' },
{ code: 'ru', name: 'Русский' },
@@ -414,6 +416,8 @@ export function getMomentLanguage(): string {
lang = 'hu';
} else if (lang.startsWith('uk')) {
lang = 'uk';
+ } else if (lang.startsWith('sq')) {
+ lang = 'sq';
} else {
lang = 'en';
}