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_en_US_common from "../../../locales/en-US/common";
import lang_es_ES_common from "../../../locales/es-ES/common"; import lang_es_ES_common from "../../../locales/es-ES/common";
import lang_pt_BR_common from "../../../locales/pt-BR/common"; import lang_pt_BR_common from "../../../locales/pt-BR/common";
import lang_de_DE_common from "../../../locales/de-DE/common";
const resourcesCommon = { const resourcesCommon = {
'en-US': lang_en_US_common, 'en-US': lang_en_US_common,
'es-ES': lang_es_ES_common, 'es-ES': lang_es_ES_common,
'pt-BR': lang_pt_BR_common, 'pt-BR': lang_pt_BR_common,
'de-DE': lang_de_DE_common,
'fk-FK': convertToFake(lang_en_US_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 localeMain = 'en-US/common.json';
const localeMainPrevious = 'en-US-last-run/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 = [ const searchDirs = [
'../client/src', '../client/src',
'../server', '../server',

View file

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

View file

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

View file

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