diff --git a/wp-admin/options.php b/wp-admin/options.php
index 4499b12590..a33ef6eedf 100644
--- a/wp-admin/options.php
+++ b/wp-admin/options.php
@@ -87,7 +87,7 @@ $nonbools = array('default_ping_status', 'default_comment_status');
$result = $wpdb->query($query);
//if( in_array($option->option_name, $nonbools)) die('boo'.$query);
if (!$result) {
- $db_errors .= " SQL error while saving $this_name. ";
+ $db_errors .= sprintf(__(" SQL error while saving %s. "), $this_name);
} else {
++$any_changed;
}
@@ -99,12 +99,12 @@ $nonbools = array('default_ping_status', 'default_comment_status');
} // end if options
if ($any_changed) {
- $message = $any_changed . ' setting(s) saved... ';
+ $message = sprintf(__('%d setting(s) saved... '), $any_changed);
}
if (($dB_errors != '') || ($validation_message != '')) {
if ($message != '') {
- $message .= '
and ';
+ $message .= '
';
}
$message .= $dB_errors . '
' . $validation_message;
}
@@ -117,7 +117,7 @@ default:
$standalone = 0;
include_once("./admin-header.php");
if ($user_level <= 6) {
- die("You have do not have sufficient permissions to edit the options for this blog.");
+ die(__("You have do not have sufficient permissions to edit the options for this blog."));
}
?>
@@ -133,13 +133,13 @@ if ($non_was_selected) { // no group pre-selected, display opening page
echo("