From 74ab4688cc90b0ff1fabf4ec38cb976f5e94e1c9 Mon Sep 17 00:00:00 2001 From: Rob Moen Date: Fri, 6 Jul 2012 16:28:16 -0700 Subject: [PATCH] Bug 38008 - VisualEditor: Tooltips for formatting menu are broken Fixed inconsistency with message name being used for format dropdown Change-Id: Id1e3dd1fe61177d7592b449e227ef2527f4d30a1 --- VisualEditor.php | 3 +-- modules/ve/ui/tools/ve.ui.FormatDropdownTool.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VisualEditor.php b/VisualEditor.php index a236636778..740facb5c7 100644 --- a/VisualEditor.php +++ b/VisualEditor.php @@ -257,9 +257,8 @@ $wgResourceModules += array( 'visualeditor-tooltip-help', 'visualeditor', 'visualeditor-linkinspector-title', - 'visualeditor-linkinspector-tooltip', 'visualeditor-linkinspector-label-pagetitle', - 'visualeditor-formatdropdown-tooltip', + 'visualeditor-formatdropdown-title', 'visualeditor-formatdropdown-format-paragraph', 'visualeditor-formatdropdown-format-heading1', 'visualeditor-formatdropdown-format-heading2', diff --git a/modules/ve/ui/tools/ve.ui.FormatDropdownTool.js b/modules/ve/ui/tools/ve.ui.FormatDropdownTool.js index 83c42ed0a5..45fa200cfb 100644 --- a/modules/ve/ui/tools/ve.ui.FormatDropdownTool.js +++ b/modules/ve/ui/tools/ve.ui.FormatDropdownTool.js @@ -200,7 +200,7 @@ ve.FormatDropdownTool.prototype.updateState = function( annotations, nodes ) { ve.ui.Tool.tools.format = { 'constructor': ve.FormatDropdownTool, 'name': 'format', - 'title': ve.msg( 'visualeditor-formatdropdown-tooltip' ) + 'title': ve.msg( 'visualeditor-formatdropdown-title' ) }; /* Inheritance */