Mark strings for translation.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-04-21 03:00:44 +00:00
parent 1c38f23ad9
commit a2974cd48f
3 changed files with 45 additions and 40 deletions

View File

@ -1,4 +1,6 @@
<?php
require_once('../wp-includes/wp-l10n.php');
$title = 'Discussion Options';
$parent_file = 'options-general.php';
@ -41,72 +43,71 @@ include('options-head.php');
?>
<div class="wrap">
<h2>Discussion Options</h2>
<h2><?php _e('Discussion Options') ?></h2>
<form name="form1" method="post" action="options.php">
<input type="hidden" name="action" value="update" />
<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'" />
<fieldset class="options">
<legend>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></legend>
<legend><?php _e('Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em>') ?></legend>
<ul>
<li>
<label for="default_pingback_flag">
<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> />
Attempt to notify any Weblogs linked to from the article (slows down posting.)</label>
<?php _e('Attempt to notify any Weblogs linked to from the article (slows down posting.)') ?></label>
</li>
<li>
<label for="default_ping_status">
<input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> />
Allow link notifications from other Weblogs (pingbacks and trackbacks.)</label>
<?php _e('Allow link notifications from other Weblogs (pingbacks and trackbacks.)') ?></label>
</li>
<li>
<label for="default_comment_status">
<input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_settings('default_comment_status')); ?> />
Allow people to post comments on the article</label>
<?php _e('Allow people to post comments on the article') ?></label>
</li>
</ul>
</fieldset>
<fieldset class="options">
<legend>Email me whenever:</legend>
<legend><?php _e('Email me whenever:') ?></legend>
<ul>
<li>
<label for="comments_notify">
<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_settings('comments_notify')); ?> />
Anyone posts a comment </label>
<?php _e('Anyone posts a comment') ?> </label>
</li>
<li>
<label for="moderation_notify">
<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_settings('moderation_notify')); ?> />
A comment is approved or declined </label>
<?php _e('A comment is approved or declined') ?> </label>
</li>
</ul>
</fieldset>
<fieldset class="options">
<legend>Before a comment appears:</legend>
<legend><?php _e('Before a comment appears:') ?></legend>
<ul>
<li>
<label for="comment_moderation">
<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_settings('comment_moderation')); ?> />
An administrator must approve the comment (regardless of any matches below) </label>
<?php _e('An administrator must approve the comment (regardless of any matches below)') ?> </label>
</li>
<li>
<label for="require_name_email">
<input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> />
User must fill out name and email </label>
<?php _e('User must fill out name and email') ?> </label>
</li>
</ul>
</fieldset>
<fieldset class="options">
<legend>Comment Moderation</legend>
<p>Hold a comment in the queue if it contains more than
<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="<?php echo get_settings('comment_max_links'); ?>" />
links. (A common characteristic of comment spam is a large number of hyperlinks.)</p>
<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>
<legend><?php _e('Comment Moderation') ?></legend>
<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>
<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>
<p>
<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>
</p>
</fieldset>
<p style="text-align: right;">
<input type="submit" name="Submit" value="Update Options" />
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
</p>
</form>
</div>

View File

@ -1,4 +1,6 @@
<?php
require_once('../wp-includes/wp-l10n.php');
$title = 'Miscellaneous Options';
$parent_file = 'options-general.php';
@ -42,43 +44,43 @@ include('options-head.php');
?>
<div class="wrap">
<h2>Miscellaneous Options</h2>
<h2><?php _e('Miscellaneous Options') ?></h2>
<form name="form1" method="post" action="options.php">
<input type="hidden" name="action" value="update" />
<input type="hidden" name="action" value="update" /> <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_realpath','fileupload_url','fileupload_allowedtypes','fileupload_maxk','fileupload_maxk'" />
<fieldset class="options">
<legend>
<input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> />
<label for="use_fileupload">Allow File Uploads</label></legend>
<label for="use_fileupload"><?php _e('Allow File Uploads') ?></label></legend>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr>
<th width="33%" valign="top" scope="row"> Destination directory: </th>
<th width="33%" valign="top" scope="row"><?php _e('Destination directory:') ?> </th>
<td>
<input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br />
Recommended: <code><?php echo ABSPATH . 'wp-content'; ?></code>
<?php printf(__('Recommended: <code>%s</code>'), ABSPATH . 'wp-content') ?>
</td>
</tr>
<tr>
<th valign="top" scope="row">URI of this directory: </th>
<th valign="top" scope="row"><?php _e('URI of this directory:') ?> </th>
<td>
<input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br />
Recommended: <code><?php echo get_settings('siteurl') . '/wp-content'; ?></code>
<?php printf(__('Recommended: <code>%s</code>'), get_settings('siteurl') . '/wp-content') ?>
</td>
</tr>
<tr>
<th scope="row">Maximum size: </th>
<th scope="row"><?php _e('Maximum size:') ?> </th>
<td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4">
Kilobytes (KB)</td>
<?php _e('Kilobytes (KB)') ?></td>
</tr>
<tr>
<th valign="top" scope="row">Allowed file extensions:</th>
<th valign="top" scope="row"><?php _e('Allowed file extensions:') ?></th>
<td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40">
<br>
Recommended: <code>jpg jpeg png gif </code></td>
<?php _e('Recommended: <code>jpg jpeg png gif </code>') ?></td>
</tr>
<tr>
<th scope="row">Minimum level to upload:</th>
<th scope="row"><?php _e('Minimum level to upload:') ?></th>
<td><select name="fileupload_minlevel" id="fileupload_minlevel">
<?php
for ($i = 0; $i < 11; $i++) {
@ -94,10 +96,10 @@ else $selected = '';
<p>
<label>
<input type="checkbox" name="hack_file" value="1" <?php checked('1', get_settings('hack_file')); ?> />
Use legacy <code>my-hacks.php</code> file support</label>
<?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
</p>
<p style="text-align: right;">
<input type="submit" name="Submit" value="Update Options" />
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
</p>
</form>
</div>

View File

@ -1,4 +1,6 @@
<?php
require_once('../wp-includes/wp-l10n.php');
$title = 'Reading Options';
$parent_file = 'options-general.php';
@ -41,15 +43,15 @@ include('options-head.php');
?>
<div class="wrap">
<h2>Reading Options</h2>
<h2><?php _e('Reading Options') ?></h2>
<form name="form1" method="post" action="options.php">
<input type="hidden" name="action" value="update" />
<input type="hidden" name="page_options" value="'posts_per_page','what_to_show','rss_use_excerpt','blog_charset','gzipcompression' " />
<fieldset class="options">
<legend>Front Page</legend>
<legend><?php _e('Front Page') ?></legend>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr valign="top">
<th width="33%" scope="row">Show the most recent:</th>
<th width="33%" scope="row"><?php _e('Show the most recent:') ?></th>
<td><input name="posts_per_page" type="text" id="posts_per_page" value="<?php echo get_settings('posts_per_page'); ?>" size="3" />
<select name="what_to_show" id="what_to_show" >
<option value="days" <?php selected('days', get_settings('what_to_show')); ?>>days</option>
@ -61,15 +63,15 @@ include('options-head.php');
</fieldset>
<fieldset class="options">
<legend>Syndication Feeds</legend>
<legend><?php _e('Syndication Feeds') ?></legend>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr valign="top">
<th width="33%" scope="row">Show the most recent:</th>
<th width="33%" scope="row"><?php _e('Show the most recent:') ?></th>
<td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php echo get_settings('posts_per_rss'); ?>" size="3" />
posts </td>
</tr>
<tr valign="top">
<th scope="row"> For each article, show: </th>
<th scope="row"><?php _e('For each article, show:') ?> </th>
<td><label>
<input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?> />
full text</label> <br>
@ -81,19 +83,19 @@ include('options-head.php');
</fieldset>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr valign="top">
<th width="33%" scope="row"> Encoding for pages and feeds:</th>
<th width="33%" scope="row"><?php _e('Encoding for pages and feeds:') ?></th>
<td><input name="blog_charset" type="text" id="blog_charset" value="<?php echo get_settings('blog_charset'); ?>" size="20" class="code" />
<br />
The character encoding you write your blog in (UTF-8 recommended<a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html"></a>)</td>
<?php _e('The character encoding you write your blog in (UTF-8 <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></td>
</tr>
</table>
<p>
<label>
<input type="checkbox" name="gzipcompression" value="1" <?php checked('1', get_settings('gzipcompression')); ?> />
WordPress should compress articles (gzip) if browsers ask for them</label>
<?php _e('WordPress should compress articles (gzip) if browsers ask for them') ?></label>
</p>
<p style="text-align: right;">
<input type="submit" name="Submit" value="Update Options" />
<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
</p>
</form>
</div>