Localized strings

This commit is contained in:
Tomas Bures 2018-12-23 19:46:49 +00:00
parent 3d956ec141
commit 19fe5331d2
13 changed files with 123 additions and 80 deletions

View file

@ -217,8 +217,8 @@ class SendControls extends Component {
async resetAsync() {
const t = this.props.t;
this.actionDialog(
t('Confirm reset'),
t('Do you want to reset the campaign? All statistics and the track of delivered messages will be lost.'),
t('confirmReset'),
t('doYouWantToResetTheCampaign?All'),
async () => {
await this.postAndMaskStateError(`rest/campaign-reset/${this.props.entity.id}`);
await this.refreshEntity();
@ -479,7 +479,7 @@ export default class Status extends Component {
<Title>{t('campaignStatus')}</Title>
<AlignedRow label={t('name')}>{entity.name}</AlignedRow>
<AlignedRow label={t('Delivered')}>{entity.delivered}</AlignedRow>
<AlignedRow label={t('delivered')}>{entity.delivered}</AlignedRow>
<AlignedRow label={t('status')}>{this.campaignStatusLabels[entity.status]}</AlignedRow>
{sendSettings}