Making WordPress.org


Ignore:
Timestamp:
03/08/2017 05:57:45 PM (8 years ago)
Author:
coffee2code
Message:

Rosetta Roles: Remove recently introduced markup from pre-existing translated string and remove unnecessary <em>.

Props SergeyBiryukov.
See #2209.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-translation-editor.php

    r5115 r5129  
    77        $user = get_user_by( 'id', $user_id );
    88        printf(
    9             /* translators: 1: WP.org profile URL, 2: username */
    10             __( 'You are currently editing the user <a href="%1$s">%2$s</a>.', 'rosetta' ),
    11             'https://profiles.wordpress.org/' . $user->user_nicename,
    12             '<em>' . $user->user_login . '</em>'
     9            /* translators: %s: WP.org profile link */
     10            __( 'You are currently editing the user %s.', 'rosetta' ),
     11            sprintf( '<a href="%1$s">%2$s</a>',
     12                'https://profiles.wordpress.org/' . $user->user_nicename,
     13                $user->user_login
     14            )
    1315        );
    1416    ?></p>
Note: See TracChangeset for help on using the changeset viewer.