From 088e092db81b3efcf447e8787c74475bdfb6b202 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 29 Oct 2003 08:21:52 +0000 Subject: [PATCH] More language fixes, mostly using print_string instead of get_string --- lang/en/editor.php | 4 +- lang/fi/editor.php | 4 +- lib/editor/lang/en.php | 74 ++++++++++++++--------------- lib/editor/popups/dlg_ins_char.php | 4 +- lib/editor/popups/dlg_ins_smile.php | 4 +- lib/editor/popups/insert_image.php | 44 ++++++++--------- lib/editor/popups/insert_table.php | 48 +++++++++---------- 7 files changed, 91 insertions(+), 91 deletions(-) diff --git a/lang/en/editor.php b/lang/en/editor.php index 3cfb66a3f1..618f97a8ff 100644 --- a/lang/en/editor.php +++ b/lang/en/editor.php @@ -65,6 +65,6 @@ $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." +$string['path'] = "Path"; +$string['textmode'] = "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWIG." ?> diff --git a/lang/fi/editor.php b/lang/fi/editor.php index a9cc164070..408afbcf88 100644 --- a/lang/fi/editor.php +++ b/lang/fi/editor.php @@ -2,8 +2,8 @@ // 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['path'] = "Polku"; +$string['textmode'] = "Olet tekstitilassa. Käytä [<>] painiketta palataksesi takaisin WYSIWIG -tilaan."; $string['about'] = "Tietoja editorista"; $string['absbottom'] = "Absbottom"; $string['absmiddle'] = "Absmiddle"; diff --git a/lib/editor/lang/en.php b/lib/editor/lang/en.php index 41f02aec29..9eafa3ad6f 100644 --- a/lib/editor/lang/en.php +++ b/lib/editor/lang/en.php @@ -22,48 +22,48 @@ HTMLArea.I18N = { lang: "en", tooltips: { - bold: "", - italic: "", - underline: "", - strikethrough: "", - subscript: "", - superscript: "", - justifyleft: "", - justifycenter: "", - justifyright: "", - justifyfull: "", - insertorderedlist: "", - insertunorderedlist: "", - outdent: "", - indent: "", - forecolor: "", - hilitecolor: "", - inserthorizontalrule: "", - createlink: "", - insertimage: "", - inserttable: "", - htmlmode: "", - popupeditor: "", - about: "", - showhelp: "", - textindicator: "", - undo: "", - redo: "", - cut: "", - copy: "", - paste: "", - insertsmile: "", - insertchar: "" + bold: "", + italic: "", + underline: "", + strikethrough: "", + subscript: "", + superscript: "", + justifyleft: "", + justifycenter: "", + justifyright: "", + justifyfull: "", + insertorderedlist: "", + insertunorderedlist: "", + outdent: "", + indent: "", + forecolor: "", + hilitecolor: "", + inserthorizontalrule: "", + createlink: "", + insertimage: "", + inserttable: "", + htmlmode: "", + popupeditor: "", + about: "", + showhelp: "", + textindicator: "", + undo: "", + redo: "", + cut: "", + copy: "", + paste: "", + insertsmile: "", + insertchar: "" }, buttons: { - "ok": "", - "cancel": "", - "browse": "" + "ok": "", + "cancel": "", + "browse": "" }, msg: { - "Path": "", - "TEXT_MODE": "" + "Path": "", + "TEXT_MODE": "" } }; diff --git a/lib/editor/popups/dlg_ins_char.php b/lib/editor/popups/dlg_ins_char.php index 7116688973..607f4b0bf5 100644 --- a/lib/editor/popups/dlg_ins_char.php +++ b/lib/editor/popups/dlg_ins_char.php @@ -123,7 +123,7 @@ function cancel() { - +


@@ -143,7 +143,7 @@ function cancel() { + " onclick="cancel()">

- " onclick="cancel()">
diff --git a/lib/editor/popups/dlg_ins_smile.php b/lib/editor/popups/dlg_ins_smile.php index ecad8c876a..5b8bd52569 100644 --- a/lib/editor/popups/dlg_ins_smile.php +++ b/lib/editor/popups/dlg_ins_smile.php @@ -88,7 +88,7 @@ function cancel() { - +


@@ -208,7 +208,7 @@ function cancel() { + " onclick="cancel()">

- " onclick="cancel()">
diff --git a/lib/editor/popups/insert_image.php b/lib/editor/popups/insert_image.php index 6c5ce1cbe9..dcaedd8975 100644 --- a/lib/editor/popups/insert_image.php +++ b/lib/editor/popups/insert_image.php @@ -142,22 +142,22 @@ form { padding: 0px; margin: 0px; } -
+
- + - + @@ -168,28 +168,28 @@ form { padding: 0px; margin: 0px; }

- +
-
:
+
:

-

:
+
:
@@ -198,17 +198,17 @@ title="Leave empty for no border" />
- +
-
:
+
:

-

:
+
:
@@ -221,8 +221,8 @@ title="Vertical padding" /> fullname\" type=\"button\" name=\"browse\" onclick=\"set_url_value()\">".get_string("browse","editor")." \n":""; ?> - - + + diff --git a/lib/editor/popups/insert_table.php b/lib/editor/popups/insert_table.php index a4284be7e6..fdfa48ab66 100644 --- a/lib/editor/popups/insert_table.php +++ b/lib/editor/popups/insert_table.php @@ -78,27 +78,27 @@ form { padding: 0px; margin: 0px; } -
+
:: + title="Preview the image in a new window">
::
- + - + - + @@ -109,28 +109,28 @@ form { padding: 0px; margin: 0px; }

- +
-
:
+
:

-

:
+
:
::
:: ::