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 "
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 " |