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", + "editcontest-legend": "A legend", "contest-edit-name": "form field label", "contest-edit-status": "form field label", "contest-edit-intro": "Form field label", @@ -62,6 +80,7 @@ "contest-edit-end": "Form field label", "contest-edit-exists-already": "Warning message to show when the contest already exists", "contest-edit-submit": "Submit button text.\n{{Identical|Submit}}", + "contest-edit-challenges": "A button text", "contest-edit-delete": "Delete challange button text", "contest-edit-add-first": "Add a challenge button text", "contest-edit-add-another": "Add another challenge button text", @@ -69,13 +88,34 @@ "contest-edit-challenge-title": "Form field label", "contest-edit-challenge-text": "Form field label", "contest-edit-challenge-oneline": "Form field label", + "contest-welcome-unknown": "A error message", + "contest-welcome-rules": "A description message", + "contest-welcome-signup": "A button text", + "contest-welcome-js-off": "A error message", "contest-welcome-accept-challenge": "Label of a button. By pressing the button the user accepts the challenge.", + "contest-welcome-select-header": "A text message\nUsed with javascript", "contest-welcome-active-contests": "Message shown above a list of contests. Parameters:\n* $1 is a number of contests. It is always higher than one (when there is only one contest it is loaded right away), hence only applicable to languages where more than only plural/singular is distinguished", "contest-welcome-no-contests-active": "Indicates that there arte no active contests", + "contest-signup-unknown": "A error message", "contest-signup-submit": "{{Identical|Sign up}}", "contest-signup-header": "Page header displayed if the current used is not signed up for a contest. Parameters:\n* $1 is a contest name.", + "contest-signup-email": "A label message", + "contest-signup-realname": "A label message", + "contest-signup-volunteer": "A label message", + "contest-signup-wmf": "A label message", "contest-signup-cv": "Form field description ([[:File:Contest-mycontest.png|screenshot]]). CV stands for [http://en.wikipedia.org/wiki/Curriculum_vitae curriculum vitæ], similar to a [http://en.wikipedia.org/wiki/R%C3%A9sum%C3%A9 Résumé].", + "contest-signup-readrules": "A label message", + "contest-signup-challenge": "A label message", + "contest-signup-finished": "A warning message", + "contest-signup-draft": "A warning message", + "contest-signup-country": "A label message", "contest-signup-emailwarn": "Warning message shown above an e-mail input when the user starts changing it's value", + "contest-signup-require-rules": "A error message", + "contest-signup-require-country": "A error message", + "contest-signup-invalid-email": "A error message", + "contest-signup-invalid-name": "A error message", + "contest-signup-require-challenge": "A error message", + "contest-signup-invalid-cv": "A error message", "contest-contest-title": "Page title", "contest-contest-no-results": "Message displayed instead of a table when there are no contests", "contest-contest-name": "Table row header.\n{{Identical|Name}}", @@ -85,6 +125,7 @@ "contest-contest-days-ago": "$1 is a date, $2 is an integer, the amount of days", "contest-contest-days-left": "This is for an end date, followed by an amount of days it is from now, displayed in a summary table for a single contest. Parameters:\n* $1 is a date;\n* $2 is an integer, the amount of days.", "contest-contest-contestants": "Page section header", + "contest-contest-contestants-text": "A description message", "contest-contest-reminder-mail": "Reminder e-mail", "contest-contest-reminder-page": "Text explaining the email content is pulled from a page, $1 is the page name.", "contest-contest-send-reminder": "Send reminder button text", @@ -112,6 +153,7 @@ "contest-contest-reminder-failed": "Failiure message, displayed in an alert box", "contest-contest-reminder-subject": "E-mail subject indicator.\n{{Identical|Subject}}", "contest-contestant-id": "Table column header", + "contest-contestant-challenge-name": "Table column header", "contest-contestant-volunteer": "Table column header", "contest-contestant-wmf": "Table column header.\nWMF means the Wikimedia Foundation (user of this extension).", "contest-contestant-no": "Table cell value.\n{{Identical|No}}", @@ -131,10 +173,12 @@ "contest-contestant-header-rating": "Table row header.\n{{Identical|Rating}}", "contest-contestant-header-comments": "Table row header", "contest-contestant-submission-url": "Text for the link to the submission", + "contest-contestant-notsubmitted": "A error message", "contest-contestant-comments": "Page header (h2).\n{{Identical|Comment}}", "contest-contestant-submit": "Submit button text.\n{{Identical|Save changes}}", "contest-contestant-comment-by": "$1 the user name, linked to the user page, followed by talk, contrib and block links", "contest-contestant-rate": "Page header (h2)", + "contest-contestant-not-voted": "A error message", "contest-contestant-voted": "$1 is an integer", "contest-contestant-permalink": "Hover-text for comment permalinks", "contest-email-signup-title": "Title for signup e-mails", @@ -152,6 +196,13 @@ "contest-mycontests-updated-success": "Message shown when a user has edited a submission", "contest-mycontests-sessionfail": "Session failure", "contest-submission-submit": "{{Identical|Submit}}", + "contest-submission-unknown": "A error message", + "contest-submission-header": "A description message", + "contest-submission-finished": "A warning message", + "contest-submission-submission": "A label message", + "contest-submission-invalid-url": "A error message", + "contest-submission-new-submission": "A label message", + "contest-submission-current-submission": "A label message", "contest-submission-challenge": "Tells the user which challenge they are part of. $1 is the challenge name", "contest-submission-challenge-description": "Output of challenge name and description. $1 is the challenge name, $2 is the challenge description", "contest-submission-domains": "Shown above the form on the page that appears after the user submits initial details. $1 is a list of domains (defined in $egContestSettings['submissionDomains']) and $2 is the number of domains.", diff --git a/package.json b/package.json index 31001ff..f0d035d 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ }, "devDependencies": { "grunt": "1.0.1", + "grunt-banana-checker": "0.6.0", "grunt-contrib-jshint": "1.0.0", "grunt-jsonlint": "1.0.7" } -- To view, visit https://gerrit.wikimedia.org/r/385430 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I506c8916c610483b8ff728e959773692f8f64132 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Contest Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits