import i18n before we use it
This commit is contained in:
parent
02a57820a1
commit
6edd7ca43e
|
@ -26,6 +26,10 @@ import sys
|
||||||
import pygtk
|
import pygtk
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from common import i18n
|
||||||
|
i18n.init()
|
||||||
|
_ = i18n._
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gtk
|
import gtk
|
||||||
except RuntimeError, msg:
|
except RuntimeError, msg:
|
||||||
|
@ -53,10 +57,6 @@ import time
|
||||||
from common import socks5
|
from common import socks5
|
||||||
import gtkgui_helpers
|
import gtkgui_helpers
|
||||||
|
|
||||||
from common import i18n
|
|
||||||
i18n.init()
|
|
||||||
_ = i18n._
|
|
||||||
|
|
||||||
import common.sleepy
|
import common.sleepy
|
||||||
import check_for_new_version
|
import check_for_new_version
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue