Mercurial > hg
comparison hgext/largefiles/overrides.py @ 17894:afa7e6fa820b stable
i18n: change output of largefiles for summary to distinguish from one for outgoing
Before this patch, largefiles extension uses "largefiles: No remote
repo" message not only for "outgoing" as status report, but also for
"summary" as summarized information.
This sharing prevents message translators from inserting white spaces
between "largefiles:" and "No remote repo" in translated message to
align column position of summarized information.
This patch changes output of largefiles for summary to distinguish
from one for outgoing.
This patch puts "no remote repo" into parentheses, because this is not
summarized information.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 31 Oct 2012 03:59:28 +0900 |
parents | ba0a1701c81a |
children | 848c428bb5ee e388273f3ad1 |
comparison
equal
deleted
inserted
replaced
17893:4d1da97aa7e7 | 17894:afa7e6fa820b |
---|---|
1021 | 1021 |
1022 if opts.pop('large', None): | 1022 if opts.pop('large', None): |
1023 toupload = getoutgoinglfiles(ui, repo, None, **opts) | 1023 toupload = getoutgoinglfiles(ui, repo, None, **opts) |
1024 if toupload is None: | 1024 if toupload is None: |
1025 # i18n: column positioning for "hg summary" | 1025 # i18n: column positioning for "hg summary" |
1026 ui.status(_('largefiles: No remote repo\n')) | 1026 ui.status(_('largefiles: (no remote repo)\n')) |
1027 elif not toupload: | 1027 elif not toupload: |
1028 # i18n: column positioning for "hg summary" | 1028 # i18n: column positioning for "hg summary" |
1029 ui.status(_('largefiles: (no files to upload)\n')) | 1029 ui.status(_('largefiles: (no files to upload)\n')) |
1030 else: | 1030 else: |
1031 # i18n: column positioning for "hg summary" | 1031 # i18n: column positioning for "hg summary" |