Updated translation support

This commit is contained in:
Andris Reinman 2017-03-07 16:30:56 +02:00
parent b1e8cd68cd
commit d25565b6f8
114 changed files with 42095 additions and 1902 deletions

View file

@ -2,6 +2,7 @@
let lists = require('./models/lists');
let fields = require('./models/fields');
let _ = require('./translate')._;
module.exports = {
getDefaultMergeTags,
@ -13,34 +14,34 @@ function getDefaultMergeTags(callback) {
callback(null, [
{
key: 'LINK_UNSUBSCRIBE',
value: 'URL that points to the unsubscribe page'
value: _('URL that points to the unsubscribe page')
}, {
key: 'LINK_PREFERENCES',
value: 'URL that points to the preferences page of the subscriber'
value: _('URL that points to the preferences page of the subscriber')
}, {
key: 'LINK_BROWSER',
value: 'URL to preview the message in a browser'
value: _('URL to preview the message in a browser')
}, {
key: 'EMAIL',
value: 'Email address'
value: _('Email address')
}, {
key: 'FIRST_NAME',
value: 'First name'
value: _('First name')
}, {
key: 'LAST_NAME',
value: 'Last name'
value: _('Last name')
}, {
key: 'FULL_NAME',
value: 'Full name (first and last name combined)'
value: _('Full name (first and last name combined)')
}, {
key: 'SUBSCRIPTION_ID',
value: 'Unique ID that identifies the recipient'
value: _('Unique ID that identifies the recipient')
}, {
key: 'LIST_ID',
value: 'Unique ID that identifies the list used for this campaign'
value: _('Unique ID that identifies the list used for this campaign')
}, {
key: 'CAMPAIGN_ID',
value: 'Unique ID that identifies current campaign'
value: _('Unique ID that identifies current campaign')
}
]);
}