mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Changes to integrate the new HTML editor into Moodle in an optional way
until it's stable enough to replace Richtext To enable the new editor, add this line into config.php: $CFG->useneweditor = true;
This commit is contained in:
parent
a800c94891
commit
4c46c425db
8 changed files with 299 additions and 73 deletions
70
lang/en/editor.php
Normal file
70
lang/en/editor.php
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?php // $Id$
|
||||
// Strings for the HTML editor
|
||||
|
||||
$string['bold'] = "Bold";
|
||||
$string['italic'] = "Italic";
|
||||
$string['underline'] = "Underline";
|
||||
$string['strikethrough'] = "Strikethrough";
|
||||
$string['subscript'] = "Subscript";
|
||||
$string['superscript'] = "Superscript";
|
||||
$string['justifyleft'] = "Justify Left";
|
||||
$string['justifycenter'] = "Justify Center";
|
||||
$string['justifyright'] = "Justify Right";
|
||||
$string['justifyfull'] = "Justify Full";
|
||||
$string['orderedlist'] = "Ordered List";
|
||||
$string['unorderedlist'] = "Bulleted List";
|
||||
$string['outdent'] = "Decrease Indent";
|
||||
$string['indent'] = "Increase Indent";
|
||||
$string['forecolor'] = "Font Color";
|
||||
$string['hilitecolor'] = "Background Color";
|
||||
$string['horizontalrule'] = "Horizontal Rule";
|
||||
$string['createlink'] = "Insert Web Link";
|
||||
$string['insertimage'] = "Insert Image";
|
||||
$string['inserttable'] = "Insert Table";
|
||||
$string['htmlmode'] = "Toggle HTML Source";
|
||||
$string['popupeditor'] = "Enlarge Editor";
|
||||
$string['about'] = "About this editor";
|
||||
$string['showhelp'] = "Help using editor";
|
||||
$string['textindicator'] = "Current style";
|
||||
$string['undo'] = "Undo your last action";
|
||||
$string['redo'] = "Redo your last action";
|
||||
$string['cut'] = "Cut selection";
|
||||
$string['copy'] = "Copy selection";
|
||||
$string['paste'] = "Paste from clipboard";
|
||||
$string['ok'] = "OK";
|
||||
$string['cancel'] = "Cancel";
|
||||
$string['browse'] = "Browse";
|
||||
$string['imageurl'] = "Image URL";
|
||||
$string['preview'] = "Preview";
|
||||
$string['alternatetext'] = "Alternate text";
|
||||
$string['alignment'] = "Alignment";
|
||||
$string['layout'] = "Layout";
|
||||
$string['spacing'] = "Spacing";
|
||||
$string['borderthickness'] = "Border thickness";
|
||||
$string['horizontal'] = "Horizontal";
|
||||
$string['vertical'] = "Vertical";
|
||||
$string['notset'] = "Not Set";
|
||||
$string['left'] = "Left";
|
||||
$string['right'] = "Right";
|
||||
$string['texttop'] = "Texttop";
|
||||
$string['baseline'] = "Baseline";
|
||||
$string['absbottom'] = "Absbottom";
|
||||
$string['bottom'] = "Bottom";
|
||||
$string['middle'] = "Middle";
|
||||
$string['top'] = "Top";
|
||||
$string['absmiddle'] = "Absmiddle";
|
||||
$string['rows'] = "Rows";
|
||||
$string['cols'] = "Cols";
|
||||
$string['width'] = "Width";
|
||||
$string['percent'] = "Percent";
|
||||
$string['pixels'] = "Pixels";
|
||||
$string['cellspacing'] = "Cellspacing";
|
||||
$string['cellpadding'] = "Cellpadding";
|
||||
$string['close'] = "Close";
|
||||
$string['chooseicon'] = "Choose an icon to insert";
|
||||
$string['choosechar'] = "Choose Character";
|
||||
$string['insertsmile'] = "Insert smile";
|
||||
$string['insertchar'] = "Insert Special Character";
|
||||
$string['Path'] = "Path";
|
||||
$string['TEXT_MODE'] = "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWIG."
|
||||
?>
|
|
@ -371,7 +371,7 @@ $string['helpindex'] = "Index of all help files";
|
|||
$string['helppicture'] = "How to upload a picture";
|
||||
$string['helpreading'] = "Read carefully";
|
||||
$string['helptext'] = "How to write text";
|
||||
$string['helprichtext'] = "About Richtext editor";
|
||||
$string['helprichtext'] = "About the HTML editor";
|
||||
$string['helpsummaries'] = "About these summaries";
|
||||
$string['helpquestions'] = "Ask good questions";
|
||||
$string['helpwiki'] = "How to write Wiki text";
|
||||
|
@ -384,11 +384,11 @@ $string['home'] = "Home";
|
|||
$string['hour'] = "hour";
|
||||
$string['hours'] = "hours";
|
||||
$string['howtomakethemes'] = "How to make new themes";
|
||||
$string['htmleditor'] = "Use Richtext HTML editor (IE only, 5.5 or later)";
|
||||
$string['htmleditoravailable'] = "The Richtext editor is available";
|
||||
$string['htmleditordisabled'] = "You have disabled the Richtext editor in your user profile";
|
||||
$string['htmleditordisabledadmin'] = "The administrator has disabled the Richtext editor on this site";
|
||||
$string['htmleditordisabledbrowser'] = "The Richtext editor is unavailable because you are not using Internet Explorer 5.5 or better";
|
||||
$string['htmleditor'] = "Use HTML editor (some browsers only)";
|
||||
$string['htmleditoravailable'] = "The HTML editor is available";
|
||||
$string['htmleditordisabled'] = "You have disabled the HTML editor in your user profile";
|
||||
$string['htmleditordisabledadmin'] = "The administrator has disabled the HTML editor on this site";
|
||||
$string['htmleditordisabledbrowser'] = "The HTML editor is unavailable because your web browser is not compatible";
|
||||
$string['htmlformat'] = "Pretty HTML format";
|
||||
$string['icqnumber'] = "ICQ number";
|
||||
$string['idnumber'] = "ID number";
|
||||
|
|
72
lang/fi/editor.php
Normal file
72
lang/fi/editor.php
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?PHP // $Id$
|
||||
// htmlarea.php - created with Moodle 1.2 development (2003100900)
|
||||
|
||||
|
||||
$string['Path'] = "Polku";
|
||||
$string['TEXT_MODE'] = "Olet tekstitilassa. Käytä [<>] painiketta palataksesi takaisin WYSIWIG -tilaan.";
|
||||
$string['about'] = "Tietoja editorista";
|
||||
$string['absbottom'] = "Absbottom";
|
||||
$string['absmiddle'] = "Absmiddle";
|
||||
$string['alignment'] = "Tasaus";
|
||||
$string['alternatetext'] = "Oletusteksti";
|
||||
$string['baseline'] = "Baseline";
|
||||
$string['bold'] = "Lihavoitu";
|
||||
$string['borderthickness'] = "Reunan paksuus";
|
||||
$string['bottom'] = "Alas";
|
||||
$string['browse'] = "Selaa";
|
||||
$string['cancel'] = "Peruuta";
|
||||
$string['cellpadding'] = "Solun täyttö";
|
||||
$string['cellspacing'] = "Solujen väli";
|
||||
$string['choosechar'] = "Valitse merkki";
|
||||
$string['chooseicon'] = "Valitse liitettävä hymiö";
|
||||
$string['close'] = "Sulje";
|
||||
$string['cols'] = "Solut";
|
||||
$string['copy'] = "Kopioi";
|
||||
$string['createlink'] = "Lisää linkki";
|
||||
$string['cut'] = "Leikkaa";
|
||||
$string['forecolor'] = "Tekstin väri";
|
||||
$string['hilitecolor'] = "Taustan väri";
|
||||
$string['horizontal'] = "Vaaka";
|
||||
$string['horizontalrule'] = "Vaakaviiva";
|
||||
$string['htmlmode'] = "Näytä HTML koodi";
|
||||
$string['imageurl'] = "Kuvan URL";
|
||||
$string['indent'] = "Lisää sisennystä";
|
||||
$string['insertchar'] = "Lisää merkki";
|
||||
$string['insertimage'] = "Lisää kuva";
|
||||
$string['insertsmile'] = "Lisää hymiö";
|
||||
$string['inserttable'] = "Lisää taulukko";
|
||||
$string['italic'] = "Kursivoitu";
|
||||
$string['justifycenter'] = "Keskitä";
|
||||
$string['justifyfull'] = "Tasaa molemmat reunat";
|
||||
$string['justifyleft'] = "Tasaa vasemmat reunat";
|
||||
$string['justifyright'] = "Tasaa oikeat reunat";
|
||||
$string['layout'] = "Ulkoasu";
|
||||
$string['left'] = "Vasen";
|
||||
$string['middle'] = "Middle";
|
||||
$string['notset'] = "Not Set";
|
||||
$string['ok'] = "OK";
|
||||
$string['orderedlist'] = "Numerointi";
|
||||
$string['outdent'] = "Vähennä sisennystä";
|
||||
$string['paste'] = "Liitä";
|
||||
$string['percent'] = "Prosenttia";
|
||||
$string['pixels'] = "Pikseliä";
|
||||
$string['popupeditor'] = "Suurenna editori";
|
||||
$string['preview'] = "Esikatsele";
|
||||
$string['redo'] = "Palauta viimeinen toiminto";
|
||||
$string['right'] = "Oikea";
|
||||
$string['rows'] = "Rivit";
|
||||
$string['showhelp'] = "Ohje";
|
||||
$string['spacing'] = "Välys";
|
||||
$string['strikethrough'] = "Yliviivattu";
|
||||
$string['subscript'] = "Alaindeksi";
|
||||
$string['superscript'] = "Ylädeksi";
|
||||
$string['textindicator'] = "Nykyinen tyyli";
|
||||
$string['texttop'] = "Texttop";
|
||||
$string['top'] = "Ylös";
|
||||
$string['underline'] = "Alleviivattu";
|
||||
$string['undo'] = "Peruuta viimeinen toiminto";
|
||||
$string['unorderedlist'] = "Luettelomerkit";
|
||||
$string['vertical'] = "Pysty";
|
||||
$string['width'] = "Leveys";
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue