mirror of
https://github.com/gryf/wicd.git
synced 2026-03-11 20:15:46 +01:00
we are at failing tests, good
This commit is contained in:
@@ -27,7 +27,7 @@ import locale
|
|||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
import string
|
import string
|
||||||
import gobject
|
from gi.repository import GObject as gobject
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from subprocess import Popen, STDOUT, PIPE, call
|
from subprocess import Popen, STDOUT, PIPE, call
|
||||||
from subprocess import getoutput
|
from subprocess import getoutput
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ def get_gettext():
|
|||||||
langs += ["en_US"]
|
langs += ["en_US"]
|
||||||
lang = gettext.translation('wicd', local_path, languages=langs,
|
lang = gettext.translation('wicd', local_path, languages=langs,
|
||||||
fallback=True)
|
fallback=True)
|
||||||
return lang.ugettext
|
return lang.gettext
|
||||||
|
|
||||||
_ = get_gettext()
|
_ = get_gettext()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user