From a1c174ce816d6abb2641110c4408149246c4edc6 Mon Sep 17 00:00:00 2001 From: rboren Date: Sat, 24 Apr 2004 23:07:51 +0000 Subject: [PATCH] Mark strings for translation. Partial. git-svn-id: http://svn.automattic.com/wordpress/trunk@1155 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/link-manager.php | 146 +++++++++++++++++++------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index d72c5955e..9687594b6 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) { ?>