I18N: Fix placeholders and add translator comments after [36695].

See #35705.

git-svn-id: https://develop.svn.wordpress.org/trunk@36697 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2016-02-24 21:48:02 +00:00
parent c379b5fc24
commit 320e8b1642
2 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,8 @@ if ( isset($_GET['update']) ) {
if ( empty( $edit_link ) ) {
$messages[] = __( 'User added.' );
} else {
$messages[] = sprintf( __( 'User added. <a href="%1$s">Edit User</a>' ), $edit_link );
/* translators: %s: edit page url */
$messages[] = sprintf( __( 'User added. <a href="%s">Edit user</a>' ), $edit_link );
}
}
}

View File

@ -246,7 +246,8 @@ if ( isset($_GET['update']) ) {
if ( empty( $edit_link ) ) {
$messages[] = __( 'User has been added to your site.' );
} else {
$messages[] = sprintf( __( 'User has been added to your site. <a href="%1$s">Edit User</a>' ), $edit_link );
/* translators: %s: edit page url */
$messages[] = sprintf( __( 'User has been added to your site. <a href="%s">Edit user</a>' ), $edit_link );
}
break;
case "addexisting":