Public bug reported:

Binary package hint: kdebase

New KDE logout dialog in feisty has wrong code, looking at the code it
does things like

FlatButton* btnHalt = new FlatButton( frame );
btnHalt->setTextLabel( i18n("&Turn Off"), false );
btnHalt->setPixmap( DesktopIcon( "exit") );
btnHalt->setAccel( ALT+Key_T );
hbuttonbox2->addWidget ( btnHalt );
connect(btnHalt, SIGNAL(clicked()), SLOT(slotHalt()));

The setAccel call is wrong because it makes that code not work with
translations

With the dialog translated, to Catalan (for example)

"&Turn Off" is "&Atura", so the user gets the A underlined indicating
Alt+A will activate that option, but it does not because of the setAccel
call.

All occurrences of setAccel in that patch should be removed.

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
New kde logout dialog does not work with internationalization
https://bugs.launchpad.net/bugs/109061
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to