From e4df415fa68b9184d196edcbf4ae9c5c7bbb3f70 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 2 Jan 2006 21:08:34 +0000 Subject: [PATCH] i18n fixes from SteveAgl. fixes #2207 git-svn-id: https://develop.svn.wordpress.org/trunk@3393 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-functions.php | 2 +- wp-includes/template-functions-post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index af2d53aea9..96ab53766b 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -290,7 +290,7 @@ function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Com } else { if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie - echo('Enter your password to view comments'); + echo(__('Enter your password to view comments')); return; } } diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index a13fa87a37..65e0b4849c 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -3,7 +3,7 @@ function get_the_password_form() { $output = '

' . __("This post is password protected. To view it please enter your password below:") . '

-

+

'; return $output;