[MediaWiki-commits] [Gerrit] mediawiki...Contest[master]: Add missing qqq message documentation
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/385430 ) Change subject: Add missing qqq message documentation .. Add missing qqq message documentation Activate banana checker Change-Id: I506c8916c610483b8ff728e959773692f8f64132 --- M Gruntfile.js M i18n/qqq.json M package.json 3 files changed, 60 insertions(+), 6 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/Gruntfile.js b/Gruntfile.js index b60f79e..98b1cfd 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -2,7 +2,7 @@ module.exports = function ( grunt ) { grunt.loadNpmTasks( 'grunt-contrib-jshint' ); grunt.loadNpmTasks( 'grunt-jsonlint' ); - // grunt.loadNpmTasks( 'grunt-banana-checker' ); + grunt.loadNpmTasks( 'grunt-banana-checker' ); grunt.initConfig( { jshint: { @@ -12,21 +12,23 @@ all: [ '**/*.js', '!node_modules/**', + '!vendor/**', '!resources/jquery.ui.timepicker.js', '!resources/fancybox/**' ] }, - /* banana: { + banana: { all: 'i18n/' - }, */ + }, jsonlint: { all: [ '**/*.json', - '!node_modules/**' + '!node_modules/**', + '!vendor/**' ] } } ); - grunt.registerTask( 'test', [ 'jshint', 'jsonlint' /* 'banana' */ ] ); + grunt.registerTask( 'test', [ 'jshint', 'jsonlint', 'banana' ] ); grunt.registerTask( 'default', 'test' ); }; diff --git a/i18n/qqq.json b/i18n/qqq.json index 7bf36e2..b9d9a96 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -14,7 +14,8 @@ "Umherirrender" ] }, - "contest-desc": "{{desc}}", + "contest-desc": "{{desc|name=Contest|url=https://www.mediawiki.org/wiki/Extension:Contest}}";, + "contest-toplink": "A label", "right-contestadmin": "{{doc-right|contestadmin}}", "right-contestant": "{{doc-right|contestant}}", "right-contestjudge": "{{doc-right|contestjudge}}", @@ -36,21 +37,38 @@ "group-contestant.js": "{{doc-group|contestant|js}}", "group-contestjudge.css": "{{doc-group|contestjudge|css}}", "group-contestjudge.js": "{{doc-group|contestjudge|js}}", + "prefs-contest": "A preference label", + "contest-prefs-showtoplink": "A label message", "contest-status-draft": "Describes the status of the contest.", "contest-status-active": "Describes the status of the contest.", "contest-status-expired": "Describes the status of the contest.", "contest-status-finished": "Describes the status of the contest.", + "special-contest": "A page header", "special-contests": "A page header ([[:File:Contest-contests.png|screenshot]])", + "special-contestsignup": "A page header", + "special-contestwelcome": "A page header", "special-editcontest": "Page header ([[:File:Contest-editcontest.png|screenshot]])", + "special-mycontests": "A page header", + "specialpages-group-contest": "{{doc-special-group}}", + "contest-nav-contests": "A navigation link label", "contest-nav-editcontest": "A navigation link label ([[:File:Contest-contestant-judging.png|screenshot]])", + "contest-nav-contest": "A navigation link label", + "contest-nav-contestwelcome": "A navigation link label", + "contest-nav-contestsignup": "A navigation link label", "contest-special-addnew": "A form header ([[:File:Contest-contests.png|screenshot]])", + "contest-special-namedoc": "A description", + "contest-special-newname": "A label text", "contest-special-add": "A button text ([[:File:Contest-contests.png|screenshot]])", + "contest-special-existing": "A header", "contest-special-name": "Table column header.\n{{Identical|Name}}", "contest-special-status": "Table column header.\n{{Identical|Status}}", "contest-special-submissioncount": "Table column header", "contest-special-edit": "Table column header.\n{{Identical|Edit}}", "contest-special-delete": "Table column header.\n{{Identical|Delete}}", + "contest-special-confirm-delete": "Used as confirm message\nUsed with javascript", + "contest-special-delete-failed": "Used as confirm message\nUsed with javascript", "editcontest-text": "Short text displayed at the top of the page notifying the user they are editing a contest", + "editcontest-legend": "A legen
[MediaWiki-commits] [Gerrit] mediawiki...Contest[master]: Add missing qqq message documentation
Umherirrender has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385430 ) Change subject: Add missing qqq message documentation .. Add missing qqq message documentation Activate banana checker Change-Id: I506c8916c610483b8ff728e959773692f8f64132 --- M Gruntfile.js M i18n/qqq.json M package.json 3 files changed, 60 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Contest refs/changes/30/385430/1 diff --git a/Gruntfile.js b/Gruntfile.js index b60f79e..98b1cfd 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -2,7 +2,7 @@ module.exports = function ( grunt ) { grunt.loadNpmTasks( 'grunt-contrib-jshint' ); grunt.loadNpmTasks( 'grunt-jsonlint' ); - // grunt.loadNpmTasks( 'grunt-banana-checker' ); + grunt.loadNpmTasks( 'grunt-banana-checker' ); grunt.initConfig( { jshint: { @@ -12,21 +12,23 @@ all: [ '**/*.js', '!node_modules/**', + '!vendor/**', '!resources/jquery.ui.timepicker.js', '!resources/fancybox/**' ] }, - /* banana: { + banana: { all: 'i18n/' - }, */ + }, jsonlint: { all: [ '**/*.json', - '!node_modules/**' + '!node_modules/**', + '!vendor/**' ] } } ); - grunt.registerTask( 'test', [ 'jshint', 'jsonlint' /* 'banana' */ ] ); + grunt.registerTask( 'test', [ 'jshint', 'jsonlint', 'banana' ] ); grunt.registerTask( 'default', 'test' ); }; diff --git a/i18n/qqq.json b/i18n/qqq.json index 7bf36e2..e174bec 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -14,7 +14,8 @@ "Umherirrender" ] }, - "contest-desc": "{{desc}}", + "contest-desc": "{{desc|name=Contest|url=https://www.mediawiki.org/wiki/Extension:Contest}}";, + "contest-toplink": "A label", "right-contestadmin": "{{doc-right|contestadmin}}", "right-contestant": "{{doc-right|contestant}}", "right-contestjudge": "{{doc-right|contestjudge}}", @@ -36,21 +37,38 @@ "group-contestant.js": "{{doc-group|contestant|js}}", "group-contestjudge.css": "{{doc-group|contestjudge|css}}", "group-contestjudge.js": "{{doc-group|contestjudge|js}}", + "prefs-contest": "A preference label", + "contest-prefs-showtoplink": "A label message", "contest-status-draft": "Describes the status of the contest.", "contest-status-active": "Describes the status of the contest.", "contest-status-expired": "Describes the status of the contest.", "contest-status-finished": "Describes the status of the contest.", + "special-contest": "A page header", "special-contests": "A page header ([[:File:Contest-contests.png|screenshot]])", + "special-contestsignup": "A page header", + "special-contestwelcome": "A page header", "special-editcontest": "Page header ([[:File:Contest-editcontest.png|screenshot]])", + "special-mycontests": "A page header", + "specialpages-group-contest": "{{doc-special-group}}", + "contest-nav-contests": "A navigation link label", "contest-nav-editcontest": "A navigation link label ([[:File:Contest-contestant-judging.png|screenshot]])", + "contest-nav-contest": "A navigation link label", + "contest-nav-contestwelcome": "A navigation link label", + "contest-nav-contestsignup": "A navigation link label", "contest-special-addnew": "A form header ([[:File:Contest-contests.png|screenshot]])", + "contest-special-namedoc": "A description", + "contest-special-newname": "A label text", "contest-special-add": "A button text ([[:File:Contest-contests.png|screenshot]])", + "contest-special-existing": "A header", "contest-special-name": "Table column header.\n{{Identical|Name}}", "contest-special-status": "Table column header.\n{{Identical|Status}}", "contest-special-submissioncount": "Table column header", "contest-special-edit": "Table column header.\n{{Identical|Edit}}", "contest-special-delete": "Table column header.\n{{Identical|Delete}}", + "contest-special-confirm-delete": "Used as confirm message\nUsed with javascript", + "contest-special-delete-failed": "Used as confirm message\nUsed with javascript", "editcontest-text": "Short text displayed at the top of the page notifying the user they are editing a contest", + "editcontes