Changeset 59784
- Timestamp:
- 02/08/2025 11:42:29 AM (5 months ago)
- Location:
- trunk
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-link-form.php
r56573 r59784 20 20 } else { 21 21 /* translators: %s: URL to Links screen. */ 22 $heading = sprintf( __( '<a href="%s">Links</a> / Add NewLink' ), 'link-manager.php' );22 $heading = sprintf( __( '<a href="%s">Links</a> / Add Link' ), 'link-manager.php' ); 23 23 $submit_text = __( 'Add Link' ); 24 24 $form_name = 'addlink'; … … 88 88 </h1> 89 89 90 <a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add NewLink' ); ?></a>90 <a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add Link' ); ?></a> 91 91 92 92 <hr class="wp-header-end"> -
trunk/src/wp-admin/includes/meta-boxes.php
r58774 r59784 1201 1201 1202 1202 <div id="category-adder" class="wp-hidden-children"> 1203 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add NewCategory' ); ?></a>1203 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add Category' ); ?></a> 1204 1204 <p id="link-category-add" class="wp-hidden-child"> 1205 1205 <label class="screen-reader-text" for="newcat"> 1206 1206 <?php 1207 1207 /* translators: Hidden accessibility text. */ 1208 _e( '+ Add NewCategory' );1208 _e( '+ Add Category' ); 1209 1209 ?> 1210 1210 </label> -
trunk/src/wp-admin/includes/template.php
r59564 r59784 462 462 <span class="hidden" id="editlegend"><?php _e( 'Edit Comment' ); ?></span> 463 463 <span class="hidden" id="replyhead"><?php _e( 'Reply to Comment' ); ?></span> 464 <span class="hidden" id="addhead"><?php _e( 'Add NewComment' ); ?></span>464 <span class="hidden" id="addhead"><?php _e( 'Add Comment' ); ?></span> 465 465 </legend> 466 466 … … 736 736 } 737 737 ?> 738 <p><strong><?php _e( 'Add NewCustom Field:' ); ?></strong></p>738 <p><strong><?php _e( 'Add Custom Field:' ); ?></strong></p> 739 739 <table id="newmeta"> 740 740 <thead> -
trunk/src/wp-admin/link-add.php
r58069 r59784 15 15 16 16 // Used in the HTML title tag. 17 $title = __( 'Add NewLink' );17 $title = __( 'Add Link' ); 18 18 $parent_file = 'link-manager.php'; 19 19 -
trunk/src/wp-admin/link-manager.php
r56573 r59784 102 102 </h1> 103 103 104 <a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add NewLink' ); ?></a>104 <a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add Link' ); ?></a> 105 105 106 106 <?php -
trunk/src/wp-admin/menu.php
r59678 r59784 71 71 $menu[10] = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' ); 72 72 $submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' ); 73 $submenu['upload.php'][10] = array( __( 'Add NewMedia File' ), 'upload_files', 'media-new.php' );73 $submenu['upload.php'][10] = array( __( 'Add Media File' ), 'upload_files', 'media-new.php' ); 74 74 $i = 15; 75 75 foreach ( get_taxonomies_for_attachments( 'objects' ) as $tax ) { … … 84 84 $menu[15] = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' ); 85 85 $submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' ); 86 $submenu['link-manager.php'][10] = array( __( 'Add NewLink' ), 'manage_links', 'link-add.php' );86 $submenu['link-manager.php'][10] = array( __( 'Add Link' ), 'manage_links', 'link-add.php' ); 87 87 $submenu['link-manager.php'][15] = array( __( 'Link Categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); 88 88 … … 303 303 304 304 if ( ! is_multisite() ) { 305 $submenu['plugins.php'][10] = array( __( 'Add NewPlugin' ), 'install_plugins', 'plugin-install.php' );305 $submenu['plugins.php'][10] = array( __( 'Add Plugin' ), 'install_plugins', 'plugin-install.php' ); 306 306 if ( wp_is_block_theme() ) { 307 307 // Place the menu item below the Theme File Editor menu item. … … 324 324 $submenu['users.php'][5] = array( __( 'All Users' ), 'list_users', 'users.php' ); 325 325 if ( current_user_can( 'create_users' ) ) { 326 $submenu['users.php'][10] = array( __( 'Add NewUser' ), 'create_users', 'user-new.php' );326 $submenu['users.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' ); 327 327 } elseif ( is_multisite() ) { 328 $submenu['users.php'][10] = array( __( 'Add NewUser' ), 'promote_users', 'user-new.php' );328 $submenu['users.php'][10] = array( __( 'Add User' ), 'promote_users', 'user-new.php' ); 329 329 } 330 330 … … 334 334 $submenu['profile.php'][5] = array( __( 'Profile' ), 'read', 'profile.php' ); 335 335 if ( current_user_can( 'create_users' ) ) { 336 $submenu['profile.php'][10] = array( __( 'Add NewUser' ), 'create_users', 'user-new.php' );336 $submenu['profile.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' ); 337 337 } elseif ( is_multisite() ) { 338 $submenu['profile.php'][10] = array( __( 'Add NewUser' ), 'promote_users', 'user-new.php' );338 $submenu['profile.php'][10] = array( __( 'Add User' ), 'promote_users', 'user-new.php' ); 339 339 } 340 340 } -
trunk/src/wp-admin/network/menu.php
r59678 r59784 56 56 $menu[5] = array( __( 'Sites' ), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite' ); 57 57 $submenu['sites.php'][5] = array( __( 'All Sites' ), 'manage_sites', 'sites.php' ); 58 $submenu['sites.php'][10] = array( __( 'Add NewSite' ), 'create_sites', 'site-new.php' );58 $submenu['sites.php'][10] = array( __( 'Add Site' ), 'create_sites', 'site-new.php' ); 59 59 60 60 $menu[10] = array( __( 'Users' ), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' ); 61 61 $submenu['users.php'][5] = array( __( 'All Users' ), 'manage_network_users', 'users.php' ); 62 $submenu['users.php'][10] = array( __( 'Add NewUser' ), 'create_users', 'user-new.php' );62 $submenu['users.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' ); 63 63 64 64 if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) { … … 84 84 } 85 85 $submenu['themes.php'][5] = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' ); 86 $submenu['themes.php'][10] = array( __( 'Add NewTheme' ), 'install_themes', 'theme-install.php' );86 $submenu['themes.php'][10] = array( __( 'Add Theme' ), 'install_themes', 'theme-install.php' ); 87 87 $submenu['themes.php'][15] = array( __( 'Theme File Editor' ), 'edit_themes', 'theme-editor.php' ); 88 88 … … 109 109 } 110 110 $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' ); 111 $submenu['plugins.php'][10] = array( __( 'Add NewPlugin' ), 'install_plugins', 'plugin-install.php' );111 $submenu['plugins.php'][10] = array( __( 'Add Plugin' ), 'install_plugins', 'plugin-install.php' ); 112 112 $submenu['plugins.php'][15] = array( __( 'Plugin File Editor' ), 'edit_plugins', 'plugin-editor.php' ); 113 113 -
trunk/src/wp-admin/network/settings.php
r59600 r59784 249 249 250 250 <tr id="addnewusers"> 251 <th scope="row"><?php _e( 'Add NewUsers' ); ?></th>252 <td> 253 <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 NewUser" page' ); ?></label>251 <th scope="row"><?php _e( 'Add Users' ); ?></th> 252 <td> 253 <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 User" page' ); ?></label> 254 254 </td> 255 255 </tr> -
trunk/src/wp-admin/network/site-new.php
r58131 r59784 180 180 181 181 // Used in the HTML title tag. 182 $title = __( 'Add NewSite' );182 $title = __( 'Add Site' ); 183 183 $parent_file = 'sites.php'; 184 184 … … 190 190 191 191 <div class="wrap"> 192 <h1 id="add-new-site"><?php _e( 'Add NewSite' ); ?></h1>192 <h1 id="add-new-site"><?php _e( 'Add Site' ); ?></h1> 193 193 <?php 194 194 if ( ! empty( $messages ) ) { -
trunk/src/wp-admin/network/site-users.php
r56409 r59784 342 342 * Filters whether to show the Add New User form on the Multisite Users screen. 343 343 * 344 * Note: While WordPress is moving towards simplifying labels by removing "New" from "Add New X" labels, 345 * we keep "Add New User" here to maintain a clear distinction from the "Add Existing User" section above. 346 * 344 347 * @since 3.1.0 345 348 * … … 375 378 </table> 376 379 <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ); ?> 377 <?php submit_button( __( 'Add NewUser' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?>380 <?php submit_button( __( 'Add User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?> 378 381 </form> 379 382 <?php endif; ?> -
trunk/src/wp-admin/network/sites.php
r58564 r59784 29 29 'title' => __( 'Overview' ), 30 30 'content' => 31 '<p>' . __( 'Add NewSite takes you to the screen for adding a new site to the network. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.' ) . '</p>' .31 '<p>' . __( 'Add Site takes you to the screen for adding a new site to the network. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.' ) . '</p>' . 32 32 '<p>' . __( 'This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.' ) . '</p>' . 33 33 '<p>' . __( 'Hovering over each site reveals seven options (three for the primary site):' ) . '</p>' . … … 389 389 390 390 <?php if ( current_user_can( 'create_sites' ) ) : ?> 391 <a href="<?php echo esc_url( network_admin_url( 'site-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add NewSite' ); ?></a>391 <a href="<?php echo esc_url( network_admin_url( 'site-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Site' ); ?></a> 392 392 <?php endif; ?> 393 393 -
trunk/src/wp-admin/network/themes.php
r58405 r59784 364 364 365 365 <?php if ( current_user_can( 'install_themes' ) ) : ?> 366 <a href="theme-install.php" class="page-title-action"><?php echo esc_html__( 'Add NewTheme' ); ?></a>366 <a href="theme-install.php" class="page-title-action"><?php echo esc_html__( 'Add Theme' ); ?></a> 367 367 <?php endif; ?> 368 368 -
trunk/src/wp-admin/network/user-new.php
r56409 r59784 1 1 <?php 2 2 /** 3 * Add NewUser network administration panel.3 * Add User network administration panel. 4 4 * 5 5 * @package WordPress … … 98 98 99 99 // Used in the HTML title tag. 100 $title = __( 'Add NewUser' );100 $title = __( 'Add User' ); 101 101 $parent_file = 'users.php'; 102 102 … … 105 105 106 106 <div class="wrap"> 107 <h1 id="add-new-user"><?php _e( 'Add NewUser' ); ?></h1>107 <h1 id="add-new-user"><?php _e( 'Add User' ); ?></h1> 108 108 <?php 109 109 if ( '' !== $message ) { -
trunk/src/wp-admin/network/users.php
r56549 r59784 290 290 if ( current_user_can( 'create_users' ) ) : 291 291 ?> 292 <a href="<?php echo esc_url( network_admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add NewUser' ); ?></a>292 <a href="<?php echo esc_url( network_admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add User' ); ?></a> 293 293 <?php 294 294 endif; -
trunk/src/wp-admin/plugins.php
r59094 r59784 567 567 '<p>' . sprintf( 568 568 /* translators: %s: WordPress Plugin Directory URL. */ 569 __( 'If you would like to see more plugins to choose from, click on the “Add NewPlugin” button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they are free!' ),569 __( 'If you would like to see more plugins to choose from, click on the “Add Plugin” button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they are free!' ), 570 570 __( 'https://wordpress.org/plugins/' ) 571 571 ) . '</p>', … … 768 768 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can( 'install_plugins' ) ) { 769 769 ?> 770 <a href="<?php echo esc_url( self_admin_url( 'plugin-install.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add NewPlugin' ); ?></a>770 <a href="<?php echo esc_url( self_admin_url( 'plugin-install.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Plugin' ); ?></a> 771 771 <?php 772 772 } -
trunk/src/wp-admin/theme-install.php
r59022 r59784 55 55 ), 56 56 'l10n' => array( 57 'addNew' => __( 'Add NewTheme' ),57 'addNew' => __( 'Add Theme' ), 58 58 'search' => __( 'Search Themes' ), 59 59 'upload' => __( 'Upload Theme' ), -
trunk/src/wp-admin/themes.php
r59400 r59784 154 154 $help_install = '<p>' . sprintf( 155 155 /* translators: %s: https://wordpress.org/themes/ */ 156 __( 'If you would like to see more themes to choose from, click on the “Add NewTheme” button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they are free!' ),156 __( 'If you would like to see more themes to choose from, click on the “Add Theme” button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they are free!' ), 157 157 __( 'https://wordpress.org/themes/' ) 158 158 ) . '</p>'; … … 232 232 ), 233 233 'l10n' => array( 234 'addNew' => __( 'Add NewTheme' ),234 'addNew' => __( 'Add Theme' ), 235 235 'search' => __( 'Search installed themes' ), 236 236 /* translators: %d: Number of themes. */ … … 253 253 </h1> 254 254 <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 255 <a href="<?php echo esc_url( admin_url( 'theme-install.php' ) ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html__( 'Add NewTheme' ); ?></a>255 <a href="<?php echo esc_url( admin_url( 'theme-install.php' ) ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html__( 'Add Theme' ); ?></a> 256 256 <?php endif; ?> 257 257 <hr class="wp-header-end"> -
trunk/src/wp-admin/upload.php
r57796 r59784 213 213 if ( current_user_can( 'upload_files' ) ) { 214 214 ?> 215 <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html__( 'Add NewMedia File' ); ?></a>215 <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html__( 'Add Media File' ); ?></a> 216 216 <?php 217 217 } … … 420 420 if ( current_user_can( 'upload_files' ) ) { 421 421 ?> 422 <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add NewMedia File' ); ?></a>422 <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Media File' ); ?></a> 423 423 <?php 424 424 } -
trunk/src/wp-admin/user-edit.php
r59695 r59784 267 267 <?php if ( ! IS_PROFILE_PAGE ) : ?> 268 268 <?php if ( current_user_can( 'create_users' ) ) : ?> 269 <a href="user-new.php" class="page-title-action"><?php echo esc_html__( 'Add NewUser' ); ?></a>269 <a href="user-new.php" class="page-title-action"><?php echo esc_html__( 'Add User' ); ?></a> 270 270 <?php elseif ( is_multisite() && current_user_can( 'promote_users' ) ) : ?> 271 271 <a href="user-new.php" class="page-title-action"><?php echo esc_html__( 'Add Existing User' ); ?></a> … … 833 833 ?> 834 834 835 <button type="button" name="do_new_application_password" id="do_new_application_password" class="button button-secondary"><?php _e( 'Add NewApplication Password' ); ?></button>835 <button type="button" name="do_new_application_password" id="do_new_application_password" class="button button-secondary"><?php _e( 'Add Application Password' ); ?></button> 836 836 </div> 837 837 <?php -
trunk/src/wp-admin/user-new.php
r58999 r59784 262 262 263 263 // Used in the HTML title tag. 264 $title = __( 'Add NewUser' );264 $title = __( 'Add User' ); 265 265 $parent_file = 'users.php'; 266 266 … … 270 270 } 271 271 272 $help = '<p>' . __( 'To add a new user to your site, fill in the form on this screen and click the Add NewUser button at the bottom.' ) . '</p>';272 $help = '<p>' . __( 'To add a new user to your site, fill in the form on this screen and click the Add User button at the bottom.' ) . '</p>'; 273 273 274 274 if ( is_multisite() ) { … … 281 281 } 282 282 283 $help .= '<p>' . __( 'Remember to click the Add NewUser button at the bottom of this screen when you are finished.' ) . '</p>';283 $help .= '<p>' . __( 'Remember to click the Add User button at the bottom of this screen when you are finished.' ) . '</p>'; 284 284 285 285 get_current_screen()->add_help_tab( … … 384 384 <?php 385 385 if ( current_user_can( 'create_users' ) ) { 386 _e( 'Add NewUser' );386 _e( 'Add User' ); 387 387 } elseif ( current_user_can( 'promote_users' ) ) { 388 388 _e( 'Add Existing User' ); … … 508 508 if ( current_user_can( 'create_users' ) ) { 509 509 if ( $do_both ) { 510 echo '<h2 id="create-new-user">' . __( 'Add NewUser' ) . '</h2>';510 echo '<h2 id="create-new-user">' . __( 'Add User' ) . '</h2>'; 511 511 } 512 512 ?> … … 660 660 ?> 661 661 662 <?php submit_button( __( 'Add NewUser' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?>662 <?php submit_button( __( 'Add User' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?> 663 663 664 664 </form> -
trunk/src/wp-admin/users.php
r58566 r59784 34 34 'title' => __( 'Overview' ), 35 35 'content' => '<p>' . __( 'This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.' ) . '</p>' . 36 '<p>' . __( 'To add a new user for your site, click the Add New User button at the top of the screen or Add NewUser in the Users menu section.' ) . '</p>',36 '<p>' . __( 'To add a new user for your site, click the Add User button at the top of the screen or Add User in the Users menu section.' ) . '</p>', 37 37 ) 38 38 ); … … 779 779 '<a href="%1$s" class="page-title-action">%2$s</a>', 780 780 esc_url( admin_url( 'user-new.php' ) ), 781 esc_html__( 'Add NewUser' )781 esc_html__( 'Add User' ) 782 782 ); 783 783 } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { -
trunk/src/wp-includes/class-wp-customize-control.php
r59688 r59784 637 637 <button type="button" class="button-link add-new-toggle"> 638 638 <?php 639 /* translators: %s: Add NewPage label. */639 /* translators: %s: Add Page label. */ 640 640 printf( __( '+ %s' ), get_post_type_object( 'page' )->labels->add_new_item ); 641 641 ?> -
trunk/src/wp-includes/class-wp-post-type.php
r59700 r59784 990 990 'name' => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ), 991 991 'singular_name' => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ), 992 'add_new' => array( __( 'Add New' ), __( 'Add New' ) ),993 'add_new_item' => array( __( 'Add NewPost' ), __( 'Add New Page' ) ),992 'add_new' => array( __( 'Add' ), __( 'Add New' ) ), 993 'add_new_item' => array( __( 'Add Post' ), __( 'Add New Page' ) ), 994 994 'edit_item' => array( __( 'Edit Post' ), __( 'Edit Page' ) ), 995 995 'new_item' => array( __( 'New Post' ), __( 'New Page' ) ), -
trunk/src/wp-includes/class-wp-taxonomy.php
r55694 r59784 625 625 'view_item' => array( __( 'View Tag' ), __( 'View Category' ) ), 626 626 'update_item' => array( __( 'Update Tag' ), __( 'Update Category' ) ), 627 'add_new_item' => array( __( 'Add NewTag' ), __( 'Add New Category' ) ),627 'add_new_item' => array( __( 'Add Tag' ), __( 'Add New Category' ) ), 628 628 'new_item_name' => array( __( 'New Tag Name' ), __( 'New Category Name' ) ), 629 629 'separate_items_with_commas' => array( __( 'Separate tags with commas' ), null ), -
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r56548 r59784 213 213 <?php 214 214 if ( current_theme_supports( 'custom-header', 'video' ) ) { 215 _e( 'Click “Add NewImage” to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.' );215 _e( 'Click “Add Image” to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.' ); 216 216 } elseif ( $width && $height ) { 217 217 printf( 218 218 /* translators: %s: Header size in pixels. */ 219 __( 'Click “Add NewImage” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),219 __( 'Click “Add Image” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), 220 220 sprintf( '<strong>%s × %s</strong>', $width, $height ) 221 221 ); … … 223 223 printf( 224 224 /* translators: %s: Header width in pixels. */ 225 __( 'Click “Add NewImage” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),225 __( 'Click “Add Image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), 226 226 sprintf( '<strong>%s</strong>', $width ) 227 227 ); … … 229 229 printf( 230 230 /* translators: %s: Header height in pixels. */ 231 __( 'Click “Add NewImage” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),231 __( 'Click “Add Image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), 232 232 sprintf( '<strong>%s</strong>', $height ) 233 233 ); … … 247 247 <?php if ( current_user_can( 'upload_files' ) ) : ?> 248 248 <button type="button"<?php echo $visibility; ?> class="button remove" aria-label="<?php esc_attr_e( 'Hide header image' ); ?>"><?php _e( 'Hide image' ); ?></button> 249 <button type="button" class="button new" id="header_image-button" aria-label="<?php esc_attr_e( 'Add New Header Image' ); ?>"><?php _e( 'Add NewImage' ); ?></button>249 <button type="button" class="button new" id="header_image-button" aria-label="<?php esc_attr_e( 'Add Header Image' ); ?>"><?php _e( 'Add Image' ); ?></button> 250 250 <?php endif; ?> 251 251 </div> -
trunk/src/wp-includes/media-template.php
r59120 r59784 224 224 </script> 225 225 226 <?php // Template for the inline uploader, used for example in the Media Library admin page - Add New. ?>226 <?php // Template for the inline uploader, used for example in the Media Library admin page - Add. ?> 227 227 <script type="text/html" id="tmpl-uploader-inline"> 228 228 <# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #> -
trunk/src/wp-includes/post.php
r59700 r59784 76 76 'name' => _x( 'Media', 'post type general name' ), 77 77 'name_admin_bar' => _x( 'Media', 'add new from admin bar' ), 78 'add_new' => __( 'Add NewMedia File' ),78 'add_new' => __( 'Add Media File' ), 79 79 'edit_item' => __( 'Edit Media' ), 80 80 'view_item' => ( '1' === get_option( 'wp_attachment_pages_enabled' ) ) ? __( 'View Attachment Page' ) : __( 'View Media File' ), … … 203 203 'name' => _x( 'Changesets', 'post type general name' ), 204 204 'singular_name' => _x( 'Changeset', 'post type singular name' ), 205 'add_new' => __( 'Add NewChangeset' ),206 'add_new_item' => __( 'Add NewChangeset' ),205 'add_new' => __( 'Add Changeset' ), 206 'add_new_item' => __( 'Add Changeset' ), 207 207 'new_item' => __( 'New Changeset' ), 208 208 'edit_item' => __( 'Edit Changeset' ), … … 285 285 'name' => _x( 'Patterns', 'post type general name' ), 286 286 'singular_name' => _x( 'Pattern', 'post type singular name' ), 287 'add_new' => __( 'Add NewPattern' ),288 'add_new_item' => __( 'Add NewPattern' ),287 'add_new' => __( 'Add Pattern' ), 288 'add_new_item' => __( 'Add Pattern' ), 289 289 'new_item' => __( 'New Pattern' ), 290 290 'edit_item' => __( 'Edit Block Pattern' ), … … 351 351 'name' => _x( 'Templates', 'post type general name' ), 352 352 'singular_name' => _x( 'Template', 'post type singular name' ), 353 'add_new' => __( 'Add NewTemplate' ),354 'add_new_item' => __( 'Add NewTemplate' ),353 'add_new' => __( 'Add Template' ), 354 'add_new_item' => __( 'Add Template' ), 355 355 'new_item' => __( 'New Template' ), 356 356 'edit_item' => __( 'Edit Template' ), … … 416 416 'name' => _x( 'Template Parts', 'post type general name' ), 417 417 'singular_name' => _x( 'Template Part', 'post type singular name' ), 418 'add_new' => __( 'Add NewTemplate Part' ),419 'add_new_item' => __( 'Add NewTemplate Part' ),418 'add_new' => __( 'Add Template Part' ), 419 'add_new_item' => __( 'Add Template Part' ), 420 420 'new_item' => __( 'New Template Part' ), 421 421 'edit_item' => __( 'Edit Template Part' ), … … 523 523 'name' => _x( 'Navigation Menus', 'post type general name' ), 524 524 'singular_name' => _x( 'Navigation Menu', 'post type singular name' ), 525 'add_new' => __( 'Add N ew Navigation Menu' ),526 'add_new_item' => __( 'Add N ew Navigation Menu' ),525 'add_new' => __( 'Add Navigation Menu' ), 526 'add_new_item' => __( 'Add Navigation Menu' ), 527 527 'new_item' => __( 'New Navigation Menu' ), 528 528 'edit_item' => __( 'Edit Navigation Menu' ), … … 2027 2027 * by `$post_type_object->label`. Default is 'Posts' / 'Pages'. 2028 2028 * - `singular_name` - Name for one object of this post type. Default is 'Post' / 'Page'. 2029 * - `add_new` - Label for adding a new item. Default is 'Add New' / 'Add New'.2030 * - `add_new_item` - Label for adding a new singular item. Default is 'Add New Post' / 'Add NewPage'.2029 * - `add_new` - Label for adding a new item. Default is 'Add Post' / 'Add Page'. 2030 * - `add_new_item` - Label for adding a new singular item. Default is 'Add Post' / 'Add Page'. 2031 2031 * - `edit_item` - Label for editing a singular item. Default is 'Edit Post' / 'Edit Page'. 2032 2032 * - `new_item` - Label for the new item page title. Default is 'New Post' / 'New Page'. -
trunk/src/wp-includes/taxonomy.php
r59657 r59784 147 147 'edit_item' => __( 'Edit Link Category' ), 148 148 'update_item' => __( 'Update Link Category' ), 149 'add_new_item' => __( 'Add NewLink Category' ),149 'add_new_item' => __( 'Add Link Category' ), 150 150 'new_item_name' => __( 'New Link Category Name' ), 151 151 'separate_items_with_commas' => null, … … 234 234 'name' => _x( 'Pattern Categories', 'taxonomy general name' ), 235 235 'singular_name' => _x( 'Pattern Category', 'taxonomy singular name' ), 236 'add_new_item' => __( 'Add NewCategory' ),236 'add_new_item' => __( 'Add Category' ), 237 237 'add_or_remove_items' => __( 'Add or remove pattern categories' ), 238 238 'back_to_items' => __( '← Go to Pattern Categories' ), … … 679 679 * @type string $view_item Default 'View Tag'/'View Category'. 680 680 * @type string $update_item Default 'Update Tag'/'Update Category'. 681 * @type string $add_new_item Default 'Add New Tag'/'Add NewCategory'.681 * @type string $add_new_item Default 'Add Tag'/'Add Category'. 682 682 * @type string $new_item_name Default 'New Tag Name'/'New Category Name'. 683 683 * @type string $template_name Default 'Tag Archives'/'Category Archives'. -
trunk/tests/e2e/specs/profile/applications-passwords.test.js
r59084 r59784 102 102 await newPasswordField.fill( applicationName ); 103 103 104 await this.page.getByRole( 'button', { name: 'Add NewApplication Password' } ).click();104 await this.page.getByRole( 'button', { name: 'Add Application Password' } ).click(); 105 105 await expect( this.page.getByRole( 'alert' ) ).toBeVisible(); 106 106 } -
trunk/tests/phpunit/tests/formatting/wpAutop.php
r57987 r59784 23 23 <ul> 24 24 <li>Edit your personal information at <a href="%3$s" title="Edit settings like your password, your display name and your contact information">Users › Profile</a></li> 25 <li>Start publishing at <a href="%4$s" title="Create a new post">Posts › Add New</a> and at <a href="%5$s" title="Create a new page">Pages › Add New</a></li>26 <li>Browse and install plugins at <a href="%6$s" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins › Add New</a></li>27 <li>Browse and install themes at <a href="%7$s" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance › Add NewThemes</a></li>25 <li>Start publishing at <a href="%4$s" title="Create a new post">Posts › Add</a> and at <a href="%5$s" title="Create a new page">Pages › Add</a></li> 26 <li>Browse and install plugins at <a href="%6$s" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins › Add</a></li> 27 <li>Browse and install themes at <a href="%7$s" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance › Add Themes</a></li> 28 28 <li>Modify and prettify your website’s links at <a href="%8$s" title="For example, select a link structure like: http://example.com/1999/12/post-name">Settings › Permalinks</a></li> 29 29 <li>Import content from another system or WordPress site at <a href="%9$s" title="WordPress comes with importers for the most common publishing systems">Tools › Import</a></li> … … 48 48 <ul> 49 49 <li>Edit your personal information at <a href="%3$s" title="Edit settings like your password, your display name and your contact information">Users › Profile</a></li> 50 <li>Start publishing at <a href="%4$s" title="Create a new post">Posts › Add New</a> and at <a href="%5$s" title="Create a new page">Pages › Add New</a></li>51 <li>Browse and install plugins at <a href="%6$s" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins › Add New</a></li>52 <li>Browse and install themes at <a href="%7$s" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance › Add NewThemes</a></li>50 <li>Start publishing at <a href="%4$s" title="Create a new post">Posts › Add</a> and at <a href="%5$s" title="Create a new page">Pages › Add</a></li> 51 <li>Browse and install plugins at <a href="%6$s" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins › Add</a></li> 52 <li>Browse and install themes at <a href="%7$s" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance › Add Themes</a></li> 53 53 <li>Modify and prettify your website’s links at <a href="%8$s" title="For example, select a link structure like: http://example.com/1999/12/post-name">Settings › Permalinks</a></li> 54 54 <li>Import content from another system or WordPress site at <a href="%9$s" title="WordPress comes with importers for the most common publishing systems">Tools › Import</a></li> -
trunk/tests/phpunit/tests/l10n/wpTranslationsConvert.php
r58235 r59784 399 399 400 400 $this->assertSame( 'رونوشتها فعال نشدند.', $controller->translate( 'Revisions not enabled.', '', 'unittest' ) ); 401 $this->assertSame( 'افزودن جدید', $controller->translate( 'Add New', 'file', 'unittest' ) );401 $this->assertSame( 'افزودن', $controller->translate( 'Add', 'file', 'unittest' ) ); 402 402 403 403 $this->assertSame( '%s دیدگاه', $controller->translate_plural( array( '%s comment', '%s comments' ), 0, '', 'unittest' ) ); -
trunk/tests/visual-regression/specs/visual-snapshots.test.js
r56926 r59784 36 36 } ); 37 37 38 test( 'Add NewMedia', async ({ admin, page }) => {38 test( 'Add Media', async ({ admin, page }) => { 39 39 await admin.visitAdminPage( '/media-new.php' ); 40 await expect( page ).toHaveScreenshot( 'Add NewMedia.png', {40 await expect( page ).toHaveScreenshot( 'Add Media.png', { 41 41 mask: elementsToHide.map( ( selector ) => page.locator( selector ) ), 42 42 }); … … 85 85 } ); 86 86 87 test( 'Add NewUser', async ({ admin, page }) => {87 test( 'Add User', async ({ admin, page }) => { 88 88 await admin.visitAdminPage( '/user-new.php' ); 89 await expect( page ).toHaveScreenshot( 'Add NewUser.png', {89 await expect( page ).toHaveScreenshot( 'Add User.png', { 90 90 mask: [ 91 91 ...elementsToHide,
Note: See TracChangeset
for help on using the changeset viewer.