Add German Translation for Mailtrain v2
This commit is contained in:
parent
10dcfeb749
commit
aa1baae5b5
6 changed files with 1042 additions and 2 deletions
|
@ -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
1032
locales/de-DE/common.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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',
|
||||
|
|
|
@ -49,6 +49,7 @@ enabledLanguages:
|
|||
- en-US
|
||||
- es-ES
|
||||
- pt-BR
|
||||
- de-DE
|
||||
- fk-FK
|
||||
|
||||
# Inject custom scripts in subscription/layout.mjml.hbs
|
||||
|
|
|
@ -12,6 +12,7 @@ defaultLanguage: en-US
|
|||
enabledLanguages:
|
||||
- en-US
|
||||
- es-ES
|
||||
- de-DE
|
||||
- fk-FK
|
||||
|
||||
mysql:
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue