High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Change visual editor UI language.
Kailash Nadhfca5ec5abe4c
diff --git a/frontend/src/components/VisualEditor.vue b/frontend/src/components/VisualEditor.vueindex e02c8a96..39e24eae 100644--- a/frontend/src/components/VisualEditor.vue+++ b/frontend/src/components/VisualEditor.vue@@ -1,6 +1,7 @@<template><div class="visual-editor-wrapper">- <iframe ref="visualEditor" id="visual-editor" class="visual-editor email-builder-container" title="Visual email editor" />+ <iframe ref="visualEditor" id="visual-editor" class="visual-editor email-builder-container"+ title="Visual email editor" /><!-- image picker --><b-modal scroll="keep" :aria-modal="true" :active.sync="isMediaVisible" :width="900">@@ -152,7 +153,7 @@ export default {watch: {source(val) {const iframe = this.$refs.visualEditor;- if (iframe.contentWindow.EmailBuilder?.isRendered('visual-editor')) {+ if (iframe.contentWindow.EmailBuilder?.isRendered('visual-editor-container')) {if (val) {iframe.contentWindow.EmailBuilder.setDocument(JSON.parse(val));} else {@@ -167,16 +168,16 @@ export default {</script><style lang="css">- .visual-editor-wrapper {- width: 100%;- border: 1px solid #eaeaea;- max-width: 100vw;- }-- #visual-editor {- position: relative;- border: none;- width: 100%;- min-height: 500px;- }+.visual-editor-wrapper {+ width: 100%;+ border: 1px solid #eaeaea;+ max-width: 100vw;+}++#visual-editor {+ position: relative;+ border: none;+ width: 100%;+ min-height: 500px;+}</style>diff --git a/frontend/src/views/Campaign.vue b/frontend/src/views/Campaign.vueindex 2e21e414..99824a5d 100644--- a/frontend/src/views/Campaign.vue+++ b/frontend/src/views/Campaign.vue@@ -169,8 +169,8 @@</b-tab-item><!-- campaign --><b-tab-item :label="$t('campaigns.content')" icon="text" :disabled="isNew" value="content">- <editor v-if="data.id" v-model="form.content"- :id="data.id" :title="data.name" :disabled="!canEdit" :templates="templates" />+ <editor v-if="data.id" v-model="form.content" :id="data.id" :title="data.name" :disabled="!canEdit"+ :templates="templates" /><div class="columns"><div class="column is-6">diff --git a/i18n/en.json b/i18n/en.jsonindex 1bc2aa9a..9f0044e3 100644--- a/i18n/en.json+++ b/i18n/en.json@@ -31,7 +31,7 @@"campaigns.confirmDelete": "Delete {name}","campaigns.confirmSchedule": "This campaign will start automatically at the scheduled date and time. Schedule now?","campaigns.confirmSwitchFormat": "The content may lose formatting. Continue?",- "campaigns.confirmApplyVisualTemplate": "Apply template body overriding current change. Continue?",+ "campaigns.confirmOverwriteContent": "This will overwrite all content. Continue?","campaigns.content": "Content","campaigns.contentHelp": "Content here","campaigns.continue": "Continue",@@ -240,7 +240,7 @@"globals.terms.template": "Template | Templates","globals.terms.templates": "Templates","globals.terms.baseTemplate": "Base template",- "globals.terms.copyVisualTemplate": "Copy a visual template",+ "globals.terms.applyVisualTemplate": "Apply visual template","globals.terms.tx": "Transactional | Transactional","globals.terms.user": "User | Users","globals.terms.users": "Users",