From 7250c427b905ffa3e8696dff607450f5a0b801b8 Mon Sep 17 00:00:00 2001 From: Paul Nothaft Date: Mon, 16 Mar 2026 09:29:24 +0100 Subject: [PATCH] fix: shorten Save button label on email template editor Change "Save Changes" to "Save" for cleaner toolbar layout. --- frontend/src/i18n/locales/de.json | 1 + frontend/src/i18n/locales/en.json | 1 + frontend/src/i18n/locales/ru.json | 1 + frontend/src/pages/admin/EmailConfigPage.tsx | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index 127e785f..42d87aac 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -1949,6 +1949,7 @@ "subjectLine": "Betreffzeile", "emailBody": "E-Mail-Text", "preview": "Vorschau", + "save": "Speichern", "saveChanges": "Änderungen speichern", "templates": "Vorlagen", "variableHelp": "Verwenden Sie diese Variablen in Ihrer Vorlage. Sie werden beim Senden durch tatsächliche Werte ersetzt.", diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 17d18251..80cbf151 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -1644,6 +1644,7 @@ "subjectLine": "Subject Line", "emailBody": "Email Body", "preview": "Preview", + "save": "Save", "saveChanges": "Save Changes", "templates": "Templates", "variableHelp": "Use these variables in your template. They will be replaced with actual values when emails are sent.", diff --git a/frontend/src/i18n/locales/ru.json b/frontend/src/i18n/locales/ru.json index 1d7b9df0..1318cbf9 100644 --- a/frontend/src/i18n/locales/ru.json +++ b/frontend/src/i18n/locales/ru.json @@ -1622,6 +1622,7 @@ "subjectLine": "Тема письма", "emailBody": "Тело письма", "preview": "Предпросмотр", + "save": "Сохранить", "saveChanges": "Сохранить изменения", "templates": "Шаблоны", "variableHelp": "Используйте эти переменные в шаблоне. Они будут заменены реальными значениями при отправке писем.", diff --git a/frontend/src/pages/admin/EmailConfigPage.tsx b/frontend/src/pages/admin/EmailConfigPage.tsx index 2a7bb87f..e6f4c8d3 100644 --- a/frontend/src/pages/admin/EmailConfigPage.tsx +++ b/frontend/src/pages/admin/EmailConfigPage.tsx @@ -573,7 +573,7 @@ export const EmailConfigPage: React.FC = () => { isLoading={saveTemplateMutation.isPending} leftIcon={} > - {t('email.saveChanges')} + {t('email.save')}