mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Add tooltips to the drop-down menus explaining what they do"
This commit is contained in:
commit
4ac1b42690
|
@ -764,8 +764,10 @@ $wgResourceModules += array(
|
|||
'visualeditor-serializeerror',
|
||||
'visualeditor-settings-tool',
|
||||
'visualeditor-toolbar-cancel',
|
||||
'visualeditor-toolbar-format-tooltip',
|
||||
'visualeditor-toolbar-insert',
|
||||
'visualeditor-toolbar-savedialog',
|
||||
'visualeditor-toolbar-style-tooltip',
|
||||
'visualeditor-viewpage-savewarning',
|
||||
'visualeditor-wikitext-warning-title',
|
||||
'visualeditor-window-title',
|
||||
|
|
|
@ -189,7 +189,9 @@
|
|||
"visualeditor-serializeerror": "Error loading data from server: $1.",
|
||||
"visualeditor-settings-tool": "Page settings",
|
||||
"visualeditor-toolbar-cancel": "Cancel",
|
||||
"visualeditor-toolbar-format-tooltip": "Format paragraph",
|
||||
"visualeditor-toolbar-savedialog": "Save page",
|
||||
"visualeditor-toolbar-style-tooltip": "Style text",
|
||||
"visualeditor-usernamespacepagelink": "Project:User namespace",
|
||||
"visualeditor-viewpage-savewarning": "Are you sure you want to go back to view mode without saving first?",
|
||||
"visualeditor-wikitext-warning": "You are using VisualEditor - [[{{MediaWiki:visualeditor-wikitext-warning-link}}|wikitext]] does not work here. Click \"{{int:visualeditor-ca-editsource}}\" to edit the page in wikitext mode – unsaved changes will be lost.",
|
||||
|
|
|
@ -194,10 +194,12 @@
|
|||
"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-toolbar-cancel": "Label text for button to exit from VisualEditor.\n{{Identical|Cancel}}",
|
||||
"visualeditor-toolbar-format-tooltip": "Tooltip text for the paragraph formatting menu",
|
||||
"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",
|
||||
"visualeditor-usernamespacepagelink": "Name of a page describing the user namespace (NS2) in this project.\n{{doc-important|Do not translate \"Project\"; it is automatically converted to the wiki's project namespace.}}",
|
||||
"visualeditor-viewpage-savewarning": "Text shown when the user tries to leave the editor without saving their changes",
|
||||
"visualeditor-wikitext-warning": "Contents of notification displayed when Wikitext has been detected.\n\nRefers to:\n* {{msg-mw|Visualeditor-wikitext-warning-link}}\n* {{msg-mw|Visualeditor-ca-editsource}}",
|
||||
"visualeditor-wikitext-warning-link": "Link to page describing what Wikitext is.\n\nUsed in:\n* {{msg-mw|Visualeditor-wikitext-warning}}.",
|
||||
"visualeditor-wikitext-warning-title": "Title of notification displayed when Wikitext has been detected"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -170,6 +170,7 @@ ve.init.mw.Target.static.toolbarGroups = [
|
|||
{
|
||||
'type': 'menu',
|
||||
'indicator': 'down',
|
||||
'title': OO.ui.deferMsg( 'visualeditor-toolbar-format-tooltip' ),
|
||||
'include': [ { 'group': 'format' } ],
|
||||
'promote': [ 'paragraph' ],
|
||||
'demote': [ 'preformatted', 'heading1' ]
|
||||
|
@ -179,6 +180,7 @@ ve.init.mw.Target.static.toolbarGroups = [
|
|||
'type': 'list',
|
||||
'icon': 'text-style',
|
||||
'indicator': 'down',
|
||||
'title': OO.ui.deferMsg( 'visualeditor-toolbar-style-tooltip' ),
|
||||
'include': [ { 'group': 'textStyle' }, 'clear' ],
|
||||
'promote': [ 'bold', 'italic' ],
|
||||
'demote': [ 'strikethrough', 'code', 'underline', 'clear' ]
|
||||
|
|
Loading…
Reference in a new issue