Updates in locale

This commit is contained in:
Tomas Bures 2018-11-18 21:34:28 +01:00
parent dc7789c17b
commit ec299053ba
3 changed files with 18 additions and 12 deletions

View file

@ -119,6 +119,7 @@
"editRssCampaign": "Edit RSS Campaign", "editRssCampaign": "Edit RSS Campaign",
"editTriggeredCampaign": "Edit Triggered Campaign", "editTriggeredCampaign": "Edit Triggered Campaign",
"template": "Template", "template": "Template",
"template_plural": "Templates",
"customContentClonedFromTemplate": "Custom content cloned from template", "customContentClonedFromTemplate": "Custom content cloned from template",
"customContentClonedFromAnotherCampaign": "Custom content cloned from another campaign", "customContentClonedFromAnotherCampaign": "Custom content cloned from another campaign",
"customContent": "Custom content", "customContent": "Custom content",
@ -140,11 +141,13 @@
"subscribers": "Subscribers", "subscribers": "Subscribers",
"description": "Description", "description": "Description",
"namespace": "Namespace", "namespace": "Namespace",
"namespace_plural": "Namespaces",
"remove": "Remove", "remove": "Remove",
"insertNewEntryBeforeThisOne": "Insert new entry before this one", "insertNewEntryBeforeThisOne": "Insert new entry before this one",
"moveUp": "Move up", "moveUp": "Move up",
"moveDown": "Move down", "moveDown": "Move down",
"list": "List", "list": "List",
"list_plural": "Lists",
"segment": "Segment", "segment": "Segment",
"useAParticularSegment": "Use a particular segment", "useAParticularSegment": "Use a particular segment",
"lists": "Lists", "lists": "Lists",
@ -160,6 +163,7 @@
"contentSource": "Content source", "contentSource": "Content source",
"selectingATemplateCreatesACampaign": "Selecting a template creates a campaign specific copy from it.", "selectingATemplateCreatesACampaign": "Selecting a template creates a campaign specific copy from it.",
"campaign": "Campaign", "campaign": "Campaign",
"campaign_plural": "Campaigns",
"contentOfTheSelectedCampaignWillBeCopied": "Content of the selected campaign will be copied into this campaign.", "contentOfTheSelectedCampaignWillBeCopied": "Content of the selected campaign will be copied into this campaign.",
"renderUrl": "Render URL", "renderUrl": "Render URL",
"ifAMessageIsSentThenThisUrlWillBePosTed": "If a message is sent then this URL will be POSTed to using Merge Tags as POST body. Use this if you want to generate the HTML message yourself.", "ifAMessageIsSentThenThisUrlWillBePosTed": "If a message is sent then this URL will be POSTed to using Merge Tags as POST body. Use this if you want to generate the HTML message yourself.",
@ -171,6 +175,7 @@
"formCannotBeEditedBecauseTheCampaignIs": "Form cannot be edited because the campaign is currently being sent out. Wait till the sending is finished and refresh.", "formCannotBeEditedBecauseTheCampaignIs": "Form cannot be edited because the campaign is currently being sent out. Wait till the sending is finished and refresh.",
"thisIsTheCampaignIdDisplayedToThe": "This is the campaign ID displayed to the subscribers", "thisIsTheCampaignIdDisplayedToThe": "This is the campaign ID displayed to the subscribers",
"sendConfiguration": "Send configuration", "sendConfiguration": "Send configuration",
"sendConfiguration_plural": "Send configurations",
"customUnsubscribeUrl": "Custom unsubscribe URL", "customUnsubscribeUrl": "Custom unsubscribe URL",
"disableOpenedTracking": "Disable opened tracking", "disableOpenedTracking": "Disable opened tracking",
"disableClickedTracking": "Disable clicked tracking", "disableClickedTracking": "Disable clicked tracking",
@ -296,12 +301,7 @@
"someoneElseHasIntroducedModificationIn": "Someone else has introduced modification in the meantime. Refresh your page to start anew with fresh data. Please note that your changes will be lost.", "someoneElseHasIntroducedModificationIn": "Someone else has introduced modification in the meantime. Refresh your page to start anew with fresh data. Please note that your changes will be lost.",
"itSeemsThatSomeoneElseHasDeletedThe": "It seems that someone else has deleted the target namespace in the meantime. Refresh your page to start anew with fresh data. Please note that your changes will be lost.", "itSeemsThatSomeoneElseHasDeletedThe": "It seems that someone else has deleted the target namespace in the meantime. Refresh your page to start anew with fresh data. Please note that your changes will be lost.",
"itSeemsThatSomeoneElseHasDeletedThe-1": "It seems that someone else has deleted the entity in the meantime.", "itSeemsThatSomeoneElseHasDeletedThe-1": "It seems that someone else has deleted the entity in the meantime.",
"namespace_plural": "Namespaces",
"list_plural": "Lists",
"customForms": "Custom forms", "customForms": "Custom forms",
"campaign_plural": "Campaigns",
"template_plural": "Templates",
"sendConfiguration_plural": "Send configurations",
"report": "Report", "report": "Report",
"report_plural": "Reports", "report_plural": "Reports",
"reportTemplate": "Report template", "reportTemplate": "Report template",
@ -860,6 +860,12 @@
"foundAddedMessagesNewCampaignMessages": "Found {{addedMessages}} new campaign messages from feed {{campaignId}}", "foundAddedMessagesNewCampaignMessages": "Found {{addedMessages}} new campaign messages from feed {{campaignId}}",
"foundNothingNewFromTheFeed": "Found nothing new from the feed", "foundNothingNewFromTheFeed": "Found nothing new from the feed",
"missingEmail": "Missing email", "missingEmail": "Missing email",
"en": "EN",
"english": "English",
"es": "ES",
"spanish": "Spanish",
"fake": "FAKE",
"fake-1": "Fake",
"thePasswordMustBeAtLeastMinLength": "The password must be at least {{ minLength }} characters long", "thePasswordMustBeAtLeastMinLength": "The password must be at least {{ minLength }} characters long",
"thePasswordMustBeFewerThanMaxLength": "The password must be fewer than {{ maxLength }} characters", "thePasswordMustBeFewerThanMaxLength": "The password must be fewer than {{ maxLength }} characters",
"thePasswordMayNotContainSequencesOfThree": "The password may not contain sequences of three or more repeated characters", "thePasswordMayNotContainSequencesOfThree": "The password may not contain sequences of three or more repeated characters",

