* various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
This commit is contained in:
@@ -29,7 +29,7 @@ sys.path.append("ObjectSelector")
|
||||
import os.path
|
||||
import gtk
|
||||
import gobject
|
||||
from TransUtils import sgettext as _
|
||||
from gettext import gettext as _
|
||||
|
||||
import _Factories
|
||||
from _Constants import ObjectTypes
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
import gtk
|
||||
import gobject
|
||||
from TransUtils import sgettext as _
|
||||
from gettext import gettext as _
|
||||
from logging import getLogger
|
||||
|
||||
log = getLogger(".ObjectSelector")
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
from TransUtils import sgettext as _
|
||||
from gettext import gettext as _
|
||||
|
||||
import gtk
|
||||
import gobject
|
||||
|
@@ -93,7 +93,7 @@ At runtime Object selector is constructed from these widgets in the following st
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
"""
|
||||
from TransUtils import sgettext as _
|
||||
from gettext import gettext as _
|
||||
|
||||
from _ObjectSelectorWindow import ObjectSelectorWindow
|
||||
from _Constants import ObjectTypes
|
||||
|
Reference in New Issue
Block a user