Improve Spanish translation
This commit is contained in:
parent
9e2bd4a951
commit
540c55515f
8 changed files with 92 additions and 118 deletions
|
@ -108,13 +108,13 @@ export default class Clone extends Component {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<Title>{t('Create campaign')}</Title>
|
||||
<Title>{t('createCampaign')}</Title>
|
||||
|
||||
<Form stateOwner={this} onSubmitAsync={::this.submitHandler}>
|
||||
<TableSelect id="sourceCampaign" label={t('campaign')} withHeader dropdown dataUrl='rest/campaigns-table' columns={campaignsColumns} order={[4, 'desc']} selectionLabelIndex={1} help={t('Select campaign to be cloned.')}/>
|
||||
<TableSelect id="sourceCampaign" label={t('campaign')} withHeader dropdown dataUrl='rest/campaigns-table' columns={campaignsColumns} order={[4, 'desc']} selectionLabelIndex={1} help={t('selectCampaignToBeCloned')}/>
|
||||
|
||||
<ButtonRow>
|
||||
<Button type="submit" className="btn-primary" icon="chevron-right" label={t('Next')}/>
|
||||
<Button type="submit" className="btn-primary" icon="chevron-right" label={t('next')}/>
|
||||
</ButtonRow>
|
||||
</Form>
|
||||
</div>
|
||||
|
|
|
@ -65,7 +65,7 @@ export default class List extends Component {
|
|||
columns.push({ data: 4, title: t('type'), render: data => this.campaignTypeLabels[data] });
|
||||
|
||||
if (!channel) {
|
||||
columns.push({ data: 5, title: t('Channel') });
|
||||
columns.push({ data: 5, title: t('channel') });
|
||||
}
|
||||
|
||||
columns.push({
|
||||
|
@ -164,7 +164,7 @@ export default class List extends Component {
|
|||
} else {
|
||||
createButton = (
|
||||
<>
|
||||
<LinkButton to={`/campaigns/clone`} className="btn-primary" icon="clone" label={t('Clone Campaign')}/>
|
||||
<LinkButton to={`/campaigns/clone`} className="btn-primary" icon="clone" label={t('cloneCampaign')}/>
|
||||
<ButtonDropdown buttonClassName="btn-primary" menuClassName="dropdown-menu-right" icon="plus" label={t('createCampaign')}>
|
||||
<DropdownLink to="/campaigns/create-regular">{t('regular')}</DropdownLink>
|
||||
<DropdownLink to="/campaigns/create-rss">{t('rss')}</DropdownLink>
|
||||
|
@ -192,4 +192,4 @@ export default class List extends Component {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -179,7 +179,7 @@ function getMenus(t) {
|
|||
panelRender: props => <CampaignsCUD action="create" type={CampaignType.TRIGGERED} permissions={props.permissions} />
|
||||
},
|
||||
'clone': {
|
||||
title: t('Create Campaign'),
|
||||
title: t('createCampaign'),
|
||||
link: params => `/campaigns/clone`,
|
||||
panelRender: props => <Clone />,
|
||||
children: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue