diff 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
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Wed Oct 31 03:59:28 2012 +0900
+++ b/hgext/largefiles/overrides.py	Wed Oct 31 03:59:28 2012 +0900
@@ -1023,7 +1023,7 @@
         toupload = getoutgoinglfiles(ui, repo, None, **opts)
         if toupload is None:
             # i18n: column positioning for "hg summary"
-            ui.status(_('largefiles: No remote repo\n'))
+            ui.status(_('largefiles: (no remote repo)\n'))
         elif not toupload:
             # i18n: column positioning for "hg summary"
             ui.status(_('largefiles: (no files to upload)\n'))