Make WordPress Core


Ignore:
Timestamp:
02/07/2021 12:42:06 PM (3 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.

Adjust some newly introduced strings to remove unnecessary numbered placeholders for consistency.

Follow-up to [42827].

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/template-parts/content/content-none.php

    r46827 r50234  
    2323            printf(
    2424                '<p>' . wp_kses(
    25                     /* translators: 1: Link to WP admin new post page. */
    26                     __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentynineteen' ),
     25                    /* translators: %s: Link to WP admin new post page. */
     26                    __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentynineteen' ),
    2727                    array(
    2828                        'a' => array(
Note: See TracChangeset for help on using the changeset viewer.