Patchwork [stable] largefiles: enhance error message to make it more i18n-friendly

login
register
mail settings
Submitter Wagner Bruna
Date Jan. 21, 2013, 3:45 p.m.
Message ID <bffb8843c624e6c16413.1358783140@mwagner.paulista.local>
Download mbox | patch
Permalink /patch/694/
State Accepted
Commit abfbb04fab8ef4f804a1d7cbd2ffa3d61f8e518e
Headers show

Comments

Wagner Bruna - Jan. 21, 2013, 3:45 p.m.
# HG changeset patch
# User Wagner Bruna <wbruna@softwareexpress.com.br>
# Date 1358782924 7200
# Branch stable
# Node ID bffb8843c624e6c16413e01495a1016360fcc138
# Parent  7c2af3954d29f8ae38831282b71531200c27885b
largefiles: enhance error message to make it more i18n-friendly
Matt Mackall - Jan. 21, 2013, 7:16 p.m.
On Mon, 2013-01-21 at 13:45 -0200, Wagner Bruna wrote:
> # HG changeset patch
> # User Wagner Bruna <wbruna@softwareexpress.com.br>
> # Date 1358782924 7200
> # Branch stable
> # Node ID bffb8843c624e6c16413e01495a1016360fcc138
> # Parent  7c2af3954d29f8ae38831282b71531200c27885b
> largefiles: enhance error message to make it more i18n-friendly

Queued for stable, thanks.

Patch

diff --git a/hgext/largefiles/basestore.py b/hgext/largefiles/basestore.py
--- a/hgext/largefiles/basestore.py
+++ b/hgext/largefiles/basestore.py
@@ -26,7 +26,7 @@  class StoreError(Exception):
         self.detail = detail
 
     def longmessage(self):
-        return (_("error getting %s from %s for %s: %s\n") %
+        return (_("error getting id %s from url %s for file %s: %s\n") %
                  (self.hash, self.url, self.filename, self.detail))
 
     def __str__(self):