Merge "Make a symbol on the "Show help" button translatable"

This commit is contained in:
jenkins-bot 2016-06-25 11:40:18 +00:00 committed by Gerrit Code Review
commit 8bfed7caf1
4 changed files with 4 additions and 1 deletions

View file

@ -40,6 +40,7 @@
"mediawiki.api.options"
],
"messages": [
"revisionslider-show-help",
"revisionslider-loading-out-of-range",
"revisionslider-loading-failed"
],

View file

@ -18,6 +18,7 @@
"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.",
"revisionslider-arrow-tooltip-newer": "See newer revisions",
"revisionslider-arrow-tooltip-older": "See older revisions",
"revisionslider-show-help": "?",
"revisionslider-help-dialog-slide1": "The RevisionSlider helps you to navigate and compare revisions on the diff page. It is based on a [[m:WMDE_Technical_Wishes/Revision_Slider|community wish]] from the German-speaking community technical wishlist.",
"revisionslider-help-dialog-slide2": "Each bar represents an article revision. Bars on the top show growth in size of the article, bars on the bottom show a reduction. In the image, revision 1 represents added content, while revision 2 represents removal of content.",
"revisionslider-help-dialog-slide3": "<p>To compare certain revisions, select the revisions using the yellow and blue pointer.</p><p>The blue pointer controls the newer revision, the yellow pointer maps to the older revision.</p><p>Move the pointers by drag and drop or click on a bar.</p>",

View file

@ -19,6 +19,7 @@
"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.",
"revisionslider-arrow-tooltip-newer": "Text shown after hovering the button scrolling to newer revisions.",
"revisionslider-arrow-tooltip-older": "Text shown after hovering the button scrolling to older revisions.",
"revisionslider-show-help": "A symbol shown in the \"Show help\" button.",
"revisionslider-help-dialog-slide1": "Text shown on the first slide of the help dialog.",
"revisionslider-help-dialog-slide2": "Text shown on the second slide of the help dialog.",
"revisionslider-help-dialog-slide3": "Text shown on the third slide of the help dialog.",

View file

@ -35,7 +35,7 @@
.click( function () {
mw.libs.revisionSlider.HelpDialog.show();
} )
.text( '?' )
.text( mw.message( 'revisionslider-show-help' ).text() )
.addClass( 'mw-show-help' )
);
} catch ( err ) {