From 5d6993b18783c222141ecee6aa2f81c9661aa93f Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 9 Jan 2007 08:25:40 +0000 Subject: [PATCH] MOved some loose strings I found --- admin/lang.php | 11 +---------- lang/en_utf8/admin.php | 8 ++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/admin/lang.php b/admin/lang.php index 3692c0421d0..d7233b78cec 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -77,15 +77,6 @@ $strprev = get_string('previous'); $strnext = get_string('next'); - // FIXME / TODO - // remove following lines after adding string into proper english lang pack - $strgotofirst = 'go to first missing string'; - $strfilestoredin = 'Save file into folder :'; - $strfilestoredinhelp = 'Where the file will be stored'; - $strswitchlangdirbtn = 'switch'; - $strchoosefiletoedit = 'Choose file to edit from the box above'; - $streditennotallowed = 'Language en_utf8 cannot be edited with this page - switch to local'; - $strfilecreated = 'New file created'; $currentlang = current_language(); @@ -560,7 +551,7 @@ function lang_save_file($path, $file, $strings, $local, $packstrings) { } } } - fwrite($f,"\n?>\n"); + fwrite($f,"\n\?\>\n"); fclose($f); return true; } diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index 81c683041ef..d7ca8ac5f1d 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -38,6 +38,7 @@ $string['calendar_weekend'] = 'Weekend Days'; $string['calendarsettings'] = 'Calendar'; $string['change'] = 'change'; $string['changesitelang'] = 'Change site language'; +$string['choosefiletoedit'] = 'Choose file to edit from the box above'; $string['clamfailureonupload'] = 'On clam AV failure'; $string['cleanup'] = 'Cleanup'; $string['componentinstalled'] = 'Component Installed'; @@ -228,6 +229,7 @@ $string['displayloginfailures'] = 'Display login failures to'; $string['docroot'] = 'Moodle Docs document root'; $string['doctonewwindow'] = 'Open in new window'; $string['download'] = 'Download'; +$string['editennotallowed'] = 'Language en_utf8 cannot be edited with this page - switch to local'; $string['edithelpdocs'] = 'Edit help documents'; $string['editlang'] = 'Edit'; $string['editorbackgroundcolor'] = 'Background color'; @@ -256,6 +258,9 @@ $string['errorsetting'] = 'Could not save setting:'; $string['errorwithsettings'] = 'Some settings were not changed due to an error:'; $string['experimental'] = 'Experimental'; $string['extendedusernamechars'] = 'Allow extended characters in usernames'; +$string['filecreated'] = 'New file created'; +$string['filestoredin'] = 'Save file into folder :'; +$string['filestoredinhelp'] = 'Where the file will be stored'; $string['filterall'] = 'Filter all strings'; $string['filtermatchoneperpage'] = 'Filter match once per page'; $string['filtermatchonepertext'] = 'Filter match once per text'; @@ -271,6 +276,7 @@ $string['fullnamedisplay'] = 'Full Name Format'; $string['gdversion'] = 'GD version'; $string['generalsettings'] = 'General settings'; $string['globalsquoteswarning'] = '

Security Warning: to operate properly, Moodle requires
that you make certain changes to your current PHP settings.

You must set register_globals=off and/or magic_quotes_gpc=on.
If possible, you should set register_globals=off to improve general
server security, setting magic_quotes_gpc=on is also recommended.

These settings are controlled by editing your php.ini, Apache/IIS
configuration or .htaccess file.

'; +$string['gotofirst'] = 'Go to first missing string'; $string['gradebook'] = 'Gradebook'; $string['gradebookroles'] = 'Graded roles'; $string['helpadminseesall'] = 'Do admins see all calendar events or just those that apply to themselves?'; @@ -444,6 +450,7 @@ $string['stickyblockscourseview'] = 'Course page'; $string['stickyblocksduplicatenotice'] = 'If any block you add here is already present in a particular page, it will result in a duplicate.
Only the pinned block will be non-editable, the duplicate will still be editable.'; $string['stickyblocksmymoodle'] = 'My moodle'; $string['stickyblockspagetype'] = 'Page type to configure'; +$string['switchlangdirbtn'] = 'switch'; $string['systempaths'] = 'System Paths'; $string['tabselectedtofront'] = 'On tables with tabs, should the row with the currently selected tab be placed at the front'; $string['tabselectedtofronttext'] = 'Bring selected tab row to front'; @@ -491,4 +498,5 @@ $string['usersrenamed'] = 'Users renamed'; $string['usersupdated'] = 'Users updated'; $string['validateerror'] = 'This value was not valid:'; + ?>