mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
add missing localization markup
This commit is contained in:
parent
5d7000644a
commit
065de91b14
@ -174,9 +174,9 @@ def prepush(repo, remote, force, revs, newbranch):
|
||||
hint = _("did you forget to merge? "
|
||||
"use push -f to force")
|
||||
if branch is not None:
|
||||
repo.ui.note("new remote heads on branch '%s'\n" % branch)
|
||||
repo.ui.note(_("new remote heads on branch '%s'\n") % branch)
|
||||
for h in dhs:
|
||||
repo.ui.note("new remote head %s\n" % short(h))
|
||||
repo.ui.note(_("new remote head %s\n") % short(h))
|
||||
if error:
|
||||
raise util.Abort(error, hint=hint)
|
||||
|
||||
|
@ -124,7 +124,7 @@ def _runcatch(req):
|
||||
ui.warn(_("hg: %s\n") % inst.args[1])
|
||||
commands.help_(ui, 'shortlist')
|
||||
except error.OutOfBandError, inst:
|
||||
ui.warn("abort: remote error:\n")
|
||||
ui.warn(_("abort: remote error:\n"))
|
||||
ui.warn(''.join(inst.args))
|
||||
except error.RepoError, inst:
|
||||
ui.warn(_("abort: %s!\n") % inst)
|
||||
|
@ -128,7 +128,7 @@ def findcommonheads(ui, local, remote,
|
||||
return (srvheadhashes, False, srvheadhashes,)
|
||||
|
||||
if sample and util.all(yesno):
|
||||
ui.note("all local heads known remotely\n")
|
||||
ui.note(_("all local heads known remotely\n"))
|
||||
ownheadhashes = dag.externalizeall(ownheads)
|
||||
return (ownheadhashes, True, srvheadhashes,)
|
||||
|
||||
@ -158,7 +158,7 @@ def findcommonheads(ui, local, remote,
|
||||
break
|
||||
|
||||
if full:
|
||||
ui.note("sampling from both directions\n")
|
||||
ui.note(_("sampling from both directions\n"))
|
||||
sample = _takefullsample(dag, undecided, size=fullsamplesize)
|
||||
elif common:
|
||||
# use cheapish initial sample
|
||||
|
Loading…
Reference in New Issue
Block a user