From 91884e92059a0270c28af5469bd872a074d12746 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 22 May 2020 23:14:22 -0400 Subject: [PATCH] Add support for greek language (#454) --- jslib | 2 +- src/app/app.module.ts | 2 ++ src/services/i18n.service.ts | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 0092aac275..2858724f44 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 0092aac275e8efca66838a8c266eec1d455883aa +Subproject commit 2858724f4431038be190fc0b748efe287dd1bae6 diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 33793203c7..9d4dd8d4e9 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -66,6 +66,7 @@ import localeCa from '@angular/common/locales/ca'; import localeCs from '@angular/common/locales/cs'; import localeDa from '@angular/common/locales/da'; import localeDe from '@angular/common/locales/de'; +import localeEl from '@angular/common/locales/el'; import localEnGb from '@angular/common/locales/en-GB'; import localeEs from '@angular/common/locales/es'; import localeEt from '@angular/common/locales/et'; @@ -99,6 +100,7 @@ registerLocaleData(localeCa, 'ca'); registerLocaleData(localeCs, 'cs'); registerLocaleData(localeDa, 'da'); registerLocaleData(localeDe, 'de'); +registerLocaleData(localeEl, 'el'); registerLocaleData(localEnGb, 'en-GB'); registerLocaleData(localeEs, 'es'); registerLocaleData(localeEt, 'et'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index c88bbdf7a2..b5d1d1dd5f 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -13,8 +13,8 @@ export class I18nService extends BaseI18nService { }); this.supportedTranslationLocales = [ - 'en', 'bg', 'ca', 'cs', 'da', 'de', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id', 'it', 'ja', - 'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi', + 'en', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id', 'it', + 'ja', 'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW', ]; }