Version: (using KDE KDE 3.1.94) Installed from: Compiled From Sources Compiler: Gcc 3 OS: Linux This problem is found in KDevelop. The menuitem Preferences/&Configure KDevelop... is a KStdAction item, and the text "&Configure KDevelop..." is composed from i18n string "&Configure %1..." and app name "KDevelop". The text on status bar for this menu item is "Configure KDevelop" in en_US locale. It is generated by manipulating the i18n string "&Configure %1..." to "Configure %1". In many other language this won't work. For example in zh_CN we translate "&Configure %1..." to "???? %1 (&C)". So the forged status text in KDevelop becomes "???? KDevelop (C)". This is not neat or consistent with other status text. Suggestion: don't manipulate i18n string "&Configure %1...", add to generate status text. Simply adding another i18n string "Configure %1" for KStdAction status text would correct it.
beautifyToolTip() is a bad joke.
CVS commit by mattr: Don't use beautifyToolTip on the KStdAction for 'Configure KDevelop'. This fixes bug 71926 but since it involves an i18n change, so i won't backport unless told to. Please advise. BUG: 71926 CCMAIL: kde-i18n-doc@kde.org M +2 -2 mainwindowshare.cpp 1.50.2.1 --- kdevelop/src/mainwindowshare.cpp #1.50:1.50.2.1 @@ -157,6 +157,6 @@ void MainWindowShare::createActions() action = KStdAction::preferences(this, SLOT(slotSettings()), m_pMainWnd->actionCollection(), "settings_configure" ); - action->setToolTip(beautifyToolTip(action->text())); - action->setWhatsThis(QString("<b>%1</b><p>%2").arg(beautifyToolTip(action->text())).arg(i18n("Lets you customize KDevelop."))); + action->setToolTip( i18n( "Configure KDevelop" ) ); + action->setWhatsThis(QString("<b>%1</b><p>%2").arg(i18n( "Configure KDevelop" )).arg(i18n("Lets you customize KDevelop."))); m_toggleStatusbar = KStdAction::showToolbar(this, SLOT(slotToggleStatusbar()),m_pMainWnd->actionCollection(), "settings_statusbar");