Mercurial > hg
comparison hgext/largefiles/overrides.py @ 17892:ba0a1701c81a stable
i18n: add "i18n" comment to column positioning messages of "hg summary"
This comment makes it easier to distinguish such messages from others
for message translators.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 31 Oct 2012 03:59:28 +0900 |
parents | d1d0140287b8 |
children | afa7e6fa820b |
comparison
equal
deleted
inserted
replaced
17891:8f85151ce201 | 17892:ba0a1701c81a |
---|---|
1020 repo.lfstatus = False | 1020 repo.lfstatus = False |
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 ui.status(_('largefiles: No remote repo\n')) | 1026 ui.status(_('largefiles: No remote repo\n')) |
1026 elif not toupload: | 1027 elif not toupload: |
1028 # i18n: column positioning for "hg summary" | |
1027 ui.status(_('largefiles: (no files to upload)\n')) | 1029 ui.status(_('largefiles: (no files to upload)\n')) |
1028 else: | 1030 else: |
1031 # i18n: column positioning for "hg summary" | |
1029 ui.status(_('largefiles: %d to upload\n') % len(toupload)) | 1032 ui.status(_('largefiles: %d to upload\n') % len(toupload)) |
1030 | 1033 |
1031 def scmutiladdremove(orig, repo, pats=[], opts={}, dry_run=None, | 1034 def scmutiladdremove(orig, repo, pats=[], opts={}, dry_run=None, |
1032 similarity=None): | 1035 similarity=None): |
1033 if not lfutil.islfilesrepo(repo): | 1036 if not lfutil.islfilesrepo(repo): |