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/twentytwentyone/template-parts/content/content-none.php

    r50233 r50234  
    4040            printf(
    4141                '<p>' . wp_kses(
    42                     /* translators: 1: Link to WP admin new post page. */
    43                     __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentytwentyone' ),
     42                    /* translators: %s: Link to WP admin new post page. */
     43                    __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwentyone' ),
    4444                    array(
    4545                        'a' => array(
Note: See TracChangeset for help on using the changeset viewer.