WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2018 04:43:59 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.

Add missing translator comments in WP_Theme_Install_List_Table and wp_notify_postauthor().
Add missing commas in some translator comments.

Fixes #43523.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r42630 r42827  
    948948
    949949            $data = array(
    950                 /* translators: %1$s is the post type name and %2$s is the error message. */
     950                /* translators: 1: post type name, 2: error message */
    951951                'message' => sprintf( __( '%1$s could not be created: %2$s' ), $singular_name, $error->get_error_message() ),
    952952            );
     
    982982                            <span class="screen-reader-text">
    983983                            <?php
    984                                 /* translators: 1: Title of a menu item, 2: Type of a menu item */
     984                                /* translators: 1: title of a menu item, 2: type of a menu item */
    985985                                printf( __( 'Add to menu: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.type_label }}' );
    986986                            ?>
Note: See TracChangeset for help on using the changeset viewer.