mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Don't use a changeable tooltip for edit notices
We can't change tooltips once they're set for buttons like this (they're static), so for values that can change we need to use language that does not need plurals. Bug: 61891 Change-Id: I78e5576e348ee92bc39315fd494b3398ae2c14bf
This commit is contained in:
parent
0f45399082
commit
532077b57f
|
@ -593,6 +593,7 @@ $wgResourceModules += array(
|
|||
'visualeditor-differror',
|
||||
'visualeditor-editconflict',
|
||||
'visualeditor-editnotices-tool',
|
||||
'visualeditor-editnotices-tooltip',
|
||||
'visualeditor-editsummary',
|
||||
'visualeditor-editsummary-bytes-remaining',
|
||||
'visualeditor-feedback-tool',
|
||||
|
|
|
@ -126,6 +126,7 @@
|
|||
"visualeditor-differror": "Error loading data from server: $1.",
|
||||
"visualeditor-editconflict": "Your changes could not be saved because of an edit conflict. Would you like to resolve the conflict manually?",
|
||||
"visualeditor-editnotices-tool": "$1 {{PLURAL:$1|notice|notices}}",
|
||||
"visualeditor-editnotices-tooltip": "Edit notices",
|
||||
"visualeditor-editsummary": "Describe what you changed",
|
||||
"visualeditor-editsummary-bytes-remaining": "The number of bytes remaining",
|
||||
"visualeditor-formatdropdown-format-mw-heading1": "Page title",
|
||||
|
|
|
@ -131,6 +131,7 @@
|
|||
"visualeditor-differror": "Text shown when the editor fails to load the diff.\n\nParameters:\n* $1 is an error message, in English.",
|
||||
"visualeditor-editconflict": "Alert message when saving a page causes an edit conflict",
|
||||
"visualeditor-editnotices-tool": "Text of tool in the toolbar that shows edit notices (such as [[MediaWiki:Editnotice-0]] and [[MediaWiki:Editnotice-8/en]]) as a pop-up.\n\nParameters:\n* $1 - the number of notices",
|
||||
"visualeditor-editnotices-tooltip": "Text of tooltip for the tool in the toolbar that shows edit notices",
|
||||
"visualeditor-editsummary": "Label for the edit summary box",
|
||||
"visualeditor-editsummary-bytes-remaining": "Tooltip for the number of bytes remaining in the edit summary",
|
||||
"visualeditor-formatdropdown-format-mw-heading1": "Item in the MediaWiki formatting dropdown for a level 1 heading (page title).\n{{Related|Visualeditor-formatdropdown}}\n{{Identical|Page title}}",
|
||||
|
|
|
@ -62,7 +62,7 @@ OO.inheritClass( ve.ui.MWNoticesPopupTool, OO.ui.PopupTool );
|
|||
ve.ui.MWNoticesPopupTool.static.name = 'notices';
|
||||
ve.ui.MWNoticesPopupTool.static.group = 'utility';
|
||||
ve.ui.MWNoticesPopupTool.static.icon = 'alert';
|
||||
ve.ui.MWNoticesPopupTool.static.title = OO.ui.deferMsg( 'visualeditor-editnotices-tool' );
|
||||
ve.ui.MWNoticesPopupTool.static.title = OO.ui.deferMsg( 'visualeditor-editnotices-tooltip' );
|
||||
ve.ui.MWNoticesPopupTool.static.autoAdd = false;
|
||||
|
||||
/* Methods */
|
||||
|
|
Loading…
Reference in a new issue