mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-12-03 11:56:16 +00:00
b2574932e9
* deprecated means "please do not use this". * required means "you must use this". * suggested means "it's a good idea to use this". * optional means "you typically don't need this". There is no combination that makes any sense. They are really exclusive to each other. Still we have to keep the three checkboxes for backwards compatibility reasons. It was always possible (and will probably continue to be possible) to have more than one of the three fields enabled. While users like VisualEditor will make a good guess (e.g. ignore the rest when "deprecated" is checked) I really think we should not attempt to hide (and auto-fix) it in this dialog. That's why the proposed code continues to show the old checkboxes when more than one is checked. Bug: T202851 Change-Id: I994268d658602761b180f489bedb50b91fe0c419
120 lines
7.4 KiB
JSON
120 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-aliases": "Aliases",
|
|
"templatedata-modal-table-param-autovalue": "Auto value",
|
|
"templatedata-modal-table-param-default": "Default ($1)",
|
|
"templatedata-modal-table-param-status": "Status",
|
|
"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-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"
|
|
}
|