Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.

svn: r14091
This commit is contained in:
Brian Matherly
2010-01-18 04:42:17 +00:00
parent 1b8706eaf1
commit f04880ec09
495 changed files with 600 additions and 604 deletions

View File

@@ -29,7 +29,7 @@
#
#-------------------------------------------------------------------------
import os
from TransUtils import sgettext as _
from gen.ggettext import sgettext as _
import csv
import cStringIO
import codecs

View File

@@ -29,7 +29,7 @@
#
#-------------------------------------------------------------------------
import os
from gettext import gettext as _
from gen.ggettext import gettext as _
#------------------------------------------------------------------------
#

View File

@@ -29,7 +29,7 @@
# Standard Python Modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _
from gen.ggettext import gettext as _
import os
import time

View File

@@ -30,7 +30,7 @@
#
#-------------------------------------------------------------------------
import os
from gettext import gettext as _
from gen.ggettext import gettext as _
#------------------------------------------------------------------------
#

View File

@@ -36,7 +36,7 @@ import os
import sys
import tarfile
from cStringIO import StringIO
from gettext import gettext as _
from gen.ggettext import gettext as _
#------------------------------------------------------------------------
#

View File

@@ -31,7 +31,7 @@
import os
import sys
from time import localtime
from gettext import gettext as _
from gen.ggettext import gettext as _
#------------------------------------------------------------------------
#

View File

@@ -30,7 +30,7 @@
#-------------------------------------------------------------------------
import sys
import os
from gettext import gettext as _
from gen.ggettext import gettext as _
#------------------------------------------------------------------------
#

View File

@@ -39,7 +39,7 @@ import shutil
import os
import codecs
from xml.sax.saxutils import escape
from gettext import gettext as _
from gen.ggettext import gettext as _
#------------------------------------------------------------------------