mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-24 06:04:05 +00:00
Move all apihelp translatable messages to separate files
Bug: T189982 Change-Id: I215dca32ed6bad6c4dafd0814b8cbb0887b3dd75
This commit is contained in:
parent
7dc53b664d
commit
bbec41c935
|
@ -42,7 +42,8 @@
|
|||
},
|
||||
"MessagesDirs": {
|
||||
"TitleBlacklist": [
|
||||
"i18n"
|
||||
"i18n",
|
||||
"i18n/api"
|
||||
]
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
|
|
13
i18n/api/en.json
Normal file
13
i18n/api/en.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": []
|
||||
},
|
||||
"apihelp-titleblacklist-description": "Validate a page title, filename, or username against the TitleBlacklist.",
|
||||
"apihelp-titleblacklist-summary": "Validate a page title, filename, or username against the TitleBlacklist.",
|
||||
"apihelp-titleblacklist-param-title": "The string to validate against the blacklist.",
|
||||
"apihelp-titleblacklist-param-action": "The action to be checked.",
|
||||
"apihelp-titleblacklist-param-nooverride": "Don't try to override the titleblacklist.",
|
||||
"apihelp-titleblacklist-example-1": "Check whether [[Foo]] is blacklisted",
|
||||
"apihelp-titleblacklist-example-2": "Check whether [[Bar]] is blacklisted for editing",
|
||||
"apihelp-createaccount-param-ignoretitleblacklist": "Ignore spoofing checks (requires one of the following rights: <code>tboverride</code>, <code>tboverride-account</code>)."
|
||||
}
|
15
i18n/api/qqq.json
Normal file
15
i18n/api/qqq.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Zoranzoki21"
|
||||
]
|
||||
},
|
||||
"apihelp-titleblacklist-description": "{{doc-apihelp-description|titleblacklist}}",
|
||||
"apihelp-titleblacklist-summary": "{{doc-apihelp-summary|titleblacklist}}",
|
||||
"apihelp-titleblacklist-param-title": "{{doc-apihelp-param|titleblacklist|title}}",
|
||||
"apihelp-titleblacklist-param-action": "{{doc-apihelp-param|titleblacklist|action}}",
|
||||
"apihelp-titleblacklist-param-nooverride": "{{doc-apihelp-param|titleblacklist|nooverride}}",
|
||||
"apihelp-titleblacklist-example-1": "{{doc-apihelp-example|titleblacklist}}",
|
||||
"apihelp-titleblacklist-example-2": "Replace \"Bar\" with any example string suitable for your language, for instance the translation of \"Example\".\n----\n{{doc-apihelp-example|titleblacklist}}",
|
||||
"apihelp-createaccount-param-ignoretitleblacklist": "{{doc-apihelp-param|createaccount|ignoretitleblacklist}}"
|
||||
}
|
10
i18n/en.json
10
i18n/en.json
|
@ -19,13 +19,5 @@
|
|||
"titleblacklist-warning": "<strong>Warning: This page can only be edited by administrators and other users with the <code>tboverride</code> right because it matches the following title blacklist entry:</strong><br /><code>$1</code>",
|
||||
"right-tboverride": "Override the title or username blacklist",
|
||||
"right-tboverride-account": "Override the username blacklist",
|
||||
"right-titleblacklistlog": "View title blacklist log",
|
||||
"apihelp-titleblacklist-description": "Validate a page title, filename, or username against the TitleBlacklist.",
|
||||
"apihelp-titleblacklist-summary": "Validate a page title, filename, or username against the TitleBlacklist.",
|
||||
"apihelp-titleblacklist-param-title": "The string to validate against the blacklist.",
|
||||
"apihelp-titleblacklist-param-action": "The action to be checked.",
|
||||
"apihelp-titleblacklist-param-nooverride": "Don't try to override the titleblacklist.",
|
||||
"apihelp-titleblacklist-example-1": "Check whether [[Foo]] is blacklisted",
|
||||
"apihelp-titleblacklist-example-2": "Check whether [[Bar]] is blacklisted for editing",
|
||||
"apihelp-createaccount-param-ignoretitleblacklist": "Ignore spoofing checks (requires one of the following rights: <code>tboverride</code>, <code>tboverride-account</code>)."
|
||||
"right-titleblacklistlog": "View title blacklist log"
|
||||
}
|
||||
|
|
|
@ -28,13 +28,5 @@
|
|||
"titleblacklist-warning": "Displayed when a user is editing a page that only administrators (or custom user groups with the tboverride right) can edit due to the title blacklist. Parameters:\n* $1 - blacklist entry",
|
||||
"right-tboverride": "{{doc-right|tboverride}}",
|
||||
"right-tboverride-account": "{{doc-right|tboverride-account}}",
|
||||
"right-titleblacklistlog": "{{doc-right|titleblacklistlog}}",
|
||||
"apihelp-titleblacklist-description": "{{doc-apihelp-description|titleblacklist}}",
|
||||
"apihelp-titleblacklist-summary": "{{doc-apihelp-summary|titleblacklist}}",
|
||||
"apihelp-titleblacklist-param-title": "{{doc-apihelp-param|titleblacklist|title}}",
|
||||
"apihelp-titleblacklist-param-action": "{{doc-apihelp-param|titleblacklist|action}}",
|
||||
"apihelp-titleblacklist-param-nooverride": "{{doc-apihelp-param|titleblacklist|nooverride}}",
|
||||
"apihelp-titleblacklist-example-1": "{{doc-apihelp-example|titleblacklist}}",
|
||||
"apihelp-titleblacklist-example-2": "Replace \"Bar\" with any example string suitable for your language, for instance the translation of \"Example\".\n----\n{{doc-apihelp-example|titleblacklist}}",
|
||||
"apihelp-createaccount-param-ignoretitleblacklist": "{{doc-apihelp-param|createaccount|ignoretitleblacklist}}"
|
||||
"right-titleblacklistlog": "{{doc-right|titleblacklistlog}}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue