Updates in locale
This commit is contained in:
parent
99bd4ad907
commit
9044a4ca0b
4 changed files with 29 additions and 10 deletions
|
@ -103,10 +103,10 @@ export default class List extends Component {
|
|||
{this.state.createPermitted &&
|
||||
<Toolbar>
|
||||
<DropdownMenu className="btn-primary" label={t('createReportTemplate')}>
|
||||
<MenuLink to="/reports/templates/create">{t('Blank')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create/open-counts">{t('Open counts')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create/open-counts-csv">{t('Open counts as CSV')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create/aggregated-open-counts">{t('Aggregated open counts')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create">{t('blank')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create/open-counts">{t('openCounts')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create/open-counts-csv">{t('openCountsAsCsv')}</MenuLink>
|
||||
<MenuLink to="/reports/templates/create/aggregated-open-counts">{t('aggregatedOpenCounts')}</MenuLink>
|
||||
</DropdownMenu>
|
||||
</Toolbar>
|
||||
}
|
||||
|
|
|
@ -235,9 +235,9 @@ export default class CUD extends Component {
|
|||
<Trans i18nKey="verpUsuallyOnlyWorksIfYouAreUsingYourOwn"><p className="text-warning">VERP usually only works if you are using your own SMTP server. Regular relay services (SES, SparkPost, Gmail etc.) tend to remove the VERP address from the message.</p></Trans>
|
||||
{mailtrainConfig.verpEnabled ?
|
||||
<div>
|
||||
<CheckBox id="verpEnabled" label={t('VERP status')} text={t('Enabled')}/>
|
||||
<CheckBox id="verpEnabled" label={t('verpStatus')} text={t('enabled')}/>
|
||||
{verpEnabled && <InputField id="verp_hostname" label={t('serverHostname')} placeholder={t('theVerpServerHostnameEgBouncesexamplecom')} help={t('verpBounceHandlingServerHostnameThis')}/>}
|
||||
{verpEnabled && <CheckBox id="verp_disable_sender_header" text={t('Disable sender header')} help={t('With DMARC, the Return-Path and From address must match the same domain. By default we get around this by using the VERP address in the Sender header, with the side effect that some email clients diplay an ugly on behalf of message. You can safely disable this Sender header if you\'re not using DMARC or your VERP hostname is in the same domain as the From address.')}/>}
|
||||
{verpEnabled && <CheckBox id="verp_disable_sender_header" text={t('disableSenderHeader')} help={t('withDmarcTheReturnPathAndFromAddressMust')}/>}
|
||||
</div>
|
||||
:
|
||||
<Trans i18nKey="verpBounceHandlingServerIsNotEnabled"><p>VERP bounce handling server is not enabled. Modify your server configuration file and restart server to enable it.</p></Trans>
|
||||
|
|
|
@ -98,7 +98,7 @@ export default class CUD extends Component {
|
|||
}
|
||||
|
||||
if (!state.getIn(['role', 'value'])) {
|
||||
state.setIn(['role', 'error'], t('Role must be selected'));
|
||||
state.setIn(['role', 'error'], t('roleMustBeSelected'));
|
||||
} else {
|
||||
state.setIn(['role', 'error'], null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue