WordPress.org

Make WordPress Core

Ticket #6362: 6362.6-all.diff

File 6362.6-all.diff, 8.3 KB (added by xenlab, 4 years ago)

Fixed i18n issue, and re-Refreshed for 2.9-beta-1 r12212

  • wp-admin/edit-link-categories.php

     
    209209<div class="form-field"> 
    210210        <label for="description"><?php _e('Description (optional)') ?></label> 
    211211        <textarea name="description" id="description" rows="5" cols="40"></textarea> 
     212        <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> 
    212213</div> 
    213214 
    214215<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p> 
  • wp-admin/includes/meta-boxes.php

     
    375375?> 
    376376<input name="advanced_view" type="hidden" value="1" /> 
    377377<p class="meta-options"> 
    378         <label for="comment_status" class="selectit"> <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e('Allow Comments') ?></label><br /> 
    379         <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>') ?></label> 
     378        <label for="comment_status" class="selectit"> <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e('Allow Comments on this page.') ?></label><br /> 
     379        <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /><?php printf( __('Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this page.'),'http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments'); ?></label> 
    380380</p> 
    381381<?php 
    382382} 
     
    479479<h5><?php _e('Parent') ?></h5> 
    480480<label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label> 
    481481<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?> 
    482 <p><?php _e('You can arrange your pages in hierarchies, for example you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p> 
     482<p><?php _e('You can arrange your pages in hierarchies. For example, you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p> 
    483483<?php 
    484484        if ( 0 != count( get_page_templates() ) ) { ?> 
    485485<h5><?php _e('Template') ?></h5> 
     
    492492        } ?> 
    493493<h5><?php _e('Order') ?></h5> 
    494494<p><label class="screen-reader-text" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 
    495 <p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it&#8217;ll be better in future releases.)'); ?></p> 
     495<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in.'); ?></p> 
    496496<?php 
    497497} 
    498498 
  • wp-admin/edit-tags.php

     
    295295<div class="form-field"> 
    296296        <label for="description"><?php _e('Description') ?></label> 
    297297        <textarea name="description" id="description" rows="5" cols="40"></textarea> 
    298     <p><?php _e('The description is not prominent by default, however some themes may show it.'); ?></p> 
     298    <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> 
    299299</div> 
    300300 
    301301<p class="submit"><input type="submit" class="button" name="submit" id="submit" value="<?php esc_attr_e('Add Tag'); ?>" /></p> 
  • wp-admin/edit-link-category-form.php

     
    7979                </tr> 
    8080                <tr class="form-field"> 
    8181                        <th scope="row" valign="top"><label for="description"><?php _e('Description (optional)') ?></label></th> 
    82                         <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td> 
     82                        <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea><br /> 
     83                        <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td> 
    8384                </tr> 
    8485                <?php do_action('edit_link_category_form_fields', $category); ?> 
    8586        </table> 
  • wp-admin/edit-tag-form.php

     
    3333        <table class="form-table"> 
    3434                <tr class="form-field form-required"> 
    3535                        <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th> 
    36                         <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /> 
    37             <p class="description"><?php _e('The name is how the tag appears on your site.'); ?></p></td> 
     36                        <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /></td> 
    3837                </tr> 
    3938                <tr class="form-field"> 
    4039                        <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th> 
  • wp-admin/edit-category-form.php

     
    5757                <tr class="form-field form-required"> 
    5858                        <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th> 
    5959                        <td><input name="cat_name" id="cat_name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /><br /> 
    60             <span class="description"><?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></span></td> 
    6160                </tr> 
    6261                <tr class="form-field"> 
    6362                        <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 
     
    7473                <tr class="form-field"> 
    7574                        <th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th> 
    7675                        <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($category->description); ?></textarea><br /> 
    77             <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 
     76            <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td> 
    7877                </tr> 
    7978                <?php do_action('edit_category_form_fields', $category); ?> 
    8079        </table> 
  • wp-admin/categories.php

     
    280280<div class="form-field"> 
    281281        <label for="category_description"><?php _e('Description') ?></label> 
    282282        <textarea name="category_description" id="category_description" rows="5" cols="40"></textarea> 
    283     <p><?php _e('The description is not prominent by default, however some themes may show it.'); ?></p> 
     283    <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> 
    284284</div> 
    285285 
    286286<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p>