Merge "Use a gender-neutral label for user."

This commit is contained in:
Jakob Warkotsch 2016-06-07 08:54:13 +00:00 committed by Gerrit Code Review
commit 183abd6286
4 changed files with 4 additions and 4 deletions

View file

@ -119,7 +119,7 @@
"revisionslider-revision-bytes",
"revisionslider-label-article-size",
"revisionslider-label-change-size",
"revisionslider-label-user",
"revisionslider-label-edited-by",
"revisionslider-label-comment"
],
"dependencies": [

View file

@ -12,7 +12,7 @@
"revisionslider-label-article-size": "Article size: $1",
"revisionslider-label-change-size": "Change size: $1",
"revisionslider-label-comment": "Comment: $1",
"revisionslider-label-user": "User: $1",
"revisionslider-label-edited-by": "Edited by: $1",
"revisionslider-loading-placeholder": "The revision slider is loading.",
"revisionslider-loading-failed": "The revision slider failed to load.",
"revisionslider-loading-out-of-range": "The revision slider failed to load as the requested revisions are not in the top 500 versions of the page.",

View file

@ -13,7 +13,7 @@
"revisionslider-label-article-size": "Label describing the size of this revision.\nParameters:\n* $1 - Revision size.",
"revisionslider-label-change-size": "Label describing the size of the change compared to the revision before.\nParameters:\n* $1 - Change size.",
"revisionslider-label-comment": "Label showing the edit summary of a revision.\nParameters:\n* $1 - The revision's edit summary.",
"revisionslider-label-user": "Label showing this revision's author's username.\nParameters:\n* $1 - Username.\n{{Identical|User}}",
"revisionslider-label-edited-by": "Gender-neutral label showing this revision's author's username.\nParameters:\n* $1 - Username.\n{{Identical|User}}",
"revisionslider-loading-placeholder": "Message shown while the RevisionSlider is still loading on a diff page. Once loaded the message is removed.",
"revisionslider-loading-failed": "Message shown if the RevisionSlider fails to initially load.",
"revisionslider-loading-out-of-range": "Message shown if the RevisionSlider fails to initially load due to revisions being requested that are not in the most recent 500 revisions.",

View file

@ -58,7 +58,7 @@
$( '<p>' ).append( $( '<b>' ).text( rev.getFormattedDate() ) ),
rev.getUser() ?
$( '<bdi>' ).append( $( '<p>' ).text(
mw.msg( 'revisionslider-label-user', mw.html.escape( rev.getUser() ) )
mw.msg( 'revisionslider-label-edited-by', mw.html.escape( rev.getUser() ) )
) )
: '',
this.makeCommentLine( rev ),