* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
This commit is contained in:
@@ -45,7 +45,7 @@ from Editors import EditEvent, DelEventQuery
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
column_names = [
|
||||
_('Description'),
|
||||
|
@@ -45,7 +45,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
column_names = [
|
||||
_('ID'),
|
||||
|
@@ -3,7 +3,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
import gc
|
||||
import re
|
||||
import cgi
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
import gc
|
||||
import re
|
||||
import logging
|
||||
|
@@ -44,7 +44,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
column_names = [
|
||||
_('Title'),
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
from cgi import escape
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
import cPickle as pickle
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@@ -46,7 +46,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
column_names = [
|
||||
_('Place Name'),
|
||||
|
@@ -46,7 +46,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
column_names = [
|
||||
_('Name'),
|
||||
|
@@ -46,7 +46,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
column_names = [
|
||||
_('Title'),
|
||||
|
Reference in New Issue
Block a user