diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 256bbbd1f..5a3f84517 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -443,9 +443,9 @@ } if (subscribe_to_feed($link, $feed_url, $cat_id)) { - print format_notice(printf(__("Subscribed to %s."), $feed_url)); + print format_notice(sprintf(__("Subscribed to %s."), $feed_url)); } else { - print format_warning(printf(__("Already subscribed to %s."), $feed_url)); + print format_warning(sprintf(__("Already subscribed to %s."), $feed_url)); } if ($p_from != 'tt-rss') { @@ -547,7 +547,7 @@ } else { - print format_warning(printf(__("Category $%s already exists in the database."), $feed_cat)); + print format_warning(sprintf(__("Category $%s already exists in the database."), $feed_cat)); } } diff --git a/modules/pref-users.php b/modules/pref-users.php index 46c7ad474..402231609 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -9,7 +9,7 @@ $id = db_escape_string($_GET["id"]); - print "
User editor
"; + print "
".__('User editor')."
"; print "
"; @@ -26,7 +26,7 @@ $email = db_fetch_result($result, 0, "email"); print ""; - print ""; @@ -34,13 +34,13 @@ "; - print ""; $sel_disabled = ($id == $_SESSION["uid"]) ? "disabled" : ""; - print ""; @@ -52,10 +52,10 @@ print "
+ value=\"".__('Save')."\">
"; + value=\"".__('Cancel')."\">"; print ""; @@ -75,7 +75,7 @@ if ($password) { $pwd_hash = 'SHA1:' . sha1($password); $pass_query_part = "pwd_hash = '$pwd_hash', "; - print "
Changed password for user $login.
"; + print format_notice(sprintf(__('Changed password for user %s.'), $login)); } else { $pass_query_part = ""; }
Login: + print "
".__('Login:')."
E-mail: + print "
".__('E-mail:')."
Access level:"; + print "
".__('Access level:').""; print_select_hash("access_level", $access_level, $access_level_names, $sel_disabled); print "