View file

@ -14,7 +14,7 @@ const camelCase = require('camelcase');
const slugify = require('slugify'); const slugify = require('slugify');
const readline = require('readline'); const readline = require('readline');
const localeFile = 'common/en.json'; const localeFile = 'en/common.json';
const searchDirs = [ const searchDirs = [
'../client/src', '../client/src',
'../server', '../server',

View file

@ -41,20 +41,20 @@ function convertToFake(dict) {
const langCodes = { const langCodes = {
en_US: { en_US: {
getShortLabel: t => t('EN'), getShortLabel: t => t('en'),
getLabel: t => t('English'), getLabel: t => t('english'),
shortCode: 'en', shortCode: 'en',
longCode: 'en_US' longCode: 'en_US'
}, },
es: { es: {
getShortLabel: t => t('ES'), getShortLabel: t => t('es'),
getLabel: t => t('Spanish'), getLabel: t => t('spanish'),
shortCode: 'es', shortCode: 'es',
longCode: 'es' longCode: 'es'
}, },
fake: { fake: {
getShortLabel: t => t('FAKE'), getShortLabel: t => t('fake'),
getLabel: t => t('Fake'), getLabel: t => t('fake-1'),
shortCode: 'fake', shortCode: 'fake',
longCode: 'fake' longCode: 'fake'
} }