Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
5947a68f
Commit
5947a68f
authored
9 years ago
by
Wagner Bruna
Browse files
Options
Downloads
Patches
Plain Diff
bookmarks: add i18n hints to bookmark sync states
parent
2bb0e6cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mercurial/bookmarks.py
+9
-0
9 additions, 0 deletions
mercurial/bookmarks.py
with
9 additions
and
0 deletions
mercurial/bookmarks.py
+
9
−
0
View file @
5947a68f
...
...
@@ -463,5 +463,6 @@
def
add
(
b
,
id
,
st
):
incomings
.
append
(
"
%-25s %s
\n
"
%
(
b
,
getid
(
id
)))
for
b
,
scid
,
dcid
in
addsrc
:
# i18n: "added" refers to a bookmark
add
(
b
,
scid
,
_
(
'
added
'
))
for
b
,
scid
,
dcid
in
advsrc
:
...
...
@@ -466,4 +467,5 @@
add
(
b
,
scid
,
_
(
'
added
'
))
for
b
,
scid
,
dcid
in
advsrc
:
# i18n: "advanced" refers to a bookmark
add
(
b
,
scid
,
_
(
'
advanced
'
))
for
b
,
scid
,
dcid
in
diverge
:
...
...
@@ -468,4 +470,5 @@
add
(
b
,
scid
,
_
(
'
advanced
'
))
for
b
,
scid
,
dcid
in
diverge
:
# i18n: "diverged" refers to a bookmark
add
(
b
,
scid
,
_
(
'
diverged
'
))
for
b
,
scid
,
dcid
in
differ
:
...
...
@@ -470,5 +473,6 @@
add
(
b
,
scid
,
_
(
'
diverged
'
))
for
b
,
scid
,
dcid
in
differ
:
# i18n: "changed" refers to a bookmark
add
(
b
,
scid
,
_
(
'
changed
'
))
if
not
incomings
:
...
...
@@ -501,5 +505,6 @@
def
add
(
b
,
id
,
st
):
outgoings
.
append
(
"
%-25s %s
\n
"
%
(
b
,
getid
(
id
)))
for
b
,
scid
,
dcid
in
addsrc
:
# i18n: "added refers to a bookmark
add
(
b
,
scid
,
_
(
'
added
'
))
for
b
,
scid
,
dcid
in
adddst
:
...
...
@@ -504,4 +509,5 @@
add
(
b
,
scid
,
_
(
'
added
'
))
for
b
,
scid
,
dcid
in
adddst
:
# i18n: "deleted" refers to a bookmark
add
(
b
,
'
'
*
40
,
_
(
'
deleted
'
))
for
b
,
scid
,
dcid
in
advsrc
:
...
...
@@ -506,4 +512,5 @@
add
(
b
,
'
'
*
40
,
_
(
'
deleted
'
))
for
b
,
scid
,
dcid
in
advsrc
:
# i18n: "advanced" refers to a bookmark
add
(
b
,
scid
,
_
(
'
advanced
'
))
for
b
,
scid
,
dcid
in
diverge
:
...
...
@@ -508,4 +515,5 @@
add
(
b
,
scid
,
_
(
'
advanced
'
))
for
b
,
scid
,
dcid
in
diverge
:
# i18n: "diverged" refers to a bookmark
add
(
b
,
scid
,
_
(
'
diverged
'
))
for
b
,
scid
,
dcid
in
differ
:
...
...
@@ -510,5 +518,6 @@
add
(
b
,
scid
,
_
(
'
diverged
'
))
for
b
,
scid
,
dcid
in
differ
:
# i18n: "changed" refers to a bookmark
add
(
b
,
scid
,
_
(
'
changed
'
))
if
not
outgoings
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment