Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
TortoiseHg
thg-hgtk
Commits
55f2acbe30c2
Commit
89a535ef
authored
Oct 06, 2010
by
Yuya Nishihara
Browse files
repofilter: mark i18n strings
parent
56b96e092412
Changes
1
Hide whitespace changes
Inline
Side-by-side
tortoisehg/hgqt/repofilter.py
View file @
55f2acbe
...
...
@@ -9,6 +9,8 @@
from
PyQt4.QtCore
import
*
from
PyQt4.QtGui
import
*
from
tortoisehg.hgqt.i18n
import
_
class
RepoFilterBar
(
QToolBar
):
"""Toolbar for RepoWidget to filter changesets"""
...
...
@@ -28,14 +30,14 @@ class RepoFilterBar(QToolBar):
def
_initbranchfilter
(
self
):
self
.
branchLabel
=
QToolButton
()
self
.
branchLabel
.
setText
(
"
Branch
"
)
self
.
branchLabel
.
setStatusTip
(
"
Display graph the named branch only
"
)
self
.
branchLabel
.
setText
(
_
(
'
Branch
'
)
)
self
.
branchLabel
.
setStatusTip
(
_
(
'
Display graph the named branch only
'
)
)
self
.
branchLabel
.
setPopupMode
(
QToolButton
.
InstantPopup
)
self
.
branch_menu
=
QMenu
()
cbranch_action
=
self
.
branch_menu
.
addAction
(
"
Display closed branches
"
)
cbranch_action
=
self
.
branch_menu
.
addAction
(
_
(
'
Display closed branches
'
)
)
cbranch_action
.
setCheckable
(
True
)
self
.
cbranch_action
=
cbranch_action
allpar_action
=
self
.
branch_menu
.
addAction
(
"
Include all ancestors
"
)
allpar_action
=
self
.
branch_menu
.
addAction
(
_
(
'
Include all ancestors
'
)
)
allpar_action
.
setCheckable
(
True
)
self
.
allpar_action
=
allpar_action
self
.
branchLabel
.
setMenu
(
self
.
branch_menu
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment