(bug 42123) Add i18n for aliennated content tool tip.

Change-Id: Ibb98d256fb989cd69407b487df673ee22f8c9758
This commit is contained in:
James D. Forrester 2012-11-16 16:52:22 -08:00
parent ba01a76363
commit c7fd1819a3
3 changed files with 3 additions and 2 deletions

View file

@ -41,6 +41,7 @@ $messages['en'] = array(
'visualeditor-loadwarning' => 'Error loading data from server: $1. Would you like to retry?', 'visualeditor-loadwarning' => 'Error loading data from server: $1. Would you like to retry?',
'visualeditor-saveerror' => 'Error saving data to server: $1.', 'visualeditor-saveerror' => 'Error saving data to server: $1.',
'visualeditor-editsummary' => 'Describe what you changed', 'visualeditor-editsummary' => 'Describe what you changed',
'visualeditor-aliennode-tooltip' => 'Sorry, this element cannot be edited using the VisualEditor',
); );
/** Message documentation (Message documentation) /** Message documentation (Message documentation)

View file

@ -334,6 +334,7 @@ $wgResourceModules += array(
'visualeditor-historybutton-redo-tooltip', 'visualeditor-historybutton-redo-tooltip',
'visualeditor-viewpage-savewarning', 'visualeditor-viewpage-savewarning',
'visualeditor-saveerror', 'visualeditor-saveerror',
'visualeditor-aliennode-tooltip',
), ),
), ),
'ext.visualEditor.icons-raster' => $wgVisualEditorResourceTemplate + array( 'ext.visualEditor.icons-raster' => $wgVisualEditorResourceTemplate + array(

View file

@ -85,8 +85,7 @@ ve.inheritClass( ve.ce.Surface, ve.EventEmitter );
ve.ce.Surface.static = {}; ve.ce.Surface.static = {};
ve.ce.Surface.static.$phantomTemplate = $( '<div class="ve-ce-phantom" draggable="false"></div>' ) ve.ce.Surface.static.$phantomTemplate = $( '<div class="ve-ce-phantom" draggable="false"></div>' )
// TODO: I18N .attr( 'title', ve.msg ( 'visualeditor-aliennode-tooltip' ) );
.attr( 'title', 'Sorry, this element cannot be edited with the Visual Editor' );
/* Methods */ /* Methods */