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/revision.php

    r42795 r42827  
    8989        $post_edit_link = get_edit_post_link();
    9090        $post_title     = '<a href="' . $post_edit_link . '">' . _draft_or_post_title() . '</a>';
    91         /* translators: 1: Post title */
    92         $h1             = sprintf( __( 'Compare Revisions of &#8220;%1$s&#8221;' ), $post_title );
     91        /* translators: %s: post title */
     92        $h1             = sprintf( __( 'Compare Revisions of &#8220;%s&#8221;' ), $post_title );
    9393        $return_to_post = '<a href="' . $post_edit_link . '">' . __( '&larr; Return to editor' ) . '</a>';
    9494        $title          = __( 'Revisions' );
Note: See TracChangeset for help on using the changeset viewer.