Finished support for triggered campaigns. So far only smoke-tested for subscription trigger.
This commit is contained in:
parent
4f5b2d10e4
commit
b37ad9863c
56 changed files with 416 additions and 213 deletions
|
@ -58,7 +58,7 @@ function getSendConfigurationPermissionRequiredForSend(campaign, sendConfigurati
|
|||
}
|
||||
}
|
||||
|
||||
let requiredPermission = 'send';
|
||||
let requiredPermission = 'sendWithoutOverrides';
|
||||
if (allowedOverride) {
|
||||
requiredPermission = 'sendWithAllowedOverrides';
|
||||
}
|
||||
|
|
|
@ -39,22 +39,23 @@ function convertToFake(dict) {
|
|||
return _convertToFake(dict, {});
|
||||
}
|
||||
|
||||
// The langugage labels below are intentionally not localized so that they are always native in the langugae of their speaker (regardless of the currently selected language)
|
||||
const langCodes = {
|
||||
en_US: {
|
||||
getShortLabel: t => t('en'),
|
||||
getLabel: t => t('english'),
|
||||
getShortLabel: t => 'EN',
|
||||
getLabel: t => 'English',
|
||||
shortCode: 'en',
|
||||
longCode: 'en_US'
|
||||
},
|
||||
es: {
|
||||
getShortLabel: t => t('es'),
|
||||
getLabel: t => t('spanish'),
|
||||
getShortLabel: t => 'ES',
|
||||
getLabel: t => 'Español',
|
||||
shortCode: 'es',
|
||||
longCode: 'es'
|
||||
},
|
||||
fake: {
|
||||
getShortLabel: t => t('fake'),
|
||||
getLabel: t => t('fake-1'),
|
||||
getShortLabel: t => 'FAKE',
|
||||
getLabel: t => 'Fake',
|
||||
shortCode: 'fake',
|
||||
longCode: 'fake'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue