diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index d72c5955e5..9687594b68 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -4,7 +4,7 @@ require_once('../wp-config.php'); -$title = 'Manage Links'; +$title = __('Manage Links'); $this_file = 'link-manager.php'; function xfn_check($class, $value = '', $type = 'check') { @@ -87,7 +87,7 @@ switch ($action) { // check the current user's level first. if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); //for each link id (in $linkcheck[]): if the current user level >= the //userlevel of the owner of the link then we can proceed. @@ -118,7 +118,7 @@ switch ($action) { // check the current user's level first. if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); //for each link id (in $linkcheck[]): toggle the visibility if (count($linkcheck) == 0) { @@ -155,7 +155,7 @@ switch ($action) { include_once('admin-header.php'); // check the current user's level first. if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); //for each link id (in $linkcheck[]) change category to selected value if (count($linkcheck) == 0) { @@ -189,7 +189,7 @@ switch ($action) { $auto_toggle = get_autotoggle($link_category); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); // if we are in an auto toggle category and this one is visible then we // need to make the others invisible before we add this new one. @@ -237,7 +237,7 @@ switch ($action) { $auto_toggle = get_autotoggle($link_category); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); // if we are in an auto toggle category and this one is visible then we // need to make the others invisible before we update this one. @@ -268,7 +268,7 @@ switch ($action) { $link_id = $_GET["link_id"]; if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); $wpdb->query("DELETE FROM $tablelinks WHERE link_id = $link_id"); @@ -290,7 +290,7 @@ switch ($action) { $standalone=0; include_once ('admin-header.php'); if ($user_level < get_settings('links_minadminlevel')) { - die('You have do not have sufficent permissions to edit the links for this blog.'); + die(__('You have do not have sufficent permissions to edit the links for this blog.')); } $row = $wpdb->get_row("SELECT * @@ -313,94 +313,94 @@ switch ($action) { ?>