From 89cb787edd1c9d3c2fa2616c98986b130fcaf930 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 10 Aug 2007 17:16:43 +0100 Subject: more translation work --- modules/pref-prefs.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'modules/pref-prefs.php') diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 036a7607f..7ade0391b 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -56,7 +56,7 @@ return; - } else if ($subop == "Save configuration") { + } else if ($subop == __("Save configuration")) { $_SESSION["prefs_op_result"] = "save-config"; @@ -124,7 +124,7 @@ return; - } else if ($subop == "Reset to defaults") { + } else if ($subop == __("Reset to defaults")) { $_SESSION["prefs_op_result"] = "reset-to-defaults"; @@ -282,7 +282,7 @@ print "

".__("Themes")."

"; print "".__("Select theme").""; print ""; print ""; print ""; + print ""; print "

"; + value=\"".__('Change theme')."\">"; print ""; } @@ -332,7 +333,7 @@ $active_section = $line["section_name"]; - print "

$active_section

"; + print "

".__($active_section)."

"; // print " // OptionValue"; @@ -349,9 +350,9 @@ $def_value = $line["def_value"]; $help_text = $line["help_text"]; - print "" . $line["short_desc"]; + print "" . __($line["short_desc"]); - if ($help_text) print "
$help_text
"; + if ($help_text) print "
".__($help_text)."
"; print ""; @@ -384,11 +385,11 @@ print ""; print "

"; + name=\"subop\" value=\"".__('Save configuration')."\">"; print " 

"; + value=\"".__('Reset to defaults')."\">

"; print ""; -- cgit v1.2.3-54-g00ecf