-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translate shortcuts and descriptions in settings dialog (bug #66558)
* gui-preferences-sc.cc: use the empty constructor for all shortcut objects for not already adding the untranslated descritpon to the hash with all shortcuts; (init_all_shortcuts): function for later adding description, key and key-sequence to all shortcuts * gui-preferences-sc.h; new function init_all_shortcuts * gui-preferences.cc (sc_pref::def_text): use option QKeySequence::NativeText resulting in translated strings for a key sequence * gui-settings.cc (sc_value): see gui-preferences.cc (sc_pref::def_text) * octave-qobject.cc: include gui-preferences-sc.h; (config_translators): call init_all_shortcuts for setting up shortcuts * shortcuts-tree-widget.cc (keyPressEvent): use QKeySequence::NativeText; (shortcuts_tree_widget): sort the shortcuts with respect to their descritpion, not with respect to their keys
- Loading branch information
1 parent
7c7df53
commit 4971f42
Showing
6 changed files
with
345 additions
and
145 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters