Make WordPress Core


Ignore:
Timestamp:
09/02/2019 12:42:01 AM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Split translatable strings located on the same line preceded with a translator comment, where the first string needs that comment, but the second does not.

Props johnbillion.
See #44360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r44626 r45927  
    132132        }
    133133
    134         /* translators: %s: site address */
    135         echo '<p>(<strong>' . sprintf( __( 'Your address will be %s.' ), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';
     134        printf(
     135            '<p>(<strong>%s</strong>) %s</p>',
     136            /* translators: %s: site address */
     137            sprintf( __( 'Your address will be %s.' ), $site ),
     138            __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' )
     139        );
    136140    }
    137141
Note: See TracChangeset for help on using the changeset viewer.