Update banana check to use config.MessagesDirs

Add missing qqq strings so the tests will pass.

Bug: T346170
Change-Id: I7c43cb6db24d5c98341de2de4387689982b35e96
This commit is contained in:
Ed Sanders 2023-09-12 17:59:33 +01:00 committed by David Lynch
parent cba0bf6da1
commit 6730748707
3 changed files with 21 additions and 7 deletions

View file

@ -8,6 +8,7 @@
module.exports = function ( grunt ) {
const modules = grunt.file.readJSON( 'lib/ve/build/modules.json' ),
conf = grunt.file.readJSON( 'extension.json' ),
screenshotOptions = {
reporter: 'spec',
// TODO: Work out how to catch this timeout and continue.
@ -163,11 +164,7 @@ module.exports = function ( grunt ) {
'!vendor/**'
]
},
banana: {
all: [
'i18n/{ve-mw,ve-mw/api,ve-wmf}'
]
},
banana: conf.MessagesDirs,
copy: {
jsduck: {
src: 'lib/ve/**/*',

View file

@ -1,4 +1,10 @@
{
"@metadata": {
"authors": [
"David Lynch",
"Ed Sanders"
]
},
"editcheck-config.json": "null",
"editcheck-dialog-action-no": "No",
"editcheck-dialog-action-yes": "Yes",

View file

@ -1,6 +1,9 @@
{
"@metadata": {
"authors": []
"authors": [
"David Lynch",
"Ed Sanders"
]
},
"editcheck-config.json": "{{notranslate}}\n{{ignored}}\nJSON object configuring some edit check behavior.",
"editcheck-dialog-action-no": "Label for the no option when asking users if they want to add a citation.",
@ -14,5 +17,13 @@
"editcheck-dialog-addref-reject-other": "Answer option in repsonse to {{msg-mw|editcheck-dialog-addref-reject-question}}",
"editcheck-dialog-addref-success-notify": "Notification messages shown after a citation is added successfully.",
"editcheck-dialog-addref-title": "Title for the edit check context asking user to add a citation.",
"editcheck-dialog-title": "Title shown in the toolbar while the user is in the add a citation workflow."
"editcheck-dialog-title": "Title shown in the toolbar while the user is in the add a citation workflow.",
"tag-editcheck-reference-decline-common-knowledge": "Short description of the editcheck-reference-decline-common-knowledge tag.\n\nTag added when a user declines to add a suggested reference and selects the \"common knowledge\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-common-knowledge}}",
"tag-editcheck-reference-decline-common-knowledge-description": "Long description of the editcheck-reference-decline-common-knowledge tag.\n\nTag added when a user declines to add a suggested reference and selects the \"common knowledge\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-common-knowledge}}",
"tag-editcheck-reference-decline-irrelevant": "Short description of the editcheck-reference-decline-irrelevant tag.\n\nTag added when a user declines to add a suggested reference and selects the \"irrelevant\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-irrelevant}}",
"tag-editcheck-reference-decline-irrelevant-description": "Long description of the editcheck-reference-decline-irrelevant tag.\n\nTag added when a user declines to add a suggested reference and selects the \"irrelevant\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-irrelevant}}",
"tag-editcheck-reference-decline-other": "Short description of the editcheck-reference-decline-other tag.\n\nTag added when a user declines to add a suggested reference and selects the \"other\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-other}}",
"tag-editcheck-reference-decline-other-description": "Long description of the editcheck-reference-decline-other tag.\n\nTag added when a user declines to add a suggested reference and selects the \"other\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-other}}",
"tag-editcheck-reference-decline-uncertain": "Short description of the editcheck-reference-decline-uncertain tag.\n\nTag added when a user declines to add a suggested reference and selects the \"uncertain\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-uncertain}}",
"tag-editcheck-reference-decline-uncertain-description": "Long description of the editcheck-reference-decline-uncertain tag.\n\nTag added when a user declines to add a suggested reference and selects the \"uncertain\" reason.\n\nSee also:\n* {{msg-mw|editcheck-dialog-addref-reject-uncertain}}"
}