Add Channels translations
This commit is contained in:
parent
8e270e2ef7
commit
adf1e0d083
8 changed files with 93 additions and 18 deletions
|
|
@ -61,7 +61,7 @@ export default class List extends Component {
|
|||
|
||||
if (perms.includes('view')) {
|
||||
actions.push({
|
||||
label: <Icon icon="inbox" title={t('Campaigns')}/>,
|
||||
label: <Icon icon="inbox" title={t('campaigns')}/>,
|
||||
link: `/channels/${data[0]}/campaigns`
|
||||
});
|
||||
}
|
||||
|
|
@ -80,7 +80,7 @@ export default class List extends Component {
|
|||
});
|
||||
}
|
||||
|
||||
tableAddDeleteButton(actions, this, perms, `rest/channels/${data[0]}`, data[1], t('Deleting channel ...'), t('Channel deleted'));
|
||||
tableAddDeleteButton(actions, this, perms, `rest/channels/${data[0]}`, data[1], t('deletingChannel'), t('channelDeleted'));
|
||||
|
||||
return actions;
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ export default class List extends Component {
|
|||
{tableRestActionDialogRender(this)}
|
||||
<Toolbar>
|
||||
{createPermitted &&
|
||||
<LinkButton to="/channels/create" className="btn-primary" icon="plus" label={t('Create Channel')}/>
|
||||
<LinkButton to="/channels/create" className="btn-primary" icon="plus" label={t('createChannel')}/>
|
||||
}
|
||||
</Toolbar>
|
||||
|
||||
|
|
@ -102,4 +102,4 @@ export default class List extends Component {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue