Begin adding Hebrew translation

This commit is contained in:
Mendel Konikov
2018-03-07 12:00:38 -05:00
parent a4a22c0758
commit 2a8975711a
2 changed files with 470 additions and 0 deletions
+5
View File
@@ -8,6 +8,7 @@ import 'moment/locale/da';
import 'moment/locale/de';
import 'moment/locale/es';
import 'moment/locale/fr';
import 'moment/locale/he';
import 'moment/locale/pt-br';
import { createStorage } from 'coral-framework/services/storage';
@@ -16,6 +17,7 @@ import daTA from 'timeago.js/locales/da';
import deTA from 'timeago.js/locales/de';
import esTA from 'timeago.js/locales/es';
import frTA from 'timeago.js/locales/fr';
import heTA from 'timeago.js/locales/he';
import pt_BRTA from 'timeago.js/locales/pt_BR';
import zh_CNTA from 'timeago.js/locales/zh_CN';
import zh_TWTA from 'timeago.js/locales/zh_TW';
@@ -26,6 +28,7 @@ import da from '../../../locales/da.yml';
import de from '../../../locales/de.yml';
import es from '../../../locales/es.yml';
import fr from '../../../locales/fr.yml';
import he from '../../../locales/he.yml';
import pt_BR from '../../../locales/pt_BR.yml';
import zh_CN from '../../../locales/zh_CN.yml';
import zh_TW from '../../../locales/zh_TW.yml';
@@ -38,6 +41,7 @@ const translations = {
...de,
...es,
...fr,
...he,
...nl_NL,
...pt_BR,
...zh_CN,
@@ -92,6 +96,7 @@ export function setupTranslations() {
ta.register('da', daTA);
ta.register('de', deTA);
ta.register('fr', frTA);
ta.register('he', heTA);
ta.register('pt_BR', pt_BRTA);
ta.register('zh_CN', zh_CNTA);
ta.register('zh_TW', zh_TWTA);