Make WordPress Core

Changeset 42006


Ignore:
Timestamp:
10/24/2017 10:46:27 PM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use a consistent pattern for translator comments for placeholders in some more Customizer strings.

See #41974.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r42005 r42006  
    229229            <?php
    230230            echo sprintf(
    231                 /* translators: %s is the URL to the Customizer */
     231                /* translators: %s: URL to the Customizer */
    232232                __( 'This draft comes from your <a href="%s">unpublished customization changes</a>. You can edit, but there&#8217;s no need to publish now. It will be published automatically with those changes.' ),
    233233                esc_url(
  • trunk/src/wp-admin/includes/theme.php

    r41658 r42006  
    660660                            <span class="num-ratings">
    661661                                <?php
    662                                 /* translators: %s is the number of ratings */
     662                                /* translators: %s: number of ratings */
    663663                                echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );
    664664                                ?>
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r41997 r42006  
    46104610            'l10n' => array(
    46114611                'confirmDeleteTheme' => __( 'Are you sure you want to delete this theme?' ),
    4612                 /* translators: %d is the number of theme search results, which cannot currently consider singular vs. plural forms */
     4612                /* translators: %d: number of theme search results, which cannot currently consider singular vs. plural forms */
    46134613                'themeSearchResults' => __( '%d themes found' ),
    4614                 /* translators: %d is the number of themes being displayed, which cannot currently consider singular vs. plural forms */
     4614                /* translators: %d: number of themes being displayed, which cannot currently consider singular vs. plural forms */
    46154615                'announceThemeCount' => __( 'Displaying %d themes' ),
    4616                 /* translators: %s is the theme name */
     4616                /* translators: %s: theme name */
    46174617                'announceThemeDetails' => __( 'Showing details for theme: %s' ),
    46184618            ),
  • trunk/src/wp-includes/customize/class-wp-customize-theme-control.php

    r42002 r42006  
    9292                    <p>
    9393                        <?php
    94                         /* translators: %s is the linked update now button */
     94                        /* translators: %s: "Update now" button */
    9595                        printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
    9696                        ?>
  • trunk/src/wp-includes/customize/class-wp-customize-themes-section.php

    r41973 r42006  
    8888                    <p class="no-themes-local">
    8989                        <?php
    90                         /* translators: %s is the string, "search WordPress.org themes" */
     90                        /* translators: %s: "Search WordPress.org themes" button */
    9191                        printf( __( 'No themes found. Try a different search, or %s.' ),
    9292                            sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) )
  • trunk/src/wp-includes/script-loader.php

    r42005 r42006  
    595595        'themePreviewUnavailable' => __( 'Sorry, you can&#8217;t preview new themes when you have changes scheduled or saved as a draft. Please publish your changes, or wait until they publish to preview new themes.' ),
    596596        'themeInstallUnavailable' => sprintf(
    597             /* translators: %s is URL to Add Themes admin screen */
     597            /* translators: %s: URL to Add Themes admin screen */
    598598            __( 'You won&#8217;t be able to install new themes from here yet since your install requires SFTP credentials. For now, please <a href="%s">add themes in the admin</a>.' ),
    599599            esc_url( admin_url( 'theme-install.php' ) )
Note: See TracChangeset for help on using the changeset viewer.