From f453b84a6916d036b405f167c0e3e0fed8a00c64 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 24 Apr 2004 04:47:27 +0000 Subject: [PATCH] Mark strings for translation. git-svn-id: https://develop.svn.wordpress.org/trunk@1141 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 58 ++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index cc38b1a336..c16d7331ab 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -1,12 +1,14 @@ get_results("SELECT ID, post_title FROM $tableposts WHERE post_ if ($drafts) { ?>
-

Your Drafts: +

post_title = stripslashes($draft->post_title); if ($draft->post_title == '') - $draft->post_title = 'Post #'.$draft->ID; - echo "$draft->post_title"; + $draft->post_title = sprintf(__('Post #%s'), $draft->ID); + echo "$draft->post_title"; ++$i; } ?> @@ -35,21 +37,21 @@ if ($drafts) {

- Show Posts That Contain... + - +
- - - - - - - - + + + + + + + + - post_status) echo ' - Private'; ?> + post_status) _e(' - Private'); ?> - - + + - + get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); if ($comments) { ?> -

Comments

+

    comment_ID); $authordata->user_level) or ($user_login == $authordata->user_login)) { - echo "[ comment_ID."\">Edit"; - echo " - ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">Delete "; + echo "[ comment_ID."\">" . __('Edit') . ""; + echo " - ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), $comment->comment_author) . "')\">" . __('Delete') . " "; if ( ('none' != $comment_status) && ($user_level >= 3) ) { if ('approved' == wp_get_comment_status($comment->comment_ID)) { - echo " - ID."&comment=".$comment->comment_ID."\">Unapprove "; + echo " - ID."&comment=".$comment->comment_ID."\">" . __('Unapprove') . " "; } else { - echo " - ID."&comment=".$comment->comment_ID."\">Approve "; + echo " - ID."&comment=".$comment->comment_ID."\">" . __('Approve') . " "; } } echo "]"; @@ -134,7 +136,7 @@ $comment_status = wp_get_comment_status($comment->comment_ID); echo '
'; }//end if comments ?> -

Back to posts

+

IDWhenTitleCategoriesCommentsAuthorEditDelete
- + $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "Edit"; } ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "Delete"; } ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "" . __('Edit') . ""; } ?> $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "" . __('Delete') . ""; } ?>
No posts found.