Bug 56736

Summary: Element tooltips doesn't support i18n
Product: [Applications] kalzium Reporter: Andrey Cherepanov <sibskull>
Component: generalAssignee: Carsten Niehaus <cniehaus>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrey Cherepanov 2003-04-02 06:14:31 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources

When I use Kalzium on Russian locale, element name in statusbar is shown localized, but in tooltips it is still on English.
Comment 1 cniehaus 2003-04-04 15:27:53 UTC
Subject: kdeedu/kalzium/src

CVS commit by cniehaus: 

fix #56736   

CCMAIL: 56736-done@bugs.kde.org


  M +1 -1      kalzium.cpp   1.64


--- kdeedu/kalzium/src/kalzium.cpp  #1.63:1.64
@@ -169,5 +169,5 @@ void Kalzium::setupAllElementKPButtons()
                 //Now we add the WhatsThis-help for each button
                 QWhatsThis::add( element[n], i18n("Click here to get information about %1.").arg(eleminfo.Symbol) );
-                QToolTip::add( element[n], eleminfo.Name );
+                QToolTip::add( element[n], eleminfo.Name.utf8() );
         }