1
0
Fork 0

Rename "Shortcuts" to "Hotkeys"

This commit is contained in:
Duncan Ogilvie 2022-09-03 14:06:15 +02:00
parent 23a3f92d6b
commit 1b3e462969
4 changed files with 7 additions and 7 deletions

View File

@ -771,10 +771,10 @@
<normaloff>:/icons/images/shortcut.png</normaloff>:/icons/images/shortcut.png</iconset>
</property>
<property name="text">
<string>Shortcuts</string>
<string>Hotkeys</string>
</property>
<property name="statusTip">
<string>Open the Shortcuts dialog to customize keyboard shortcuts.</string>
<string>Open the Hotkeys dialog to customize keyboard hotkeys.</string>
</property>
</action>
<action name="actionDonate">

View File

@ -12,7 +12,7 @@ ShortcutsDialog::ShortcutsDialog(QWidget* parent) : QDialog(parent), ui(new Ui::
// x64 has no model-view-controler pattern
QStringList tblHeader;
tblHeader << tr("Action") << tr("Shortcut");
tblHeader << tr("Action") << tr("Hotkey");
currentRow = 0;
@ -96,7 +96,7 @@ void ShortcutsDialog::updateShortcut()
// Ask user if they want to override the shortcut.
QMessageBox mbox;
mbox.setIcon(QMessageBox::Question);
mbox.setText("This shortcut is already used by action \"" + i.value().Name + "\".\n"
mbox.setText("This hotkey is already used by the action \"" + i.value().Name + "\".\n"
"Do you want to override it?");
mbox.setStandardButtons(QMessageBox::No | QMessageBox::Yes);
mbox.setDefaultButton(QMessageBox::Yes);

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Shortcuts</string>
<string>Hotkeys</string>
</property>
<property name="windowIcon">
<iconset resource="../../resource.qrc">
@ -33,7 +33,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Shortcut</string>
<string>Hotkey</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>

View File

@ -465,7 +465,7 @@ Configuration::Configuration() : QObject(), noMoreMsgbox(false)
defaultShortcuts.insert("OptionsPreferences", Shortcut({tr("Options"), tr("Preferences")}, "", true));
defaultShortcuts.insert("OptionsAppearance", Shortcut({tr("Options"), tr("Appearance")}, "", true));
defaultShortcuts.insert("OptionsShortcuts", Shortcut({tr("Options"), tr("Shortcuts")}, "", true));
defaultShortcuts.insert("OptionsShortcuts", Shortcut({tr("Options"), tr("Hotkeys")}, "", true));
defaultShortcuts.insert("OptionsTopmost", Shortcut({tr("Options"), tr("Topmost")}, "Ctrl+F5", true));
defaultShortcuts.insert("OptionsReloadStylesheet", Shortcut({tr("Options"), tr("Reload style.css")}, "", true));