diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/admin_user_angeltypes.php | 6 | ||||
-rw-r--r-- | includes/pages/user_news.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/pages/admin_user_angeltypes.php b/includes/pages/admin_user_angeltypes.php index b3fca7c0..9377dc20 100644 --- a/includes/pages/admin_user_angeltypes.php +++ b/includes/pages/admin_user_angeltypes.php @@ -23,9 +23,9 @@ function admin_user_angeltypes() { } sql_query("UPDATE `UserAngelTypes` SET `confirm_user_id`=" . sql_escape($_SESSION['uid']) . " WHERE `angeltype_id`=" . sql_escape($_REQUEST['confirm_all']) . " LIMIT 1"); engelsystem_log("Confirmed all " . $angel_type_source[0]['name']); - success("Confirmed all."); + success(_("Confirmed all.")); } - else error("Entry not found."); + else error(_("Entry not found.")); redirect(page_link_to('admin_user_angeltypes')); } @@ -107,7 +107,7 @@ function admin_new_user_angeltypes() { $unconfirmed_angeltypes = sql_num_query("SELECT * FROM `UserAngelTypes` JOIN `AngelTypes` ON `UserAngelTypes`.`angeltype_id`=`AngelTypes`.`id` WHERE `UserAngelTypes`.`angeltype_id` IN (SELECT `angeltype_id` FROM `UserAngelTypes` WHERE `user_id`=" . sql_escape($user['UID']) . ") AND `AngelTypes`.`restricted`=1 AND `UserAngelTypes`.`confirm_user_id` IS NULL LIMIT 1") > 0; if ($unconfirmed_angeltypes) - return info('<a href="' . page_link_to('admin_user_angeltypes') . '">There are unconfirmed angeltypes!</a>', true); + return info('<a href="' . page_link_to('admin_user_angeltypes') . '">' . _("There are unconfirmed angeltypes!") . '</a>', true); } return ""; } diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php index d082b411..9c7a6b94 100644 --- a/includes/pages/user_news.php +++ b/includes/pages/user_news.php @@ -119,7 +119,7 @@ function user_news_comments() { <input type="submit" value="' . _("Save") . '"> </form>'; } else { - $html .= _("Fehlerhafter Aufruf!"); + $html .= _("Invalid request."); } return $html; |