Make WordPress Core

Changeset 47093


Ignore:
Timestamp:
01/20/2020 03:41:50 PM (2 years ago)
Author:
SergeyBiryukov
Message:

I18N: Add missing placeholders to some translators comments in wp-admin.

Props ramiy.
Fixes #49248.

Location:
trunk/src/wp-admin
Files:
7 edited

Legend:

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

    r45932 r47093  
    162162                } else {
    163163                    $action = sprintf(
    164                         /* translators: URL to Import screen on the main site. */
     164                        /* translators: %s: URL to Import screen on the main site. */
    165165                        __( 'This importer is not installed. Please install importers from <a href="%s">the main site</a>.' ),
    166166                        get_admin_url( get_current_network_id(), 'import.php' )
  • trunk/src/wp-admin/includes/ms.php

    r45932 r47093  
    909909                <?php
    910910                printf(
    911                     /* translators: User login. */
     911                    /* translators: %s: User login. */
    912912                    __( 'What should be done with content owned by %s?' ),
    913913                    '<em>' . $delete_user->user_login . '</em>'
  • trunk/src/wp-admin/includes/template.php

    r47060 r47093  
    13101310                        echo '<button type="button" class="handlediv" aria-expanded="true">';
    13111311                        echo '<span class="screen-reader-text">' . sprintf(
    1312                             /* translators: Meta box title. */
     1312                            /* translators: %s: Meta box title. */
    13131313                            __( 'Toggle panel: %s' ),
    13141314                            $widget_title
  • trunk/src/wp-admin/nav-menus.php

    r46791 r47093  
    531531if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) {
    532532    $messages[] = '<div id="message" class="updated"><p>' . sprintf(
    533         /* translators: URL to Widgets screen. */
     533        /* translators: %s: URL to Widgets screen. */
    534534        __( 'Your theme does not natively support menus, but you can use them in sidebars by adding a &#8220;Navigation Menu&#8221; widget on the <a href="%s">Widgets</a> screen.' ),
    535535        admin_url( 'widgets.php' )
  • trunk/src/wp-admin/options-privacy.php

    r45932 r47093  
    101101                'page_for_privacy_policy',
    102102                sprintf(
    103                     /* translators: URL to Pages Trash. */
     103                    /* translators: %s: URL to Pages Trash. */
    104104                    __( 'The currently selected Privacy Policy page is in the trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),
    105105                    'edit.php?post_status=trash&post_type=page'
  • trunk/src/wp-admin/plugins.php

    r46811 r47093  
    457457                '<p>' . __( 'Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin&#8217;s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.' ) . '</p>' .
    458458                '<p>' . sprintf(
    459                     /* translators: WP_PLUGIN_DIR constant value. */
     459                    /* translators: %s: WP_PLUGIN_DIR constant value. */
    460460                    __( 'If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ),
    461461                    '<code>' . WP_PLUGIN_DIR . '</code>'
  • trunk/src/wp-admin/tools.php

    r45932 r47093  
    7171            <?php
    7272                printf(
    73                     /* translators: URL to Import screen. */
     73                    /* translators: %s: URL to Import screen. */
    7474                    __( 'If you want to convert your categories to tags (or vice versa), use the <a href="%s">Categories and Tags Converter</a> available from the Import screen.' ),
    7575                    'import.php'
Note: See TracChangeset for help on using the changeset viewer.