mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 02:38:40 +00:00
(bug 42123) Add i18n for aliennated content tool tip.
Change-Id: Ibb98d256fb989cd69407b487df673ee22f8c9758
This commit is contained in:
parent
ba01a76363
commit
c7fd1819a3
|
@ -41,6 +41,7 @@ $messages['en'] = array(
|
|||
'visualeditor-loadwarning' => 'Error loading data from server: $1. Would you like to retry?',
|
||||
'visualeditor-saveerror' => 'Error saving data to server: $1.',
|
||||
'visualeditor-editsummary' => 'Describe what you changed',
|
||||
'visualeditor-aliennode-tooltip' => 'Sorry, this element cannot be edited using the VisualEditor',
|
||||
);
|
||||
|
||||
/** Message documentation (Message documentation)
|
||||
|
|
|
@ -334,6 +334,7 @@ $wgResourceModules += array(
|
|||
'visualeditor-historybutton-redo-tooltip',
|
||||
'visualeditor-viewpage-savewarning',
|
||||
'visualeditor-saveerror',
|
||||
'visualeditor-aliennode-tooltip',
|
||||
),
|
||||
),
|
||||
'ext.visualEditor.icons-raster' => $wgVisualEditorResourceTemplate + array(
|
||||
|
|
|
@ -85,8 +85,7 @@ ve.inheritClass( ve.ce.Surface, ve.EventEmitter );
|
|||
ve.ce.Surface.static = {};
|
||||
|
||||
ve.ce.Surface.static.$phantomTemplate = $( '<div class="ve-ce-phantom" draggable="false"></div>' )
|
||||
// TODO: I18N
|
||||
.attr( 'title', 'Sorry, this element cannot be edited with the Visual Editor' );
|
||||
.attr( 'title', ve.msg ( 'visualeditor-aliennode-tooltip' ) );
|
||||
|
||||
/* Methods */
|
||||
|
||||
|
|
Loading…
Reference in a new issue