* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
This commit is contained in:
@@ -30,7 +30,7 @@ mechanism for the user to edit address information.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -33,7 +33,7 @@ __version__ = "$Revision$"
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
try:
|
||||
set()
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
try:
|
||||
set()
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import cPickle as pickle
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -38,7 +38,7 @@ import Utils
|
||||
from _EditSecondary import EditSecondary
|
||||
|
||||
from GrampsWidgets import *
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
import os
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
import locale
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
from cgi import escape
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import cPickle as pickle
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
import logging
|
||||
log = logging.getLogger(".")
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
import DisplayState
|
||||
import DateHandler
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
try:
|
||||
set()
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
import DisplayState
|
||||
import Config
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
import logging
|
||||
log = logging.getLogger(".")
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
try:
|
||||
set()
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from TransUtils import sgettext as _
|
||||
from cgi import escape
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user