we are showing the shortcut to the user so use QKeySequence::NativeText to get it translated
svn path=/trunk/KDE/kdebase/workspace/; revision=878359
This commit is contained in:
parent
6581455b93
commit
102be68572
1 changed files with 2 additions and 2 deletions
|
@ -2466,7 +2466,7 @@ void Workspace::helperDialog( const QString& message, const Client* c )
|
|||
KAction* action = qobject_cast<KAction*>(keys->action( "Window Operations Menu" ));
|
||||
assert( action != NULL );
|
||||
QString shortcut = QString( "%1 (%2)" ).arg( action->text() )
|
||||
.arg( action->globalShortcut().primary().toString());
|
||||
.arg( action->globalShortcut().primary().toString(QKeySequence::NativeText));
|
||||
args << "--msgbox" <<
|
||||
i18n( "You have selected to show a window without its border.\n"
|
||||
"Without the border, you will not be able to enable the border "
|
||||
|
@ -2480,7 +2480,7 @@ void Workspace::helperDialog( const QString& message, const Client* c )
|
|||
KAction* action = qobject_cast<KAction*>(keys->action( "Window Operations Menu" ));
|
||||
assert( action != NULL );
|
||||
QString shortcut = QString( "%1 (%2)" ).arg( action->text() )
|
||||
.arg( action->globalShortcut().primary().toString());
|
||||
.arg( action->globalShortcut().primary().toString(QKeySequence::NativeText));
|
||||
args << "--msgbox" <<
|
||||
i18n( "You have selected to show a window in fullscreen mode.\n"
|
||||
"If the application itself does not have an option to turn the fullscreen "
|
||||
|
|
Loading…
Reference in a new issue