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-admin/admin-header.php

    r42343 r42827  
    3636
    3737if ( is_network_admin() ) {
    38     /* translators: Network admin screen title. 1: Network name */
     38    /* translators: Network admin screen title. %s: Network name */
    3939    $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );
    4040} elseif ( is_user_admin() ) {
    41     /* translators: User dashboard screen title. 1: Network name */
     41    /* translators: User dashboard screen title. %s: Network name */
    4242    $admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
    4343} else {
     
    4646
    4747if ( $admin_title == $title ) {
    48     /* translators: Admin screen title. 1: Admin screen name */
    49     $admin_title = sprintf( __( '%1$s — WordPress' ), $title );
     48    /* translators: Admin screen title. %s: Admin screen name */
     49    $admin_title = sprintf( __( '%s — WordPress' ), $title );
    5050} else {
    5151    /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */
Note: See TracChangeset for help on using the changeset viewer.