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-misc.php

    r1108 r1111  
    11<?php
     2require_once('../wp-includes/wp-l10n.php');
     3
    24$title = 'Miscellaneous Options';
    35$parent_file = 'options-general.php';
     
    4345 
    4446<div class="wrap">
    45   <h2>Miscellaneous Options</h2>
     47  <h2><?php _e('Miscellaneous Options') ?></h2>
    4648  <form name="form1" method="post" action="options.php">
    4749    <input type="hidden" name="action" value="update" />
     
    5052<legend>
    5153<input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> />
    52 <label for="use_fileupload">Allow File Uploads</label></legend>
     54<label for="use_fileupload"><?php _e('Allow File Uploads') ?></label></legend>
    5355    <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    5456      <tr>
    55         <th width="33%" valign="top" scope="row"> Destination directory: </th>
     57        <th width="33%" valign="top" scope="row"><?php _e('Destination directory:') ?> </th>
    5658        <td>
    5759            <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br />
    58 Recommended: <code><?php echo ABSPATH . 'wp-content'; ?></code>
     60<?php printf(__('Recommended: <code>%s</code>'), ABSPATH . 'wp-content') ?>
    5961 
    6062            </td>
    6163      </tr>
    6264      <tr>
    63         <th valign="top" scope="row">URI of this directory: </th>
     65        <th valign="top" scope="row"><?php _e('URI of this directory:') ?> </th>
    6466        <td>         
    6567            <input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br />
    66 Recommended: <code><?php echo get_settings('siteurl') . '/wp-content'; ?></code>
     68<?php printf(__('Recommended: <code>%s</code>'), get_settings('siteurl') . '/wp-content') ?>
    6769        </td>
    6870      </tr>
    6971      <tr>
    70         <th scope="row">Maximum size: </th>
     72        <th scope="row"><?php _e('Maximum size:') ?> </th>
    7173        <td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4">
    72             Kilobytes (KB)</td>
     74        <?php _e('Kilobytes (KB)') ?></td>
    7375        </tr>
    7476      <tr>
    75         <th valign="top" scope="row">Allowed file extensions:</th>
     77        <th valign="top" scope="row"><?php _e('Allowed file extensions:') ?></th>
    7678        <td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40">
    7779            <br>
    78             Recommended: <code>jpg jpeg png gif </code></td>
     80         <?php _e('Recommended: <code>jpg jpeg png gif </code>') ?></td>
    7981        </tr>
    8082      <tr>
    81         <th scope="row">Minimum level to upload:</th>
     83        <th scope="row"><?php _e('Minimum level to upload:') ?></th>
    8284        <td><select name="fileupload_minlevel" id="fileupload_minlevel">
    8385<?php
     
    9597            <label>
    9698            <input type="checkbox" name="hack_file" value="1" <?php checked('1', get_settings('hack_file')); ?> />
    97             Use legacy <code>my-hacks.php</code> file support</label>
     99            <?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
    98100        </p>
    99101    <p style="text-align: right;">
    100       <input type="submit" name="Submit" value="Update Options" />
     102      <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />
    101103    </p>
    102104  </form>
Note: See TracChangeset for help on using the changeset viewer.