mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
Use Alt-key shortcuts for menu entries.
This commit is contained in:
parent
dc405a43d1
commit
8fc3856782
2 changed files with 9 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Form implementation generated from reading ui file 'ui/editor.ui'
|
||||
#
|
||||
# Created: Fri Nov 5 00:55:45 2010
|
||||
# Created: Wed Feb 9 07:42:24 2011
|
||||
# by: PyQt4 UI code generator 4.7.3
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
|
@ -48,6 +48,7 @@ class Ui_EditorDialog(object):
|
|||
|
||||
def retranslateUi(self, EditorDialog):
|
||||
EditorDialog.setWindowTitle(_("LinkChecker source view"))
|
||||
self.menuFile.setTitle(_("File"))
|
||||
self.actionSave.setText(_("Save"))
|
||||
self.menuFile.setTitle(_("&File"))
|
||||
self.actionSave.setText(_("&Save"))
|
||||
self.actionSave.setShortcut(_("Ctrl+S"))
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<widget class="QMenuBar" name="menubar">
|
||||
<widget class="QMenu" name="menuFile">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
<string>&File</string>
|
||||
</property>
|
||||
<addaction name="actionSave"/>
|
||||
</widget>
|
||||
|
|
@ -59,7 +59,10 @@
|
|||
</layout>
|
||||
<action name="actionSave">
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
<string>&Save</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+S</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
|
|
|
|||
Loading…
Reference in a new issue