From 99cb837972d2d2fe710d683be09adaea0185bd7e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 4 Nov 2019 16:48:12 +0100 Subject: [PATCH] Translate description editor placeholder Signed-off-by: Thomas Citharel --- js/src/components/Editor.vue | 2 +- js/src/i18n/en_US.json | 1 + js/src/i18n/fr_FR.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/components/Editor.vue b/js/src/components/Editor.vue index 3b1533c21..85ad16f55 100644 --- a/js/src/components/Editor.vue +++ b/js/src/components/Editor.vue @@ -296,7 +296,7 @@ export default class EditorComponent extends Vue { new History(), new Placeholder({ emptyClass: 'is-empty', - emptyNodeText: 'Write something …', + emptyNodeText: this.$t('Write something…'), showOnlyWhenEditable: false, }), new Image(), diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index a9e7dc339..5d00b9e4a 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -293,6 +293,7 @@ "Welcome to Mobilizon, {username}!": "Welcome to Mobilizon, {username}!", "Who can view this event and participate": "Who can view this event and participate", "World map": "World map", + "Write something…": "Write something…", "You and one other person are going to this event": "You're the only one going to this event | You and one other person are going to this event | You and {approved} persons are going to this event.", "You are already a participant of this event.": "You are already a participant of this event.", "You are already logged-in.": "You are already logged-in.", diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index d9666fa5b..4c68d77bd 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -293,6 +293,7 @@ "Welcome to Mobilizon, {username}!": "Bienvenue sur Mobilizon, {username} !", "Who can view this event and participate": "Qui peut voir cet événement et y participer", "World map": "Carte mondiale", + "Write something…": "Écrivez quelque chose…", "You and one other person are going to this event": "Vous êtes le ou la seule à vous rendre à cet événement | Vous et une autre personne vous rendez à cet événement | Vous et {approved} autres personnes vous rendez à cet événement.", "You are already a participant of this event.": "Vous participez déjà à cet événement.", "You are already logged-in.": "Vous êtes déjà connecté.",