mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Merge pull request #2443 from yesszus/patch-5
Create e107_plugins/tinymce4/languages/English_admin.php
This commit is contained in:
@@ -15,8 +15,7 @@ if( !e107::isInstalled('tinymce4'))
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
e107::lan('tinymce4','admin', 'true');
|
||||||
|
|
||||||
|
|
||||||
class tinymce4_admin extends e_admin_dispatcher
|
class tinymce4_admin extends e_admin_dispatcher
|
||||||
{
|
{
|
||||||
@@ -57,9 +56,9 @@ if( !e107::isInstalled('tinymce4'))
|
|||||||
|
|
||||||
|
|
||||||
protected $prefs = array(
|
protected $prefs = array(
|
||||||
'paste_as_text' => array('title'=> 'Paste as text by default', 'type'=>'boolean', 'data' => 'int','help'=> ''),
|
'paste_as_text' => array('title'=> TMCEALAN_1, 'type'=>'boolean', 'data' => 'int','help'=> ''),
|
||||||
'browser_spellcheck' => array('title'=> 'Browser spellcheck', 'type'=>'boolean', 'data' => 'int','help'=> 'Enable this if the browser internal spellchecker should be used.'),
|
'browser_spellcheck' => array('title'=> TMCEALAN_2, 'type'=>'boolean', 'data' => 'int','help'=> TMCEALAN_3),
|
||||||
'visualblocks' => array('title'=> 'Visual Blocks', 'type'=>'boolean', 'data' => 'int','help'=> 'Enable to make html blocks visible during editing.'),
|
'visualblocks' => array('title'=> TMCEALAN_4, 'type'=>'boolean', 'data' => 'int','help'=> TMCEALAN_5),
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -735,4 +734,4 @@ function edit_theme()
|
|||||||
require_once(e_ADMIN."footer.php");
|
require_once(e_ADMIN."footer.php");
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
17
e107_plugins/tinymce4/languages/English_admin.php
Normal file
17
e107_plugins/tinymce4/languages/English_admin.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
+---------------------------------------------------------------+
|
||||||
|
| e107 website content management system English Language File
|
||||||
|
| Released under the terms and conditions of the
|
||||||
|
| GNU General Public License (http://gnu.org).
|
||||||
|
| Last Modified: 2017/02/18 11:38:44
|
||||||
|
|
|
||||||
|
| $Author: Yesszus $
|
||||||
|
+---------------------------------------------------------------+
|
||||||
|
*/
|
||||||
|
define("TMCEALAN_1", "Paste as text by default");
|
||||||
|
define("TMCEALAN_2", "Browser spellcheck");
|
||||||
|
define("TMCEALAN_3", "Enable this if the browser internal spellchecker should be used.");
|
||||||
|
define("TMCEALAN_4", "Visual Blocks");
|
||||||
|
define("TMCEALAN_5", "Enable to make html blocks visible during editing.");
|
||||||
|
?>
|
Reference in New Issue
Block a user