Add German Translation for Mailtrain v2

This commit is contained in:
Markus Opolka 2019-11-09 17:47:58 +01:00
parent 10dcfeb749
commit aa1baae5b5
6 changed files with 1042 additions and 2 deletions

View file

@ -12,12 +12,13 @@ import {createComponentMixin} from "./decorator-helpers";
import lang_en_US_common from "../../../locales/en-US/common";
import lang_es_ES_common from "../../../locales/es-ES/common";
import lang_pt_BR_common from "../../../locales/pt-BR/common";
import lang_de_DE_common from "../../../locales/de-DE/common";
const resourcesCommon = {
'en-US': lang_en_US_common,
'es-ES': lang_es_ES_common,
'pt-BR': lang_pt_BR_common,
'de-DE': lang_de_DE_common,
'fk-FK': convertToFake(lang_en_US_common)
};

1032
locales/de-DE/common.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -17,7 +17,7 @@ const deepKeys = require('deep-keys');
const localeMain = 'en-US/common.json';
const localeMainPrevious = 'en-US-last-run/common.json';
const localeTranslations = ['es-ES/common.json', 'pt-BR/common.json'];
const localeTranslations = ['es-ES/common.json', 'pt-BR/common.json', 'de-DE/common.json'];
const searchDirs = [
'../client/src',
'../server',

View file

@ -49,6 +49,7 @@ enabledLanguages:
- en-US
- es-ES
- pt-BR
- de-DE
- fk-FK
# Inject custom scripts in subscription/layout.mjml.hbs

View file

@ -12,6 +12,7 @@ defaultLanguage: en-US
enabledLanguages:
- en-US
- es-ES
- de-DE
- fk-FK
mysql:

View file

@ -56,6 +56,11 @@ const langCodes = {
getLabel: t => 'Português',
longCode: 'pt-BR'
},
'de-DE': {
getShortLabel: t => 'DE',
getLabel: t => 'Deutsch',
longCode: 'de-DE'
},
'fk-FK': {
getShortLabel: t => 'FK',
getLabel: t => 'Fake',