Add New string fixes. Fixes #15577
git-svn-id: http://svn.automattic.com/wordpress/trunk@16612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5e6da99d6b
commit
442de36663
|
@ -102,7 +102,7 @@ if (isset($_GET['updated'])) {
|
||||||
<tr valign="top" id="addnewusers">
|
<tr valign="top" id="addnewusers">
|
||||||
<th scope="row"><?php _e( 'Add New Users' ) ?></th>
|
<th scope="row"><?php _e( 'Add New Users' ) ?></th>
|
||||||
<td>
|
<td>
|
||||||
<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users->Add New" page.' ); ?></label>
|
<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users → Add New" page.' ); ?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ require_once( '../admin-header.php' );
|
||||||
<h2><?php _e('Sites') ?>
|
<h2><?php _e('Sites') ?>
|
||||||
<?php echo $msg; ?>
|
<?php echo $msg; ?>
|
||||||
<?php if ( current_user_can( 'create_sites') ) : ?>
|
<?php if ( current_user_can( 'create_sites') ) : ?>
|
||||||
<a href="<?php echo network_admin_url('site-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'sites' ); ?></a>
|
<a href="<?php echo network_admin_url('site-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) {
|
<?php if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) {
|
||||||
|
|
|
@ -68,7 +68,7 @@ if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty(
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<h2><?php esc_html_e( 'Users' );
|
<h2><?php esc_html_e( 'Users' );
|
||||||
if ( current_user_can( 'create_users') ) : ?>
|
if ( current_user_can( 'create_users') ) : ?>
|
||||||
<a href="<?php echo network_admin_url('user-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'users' ); ?></a><?php
|
<a href="<?php echo network_admin_url('user-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
if ( !empty( $usersearch ) )
|
if ( !empty( $usersearch ) )
|
||||||
|
|
|
@ -331,7 +331,7 @@ function wp_default_scripts( &$scripts ) {
|
||||||
$scripts->localize( 'post', 'postL10n', array(
|
$scripts->localize( 'post', 'postL10n', array(
|
||||||
'tagsUsed' => __('Tags used on this post:'),
|
'tagsUsed' => __('Tags used on this post:'),
|
||||||
'add' => esc_attr(__('Add')),
|
'add' => esc_attr(__('Add')),
|
||||||
'addTag' => esc_attr(__('Add new tag')),
|
'addTag' => esc_attr(__('Add new Tag')),
|
||||||
'separate' => __('Separate tags with commas'),
|
'separate' => __('Separate tags with commas'),
|
||||||
'ok' => __('OK'),
|
'ok' => __('OK'),
|
||||||
'cancel' => __('Cancel'),
|
'cancel' => __('Cancel'),
|
||||||
|
|
Loading…
Reference in New Issue