[PATCH] dirstate: translate forgotten string

Simon Heimberg simohe at besonet.ch
Fri May 8 05:02:59 CDT 2009


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1241762040 -7200
# Node ID 94d099e5f5668384202ab1614ce4163344ac501f
# Parent  2bb6548a8fa6a04f91071932b53b1b969e06a388
dirstate: translate forgotten string

diff -r 2bb6548a8fa6 -r 94d099e5f566 mercurial/dirstate.py
--- a/mercurial/dirstate.py	Don Mai 07 19:08:25 2009 +0200
+++ b/mercurial/dirstate.py	Fre Mai 08 07:54:00 2009 +0200
@@ -427,7 +427,7 @@
             badfn = match.bad
 
         def badtype(f, mode):
-            kind = 'unknown'
+            kind = _('unknown')
             if stat.S_ISCHR(mode): kind = _('character device')
             elif stat.S_ISBLK(mode): kind = _('block device')
             elif stat.S_ISFIFO(mode): kind = _('fifo')


More information about the Mercurial-devel mailing list