From fec2df5a2329c3c630d7bab2050c938f7ff93760 Mon Sep 17 00:00:00 2001 From: MrReSc Date: Sun, 20 Dec 2020 07:44:40 +0100 Subject: [PATCH] fix broken translation and plugin texts added --- bl-plugins/tinymce/languages/de_CH.json | 6 +++--- bl-plugins/tinymce/languages/de_DE.json | 6 +++--- bl-plugins/tinymce/languages/en.json | 5 ++++- bl-plugins/tinymce/plugin.php | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/bl-plugins/tinymce/languages/de_CH.json b/bl-plugins/tinymce/languages/de_CH.json index fd3a0cfe..ee25c69d 100644 --- a/bl-plugins/tinymce/languages/de_CH.json +++ b/bl-plugins/tinymce/languages/de_CH.json @@ -4,7 +4,7 @@ "name": "TinyMCE", "description": "WYSIWYG HTML Editor, mit dem Inhalte einfach formatiert werden können." }, - "Toolbar top": "Obere Werkzeugleiste", - "Toolbar bottom": "Untere Werkzeugleiste", - "Mobile toolbar": "Werkzeugleiste auf Mobiles" + "toolbar-top": "Obere Werkzeugleiste", + "toolbar-bottom": "Untere Werkzeugleiste", + "codesample-languages": "Codesample Programmiersprachen" } diff --git a/bl-plugins/tinymce/languages/de_DE.json b/bl-plugins/tinymce/languages/de_DE.json index b8222abb..7c4b2c5c 100644 --- a/bl-plugins/tinymce/languages/de_DE.json +++ b/bl-plugins/tinymce/languages/de_DE.json @@ -4,7 +4,7 @@ "name": "TinyMCE", "description": "WYSIWYG HTML Editor, mit dem Inhalte einfach formatiert werden können." }, - "Toolbar top": "Obere Werkzeugleiste", - "Toolbar bottom": "Untere Werkzeugleiste", - "Mobile toolbar": "Werkzeugleiste auf Mobiles" + "toolbar-top": "Obere Werkzeugleiste", + "toolbar-bottom": "Untere Werkzeugleiste", + "codesample-languages": "Codesample Programmiersprachen" } diff --git a/bl-plugins/tinymce/languages/en.json b/bl-plugins/tinymce/languages/en.json index 53cac081..c5400865 100644 --- a/bl-plugins/tinymce/languages/en.json +++ b/bl-plugins/tinymce/languages/en.json @@ -3,5 +3,8 @@ { "name": "TinyMCE", "description": "HTML Editor for formatting content. Recommended for the users who don't want to work with Markdown code." - } + }, + "toolbar-top": "Toolbar top", + "toolbar-bottom": "Toolbar bottom", + "codesample-languages": "Codesample languages" } \ No newline at end of file diff --git a/bl-plugins/tinymce/plugin.php b/bl-plugins/tinymce/plugin.php index 6fb174c1..22b71100 100644 --- a/bl-plugins/tinymce/plugin.php +++ b/bl-plugins/tinymce/plugin.php @@ -38,7 +38,7 @@ class pluginTinymce extends Plugin { if (strpos($this->getValue('plugins'), 'codesample') !== false) { $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; }