Bug 52093 - Toolbar ToolTips don't switch language
Toolbar ToolTips don't switch language
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
Nightly (Please specify date)
All All
: P2 minor (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-10-26 17:50 UTC by Rainer Jung
Modified: 2011-10-26 21:13 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Jung 2011-10-26 17:50:44 UTC
The new toolbar added in BZ 52040 uses a fixed language for the ToolTips. Like the Menus, the language should switch if one changes it via the Options - Choose Language Menu.

For the Menues this is done by implementing LocaleChangeListener in o.a.j.gui.util.JMeterMenuBar and calling updateMenuElement() from localeChanged(). For the toolbar it could be a little bit more complicated because JMeterToolBar is static and there's no reference to the ToolBar. I haven't checked whether a reference to the ToolBar would suffice, or the original IconToolbarBean List is needed.

Thanks for the cool new feature.

Regards,

Rainer
Comment 1 Philippe Mouawad 2011-10-26 21:13:15 UTC
Date: Wed Oct 26 21:14:33 2011
New Revision: 1189464

URL: http://svn.apache.org/viewvc?rev=1189464&view=rev
Log:
Bug 52093 - Toolbar ToolTips don't switch language

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java
   jakarta/jmeter/trunk/xdocs/changes.xml