add description for codesample langs

This commit is contained in:
MrReSc 2020-12-20 08:00:09 +01:00
parent fec2df5a23
commit 4a489ec1d1
5 changed files with 11 additions and 6 deletions

1
bl-plugins/prism Submodule

@ -0,0 +1 @@
Subproject commit 1f279a78b86fe70f6a318edcc552413952952608

View file

@ -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."
}

View file

@ -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."
}

View file

@ -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."
}

View file

@ -22,12 +22,12 @@ class pluginTinymce extends Plugin {
global $L;
$html = '<div>';
$html .= '<label>'.$L->get('Toolbar top').'</label>';
$html .= '<label>'.$L->get('toolbar-top').'</label>';
$html .= '<input name="toolbar1" id="jstoolbar1" type="text" value="'.$this->getValue('toolbar1').'">';
$html .= '</div>';
$html .= '<div>';
$html .= '<label>'.$L->get('Toolbar bottom').'</label>';
$html .= '<label>'.$L->get('toolbar-bottom').'</label>';
$html .= '<input name="toolbar2" id="jstoolbar2" type="text" value="'.$this->getValue('toolbar2').'">';
$html .= '</div>';
@ -38,8 +38,9 @@ class pluginTinymce extends Plugin {
if (strpos($this->getValue('plugins'), 'codesample') !== false) {
$html .= '<div>';
$html .= '<label>'.$L->get('Codesample languages').'</label>';
$html .= '<label>'.$L->get('codesample-languages').'</label>';
$html .= '<input name="codesampleLanguages" id="jsCodesampleLanguages" type="text" value="'.$this->getValue('codesampleLanguages').'">';
$html .= '<span class="tip">'.$L->get('codesample-supported-laguages').'</span>';
$html .= '</div>';
}