1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 0463be2

menu: unify "Diff to Local" string and add access key

  • Participants
  • Parent commits 4deb556
  • Branches stable

Comments (0)

Files changed (4)

File tortoisehg/hgqt/filectxactions.py

View file
              _('Compare revisions of the selected file'), self.diffNavigate),
             ('diff', _('&Diff to Parent'), 'visualdiff', 'Ctrl+D',
              _('View file changes in external diff tool'), self.vdiff),
-            ('ldiff', _('Diff to local'), 'ldiff', 'Shift+Ctrl+D',
+            ('ldiff', _('Diff to &Local'), 'ldiff', 'Shift+Ctrl+D',
              _('View changes to current in external diff tool'),
              self.vdifflocal),
             ('edit', _('View at Revision'), 'view-at-revision', 'Shift+Ctrl+E',

File tortoisehg/hgqt/filedialogs.py

View file
             a = menu.addAction(_('&Diff to Parent'))
             a.setIcon(qtlib.getmenuicon('visualdiff'))
             a.triggered.connect(self.onVisualDiff)
-            a = menu.addAction(_('Diff to local...'))
+            a = menu.addAction(_('Diff to &Local'))
             a.setIcon(qtlib.getmenuicon('ldiff'))
             a.triggered.connect(self.onVisualDiffToLocal)
             menu.addSeparator()

File tortoisehg/hgqt/repowidget.py

View file
         entry(menu)
         entry(menu, None, isctx, _('&Diff to Parent'), 'visualdiff',
               self.visualDiffRevision)
-        entry(menu, None, isrev, _('Diff to local...'), 'ldiff',
+        entry(menu, None, isrev, _('Diff to &Local'), 'ldiff',
               self.visualDiffToLocal)
         entry(menu, None, isctx, _('Browse at rev...'), 'hg-annotate',
               self.manifestRevision)

File tortoisehg/hgqt/resolve.py

View file
         cmedit.triggered.connect(self.edit)
         cmv3way = self.rtreecmenu.addAction(_('3-Way Diff'))
         cmv3way.triggered.connect(self.v3way)
-        cmvp0 = self.rtreecmenu.addAction(_('Diff to Local'))
+        cmvp0 = self.rtreecmenu.addAction(_('Diff to &Local'))
         cmvp0.triggered.connect(self.vp0)
         cmvp1 = self.rtreecmenu.addAction(_('Diff to Other'))
         cmvp1.triggered.connect(self.vp1)