mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Move VisualEditor apihelp/apierror messages to a separate i18n file
Should be merged along with the corresponding translatewiki change: I89310a638e75f974af77db313bb9ca090c437bf2 Change-Id: Ie5be8dc09051907d3aea53e33bdd1b3f849ead1e Big: T189982
This commit is contained in:
parent
5d00bca4e7
commit
d80c383ad2
|
@ -163,7 +163,7 @@ module.exports = function ( grunt ) {
|
|||
},
|
||||
banana: {
|
||||
all: [
|
||||
'i18n/{ve-mw,ve-wmf}'
|
||||
'i18n/{ve-mw,ve-mw/api,ve-wmf}'
|
||||
]
|
||||
},
|
||||
jsonlint: {
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
"VisualEditor": [
|
||||
"lib/ve/i18n",
|
||||
"i18n/ve-mw",
|
||||
"i18n/ve-mw/api",
|
||||
"i18n/ve-wmf"
|
||||
]
|
||||
},
|
||||
|
|
68
i18n/ve-mw/api/en.json
Normal file
68
i18n/ve-mw/api/en.json
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Alex Monk",
|
||||
"Amir E. Aharoni",
|
||||
"Anomie",
|
||||
"Christian Williams",
|
||||
"David Lynch",
|
||||
"Ed Sanders",
|
||||
"Erik Moeller",
|
||||
"James D. Forrester",
|
||||
"lokal-profil",
|
||||
"Moriel Schottlender",
|
||||
"Raimond Spekking",
|
||||
"Roan Kattouw",
|
||||
"Rob Moen",
|
||||
"Siebrand Mazeland",
|
||||
"Timo Tijhof",
|
||||
"Trevor Parscal",
|
||||
"Umherirrender",
|
||||
"Yuki Shira"
|
||||
]
|
||||
},
|
||||
"apierror-visualeditor-api-langlinks-error": "Error querying MediaWiki API",
|
||||
"apierror-visualeditor-badcachekey": "No cached serialization found with that key",
|
||||
"apierror-visualeditor-difffailed": "Diff failed",
|
||||
"apierror-visualeditor-docserver-http-error": "$1",
|
||||
"apierror-visualeditor-docserver-http": "HTTP $1",
|
||||
"apierror-visualeditor-docserver-unconfigured": "The VirtualRESTService for the document server is not defined; see https://www.mediawiki.org/wiki/Extension:VisualEditor",
|
||||
"apierror-visualeditor-docserver": "Error contacting the Parsoid/RESTbase server",
|
||||
"apierror-visualeditor-latestnotfound": "Could not find latest revision for title",
|
||||
"apihelp-visualeditor-description": "Returns HTML5 for a page from the Parsoid service.",
|
||||
"apihelp-visualeditor-param-basetimestamp": "When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditor-param-cachekey": "For serialize or diff, use the result of a previous serializeforcache request with this key. Overrides $1html.",
|
||||
"apihelp-visualeditor-param-editintro": "Edit intro to add to notices.",
|
||||
"apihelp-visualeditor-param-etag": "ETag to send.",
|
||||
"apihelp-visualeditor-param-format": "The format of the output.",
|
||||
"apihelp-visualeditor-param-html": "HTML to send to Parsoid to convert to wikitext.",
|
||||
"apihelp-visualeditor-param-oldid": "The revision number to use (defaults to latest revision).",
|
||||
"apihelp-visualeditor-param-paction": "Action to perform.",
|
||||
"apihelp-visualeditor-param-page": "The page to perform actions on.",
|
||||
"apihelp-visualeditor-param-preload": "The page to use content from if the fetched page has no content yet.",
|
||||
"apihelp-visualeditor-param-preloadparams": "Parameters to substitute into the preload page, if present.",
|
||||
"apihelp-visualeditor-param-pst": "Pre-save transform wikitext before sending it to Parsoid (paction=parsefragment).",
|
||||
"apihelp-visualeditor-param-section": "The section on which to act.",
|
||||
"apihelp-visualeditor-param-starttimestamp": "When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditor-param-wikitext": "Wikitext to send to Parsoid to convert to HTML (paction=parsefragment).",
|
||||
"apihelp-visualeditor-summary": "Returns HTML5 for a page from the Parsoid service.",
|
||||
"apihelp-visualeditoredit-description": "Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).",
|
||||
"apihelp-visualeditoredit-param-basetimestamp": "When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditoredit-param-cachekey": "Use the result of a previous serializeforcache request with this key. Overrides $1html.",
|
||||
"apihelp-visualeditoredit-param-captchaid": "Captcha ID (when saving with a captcha response).",
|
||||
"apihelp-visualeditoredit-param-captchaword": "Answer to the captcha (when saving with a captcha response).",
|
||||
"apihelp-visualeditoredit-param-etag": "ETag to send.",
|
||||
"apihelp-visualeditoredit-param-html": "HTML to send to Parsoid in exchange for wikitext.",
|
||||
"apihelp-visualeditoredit-param-minor": "Flag for minor edit.",
|
||||
"apihelp-visualeditoredit-param-needcheck": "When saving, set this parameter if the revision might have roundtrip problems. This will result in the edit being tagged.",
|
||||
"apihelp-visualeditoredit-param-oldid": "The revision number to use. Defaults to latest revision. Use 0 for a new page.",
|
||||
"apihelp-visualeditoredit-param-paction": "Action to perform.",
|
||||
"apihelp-visualeditoredit-param-page": "The page to perform actions on.",
|
||||
"apihelp-visualeditoredit-param-section": "The section on which to act.",
|
||||
"apihelp-visualeditoredit-param-sectiontitle": "Title for new section.",
|
||||
"apihelp-visualeditoredit-param-starttimestamp": "When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditoredit-param-summary": "Edit summary.",
|
||||
"apihelp-visualeditoredit-param-watch": "Add the page to the current user's watchlist.",
|
||||
"apihelp-visualeditoredit-param-wikitext": "The wikitext to act with.",
|
||||
"apihelp-visualeditoredit-summary": "Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service)."
|
||||
}
|
77
i18n/ve-mw/api/qqq.json
Normal file
77
i18n/ve-mw/api/qqq.json
Normal file
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Amire80",
|
||||
"Beta16",
|
||||
"Erik Moeller",
|
||||
"Jdforrester",
|
||||
"Lloffiwr",
|
||||
"Mooeypoo",
|
||||
"Mormegil",
|
||||
"Nike",
|
||||
"PoLuX124",
|
||||
"Purodha",
|
||||
"Raymond",
|
||||
"Sagan",
|
||||
"Sayak Sarkar",
|
||||
"Shirayuki",
|
||||
"Siebrand",
|
||||
"Trevor Parscal",
|
||||
"UV",
|
||||
"Arjunaraoc",
|
||||
"Robby",
|
||||
"Nemo bis",
|
||||
"Liuxinyu970226",
|
||||
"Matma Rex",
|
||||
"Umherirrender",
|
||||
"Yejianfei",
|
||||
"Metalhead64",
|
||||
"Tacsipacsi",
|
||||
"Woytecr"
|
||||
]
|
||||
},
|
||||
"apierror-visualeditor-api-langlinks-error": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-badcachekey": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-difffailed": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-docserver-http-error": "{{doc-apierror}}\n\nParameters:\n* $1 - Error message, probably in English",
|
||||
"apierror-visualeditor-docserver-http": "{{doc-apierror}}\n\nParameters:\n* $1 - HTTP status code (numeric)",
|
||||
"apierror-visualeditor-docserver-unconfigured": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-docserver": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-latestnotfound": "{{doc-apierror}}",
|
||||
"apihelp-visualeditor-description": "{{doc-apihelp-description|visualeditor}}",
|
||||
"apihelp-visualeditor-param-basetimestamp": "{{doc-apihelp-param|visualeditor|basetimestamp}}",
|
||||
"apihelp-visualeditor-param-cachekey": "In computer science, in the context of data storage, serialization is the process of translating data structures or object state into a format that can be stored (for example, in a file or memory buffer, or transmitted across a network connection link) and reconstructed later in the same or another computer environment.\n{{doc-apihelp-param|visualeditor|cachekey}}",
|
||||
"apihelp-visualeditor-param-editintro": "{{doc-apihelp-param|visualeditor|editintro}}",
|
||||
"apihelp-visualeditor-param-etag": "{{doc-apihelp-param|visualeditor|etag}}",
|
||||
"apihelp-visualeditor-param-format": "{{doc-apihelp-param|visualeditor|format}}",
|
||||
"apihelp-visualeditor-param-html": "{{doc-apihelp-param|visualeditor|html}}",
|
||||
"apihelp-visualeditor-param-oldid": "{{doc-apihelp-param|visualeditor|oldid}}",
|
||||
"apihelp-visualeditor-param-paction": "{{doc-apihelp-param|visualeditor|paction}}",
|
||||
"apihelp-visualeditor-param-page": "{{doc-apihelp-param|visualeditor|page}}",
|
||||
"apihelp-visualeditor-param-preload": "{{doc-apihelp-param|visualeditor|preload}}",
|
||||
"apihelp-visualeditor-param-preloadparams": "{{doc-apihelp-param|visualeditor|preloadparams}}",
|
||||
"apihelp-visualeditor-param-pst": "{{doc-apihelp-param|visualeditor|pst}}",
|
||||
"apihelp-visualeditor-param-section": "{{doc-apihelp-param|visualeditor|section}}",
|
||||
"apihelp-visualeditor-param-starttimestamp": "{{doc-apihelp-param|visualeditor|starttimestamp}}",
|
||||
"apihelp-visualeditor-param-wikitext": "{{doc-apihelp-param|visualeditor|wikitext}}",
|
||||
"apihelp-visualeditor-summary": "{{doc-apihelp-summary|visualeditor}}",
|
||||
"apihelp-visualeditoredit-description": "{{doc-apihelp-description|visualeditoredit}}",
|
||||
"apihelp-visualeditoredit-param-basetimestamp": "{{doc-apihelp-param|visualeditoredit|basetimestamp}}",
|
||||
"apihelp-visualeditoredit-param-cachekey": "{{doc-apihelp-param|visualeditoredit|cachekey}}",
|
||||
"apihelp-visualeditoredit-param-captchaid": "{{doc-apihelp-param|visualeditoredit|captchaid}}",
|
||||
"apihelp-visualeditoredit-param-captchaword": "{{doc-apihelp-param|visualeditoredit|captchaword}}",
|
||||
"apihelp-visualeditoredit-param-etag": "{{doc-apihelp-param|visualeditoredit|etag}}",
|
||||
"apihelp-visualeditoredit-param-html": "{{doc-apihelp-param|visualeditoredit|html}}",
|
||||
"apihelp-visualeditoredit-param-minor": "{{doc-apihelp-param|visualeditoredit|minor}}",
|
||||
"apihelp-visualeditoredit-param-needcheck": "{{doc-apihelp-param|visualeditoredit|needcheck}}",
|
||||
"apihelp-visualeditoredit-param-oldid": "{{doc-apihelp-param|visualeditoredit|oldid}}",
|
||||
"apihelp-visualeditoredit-param-paction": "{{doc-apihelp-param|visualeditoredit|paction}}",
|
||||
"apihelp-visualeditoredit-param-page": "{{doc-apihelp-param|visualeditoredit|page}}",
|
||||
"apihelp-visualeditoredit-param-section": "{{doc-apihelp-param|visualeditoredit|section}}",
|
||||
"apihelp-visualeditoredit-param-sectiontitle": "{{doc-apihelp-param|visualeditoredit|sectiontitle}}",
|
||||
"apihelp-visualeditoredit-param-starttimestamp": "{{doc-apihelp-param|visualeditoredit|starttimestamp}}",
|
||||
"apihelp-visualeditoredit-param-summary": "{{doc-apihelp-param|visualeditoredit|summary}}\n{{Identical|Edit summary}}",
|
||||
"apihelp-visualeditoredit-param-watch": "{{doc-apihelp-param|visualeditoredit|watch}}",
|
||||
"apihelp-visualeditoredit-param-wikitext": "{{doc-apihelp-param|visualeditoredit|wikitext}}",
|
||||
"apihelp-visualeditoredit-summary": "{{doc-apihelp-summary|visualeditoredit}}"
|
||||
}
|
|
@ -18,50 +18,6 @@
|
|||
},
|
||||
"accesskey-ca-editsource": "e",
|
||||
"accesskey-ca-ve-edit": "v",
|
||||
"apierror-visualeditor-api-langlinks-error": "Error querying MediaWiki API",
|
||||
"apierror-visualeditor-badcachekey": "No cached serialization found with that key",
|
||||
"apierror-visualeditor-difffailed": "Diff failed",
|
||||
"apierror-visualeditor-docserver-http-error": "$1",
|
||||
"apierror-visualeditor-docserver-http": "HTTP $1",
|
||||
"apierror-visualeditor-docserver-unconfigured": "The VirtualRESTService for the document server is not defined; see https://www.mediawiki.org/wiki/Extension:VisualEditor",
|
||||
"apierror-visualeditor-docserver": "Error contacting the Parsoid/RESTbase server",
|
||||
"apierror-visualeditor-latestnotfound": "Could not find latest revision for title",
|
||||
"apihelp-visualeditor-description": "Returns HTML5 for a page from the Parsoid service.",
|
||||
"apihelp-visualeditor-param-basetimestamp": "When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditor-param-cachekey": "For serialize or diff, use the result of a previous serializeforcache request with this key. Overrides $1html.",
|
||||
"apihelp-visualeditor-param-editintro": "Edit intro to add to notices.",
|
||||
"apihelp-visualeditor-param-etag": "ETag to send.",
|
||||
"apihelp-visualeditor-param-format": "The format of the output.",
|
||||
"apihelp-visualeditor-param-html": "HTML to send to Parsoid to convert to wikitext.",
|
||||
"apihelp-visualeditor-param-oldid": "The revision number to use (defaults to latest revision).",
|
||||
"apihelp-visualeditor-param-paction": "Action to perform.",
|
||||
"apihelp-visualeditor-param-page": "The page to perform actions on.",
|
||||
"apihelp-visualeditor-param-preload": "The page to use content from if the fetched page has no content yet.",
|
||||
"apihelp-visualeditor-param-preloadparams": "Parameters to substitute into the preload page, if present.",
|
||||
"apihelp-visualeditor-param-pst": "Pre-save transform wikitext before sending it to Parsoid (paction=parsefragment).",
|
||||
"apihelp-visualeditor-param-section": "The section on which to act.",
|
||||
"apihelp-visualeditor-param-starttimestamp": "When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditor-param-wikitext": "Wikitext to send to Parsoid to convert to HTML (paction=parsefragment).",
|
||||
"apihelp-visualeditor-summary": "Returns HTML5 for a page from the Parsoid service.",
|
||||
"apihelp-visualeditoredit-description": "Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).",
|
||||
"apihelp-visualeditoredit-param-basetimestamp": "When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditoredit-param-cachekey": "Use the result of a previous serializeforcache request with this key. Overrides $1html.",
|
||||
"apihelp-visualeditoredit-param-captchaid": "Captcha ID (when saving with a captcha response).",
|
||||
"apihelp-visualeditoredit-param-captchaword": "Answer to the captcha (when saving with a captcha response).",
|
||||
"apihelp-visualeditoredit-param-etag": "ETag to send.",
|
||||
"apihelp-visualeditoredit-param-html": "HTML to send to Parsoid in exchange for wikitext.",
|
||||
"apihelp-visualeditoredit-param-minor": "Flag for minor edit.",
|
||||
"apihelp-visualeditoredit-param-needcheck": "When saving, set this parameter if the revision might have roundtrip problems. This will result in the edit being tagged.",
|
||||
"apihelp-visualeditoredit-param-oldid": "The revision number to use. Defaults to latest revision. Use 0 for a new page.",
|
||||
"apihelp-visualeditoredit-param-paction": "Action to perform.",
|
||||
"apihelp-visualeditoredit-param-page": "The page to perform actions on.",
|
||||
"apihelp-visualeditoredit-param-section": "The section on which to act.",
|
||||
"apihelp-visualeditoredit-param-sectiontitle": "Title for new section.",
|
||||
"apihelp-visualeditoredit-param-starttimestamp": "When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.",
|
||||
"apihelp-visualeditoredit-param-summary": "Edit summary.",
|
||||
"apihelp-visualeditoredit-param-watch": "Add the page to the current user's watchlist.",
|
||||
"apihelp-visualeditoredit-param-wikitext": "The wikitext to act with.",
|
||||
"apihelp-visualeditoredit-summary": "Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).",
|
||||
"collabpad-doctitle": "CollabPad: $1",
|
||||
"collabpad-import-subtitle": "Imported from $1",
|
||||
"collabpad": "CollabPad",
|
||||
|
|
|
@ -32,50 +32,6 @@
|
|||
},
|
||||
"accesskey-ca-editsource": "{{doc-accesskey}}",
|
||||
"accesskey-ca-ve-edit": "{{doc-accesskey}}",
|
||||
"apierror-visualeditor-api-langlinks-error": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-badcachekey": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-difffailed": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-docserver-http-error": "{{doc-apierror}}\n\nParameters:\n* $1 - Error message, probably in English",
|
||||
"apierror-visualeditor-docserver-http": "{{doc-apierror}}\n\nParameters:\n* $1 - HTTP status code (numeric)",
|
||||
"apierror-visualeditor-docserver-unconfigured": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-docserver": "{{doc-apierror}}",
|
||||
"apierror-visualeditor-latestnotfound": "{{doc-apierror}}",
|
||||
"apihelp-visualeditor-description": "{{doc-apihelp-description|visualeditor}}",
|
||||
"apihelp-visualeditor-param-basetimestamp": "{{doc-apihelp-param|visualeditor|basetimestamp}}",
|
||||
"apihelp-visualeditor-param-cachekey": "In computer science, in the context of data storage, serialization is the process of translating data structures or object state into a format that can be stored (for example, in a file or memory buffer, or transmitted across a network connection link) and reconstructed later in the same or another computer environment.\n{{doc-apihelp-param|visualeditor|cachekey}}",
|
||||
"apihelp-visualeditor-param-editintro": "{{doc-apihelp-param|visualeditor|editintro}}",
|
||||
"apihelp-visualeditor-param-etag": "{{doc-apihelp-param|visualeditor|etag}}",
|
||||
"apihelp-visualeditor-param-format": "{{doc-apihelp-param|visualeditor|format}}",
|
||||
"apihelp-visualeditor-param-html": "{{doc-apihelp-param|visualeditor|html}}",
|
||||
"apihelp-visualeditor-param-oldid": "{{doc-apihelp-param|visualeditor|oldid}}",
|
||||
"apihelp-visualeditor-param-paction": "{{doc-apihelp-param|visualeditor|paction}}",
|
||||
"apihelp-visualeditor-param-page": "{{doc-apihelp-param|visualeditor|page}}",
|
||||
"apihelp-visualeditor-param-preload": "{{doc-apihelp-param|visualeditor|preload}}",
|
||||
"apihelp-visualeditor-param-preloadparams": "{{doc-apihelp-param|visualeditor|preloadparams}}",
|
||||
"apihelp-visualeditor-param-pst": "{{doc-apihelp-param|visualeditor|pst}}",
|
||||
"apihelp-visualeditor-param-section": "{{doc-apihelp-param|visualeditor|section}}",
|
||||
"apihelp-visualeditor-param-starttimestamp": "{{doc-apihelp-param|visualeditor|starttimestamp}}",
|
||||
"apihelp-visualeditor-param-wikitext": "{{doc-apihelp-param|visualeditor|wikitext}}",
|
||||
"apihelp-visualeditor-summary": "{{doc-apihelp-summary|visualeditor}}",
|
||||
"apihelp-visualeditoredit-description": "{{doc-apihelp-description|visualeditoredit}}",
|
||||
"apihelp-visualeditoredit-param-basetimestamp": "{{doc-apihelp-param|visualeditoredit|basetimestamp}}",
|
||||
"apihelp-visualeditoredit-param-cachekey": "{{doc-apihelp-param|visualeditoredit|cachekey}}",
|
||||
"apihelp-visualeditoredit-param-captchaid": "{{doc-apihelp-param|visualeditoredit|captchaid}}",
|
||||
"apihelp-visualeditoredit-param-captchaword": "{{doc-apihelp-param|visualeditoredit|captchaword}}",
|
||||
"apihelp-visualeditoredit-param-etag": "{{doc-apihelp-param|visualeditoredit|etag}}",
|
||||
"apihelp-visualeditoredit-param-html": "{{doc-apihelp-param|visualeditoredit|html}}",
|
||||
"apihelp-visualeditoredit-param-minor": "{{doc-apihelp-param|visualeditoredit|minor}}",
|
||||
"apihelp-visualeditoredit-param-needcheck": "{{doc-apihelp-param|visualeditoredit|needcheck}}",
|
||||
"apihelp-visualeditoredit-param-oldid": "{{doc-apihelp-param|visualeditoredit|oldid}}",
|
||||
"apihelp-visualeditoredit-param-paction": "{{doc-apihelp-param|visualeditoredit|paction}}",
|
||||
"apihelp-visualeditoredit-param-page": "{{doc-apihelp-param|visualeditoredit|page}}",
|
||||
"apihelp-visualeditoredit-param-section": "{{doc-apihelp-param|visualeditoredit|section}}",
|
||||
"apihelp-visualeditoredit-param-sectiontitle": "{{doc-apihelp-param|visualeditoredit|sectiontitle}}",
|
||||
"apihelp-visualeditoredit-param-starttimestamp": "{{doc-apihelp-param|visualeditoredit|starttimestamp}}",
|
||||
"apihelp-visualeditoredit-param-summary": "{{doc-apihelp-param|visualeditoredit|summary}}\n{{Identical|Edit summary}}",
|
||||
"apihelp-visualeditoredit-param-watch": "{{doc-apihelp-param|visualeditoredit|watch}}",
|
||||
"apihelp-visualeditoredit-param-wikitext": "{{doc-apihelp-param|visualeditoredit|wikitext}}",
|
||||
"apihelp-visualeditoredit-summary": "{{doc-apihelp-summary|visualeditoredit}}",
|
||||
"collabpad-doctitle": "Name of CollabPad special page with a document subtitle",
|
||||
"collabpad-import-subtitle": "Subtitle of CollabPad page, linking to the page the content was imported from",
|
||||
"collabpad": "Name of CollabPad special page",
|
||||
|
|
Loading…
Reference in a new issue