> 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

Hello David,

It works :)

Thanks.

--appa



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to