Tacsipacsi has uploaded a new change for review.
https://gerrit.wikimedia.org/r/261168
Change subject: Add GENDER support, make log using proper English
......................................................................
Add GENDER support, make log using proper English
Added GENDER tags to "create-mediafile" message and the 3 log messages.
Reworded the log messages: now they are proper English sentences.
Removed spaces from the end of log messages, as the log now displays
them correctly.
Used {{logentry}} template in the log messages' documentation, $2 is
no longer unused.
Change-Id: I38ca07575c7b0ef069af3c950fa0510186609449
---
M i18n/en.json
M i18n/qqq.json
2 files changed, 9 insertions(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GWToolset
refs/changes/68/261168/1
diff --git a/i18n/en.json b/i18n/en.json
index 7241861..0b50a1a 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -5,7 +5,8 @@
"Brian Wolff",
"Siebrand Mazeland",
"Shirayuki",
- "Amir E. Aharoni"
+ "Amir E. Aharoni",
+ "Tacsipacsi"
]
},
"gwtoolset": "GWToolset",
@@ -184,7 +185,7 @@
"gwtoolset-title-bad": "The title, which was created based on the
metadata and the MediaWiki template mapping, is not valid.\n\nTry another field
from the metadata for title and title-identifier, or if possible, change the
metadata where needed. See
[https://commons.wikimedia.org/wiki/Commons:File_naming File naming] for more
information.\n\n<strong>Invalid title:</strong> $1.",
"gwtoolset-batchjob-metadata-created": "Metadata batch job created.
Your metadata file will be analyzed shortly and each item will be uploaded to
the wiki in a background process. You can check the page \"$1\" to see when
they have been uploaded.",
"gwtoolset-batchjob-metadata-creation-failure": "Could not create batch
job for the metadata file.",
- "gwtoolset-create-mediafile": "$1: Creating mediafile for $2.",
+ "gwtoolset-create-mediafile": "$1: Creating mediafile for
{{GENDER:$2|$2}}.",
"gwtoolset-create-prefix": "GWToolset",
"gwtoolset-mediafile-jobs-created": "Created $1 mediafile batch
{{PLURAL:$1|job|jobs}}.",
"gwtoolset-step-4-heading": "Step 4: Batch upload",
@@ -229,7 +230,7 @@
"gwtoolset-begin-with": "Started with metadata record $1",
"log-name-gwtoolset": "GWToolset log",
"log-description-gwtoolset": "This log tracks GWToolset events in the
wiki.",
- "logentry-gwtoolset-mediafile-job-failed": "$1 mediafile job failed.
Metadata record $4. $5. ",
- "logentry-gwtoolset-mediafile-job-succeeded": "$1 mediafile job
succeeded. Created $3. Metadata record $4. ",
- "logentry-gwtoolset-metadata-job": "$1 metadata job created. $4. "
+ "logentry-gwtoolset-mediafile-job-failed": "$1 {{GENDER:$2|failed}}
mediafile job. Metadata record $4. $5.",
+ "logentry-gwtoolset-mediafile-job-succeeded": "$1
{{GENDER:$2|succeeded}} mediafile job. Created $3. Metadata record $4.",
+ "logentry-gwtoolset-metadata-job": "$1 {{GENDER:$2|created}} metadata
job. $4."
}
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 61ffe96..b4b9143 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -231,7 +231,7 @@
"gwtoolset-begin-with": "Used for the Metadata Job log entry to
indicate the beginning metadata record number. No period at the end of the
sentence because this is the last sentence inserted into
{{msg-mw|Logentry-gwtoolset-metadata-job}}, which adds the period to the end of
the sentence.\n\nParameters:\n* $1 - the record number",
"log-name-gwtoolset": "GWToolset's Special:Log log name.",
"log-description-gwtoolset": "Description of the GWToolset log that
appears on the Special:Log page when filtered by GWToolset logged events.",
- "logentry-gwtoolset-mediafile-job-failed": "Template for the GWToolset
log events. The space at the end of the message is intentional because the log
insert() method adds the summary message at the end of this message without a
space.\n\nParameters:\n* $1 - the User signature\n* $2 - (Unused)\n* $3 -
(Unused)\n* $4 - the metadata record number\n* $5 - the error message",
- "logentry-gwtoolset-mediafile-job-succeeded": "Template for the
GWToolset log events. The space at the end of the message is intentional
because the log insert() method adds the summary message at the end of this
message without a space.\n\nParameters:\n* $1 - the User signature\n* $2 -
(Unused)\n* $3 - the page title\n* $4 - the metadata record number",
- "logentry-gwtoolset-metadata-job": "Template for the GWToolset log
events. The space at the end of the message is intentional because the log
insert() method adds the summary message at the end of this message without a
space.\n\nParameters:\n* $1 - the User signature\n* $2 - (Unused)\n* $3 -
(Unused)\n* $4 - any success message"
+ "logentry-gwtoolset-mediafile-job-failed": "{{logentry|GWToolset log
events}}\nAdditional parameters ($3 is unused):\n* $4 - the metadata record
number\n* $5 - the error message",
+ "logentry-gwtoolset-mediafile-job-succeeded": "{{logentry|GWToolset log
events}}\nAdditional parameter:\n* $4 - the metadata record number",
+ "logentry-gwtoolset-metadata-job": "{{logentry|GWToolset log
events}}\nAdditional parameter ($3 is unused):\n* $4 - any success message"
}
--
To view, visit https://gerrit.wikimedia.org/r/261168
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38ca07575c7b0ef069af3c950fa0510186609449
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GWToolset
Gerrit-Branch: master
Gerrit-Owner: Tacsipacsi <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits