diff --git a/client/src/channels/CUD.js b/client/src/channels/CUD.js index fb842a96..c0fb72e0 100644 --- a/client/src/channels/CUD.js +++ b/client/src/channels/CUD.js @@ -368,17 +368,17 @@ export default class CUD extends Component { if (submitResult) { if (this.props.entity) { if (submitAndLeave) { - this.navigateToWithFlashMessage('/channels', 'success', t('Channel updated')); + this.navigateToWithFlashMessage('/channels', 'success', t('channelUpdated')); } else { await this.getFormValuesFromURL(`rest/channels/${this.props.entity.id}`); this.enableForm(); - this.setFormStatusMessage('success', t('Channel updated')); + this.setFormStatusMessage('success', t('channelUpdated')); } } else { if (submitAndLeave) { - this.navigateToWithFlashMessage('/channels', 'success', t('Channel created')); + this.navigateToWithFlashMessage('/channels', 'success', t('channelCreated')); } else { - this.navigateToWithFlashMessage(`/channels/${submitResult}/edit`, 'success', t('Channel created')); + this.navigateToWithFlashMessage(`/channels/${submitResult}/edit`, 'success', t('channelCreated')); } } } else { @@ -505,7 +505,7 @@ export default class CUD extends Component { deletedMsg={t('Channel deleted')}/> } - {isEdit ? t('Edit Channel') : t('Create Channel')} + {isEdit ? t('editChannel') : t('createChannel')} {!canModify &&
diff --git a/client/src/channels/List.js b/client/src/channels/List.js index 011905d9..2558e1ff 100644 --- a/client/src/channels/List.js +++ b/client/src/channels/List.js @@ -61,7 +61,7 @@ export default class List extends Component { if (perms.includes('view')) { actions.push({ - label: , + label: , 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)} {createPermitted && - + } @@ -102,4 +102,4 @@ export default class List extends Component {
); } -} \ No newline at end of file +} diff --git a/client/src/channels/root.js b/client/src/channels/root.js index 21fb23e4..2a762422 100644 --- a/client/src/channels/root.js +++ b/client/src/channels/root.js @@ -12,7 +12,7 @@ import {namespaceCheckPermissions} from "../lib/namespace"; function getMenus(t) { return { 'channels': { - title: t('Channels'), + title: t('channels'), link: '/channels', checkPermissions: { createChannel: { @@ -29,14 +29,14 @@ function getMenus(t) { panelRender: props => , children: { ':channelId([0-9]+)': { - title: resolved => t('Channel "{{name}}"', {name: ellipsizeBreadcrumbLabel(resolved.channel.name)}), + title: resolved => t('channelName', {name: ellipsizeBreadcrumbLabel(resolved.channel.name)}), resolve: { channel: params => `rest/channels/${params.channelId}` }, link: params => `/channels/${params.channelId}/campaigns`, navs: { campaigns: { - title: t('Campaigns'), + title: t('campaigns'), link: params => `/channels/${params.channelId}/campaigns`, visible: resolved => resolved.channel.permissions.includes('view'), panelRender: props => @@ -64,7 +64,7 @@ function getMenus(t) { } }, 'create': { - title: t('Create Channel'), + title: t('createChannel'), panelRender: props => } } diff --git a/locales/de-DE/common.json b/locales/de-DE/common.json index 0ded304e..9fc9009d 100644 --- a/locales/de-DE/common.json +++ b/locales/de-DE/common.json @@ -1045,5 +1045,20 @@ "dTsNext": "Nächste", "dTsPrevious": "Letzte", "dTsSortAscending": ": aktivieren, um Spalte aufsteigend zu sortieren", - "dTsSortDescending": ": aktivieren, um Spalte absteigend zu sortieren" + "dTsSortDescending": ": aktivieren, um Spalte absteigend zu sortieren", + "saving": "Saving ...", + "channelUpdated": "Channel updated", + "channelCreated": "Channel created", + "deletingChannel": "Deleting channel ...", + "channelDeleted": "Channel deleted", + "editChannel": "Edit Channel", + "createChannel": "Create Channel", + "sendConfiguration": "Send configuration", + "sendConfiguration_plural": "Send configurations", + "disableOpenedTracking": "Disable opened tracking", + "disableClickedTracking": "Disable clicked tracking", + "save": "Save", + "saveAndLeave": "Save and leave", + "channels": "Channels", + "channelName": "Channel \"{{name}}\"" } diff --git a/locales/en-US/common.json b/locales/en-US/common.json index e2b15340..6db49d9c 100644 --- a/locales/en-US/common.json +++ b/locales/en-US/common.json @@ -1051,5 +1051,20 @@ "dTsNext": "Next", "dTsPrevious": "Previous", "dTsSortAscending": ": activate to sort column ascending", - "dTsSortDescending": ": activate to sort column descending" + "dTsSortDescending": ": activate to sort column descending", + "saving": "Saving ...", + "channelUpdated": "Channel updated", + "channelCreated": "Channel created", + "deletingChannel": "Deleting channel ...", + "channelDeleted": "Channel deleted", + "editChannel": "Edit Channel", + "createChannel": "Create Channel", + "sendConfiguration": "Send configuration", + "sendConfiguration_plural": "Send configurations", + "disableOpenedTracking": "Disable opened tracking", + "disableClickedTracking": "Disable clicked tracking", + "save": "Save", + "saveAndLeave": "Save and leave", + "channels": "Channels", + "channelName": "Channel \"{{name}}\"" } diff --git a/locales/es-ES/common.json b/locales/es-ES/common.json index 1bc488ae..f0dd80c4 100644 --- a/locales/es-ES/common.json +++ b/locales/es-ES/common.json @@ -1121,5 +1121,20 @@ "dTsNext": "Siguiente", "dTsPrevious": "Anterior", "dTsSortAscending": ": Activar para ordenar la columna de manera ascendente", - "dTsSortDescending": ": Activar para ordenar la columna de manera descendente" + "dTsSortDescending": ": Activar para ordenar la columna de manera descendente", + "saving": "Guardando ...", + "channelUpdated": "Canal actualizado", + "channelCreated": "Canal creado", + "deletingChannel": "Borrando canal ...", + "channelDeleted": "Canal borrado", + "editChannel": "Editar Canal", + "createChannel": "Crear Canal", + "sendConfiguration": "Configuración de envío", + "sendConfiguration_plural": "Configuraciones de envío", + "disableOpenedTracking": "Disable opened tracking", + "disableClickedTracking": "Disable clicked tracking", + "save": "Guardar", + "saveAndLeave": "Guardar y salir", + "channels": "Canales", + "channelName": "Canal \"{{name}}\"" } diff --git a/locales/fr-FR/common.json b/locales/fr-FR/common.json index 2baef6b3..eba4db19 100644 --- a/locales/fr-FR/common.json +++ b/locales/fr-FR/common.json @@ -1046,5 +1046,20 @@ "dTsNext": "Suivant", "dTsPrevious": "Précédent", "dTsSortAscending": ": activer pour trier la colonne par ordre croissant", - "dTsSortDescending": ": activer pour trier la colonne par ordre décroissant" + "dTsSortDescending": ": activer pour trier la colonne par ordre décroissant", + "saving": "Saving ...", + "channelUpdated": "Channel updated", + "channelCreated": "Channel created", + "deletingChannel": "Deleting channel ...", + "channelDeleted": "Channel deleted", + "editChannel": "Edit Channel", + "createChannel": "Create Channel", + "sendConfiguration": "Send configuration", + "sendConfiguration_plural": "Send configurations", + "disableOpenedTracking": "Disable opened tracking", + "disableClickedTracking": "Disable clicked tracking", + "save": "Save", + "saveAndLeave": "Save and leave", + "channels": "Channels", + "channelName": "Channel \"{{name}}\"" } diff --git a/locales/pt-BR/common.json b/locales/pt-BR/common.json index 8325f47d..1e34065b 100644 --- a/locales/pt-BR/common.json +++ b/locales/pt-BR/common.json @@ -1124,5 +1124,20 @@ "dTsNext": "Seguinte", "dTsPrevious": "Anterior", "dTsSortAscending": ": Ordenar colunas de forma ascendente", - "dTsSortDescending": ": Ordenar colunas de forma descendente" + "dTsSortDescending": ": Ordenar colunas de forma descendente", + "saving": "Saving ...", + "channelUpdated": "Channel updated", + "channelCreated": "Channel created", + "deletingChannel": "Deleting channel ...", + "channelDeleted": "Channel deleted", + "editChannel": "Edit Channel", + "createChannel": "Create Channel", + "sendConfiguration": "Send configuration", + "sendConfiguration_plural": "Send configurations", + "disableOpenedTracking": "Disable opened tracking", + "disableClickedTracking": "Disable clicked tracking", + "save": "Save", + "saveAndLeave": "Save and leave", + "channels": "Channels", + "channelName": "Channel \"{{name}}\"" }