Extracted strings and fixes on localization support

Language chooser in the UI
This commit is contained in:
Tomas Bures 2018-11-18 21:31:22 +01:00
parent 9f449c0a2f
commit dc7789c17b
126 changed files with 2919 additions and 2028 deletions

View file

@ -127,14 +127,14 @@ async function run() {
}
if (added > 0) {
checkStatus = tLog('feedCheck.campaignsAdded', {addedMessages: added, campaignId: rssCampaign.id});
checkStatus = tLog('foundAddedMessagesNewCampaignMessages', {addedMessages: added, campaignId: rssCampaign.id});
log.verbose('Feed', `Found ${added} new campaigns messages from feed ${rssCampaign.id}`);
process.send({
type: 'entries-added'
});
} else {
checkStatus = tLog('feedCheck.nothingNew');
checkStatus = tLog('foundNothingNewFromTheFeed');
}
rssCampaign.data.checkStatus = checkStatus;

View file

@ -292,7 +292,7 @@ async function basicSubscribe(impt) {
let errorMsg;
if (!email) {
errorMsg = tLog('importer.missingEmail');
errorMsg = tLog('missingEmail');
}
if (mappingSettings.checkEmails) {
@ -329,7 +329,7 @@ async function basicUnsubscribe(impt) {
let errorMsg;
if (!email) {
errorMsg = tLog('importer.missingEmail');
errorMsg = tLog('missingEmail');
}
if (!errorMsg) {