Make WordPress Core


Ignore:
Timestamp:
04/21/2004 03:00:44 AM (21 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-discussion.php

    r1108 r1111  
    11<?php
     2require_once('../wp-includes/wp-l10n.php');
     3
    24$title = 'Discussion Options';
    35$parent_file = 'options-general.php';
     
    4244
    4345<div class="wrap">
    44     <h2>Discussion Options</h2>
     46    <h2><?php _e('Discussion Options') ?></h2>
    4547    <form name="form1" method="post" action="options.php">
    4648        <input type="hidden" name="action" value="update" />
    4749        <input type="hidden" name="page_options" value="'default_pingback_flag','default_ping_status','default_comment_status','comments_notify','moderation_notify','comment_moderation','require_name_email','comment_max_links','moderation_keys'" />
    4850<fieldset class="options">
    49         <legend>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></legend>
     51        <legend><?php _e('Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em>') ?></legend>
    5052        <ul>
    5153            <li>
    5254                <label for="default_pingback_flag">
    5355                <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> />
    54                 Attempt to notify any Weblogs linked to from the article (slows down posting.)</label>
     56            <?php _e('Attempt to notify any Weblogs linked to from the article (slows down posting.)') ?></label>
    5557            </li>
    5658            <li>
    5759                <label for="default_ping_status">
    5860                <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> />
    59                 Allow link notifications from other Weblogs (pingbacks and trackbacks.)</label>
     61            <?php _e('Allow link notifications from other Weblogs (pingbacks and trackbacks.)') ?></label>
    6062            </li>
    6163            <li>
    6264                <label for="default_comment_status">
    6365                <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_settings('default_comment_status')); ?> />
    64                 Allow people to post comments on the article</label>
     66            <?php _e('Allow people to post comments on the article') ?></label>
    6567            </li>
    6668        </ul>
    6769</fieldset>
    6870<fieldset class="options">
    69         <legend>Email me whenever:</legend>
     71        <legend><?php _e('Email me whenever:') ?></legend>
    7072        <ul>
    7173            <li>
    7274                <label for="comments_notify">
    7375                <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_settings('comments_notify')); ?> />
    74                 Anyone posts a comment </label>
     76                <?php _e('Anyone posts a comment') ?> </label>
    7577            </li>
    7678            <li>
    7779                <label for="moderation_notify">
    7880                <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_settings('moderation_notify')); ?> />
    79                 A comment is approved or declined </label>
     81                <?php _e('A comment is approved or declined') ?> </label>
    8082            </li>
    8183        </ul>
    8284</fieldset>
    8385<fieldset class="options">
    84         <legend>Before a comment appears:</legend>
     86        <legend><?php _e('Before a comment appears:') ?></legend>
    8587        <ul>
    8688            <li>
    8789                <label for="comment_moderation">
    8890                <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_settings('comment_moderation')); ?> />
    89                 An administrator must approve the comment (regardless of any matches below) </label>
     91                <?php _e('An administrator must approve the comment (regardless of any matches below)') ?> </label>
    9092            </li>
    9193            <li>
    9294                <label for="require_name_email">
    9395                <input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> />
    94                 User must fill out name and email </label>
     96                <?php _e('User must fill out name and email') ?> </label>
    9597            </li>
    9698        </ul>
    9799</fieldset>
    98100<fieldset class="options">
    99         <legend>Comment Moderation</legend>
    100         <p>Hold a comment in the queue if it contains more than
    101             <input name="comment_max_links" type="text" id="comment_max_links" size="3" value="<?php echo get_settings('comment_max_links'); ?>" />
    102         links. (A common characteristic of comment spam is a large number of hyperlinks.)</p>
    103         <p>When a comment contains any of these words in its content, name, URI,  email, or IP, hold it in the moderation queue: (Seperate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.</p>
     101    <legend><?php _e('Comment Moderation') ?></legend>
     102    <p><?php printf(__('Hold a comment in the queue if it contains more than %s links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_settings('comment_max_links'). '" />' ) ?></p>
     103
     104    <p><?php _e('When a comment contains any of these words in its content, name, URI,  email, or IP, hold it in the moderation queue: (Seperate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.') ?></p>
    104105        <p>
    105106            <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea>
     
    107108</fieldset>
    108109        <p style="text-align: right;">
    109             <input type="submit" name="Submit" value="Update Options" />
     110        <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
    110111        </p>
    111112    </form>
Note: See TracChangeset for help on using the changeset viewer.