[Uml-devel] [Bug 71418] New: I18N done wrong on Umbrello worktoolbar

pezz at tkwcy.ee pezz at tkwcy.ee
Mon Dec 29 03:41:01 UTC 2003

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: I18N done wrong on Umbrello worktoolbar
           Product: umbrello
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: pezz at tkwcy.ee

Version:           1.2-beta (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.6.0

String extraction AI is not that smart to detect strings that are given as string input to function, so this definition works, but is I18N-wise wrong and most of worktoolbar button texts are not extracted for translation:

void WorkToolBar::insertHotBtn(ToolBar_Buttons tbb, const char *label) {
       insertButton(m_Pixmaps[tbb], tbb, true, i18n(label));

I'll attach patch that corrects the problem.

More information about the umbrello-devel mailing list