Make WordPress Core


Ignore:
Timestamp:
02/08/2025 11:42:29 AM (20 months ago)
Author:
audrasjb
Message:

Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration.

This changeset replaces each occurrence of "Add New {Item}" label with "Add {Item}" in WordPress administration, to make the interface more consistent and simplify the translation effort.

Props jameskoster, audrasjb, ntsekouras, afercia, peterwilsoncc, youknowriad, joedolson, sukhendu2002, jdy68, beryldlg, fxbenard.
See #61219.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r59400 r59784  
    154154                $help_install = '<p>' . sprintf(
    155155                        /* translators: %s: https://wordpress.org/themes/ */
    156                         __( 'If you would like to see more themes to choose from, click on the &#8220;Add New Theme&#8221; 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 &#8220;Add Theme&#8221; 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!' ),
    157157                        __( 'https://wordpress.org/themes/' )
    158158                ) . '</p>';
    … …  
    232232                ),
    233233                'l10n'     => array(
    234                         'addNew'        => __( 'Add New Theme' ),
     234                        'addNew'        => __( 'Add Theme' ),
    235235                        'search'        => __( 'Search installed themes' ),
    236236                        /* translators: %d: Number of themes. */
    … …  
    253253        </h1>
    254254        <?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 New Theme' ); ?></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>
    256256        <?php endif; ?>
    257257        <hr class="wp-header-end">
Note: See TracChangeset for help on using the changeset viewer.