import i18n before we use it

This commit is contained in:
Yann Leboulanger 2005-09-21 14:42:29 +00:00
parent 02a57820a1
commit 6edd7ca43e
1 changed files with 4 additions and 4 deletions

View File

@ -26,6 +26,10 @@ import sys
import pygtk
import os
from common import i18n
i18n.init()
_ = i18n._
try:
import gtk
except RuntimeError, msg:
@ -53,10 +57,6 @@ import time
from common import socks5
import gtkgui_helpers
from common import i18n
i18n.init()
_ = i18n._
import common.sleepy
import check_for_new_version