Merge "Follow-up Id401d973: mw.Target: Make the "Cite" label in the toolbar translatable"

This commit is contained in:
jenkins-bot 2014-05-11 07:18:10 +00:00 committed by Gerrit Code Review
commit b84bceda7a
4 changed files with 18 additions and 15 deletions

View file

@ -697,6 +697,7 @@ $wgResourceModules += array(
'visualeditor-toolbar-insert',
'visualeditor-toolbar-savedialog',
'visualeditor-toolbar-style-tooltip',
'visualeditor-toolbar-cite-label',
'visualeditor-viewpage-savewarning',
'visualeditor-wikitext-warning-title',
'visualeditor-window-title',

View file

@ -26,19 +26,19 @@
"visualeditor-beta-label": "beta",
"visualeditor-beta-warning": "VisualEditor is in 'beta'. You may encounter software issues, and you may not be able to edit parts of the page. Click \"{{int:visualeditor-ca-editsource}}\" to switch to wikitext mode unsaved changes will be lost.",
"visualeditor-browserwarning": "You are using a browser which is not officially supported by VisualEditor.",
"visualeditor-ca-createlocaldescriptionsource": "Add local description source",
"visualeditor-ca-createsource": "Create source",
"visualeditor-ca-editlocaldescriptionsource": "Edit local description source",
"visualeditor-ca-editsource": "Edit source",
"visualeditor-ca-editsource-section": "edit source",
"visualeditor-ca-editlocaldescriptionsource": "Edit local description source",
"visualeditor-ca-createlocaldescriptionsource": "Add local description source",
"visualeditor-ca-ve-create": "VisualEditor",
"visualeditor-ca-ve-edit": "VisualEditor",
"visualeditor-ca-ve-edit-section": "VisualEditor",
"visualeditor-categories-tool": "Categories",
"visualeditor-cite-tool-name-web": "Website",
"visualeditor-cite-tool-name-book": "Book",
"visualeditor-cite-tool-name-news": "Newspaper",
"visualeditor-cite-tool-name-journal": "Journal",
"visualeditor-cite-tool-name-news": "Newspaper",
"visualeditor-cite-tool-name-web": "Website",
"visualeditor-desc": "Visual editor for MediaWiki",
"visualeditor-descriptionpagelink": "Project:VisualEditor",
"visualeditor-dialog-beta-welcome-action-continue": "Continue",
@ -75,8 +75,8 @@
"visualeditor-dialog-meta-categories-data-label": "Categories",
"visualeditor-dialog-meta-categories-defaultsort-label": "Sort this page by default as",
"visualeditor-dialog-meta-categories-hidden": "This category is set not to show on pages to which it is added.",
"visualeditor-dialog-meta-categories-input-matchingcategorieslabel": "Matching categories",
"visualeditor-dialog-meta-categories-input-hiddencategorieslabel": "Hidden categories",
"visualeditor-dialog-meta-categories-input-matchingcategorieslabel": "Matching categories",
"visualeditor-dialog-meta-categories-input-movecategorylabel": "Move this category here",
"visualeditor-dialog-meta-categories-input-newcategorylabel": "New category",
"visualeditor-dialog-meta-categories-input-placeholder": "Add a category",
@ -100,8 +100,8 @@
"visualeditor-dialog-meta-settings-newsectioneditlink-force": "Yes",
"visualeditor-dialog-meta-settings-newsectioneditlink-label": "Show a tab on this page to add a new section",
"visualeditor-dialog-meta-settings-nocontentconvert-label": "Don't convert content between language variants",
"visualeditor-dialog-meta-settings-nogallery-label": "Disable gallery",
"visualeditor-dialog-meta-settings-noeditsection-label": "Disable the edit links next to each heading on this page.",
"visualeditor-dialog-meta-settings-nogallery-label": "Disable gallery",
"visualeditor-dialog-meta-settings-notitleconvert-label": "Don't convert title between language variants",
"visualeditor-dialog-meta-settings-redirect-label": "Redirect this page to",
"visualeditor-dialog-meta-settings-redirect-placeholder": "Target page for redirection",
@ -173,7 +173,6 @@
"visualeditor-linkinspector-suggest-redirect-page": "{{PLURAL:$1|Redirect page|Redirect pages}}",
"visualeditor-loadwarning": "Error loading data from server: $1. Would you like to retry?",
"visualeditor-loadwarning-token": "Error loading edit token from server: $1. Would you like to retry?",
"visualeditor-timeout":"It looks like full editing is currently unavailable. Would you like to edit in source mode instead?",
"visualeditor-mainnamespacepagelink": "Project:Main namespace",
"visualeditor-media-input-placeholder": "Search for media",
"visualeditor-meta-tool": "Options",
@ -231,7 +230,9 @@
"visualeditor-saveerror": "Error saving data to server: $1.",
"visualeditor-serializeerror": "Error loading data from server: $1.",
"visualeditor-settings-tool": "Page settings",
"visualeditor-timeout":"It looks like full editing is currently unavailable. Would you like to edit in source mode instead?",
"visualeditor-toolbar-cancel": "Cancel",
"visualeditor-toolbar-cite-label": "Cite",
"visualeditor-toolbar-format-tooltip": "Format paragraph",
"visualeditor-toolbar-savedialog": "Save page",
"visualeditor-toolbar-style-tooltip": "Style text",

View file

@ -31,19 +31,19 @@
"visualeditor-beta-label": "Text of tool in the toolbar that highlights that VisualEditor is still in beta.\n{{Identical|Beta}}",
"visualeditor-beta-warning": "Note shown when user clicks on 'beta' label in VisualEditor, warning users that the software may have issues.\n\nRefers to {{msg-mw|Visualeditor-ca-editsource}}.",
"visualeditor-browserwarning": "Edit notice shown when VisualEditor loads, warning users that their browser is not officially supported.",
"visualeditor-ca-createlocaldescriptionsource": "Text for the \"Create local description source\" tab, shown if the local description page of a file in a foreign repository (e.g. Wikimedia Commons) does not yet exist. The tab allows the user to edit the local description page in the wikitext source code editor.\n\nCf. {{msg-mw|Create-local}}",
"visualeditor-ca-createsource": "Text for the create source link in the tab dropdown, if the page doesn't exist. It's shown next to the message {{msg-mw|vector-view-create}}, so they should be similar (for example, use a similar translation for \"Create\").\n\nIf the page exists, the following link text is used: {{msg-mw|Visualeditor-ca-editsource}}",
"visualeditor-ca-editlocaldescriptionsource": "Text for the \"Edit local description source\" tab, if the page exists and the page is the local description of a file in a foreign repository (e.g. Wikimedia Commons). The tab allows the user to edit the local description page in the wikitext source code editor.\n\nCf. {{msg-mw|Edit-local}}",
"visualeditor-ca-editsource": "Text for the \"Edit source\" tab, if the page exists.\n\nIf the page doesn't exist, the following link text is used: {{msg-mw|Visualeditor-ca-createsource}}\n\nUsed in:\n* {{msg-mw|Visualeditor-beta-warning}}\n* {{msg-mw|Visualeditor-wikitext-warning}}\n{{Identical|Edit source}}",
"visualeditor-ca-editsource-section": "Used as link text for \"edit source\" mode of section edit links.\n\nCorresponds to the {{msg-mw|editsection}} message for default mode.\n{{Identical|Edit source}}",
"visualeditor-ca-editlocaldescriptionsource": "Text for the \"Edit local description source\" tab, if the page exists and the page is the local description of a file in a foreign repository (e.g. Wikimedia Commons). The tab allows the user to edit the local description page in the wikitext source code editor.\n\nCf. {{msg-mw|Edit-local}}",
"visualeditor-ca-createlocaldescriptionsource": "Text for the \"Create local description source\" tab, shown if the local description page of a file in a foreign repository (e.g. Wikimedia Commons) does not yet exist. The tab allows the user to edit the local description page in the wikitext source code editor.\n\nCf. {{msg-mw|Create-local}}",
"visualeditor-ca-ve-create": "Link text of the dedicated VisualEditor \"Create\" tab.\n{{Identical|VisualEditor}}",
"visualeditor-ca-ve-edit": "Link text of the dedicated VisualEditor {{msg-mw|Edit}} tab.\n{{Identical|VisualEditor}}",
"visualeditor-ca-ve-edit-section": "{{Identical|VisualEditor}}",
"visualeditor-categories-tool": "Tool for opening the categories section of the meta dialog.\n{{Identical|Category}}",
"visualeditor-cite-tool-name-web": "Title of tool that inserts a citation for a website.\n{{Identical|Website}}",
"visualeditor-cite-tool-name-book": "Title of tool that inserts a citation for a book.\n{{Identical|Book}}",
"visualeditor-cite-tool-name-news": "Title of tool that inserts a citation for a news.\n{{Identical|Newspaper}}",
"visualeditor-cite-tool-name-journal": "Title of tool that inserts a citation for a journal",
"visualeditor-cite-tool-name-news": "Title of tool that inserts a citation for a news.\n{{Identical|Newspaper}}",
"visualeditor-cite-tool-name-web": "Title of tool that inserts a citation for a website.\n{{Identical|Website}}",
"visualeditor-desc": "{{desc|name=VisualEditor|url=http://www.mediawiki.org/wiki/Extension:VisualEditor}}",
"visualeditor-descriptionpagelink": "{{doc-important|Do not translate \"Project\"; it is automatically converted to the wiki's project namespace.}}\nName of a page describing the use of VisualEditor in this project.\n\nUsed in:\n* {{msg-mw|Tag-visualeditor}}\n* {{msg-mw|Tag-visualeditor-description}}\n* {{msg-mw|Tag-visualeditor-needcheck}}\n* {{msg-mw|Tag-visualeditor-needcheck-description}}",
"visualeditor-dialog-beta-welcome-action-continue": "Used as label for the Continue button which is used to close the dialog and continue using VisualEditor.\n{{Identical|Continue}}",
@ -80,8 +80,8 @@
"visualeditor-dialog-meta-categories-data-label": "Label for the categories sub-section.\n{{Identical|Category}}",
"visualeditor-dialog-meta-categories-defaultsort-label": "Label for field setting the category default sort",
"visualeditor-dialog-meta-categories-hidden": "Text shown on the category popup if the category is hidden",
"visualeditor-dialog-meta-categories-input-matchingcategorieslabel": "Label for hidden suggested category or categories",
"visualeditor-dialog-meta-categories-input-hiddencategorieslabel": "{{Identical|Hidden category}}",
"visualeditor-dialog-meta-categories-input-matchingcategorieslabel": "Label for hidden suggested category or categories",
"visualeditor-dialog-meta-categories-input-movecategorylabel": "Label for moving a given category or categories to end of list",
"visualeditor-dialog-meta-categories-input-newcategorylabel": "Label for a suggested uncreated category",
"visualeditor-dialog-meta-categories-input-placeholder": "Placeholder text for category input\n{{Identical|Add category}}",
@ -105,8 +105,8 @@
"visualeditor-dialog-meta-settings-newsectioneditlink-force": "Label for the option to force the display of a new section creating link.\n{{Identical|Yes}}",
"visualeditor-dialog-meta-settings-newsectioneditlink-label": "Prompt to let the user set the new section creating link behavior.\n\nFollowed by the following buttons:\n* {{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-force}}\n* {{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-default}}\n* {{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-disable}}",
"visualeditor-dialog-meta-settings-nocontentconvert-label": "Prompt for the checkbox to let the user disable content conversion between language variants on the page.",
"visualeditor-dialog-meta-settings-nogallery-label": "Prompt for the checkbox to let the user disable gallery on the page.",
"visualeditor-dialog-meta-settings-noeditsection-label": "Prompt for the checkbox to let the user disable section edit links on the page.",
"visualeditor-dialog-meta-settings-nogallery-label": "Prompt for the checkbox to let the user disable gallery on the page.",
"visualeditor-dialog-meta-settings-notitleconvert-label": "Prompt for the checkbox to let the user disable title conversion between language variants on the page.",
"visualeditor-dialog-meta-settings-redirect-label": "Label for the checkbox to let the user redirect the page.\n\nFollowed by input box which has the placeholder {{msg-mw|Visualeditor-dialog-meta-settings-redirect-placeholder}}.",
"visualeditor-dialog-meta-settings-redirect-placeholder": "Placeholder for the target search box letting the user redirect the page.\n\nPreceded by the checkbox label {{msg-mw|Visualeditor-dialog-meta-settings-redirect-label}}.",
@ -178,7 +178,6 @@
"visualeditor-linkinspector-suggest-redirect-page": "Label for suggested redirect pages in the link inspector. Parameters:\n* $1 - number of redirect pages, used for plural\n{{Identical|Redirect page}}",
"visualeditor-loadwarning": "Text (JavaScript confirm()) shown when the editor fails to load properly.\n\nParameters:\n* $1 - the error message from the server, in English. e.g. \"parsoidserver-http-bad-status: 404\"",
"visualeditor-loadwarning-token": "Text (JavaScript confirm()) shown when the editor fails to load properly.\n\nParameters:\n* $1 - the error message from the server.",
"visualeditor-timeout": "Text (JavaScript confirm()) shown when the editor fails to load properly due to a 504 Gateway Timeout error.",
"visualeditor-mainnamespacepagelink": "Name of a page describing the main namespace (NS0) in this project.\n{{doc-important|Do not translate \"Project\"; it is automatically converted to the wiki's project namespace.}}",
"visualeditor-media-input-placeholder": "Place holder text for media search input",
"visualeditor-meta-tool": "Text of tool in the toolbar the lets users set categories, language links and other page settings.\n{{Identical|Options}}",
@ -236,7 +235,9 @@
"visualeditor-saveerror": "Text shown when the editor fails to save properly.\n\nParameters:\n* $1 is an error message, in English.",
"visualeditor-serializeerror": "Text shown when the editor fails to load the wikitext for saving.\n\nParameters:\n* $1 is an error message, in English.",
"visualeditor-settings-tool": "Text of tool in the toolbar the lets users set specific page settings.\n{{Identical|Page settings}}",
"visualeditor-timeout": "Text (JavaScript confirm()) shown when the editor fails to load properly due to a 504 Gateway Timeout error.",
"visualeditor-toolbar-cancel": "Label text for button to exit from VisualEditor.\n{{Identical|Cancel}}",
"visualeditor-toolbar-cite-label": "Label text for the toolbar button for inserting customized references.",
"visualeditor-toolbar-format-tooltip": "Tooltip text for the paragraph formatting menu which contains the following items:\n* {{msg-mw|Visualeditor-formatdropdown-format-paragraph}}\n* {{msg-mw|Visualeditor-formatdropdown-format-mw-heading1}}\n* {{msg-mw|Visualeditor-formatdropdown-format-mw-heading2}}\n* {{msg-mw|Visualeditor-formatdropdown-format-mw-heading3}}\n* {{msg-mw|Visualeditor-formatdropdown-format-mw-heading4}}\n* {{msg-mw|Visualeditor-formatdropdown-format-mw-heading5}}\n* {{msg-mw|Visualeditor-formatdropdown-format-mw-heading6}}\n* {{msg-mw|Visualeditor-formatdropdown-format-preformatted}}",
"visualeditor-toolbar-savedialog": "Label text for button to open save dialog.\n\nUsed in:\n* {{msg-mw|Guidedtour-tour-gettingstartedtasktoolbarve-click-save-description}}.\n{{Identical|Save page}}",
"visualeditor-toolbar-style-tooltip": "Tooltip text for the text styling menu which has the following items:\n* {{msg-mw|Visualeditor-annotationbutton-bold-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-code-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-italic-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-language-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-link-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-strikethrough-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-subscript-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-superscript-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-underline-tooltip}}",

View file

@ -205,7 +205,7 @@ ve.init.mw.Target.static.toolbarGroups = [
// Cite
{
'type': 'list',
'label': 'Cite',
'label': OO.ui.deferMsg( 'visualeditor-toolbar-cite-label' ),
'indicator': 'down',
'include': [ { 'group': 'cite' } ]
},