Bug 56736 - Element tooltips doesn't support i18n
Summary: Element tooltips doesn't support i18n
Status: RESOLVED FIXED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Carsten Niehaus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-02 06:14 UTC by Andrey Cherepanov
Modified: 2003-04-04 15:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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() );
         }