Change text in link categories forms, fixes #9612
git-svn-id: https://develop.svn.wordpress.org/trunk@11047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98244137a4
commit
c23db792be
@ -189,19 +189,19 @@ if ( $page_links )
|
||||
$category = (object) array(); $category->parent = 0; do_action('add_link_category_form_pre', $category); ?>
|
||||
|
||||
<div class="form-wrap">
|
||||
<h3><?php _e('Add Category'); ?></h3>
|
||||
<h3><?php _e('Add Link Category'); ?></h3>
|
||||
<div id="ajax-response"></div>
|
||||
<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">
|
||||
<input type="hidden" name="action" value="addcat" />
|
||||
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-link-category'); ?>
|
||||
|
||||
<div class="form-field form-required">
|
||||
<label for="name"><?php _e('Category name') ?></label>
|
||||
<label for="name"><?php _e('Link Category name') ?></label>
|
||||
<input name="name" id="name" type="text" value="" size="40" aria-required="true" />
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label for="slug"><?php _e('Category slug') ?></label>
|
||||
<label for="slug"><?php _e('Link Category slug') ?></label>
|
||||
<input name="slug" id="slug" type="text" value="" size="40" />
|
||||
<p><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p>
|
||||
</div>
|
||||
|
@ -62,11 +62,11 @@ _fill_empty_link_category($category);
|
||||
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field($nonce_action); ?>
|
||||
<table class="form-table">
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row" valign="top"><label for="name"><?php _e('Category name') ?></label></th>
|
||||
<th scope="row" valign="top"><label for="name"><?php _e('Link Category name') ?></label></th>
|
||||
<td><input name="name" id="name" type="text" value="<?php echo $category->name; ?>" size="40" aria-required="true" /></td>
|
||||
</tr>
|
||||
<tr class="form-field">
|
||||
<th scope="row" valign="top"><label for="slug"><?php _e('Category slug') ?></label></th>
|
||||
<th scope="row" valign="top"><label for="slug"><?php _e('Link Category slug') ?></label></th>
|
||||
<td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br />
|
||||
<?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user