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:
@@ -35,7 +35,7 @@ Module responsible for handling the command line arguments for GRAMPS.
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
import sys
|
||||
from gettext import gettext as _
|
||||
from gen.ggettext import gettext as _
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
@@ -35,7 +35,7 @@ Module responsible for handling the command line arguments for GRAMPS.
|
||||
#-------------------------------------------------------------------------
|
||||
import sys
|
||||
import getopt
|
||||
from gettext import gettext as _
|
||||
from gen.ggettext import gettext as _
|
||||
import logging
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -34,7 +34,7 @@ creating, and deleting of databases.
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
import time
|
||||
from gettext import gettext as _
|
||||
from gen.ggettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# set up logging
|
||||
|
||||
@@ -33,7 +33,7 @@ Provides also two small base classes: CLIDbLoader, CLIManager
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from gen.ggettext import gettext as _
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user