From 12d0266b0b787141e5e53d7472167ab6a15b5453 Mon Sep 17 00:00:00 2001 From: rboren Date: Sun, 25 Apr 2004 23:49:45 +0000 Subject: [PATCH] Mark strings for translation. git-svn-id: http://svn.automattic.com/wordpress/trunk@1175 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/link-categories.php | 185 +++++++++++++++++------------------ 1 file changed, 92 insertions(+), 93 deletions(-) diff --git a/wp-admin/link-categories.php b/wp-admin/link-categories.php index d2b2ff1e54..3b10cda1e8 100644 --- a/wp-admin/link-categories.php +++ b/wp-admin/link-categories.php @@ -1,8 +1,8 @@ $cat_name link category: this is the default one"); + die(sprintf(__("Can't delete the %s link category: this is the default one"), $cat_name)); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); $wpdb->query("DELETE FROM $tablelinkcategories WHERE cat_id='$cat_id'"); $wpdb->query("UPDATE $tablelinks SET link_category=1 WHERE link_category='$cat_id'"); @@ -115,10 +115,10 @@ switch ($action) { ?>
@@ -128,81 +128,81 @@ switch ($action) {
-Category Options + - + - + + +title regardless)') ?> - + - + - + +
Name:
Show:
+
- (shown in title regardless)
+ + title regardless)') ?>

+
-(shown in title regardless)
Sort order: +
Limit: - (Leave empty for no limit to number of links shown) +
Toggle:
-Formatting + - + - + - +
Before Link:
Between Link and Description:
After Link:
-

+

@@ -216,7 +216,7 @@ switch ($action) { include_once("./admin-header.php"); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); $submit=$_POST["submit"]; if (isset($submit)) { @@ -289,37 +289,37 @@ switch ($action) { $standalone=0; include_once ("./admin-header.php"); if ($user_level < get_settings('links_minadminlevel')) { - die("You have do not have sufficient permissions to edit the link categories for this blog. :)"); + die(__("You have do not have sufficient permissions to edit the link categories for this blog. :)")); } ?>
-

Link Categories:

+

- - - - - - - - + + + + + + + + - - - - - - - + + + + + + + get_results("SELECT cat_id, cat_name, auto_toggle, show_images, show_description, " @@ -346,103 +346,102 @@ foreach ($results as $row) { - - + +
NameIDToggle?ShowSort OrderDesc?FormattingLimit  
ImagesDesc.RatingUpdatedBeforeBetweenAfter
text_after_link)?>  text_after_all)?> list_limit?>EditDelete');" class="delete">
-

These are the defaults for when you call a link category with no additional arguments. All of these settings may be overwritten.

+

-

Add a Link Category:

+

-Category Options + - + - + + +title regardless)') ?> - + - + - + +
Name:
Show:
+
- (shown in title regardless)
+ + title regardless)') ?>

+
-(shown in title regardless)
Sort order: +
Limit: - (Leave empty for no limit to number of links shown) +
Toggle:
-Formatting + - + - + - +
Before Link:
Between Link and Description:
After Link:
-

+

-

Note:

-

Deleting a link category does not delete links from that category.
- It will - just set them back to the default category . +

+ Deleting a link category does not delete links from that category.
+ It will just set them back to the default category %s.'), get_linkcatname(1)) ?>

- \ No newline at end of file +