diff --git a/bl-plugins/prism b/bl-plugins/prism new file mode 160000 index 00000000..1f279a78 --- /dev/null +++ b/bl-plugins/prism @@ -0,0 +1 @@ +Subproject commit 1f279a78b86fe70f6a318edcc552413952952608 diff --git a/bl-plugins/tinymce/languages/de_CH.json b/bl-plugins/tinymce/languages/de_CH.json index ee25c69d..65c4d504 100644 --- a/bl-plugins/tinymce/languages/de_CH.json +++ b/bl-plugins/tinymce/languages/de_CH.json @@ -6,5 +6,6 @@ }, "toolbar-top": "Obere Werkzeugleiste", "toolbar-bottom": "Untere Werkzeugleiste", - "codesample-languages": "Codesample Programmiersprachen" + "codesample-languages": "Codesample Programmiersprachen", + "codesample-supported-laguages": "Pragrammiersprachen die von Prism unterstützt werden." } diff --git a/bl-plugins/tinymce/languages/de_DE.json b/bl-plugins/tinymce/languages/de_DE.json index 7c4b2c5c..ae22b524 100644 --- a/bl-plugins/tinymce/languages/de_DE.json +++ b/bl-plugins/tinymce/languages/de_DE.json @@ -6,5 +6,6 @@ }, "toolbar-top": "Obere Werkzeugleiste", "toolbar-bottom": "Untere Werkzeugleiste", - "codesample-languages": "Codesample Programmiersprachen" + "codesample-languages": "Codesample Programmiersprachen", + "codesample-supported-laguages": "Pragrammiersprachen die von Prism unterstützt werden." } diff --git a/bl-plugins/tinymce/languages/en.json b/bl-plugins/tinymce/languages/en.json index c5400865..55b87e5a 100644 --- a/bl-plugins/tinymce/languages/en.json +++ b/bl-plugins/tinymce/languages/en.json @@ -6,5 +6,6 @@ }, "toolbar-top": "Toolbar top", "toolbar-bottom": "Toolbar bottom", - "codesample-languages": "Codesample languages" + "codesample-languages": "Codesample languages", + "codesample-supported-laguages": "Programming languages supported by Prism." } \ No newline at end of file diff --git a/bl-plugins/tinymce/plugin.php b/bl-plugins/tinymce/plugin.php index 22b71100..6a9ff9bb 100644 --- a/bl-plugins/tinymce/plugin.php +++ b/bl-plugins/tinymce/plugin.php @@ -22,12 +22,12 @@ class pluginTinymce extends Plugin { global $L; $html = '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; $html .= '
'; @@ -38,8 +38,9 @@ class pluginTinymce extends Plugin { if (strpos($this->getValue('plugins'), 'codesample') !== false) { $html .= '
'; - $html .= ''; + $html .= ''; $html .= ''; + $html .= ''.$L->get('codesample-supported-laguages').''; $html .= '
'; }