From: moodler Date: Tue, 9 Jan 2007 09:01:38 +0000 (+0000) Subject: Fix strings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fc935b3095721b9c4691a0babe9699a298a85cf1;p=moodle.git Fix strings --- diff --git a/admin/lang.php b/admin/lang.php index d7233b78ce..4745bc013a 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -68,10 +68,10 @@ $stredithelpdocs = get_string("edithelpdocs", 'admin'); $strthislanguage = get_string("thislanguage"); $strgotofirst = get_string('gotofirstmissing','admin'); - $strfilestoredin = get_string('langstorein', 'admin'); - $strfilestoredinhelp = get_string('langstoreinhelp', 'admin'); - $strswitchlangdirbtn = get_string('langstoreswitch', 'admin'); - $strchoosefiletoedit = get_string('langchoosefile', 'admin'); + $strfilestoredin = get_string('filestoredin', 'admin'); + $strfilestoredinhelp = get_string('filestoredinhelp', 'admin'); + $strswitchlang = get_string('switchlang', 'admin'); + $strchoosefiletoedit = get_string('choosefiletoedit', 'admin'); $streditennotallowed = get_string('langnoeditenglish', 'admin'); $strfilecreated = get_string('langfilecreated', 'admin'); $strprev = get_string('previous'); @@ -108,21 +108,14 @@ admin_externalpage_print_header($adminroot); if (!$mode) { - print_simple_box_start('center','80%'); - echo '
'; - print_string('editlang','admin'); - echo '
'; + print_box_start(); $currlang = current_language(); $langs = get_list_of_languages(); - echo "$strcurrentlanguage:"; - echo '
'; - echo popup_form ("$CFG->wwwroot/$CFG->admin/lang.php?lang=", $langs, "chooselang", $currlang, "", "", "", true); - $options["lang"] = $currentlang; + popup_form ("$CFG->wwwroot/$CFG->admin/lang.php?lang=", $langs, "chooselang", $currlang, "", "", "", false, 'self', $strcurrentlanguage.':'); print_heading("$strmissingstrings"); print_heading("$streditstrings"); print_heading("$stredithelpdocs"); - echo '
'; - print_simple_box_end(); + print_box_end(); admin_externalpage_print_footer($adminroot); exit; } @@ -341,7 +334,7 @@ ''. ''. ''. - ''. + ''. ''; print_simple_box_end(); diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index d7ca8ac5f1..18cd2af19c 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -450,7 +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['switchlang'] = 'Switch lang directory'; $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';