Make WordPress Core


Ignore:
Timestamp:
04/17/2004 03:56:23 PM (21 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-post.php

    r1039 r1088  
    1818function get_the_password_form() {
    1919    $output = '<form action="' . get_settings('siteurl') . '/wp-pass.php" method="post">
    20     <p>This post is password protected. To view it please enter your password below:</p>
    21     <p><label>Password: <input name="post_password" type="text" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
     20    <p>' . __("This post is password protected. To view it please enter your password below:") . '</p>
     21    <p><label>' . __("Password:") . ' <input name="post_password" type="text" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
    2222    </form>
    2323    ';
     
    183183    if (!empty($post->post_password)) { // if there's a password
    184184        if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) {  // and it doesn't match the cookie
    185             $output = 'There is no excerpt because this is a protected post.';
     185            $output = __('There is no excerpt because this is a protected post.');
    186186            return $output;
    187187        }
Note: See TracChangeset for help on using the changeset viewer.