Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
605710b8c6
commit
492be21173
|
@ -280,7 +280,7 @@ if ( $page_links )
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label for="category_description"><?php _e('Description') ?></label>
|
<label for="category_description"><?php _e('Description') ?></label>
|
||||||
<textarea name="category_description" id="category_description" rows="5" cols="40"></textarea>
|
<textarea name="category_description" id="category_description" rows="5" cols="40"></textarea>
|
||||||
<p><?php _e('The description is not prominent by default, however some themes may show it.'); ?></p>
|
<p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p>
|
<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p>
|
||||||
|
|
|
@ -57,7 +57,6 @@ _fill_empty_category($category);
|
||||||
<tr class="form-field form-required">
|
<tr class="form-field form-required">
|
||||||
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
|
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
|
||||||
<td><input name="cat_name" id="cat_name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /><br />
|
<td><input name="cat_name" id="cat_name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /><br />
|
||||||
<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>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th>
|
<th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th>
|
||||||
|
@ -74,7 +73,7 @@ _fill_empty_category($category);
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th>
|
<th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th>
|
||||||
<td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($category->description); ?></textarea><br />
|
<td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($category->description); ?></textarea><br />
|
||||||
<span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>
|
<span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php do_action('edit_category_form_fields', $category); ?>
|
<?php do_action('edit_category_form_fields', $category); ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -209,6 +209,7 @@ if ( $page_links )
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label for="description"><?php _e('Description (optional)') ?></label>
|
<label for="description"><?php _e('Description (optional)') ?></label>
|
||||||
<textarea name="description" id="description" rows="5" cols="40"></textarea>
|
<textarea name="description" id="description" rows="5" cols="40"></textarea>
|
||||||
|
<p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p>
|
<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p>
|
||||||
|
|
|
@ -79,7 +79,8 @@ _fill_empty_link_category($category);
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="description"><?php _e('Description (optional)') ?></label></th>
|
<th scope="row" valign="top"><label for="description"><?php _e('Description (optional)') ?></label></th>
|
||||||
<td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td>
|
<td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea><br />
|
||||||
|
<span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php do_action('edit_link_category_form_fields', $category); ?>
|
<?php do_action('edit_link_category_form_fields', $category); ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -33,8 +33,7 @@ do_action('edit_tag_form_pre', $tag); ?>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr class="form-field form-required">
|
<tr class="form-field form-required">
|
||||||
<th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
|
<th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
|
||||||
<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><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /></td>
|
||||||
<p class="description"><?php _e('The name is how the tag appears on your site.'); ?></p></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
|
<th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
|
||||||
|
|
|
@ -295,7 +295,7 @@ else
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label for="description"><?php _e('Description') ?></label>
|
<label for="description"><?php _e('Description') ?></label>
|
||||||
<textarea name="description" id="description" rows="5" cols="40"></textarea>
|
<textarea name="description" id="description" rows="5" cols="40"></textarea>
|
||||||
<p><?php _e('The description is not prominent by default, however some themes may show it.'); ?></p>
|
<p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="submit"><input type="submit" class="button" name="submit" id="submit" value="<?php esc_attr_e('Add Tag'); ?>" /></p>
|
<p class="submit"><input type="submit" class="button" name="submit" id="submit" value="<?php esc_attr_e('Add Tag'); ?>" /></p>
|
||||||
|
|
|
@ -375,8 +375,8 @@ function post_comment_status_meta_box($post) {
|
||||||
?>
|
?>
|
||||||
<input name="advanced_view" type="hidden" value="1" />
|
<input name="advanced_view" type="hidden" value="1" />
|
||||||
<p class="meta-options">
|
<p class="meta-options">
|
||||||
<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 />
|
<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 />
|
||||||
<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>
|
<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.'),_c('http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments','Url to codex article on Managing Comments')); ?></label>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
@ -479,7 +479,7 @@ function page_attributes_meta_box($post){
|
||||||
<h5><?php _e('Parent') ?></h5>
|
<h5><?php _e('Parent') ?></h5>
|
||||||
<label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label>
|
<label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label>
|
||||||
<?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')); ?>
|
<?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')); ?>
|
||||||
<p><?php _e('You can arrange your pages in hierarchies, for example you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
|
<p><?php _e('You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
if ( 0 != count( get_page_templates() ) ) { ?>
|
if ( 0 != count( get_page_templates() ) ) { ?>
|
||||||
<h5><?php _e('Template') ?></h5>
|
<h5><?php _e('Template') ?></h5>
|
||||||
|
@ -492,7 +492,7 @@ function page_attributes_meta_box($post){
|
||||||
} ?>
|
} ?>
|
||||||
<h5><?php _e('Order') ?></h5>
|
<h5><?php _e('Order') ?></h5>
|
||||||
<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>
|
<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>
|
||||||
<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’ll be better in future releases.)'); ?></p>
|
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue