Make WordPress Core


Ignore:
Timestamp:
04/21/2004 02:28:22 AM (21 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

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

    r1108 r1110  
    11<?php
    2 $title = 'Writing Options';
     2require_once('../wp-includes/wp-l10n.php');
     3
     4$title = __('Writing Options');
    35$parent_file = 'options-general.php';
    46
     
    5052    <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    5153      <tr valign="top">
    52         <th scope="row"> When starting a post, show: </th>
     54        <th scope="row"> <?php _e('When starting a post, show:') ?> </th>
    5355        <td><?php get_settings('advanced_edit') ?><label>
    5456          <input name="advanced_edit" type="radio" value="0" <?php checked('0', get_settings('advanced_edit')); ?> />
    55 Simple controls</label>
     57<?php _e('Simple controls') ?></label>
    5658          <br />
    5759          <label>
    5860          <input name="advanced_edit" type="radio" value="1" <?php checked('1', get_settings('advanced_edit')); ?> />
    59 Advanced controls</label>
     61<?php _e('Advanced controls') ?></label>
    6062          <label for="advanced_edit"></label></td>
    6163      </tr>
     
    6668      </tr>
    6769      <tr valign="top">
    68         <th scope="row">Formatting:</th>
     70        <th scope="row"><?php _e('Formatting:') ?></th>
    6971        <td>          <label for="label">
    7072          <input name="use_smilies" type="checkbox" id="label" value="1" <?php checked('1', get_settings('use_smilies')); ?> />
    71   Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics</label>       
    72             on display <br />          <label for="label2">
     73          <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label> <br />          <label for="label2">
    7374  <input name="use_balanceTags" type="checkbox" id="label2" value="1" <?php checked('1', get_settings('use_balanceTags')); ?> />
    74   WordPress should correct invalidly nested XHTML automatically</label></td>
     75          <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label></td>
    7576      </tr>
    7677    </table>
    7778    <fieldset class="options">
    78     <legend>Update Services</legend>
    79     <p>Enter the sites that you would like to notify when you publish a new post. For a list of some recommended sites to ping please see <a href="http://wiki.wordpress.org/index.php/UpdateServices">Update Services</a> on the wiki. Seperate multiple URIs by line breaks.</p>
     79    <legend><?php _e('Update Services') ?></legend>
     80          <p><?php printf(__('Enter the sites that you would like to notify when you publish a new post. For a list of some recommended sites to ping please see <a href="%s">Update Services</a> on the wiki. Seperate multiple URIs by line breaks.'), 'http://wiki.wordpress.org/index.php/UpdateServices') ?></p>
    8081   
    8182    <textarea name="ping_sites" id="ping_sites" style="width: 98%;"><?php echo get_settings('ping_sites'); ?></textarea>
    8283    </fieldset>
    8384    <fieldset class="options">
    84     <legend>Writing by Email</legend>
    85     <p>To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it's a good idea to keep this address very secret. Here are three random strings you could use: <code><?php echo substr(md5(uniqid(microtime())),0,5); ?></code>, <code><?php echo substr(md5(uniqid(microtime())),0,5); ?></code>, <code><?php echo substr(md5(uniqid(microtime())),0,5); ?></code>.</p>
     85    <legend><?php _e('Writing by Email') ?></legend>
     86    <p><?php printf(__('To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5)) ?></p>
    8687   
    8788        <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    8889            <tr valign="top">
    89                 <th scope="row"> Mail server:</th>
     90                <th scope="row"><?php _e('Mail server:') ?></th>
    9091                <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php echo get_settings('mailserver_url'); ?>" size="40" />
    91                 <label for="port">Port:</label>
     92                <label for="port"><?php _e('Port:') ?></label>
    9293                <input name="mailserver_port" type="text" id="mailserver_port" value="<?php echo get_settings('mailserver_port'); ?>" size="6" />
    9394                </td>
    9495            </tr>
    9596            <tr valign="top">
    96                 <th width="33%" scope="row"> Login name:</th>
     97                <th width="33%" scope="row"><?php _e('Login name:') ?></th>
    9798                <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php echo get_settings('mailserver_login'); ?>" size="40" /></td>
    9899            </tr>
    99100            <tr valign="top">
    100                 <th scope="row">Password:</th>
     101                <th scope="row"><?php _e('Password:') ?></th>
    101102                <td>
    102103                    <input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php echo get_settings('mailserver_pass'); ?>" size="40" />
     
    104105            </tr>
    105106            <tr valign="top">
    106                 <th scope="row">Usual category:</th>
     107                <th scope="row"><?php _e('Usual category:') ?></th>
    107108                <td><select name="default_category" id="default_category">
    108109<?php
     
    119120        </fieldset>
    120121    <p style="text-align: right;">
    121       <input type="submit" name="Submit" value="Update Options" />
     122      <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
    122123    </p>
    123124  </form>
Note: See TracChangeset for help on using the changeset viewer.