On Tue, 6 Mar 2012 11:29:58 +0100, António P. P. Almeida wrote:

> I applied the patch in #109 with no success:
> 
> [..]

What about this patch?

$ git diff
diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py
index 51fe96b..c8448d1 100755
--- a/curses/wicd-curses.py
+++ b/curses/wicd-curses.py
@@ -75,10 +75,14 @@ from os import system
 CURSES_REV=wpath.curses_revision
 
 # Fix strings in wicd-curses
-from wicd.translations import language, _
+from wicd.translations import language
+from wicd.translations import _ as orig_
 for i in language.keys():
     language[i] = language[i].decode('utf8')
 
+def _(s):
+    return orig_(s).decode('utf8')
+
 ########################################
 ##### SUPPORT CLASSES
 ########################################


Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to