diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4c5ed9e..49bcb47 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -41,7 +41,7 @@ + icon="newspaper-variant-outline" :label="$t('menu.forms')"> + icon="file-upload-outline" :label="$t('menu.import')"> Rich text + native-value="richtext">{{ $t('campaigns.richText') }} Raw HTML + native-value="html">{{ $t('campaigns.rawHTML') }} Plain text + native-value="plain">{{ $t('campaigns.plainText') }}
Preview + icon-left="file-find-outline">{{ $t('campaigns.preview') }}
@@ -31,7 +31,7 @@ ref="quill" :options="options" :disabled="disabled" - placeholder="Content here" + :placeholder="$t('campaigns.contentHelp')" @change="onEditorChange($event)" @ready="onEditorReady($event)" /> @@ -142,7 +142,7 @@ export default { // Quill editor options. options: { - placeholder: 'Content here', + placeholder: this.$t('campaigns.contentHelp'), modules: { keyboard: { bindings: { @@ -188,7 +188,7 @@ export default { methods: { onChangeFormat(format) { this.$utils.confirm( - 'The content may lose some formatting. Are you sure?', + this.$t('campaigns.confirmSwitchFormat'), () => { this.form.format = format; this.onEditorChange(); diff --git a/frontend/src/views/Campaign.vue b/frontend/src/views/Campaign.vue index 7a5cf32..d911be3 100644 --- a/frontend/src/views/Campaign.vue +++ b/frontend/src/views/Campaign.vue @@ -65,15 +65,15 @@ :placeholder="$t('campaigns.sendToLists')" > - - + - - + @@ -87,7 +87,7 @@
-
+
@@ -99,7 +99,7 @@ - +