Use a gender-neutral label for user.

Gender-specific labels here would be to expensive.

Bug: T136367
Change-Id: Id66790cd5c921ae536cbc5bede71f61d0e55a043
This commit is contained in:
Jakob Warkotsch 2016-06-03 14:03:23 +02:00 committed by WMDE-Fisch
parent 05ea211e8b
commit 78a691ca06
4 changed files with 4 additions and 4 deletions

View file

@ -116,7 +116,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 ),