mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
Add missing i18n.
This commit is contained in:
parent
23371d69f2
commit
885c876d53
@ -819,7 +819,7 @@ class Designer extends Events {
|
||||
const validateFunc = (topic: Topic) =>
|
||||
!(topic.getType() === 'CentralTopic' && shape === 'line');
|
||||
|
||||
const validateError = 'Central Topic shape can not be changed to line figure.';
|
||||
const validateError = $msg('CENTRAL_TOPIC_STYLE_CAN_NOT_BE_CHANGED');
|
||||
const topicsIds = this.getModel().filterTopicsIds(validateFunc, validateError);
|
||||
if (topicsIds.length > 0) {
|
||||
this._actionDispatcher.changeShapeTypeToTopic(topicsIds, shape);
|
||||
@ -829,7 +829,7 @@ class Designer extends Events {
|
||||
changeConnectionStyle(type: LineType): void {
|
||||
const validateFunc = (topic: Topic) => !topic.isCentralTopic();
|
||||
|
||||
const validateError = 'Central topic connection style can not be changed for central topic.';
|
||||
const validateError = $msg('CENTRAL_TOPIC_CONNECTION_STYLE_CAN_NOT_BE_CHANGED');
|
||||
const topicsIds = this.getModel().filterTopicsIds(validateFunc, validateError);
|
||||
if (topicsIds.length > 0) {
|
||||
this._actionDispatcher.changeConnectionStyleToTopic(topicsIds, type);
|
||||
|
@ -19,6 +19,8 @@ const DE = {
|
||||
RELATIONSHIP_COULD_NOT_BE_CREATED: 'Die Beziehung konnte nicht angelegt werden. Es muss erst ein Vater-Thema ausgewählt werden, um die Beziehung herzustellen.',
|
||||
SELECTION_COPIED_TO_CLIPBOARD: 'Themen in der Zwischenablage',
|
||||
SESSION_EXPIRED: 'Deine Sitzung ist abgelaufen, bitte melde dich erneut an.',
|
||||
CENTRAL_TOPIC_CONNECTION_STYLE_CAN_NOT_BE_CHANGED: 'Le style de connexion ne peut pas être modifié pour le sujet central.',
|
||||
CENTRAL_TOPIC_STYLE_CAN_NOT_BE_CHANGED: 'Le sujet central ne peut pas être changé en style de ligne.',
|
||||
};
|
||||
|
||||
export default DE;
|
||||
|
@ -19,6 +19,8 @@ const EN = {
|
||||
RELATIONSHIP_COULD_NOT_BE_CREATED: 'Relationship could not be created. A parent relationship topic must be selected first.',
|
||||
SELECTION_COPIED_TO_CLIPBOARD: 'Topics copied to the clipboard',
|
||||
SESSION_EXPIRED: 'Your session has expired, please log-in again.',
|
||||
CENTRAL_TOPIC_CONNECTION_STYLE_CAN_NOT_BE_CHANGED: 'Connection style can not be changed for central topic.',
|
||||
CENTRAL_TOPIC_STYLE_CAN_NOT_BE_CHANGED: 'Central topic can not be changed to line style.',
|
||||
};
|
||||
|
||||
export default EN;
|
||||
|
@ -19,6 +19,8 @@ const ES = {
|
||||
RELATIONSHIP_COULD_NOT_BE_CREATED: 'La relación no pudo ser creada. Una relación padre debe ser seleccionada primero.',
|
||||
SELECTION_COPIED_TO_CLIPBOARD: 'Tópicos copiados al clipboard',
|
||||
SESSION_EXPIRED: 'Su session ha expirado. Por favor, ingrese nuevamente.',
|
||||
CENTRAL_TOPIC_CONNECTION_STYLE_CAN_NOT_BE_CHANGED: 'El estilo de conexión no se puede cambiar para el tópico central.',
|
||||
CENTRAL_TOPIC_STYLE_CAN_NOT_BE_CHANGED: 'Tópico central no se puede cambiar al estilo de línea.',
|
||||
};
|
||||
|
||||
export default ES;
|
||||
|
@ -19,6 +19,9 @@ const FR = {
|
||||
RELATIONSHIP_COULD_NOT_BE_CREATED: 'Impossible de créer relation. Un noeud parent doit être sélectionné au préalable.',
|
||||
SELECTION_COPIED_TO_CLIPBOARD: 'Noeuds sélectionnés copiés dans le presse-papiers.',
|
||||
SESSION_EXPIRED: 'Votre session a expiré, veuillez vous reconnecter.',
|
||||
CENTRAL_TOPIC_CONNECTION_STYLE_CAN_NOT_BE_CHANGED: 'Le style de connexion ne peut pas être modifié pour le sujet central.',
|
||||
CENTRAL_TOPIC_STYLE_CAN_NOT_BE_CHANGED: 'Le sujet central ne peut pas être changé en style de ligne.',
|
||||
|
||||
};
|
||||
|
||||
export default FR;
|
||||
|
Loading…
Reference in New Issue
Block a user