mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
b632162245
Note this will make the templatedata API temporarily fail for templates that are affected by this, until their documentation is fixed. I think we have two ways to proceed here: 1. Thanks to Ie572809 we can change the API module to not do the validation again. This allows us to make the validation more strict, but the API module will continue to deliver the same data as before until the parser cache is invalidated. 2. We accept it and merge this patch as it is. The problem is extremely rare and easy to fix. Bug: T333826 Change-Id: I16c7cc2328c47dde196e2dc07edb2eace33a624f
121 lines
7.4 KiB
JSON
121 lines
7.4 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Timo Tijhof",
|
|
"James D. Forrester",
|
|
"Moriel Schottlender",
|
|
"Marielle Volz"
|
|
]
|
|
},
|
|
"templatedata-desc": "Implements data storage for template parameters (using JSON)",
|
|
"templatedata-doc-desc-empty": "No description.",
|
|
"templatedata-doc-format-block": "This template prefers block formatting of parameters.",
|
|
"templatedata-doc-format-custom": "This template has custom formatting.",
|
|
"templatedata-doc-format-inline": "This template prefers inline formatting of parameters.",
|
|
"templatedata-doc-no-params-set": "No parameters specified",
|
|
"templatedata-doc-param-autovalue": "Auto value",
|
|
"templatedata-doc-param-default": "Default",
|
|
"templatedata-doc-param-example": "Example",
|
|
"templatedata-doc-param-desc": "Description",
|
|
"templatedata-doc-param-desc-empty": "no description",
|
|
"templatedata-doc-param-name": "Parameter",
|
|
"templatedata-doc-param-status": "Status",
|
|
"templatedata-doc-param-status-deprecated": "deprecated",
|
|
"templatedata-doc-param-status-optional": "optional",
|
|
"templatedata-doc-param-status-required": "required",
|
|
"templatedata-doc-param-status-suggested": "suggested",
|
|
"templatedata-doc-param-suggestedvalues": "Suggested values",
|
|
"templatedata-doc-param-type": "Type",
|
|
"templatedata-doc-param-type-boolean": "Boolean",
|
|
"templatedata-doc-param-type-content": "Content",
|
|
"templatedata-doc-param-type-date": "Date",
|
|
"templatedata-doc-param-type-line": "Line",
|
|
"templatedata-doc-param-type-number": "Number",
|
|
"templatedata-doc-param-type-string": "String",
|
|
"templatedata-doc-param-type-unbalanced-wikitext": "Unbalanced wikitext",
|
|
"templatedata-doc-param-type-unknown": "Unknown",
|
|
"templatedata-doc-param-type-url": "URL",
|
|
"templatedata-doc-param-type-wiki-file-name": "File",
|
|
"templatedata-doc-param-type-wiki-page-name": "Page name",
|
|
"templatedata-doc-param-type-wiki-template-name": "Template",
|
|
"templatedata-doc-param-type-wiki-user-name": "User",
|
|
"templatedata-doc-params": "Template parameters",
|
|
"templatedata-doc-subpage": "doc",
|
|
"templatedata-editbutton": "Edit template data",
|
|
"templatedata-errormsg-jsonbadformat": "Bad JSON format. You can cancel this operation so you can correct it, delete the current <templatedata> tags and try again, or continue to replace the current template data with a new one.",
|
|
"templatedata-errormsg-insertblank": "Are you sure you want to insert template data with no information?",
|
|
"templatedata-exists-on-related-page": "Please note: there is already a template data block on the related page \"[[$1]]\".",
|
|
"templatedata-helplink": "Information about template data",
|
|
"templatedata-helplink-target": "//www.mediawiki.org/wiki/Special:MyLanguage/Help:TemplateData",
|
|
"templatedata-invalid-unnamed-parameter": "Parameter names cannot be empty. To document unnamed parameters use their internal numbers \"1\", \"2\", and so on.",
|
|
"templatedata-invalid-duplicate-value": "Property \"$1\" (\"$3\") is a duplicate of \"$2\".",
|
|
"templatedata-invalid-empty-array": "Property \"$1\" must have at least one value in its array.",
|
|
"templatedata-invalid-format": "Property \"$1\" is expected to be \"inline\", \"block\", or a valid format string.",
|
|
"templatedata-invalid-length": "Data too large to save ($1 {{PLURAL:$1|byte|bytes}}, {{PLURAL:$2|limit is}} $2)",
|
|
"templatedata-invalid-missing": "Required property \"$1\" not found.",
|
|
"templatedata-invalid-param": "Invalid parameter \"$1\" for property \"$2\".",
|
|
"templatedata-invalid-parse": "Syntax error in JSON.",
|
|
"templatedata-invalid-type": "Property \"$1\" is expected to be of type \"$2\".",
|
|
"templatedata-invalid-unknown": "Unexpected property \"$1\".",
|
|
"templatedata-invalid-value": "Invalid value for property \"$1\".",
|
|
"templatedata-modal-button-add-language": "Add language",
|
|
"templatedata-modal-button-addparam": "Add parameter",
|
|
"templatedata-modal-button-addmap": "Add new map",
|
|
"templatedata-modal-button-apply": "Apply",
|
|
"templatedata-modal-button-back": "Back",
|
|
"templatedata-modal-button-cancel": "Cancel",
|
|
"templatedata-modal-button-changelang": "Change language",
|
|
"templatedata-modal-button-delparam": "Remove parameter information",
|
|
"templatedata-modal-button-done": "Done",
|
|
"templatedata-modal-button-map": "Edit maps",
|
|
"templatedata-modal-button-importParams": "Import parameters",
|
|
"templatedata-modal-button-removemap": "Remove map",
|
|
"templatedata-modal-button-restoreparam": "Restore parameter",
|
|
"templatedata-modal-button-saveparam": "Save",
|
|
"templatedata-modal-confirmcancel": "Are you sure you want to discard your changes?",
|
|
"templatedata-modal-current-language": "Current language: $1",
|
|
"templatedata-modal-errormsg": "Errors found. Please make sure there are no empty or duplicate parameter names, and that the parameter name does not include \"$1\", \"$2\" or \"$3\".",
|
|
"templatedata-modal-errormsg-duplicate-name": "Error found. The chosen name is already in use by another parameter.",
|
|
"templatedata-modal-errormsg-import-noparams": "No new parameters found during import.",
|
|
"templatedata-modal-format-block": "Block",
|
|
"templatedata-modal-format-custom": "Custom",
|
|
"templatedata-modal-format-inline": "Inline",
|
|
"templatedata-modal-format-null": "Unspecified",
|
|
"templatedata-modal-format-placeholder": "Template parameter format string",
|
|
"templatedata-modal-json-error-replace": "Replace",
|
|
"templatedata-modal-notice-import-numparams": "$1 new {{PLURAL:$1|parameter was|parameters were}} imported: $2",
|
|
"templatedata-modal-placeholder-add-new-map-input": "Adding new map...",
|
|
"templatedata-modal-placeholder-paramkey": "Parameter name",
|
|
"templatedata-modal-placeholder-mapinfo": "This template has no maps object",
|
|
"templatedata-modal-placeholder-prompt-map-name": "Enter map name",
|
|
"templatedata-modal-search-input-placeholder": "Search by language name or code",
|
|
"templatedata-modal-table-param-actions": "Actions",
|
|
"templatedata-modal-table-param-aliases": "Aliases",
|
|
"templatedata-modal-table-param-autovalue": "Auto value",
|
|
"templatedata-modal-table-param-default": "Default ($1)",
|
|
"templatedata-modal-table-param-deprecated": "Deprecated",
|
|
"templatedata-modal-table-param-deprecatedValue": "Deprecated guidance",
|
|
"templatedata-modal-table-param-description": "Description ($1)",
|
|
"templatedata-modal-table-param-example": "Example ($1)",
|
|
"templatedata-modal-table-param-importoption": "Add $1 suggested {{PLURAL:$1|parameter|parameters}}",
|
|
"templatedata-modal-table-param-importoption-subtitle": "Including: $1",
|
|
"templatedata-modal-table-param-label": "Label ($1)",
|
|
"templatedata-modal-table-param-name": "Name",
|
|
"templatedata-modal-table-param-required": "Required",
|
|
"templatedata-modal-table-param-suggested": "Suggested",
|
|
"templatedata-modal-table-param-suggestedvalues": "Suggested values",
|
|
"templatedata-modal-placeholder-multiselect": "Add value...",
|
|
"templatedata-modal-table-param-type": "Type",
|
|
"templatedata-modal-table-param-uneditablefield": "Uneditable",
|
|
"templatedata-modal-title": "Template data editor",
|
|
"templatedata-modal-title-addparam": "Add new parameter",
|
|
"templatedata-modal-title-choose-language": "Choose language",
|
|
"templatedata-modal-title-language": "Language",
|
|
"templatedata-modal-title-paramorder": "Parameter order",
|
|
"templatedata-modal-title-templatedesc": "Template description ($1)",
|
|
"templatedata-modal-title-templateformat": "Suggested wikitext formatting",
|
|
"templatedata-modal-title-templateformatstring": "Custom format string",
|
|
"templatedata-modal-title-templateparam-details": "Parameter details: $1",
|
|
"templatedata-modal-title-templateparams": "Template parameters"
|
|
}
|