* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
This commit is contained in:
parent
70672e5727
commit
c064cb8185
@ -1,4 +1,6 @@
|
|||||||
2006-03-16 Alex Roitman <shura@gramps-project.org>
|
2006-03-16 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* various: Use TransUtils.sgettext instead of gettext.gettext to
|
||||||
|
work out stripping the context.
|
||||||
* py-compile: Remove as it is autogenerated.
|
* py-compile: Remove as it is autogenerated.
|
||||||
* po/Makefile.in.in: Remove as it is autogenerated.
|
* po/Makefile.in.in: Remove as it is autogenerated.
|
||||||
* po/*po: Remove and re-add from old src/po to keep history.
|
* po/*po: Remove and re-add from old src/po to keep history.
|
||||||
|
@ -37,7 +37,7 @@ import os
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -33,7 +33,7 @@ Module responsible for handling the command line arguments for GRAMPS.
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
import getopt
|
import getopt
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import os
|
import os
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -30,7 +30,7 @@ __version__ = "$Revision$"
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -29,7 +29,7 @@ import gtk.glade
|
|||||||
import gc
|
import gc
|
||||||
|
|
||||||
import const
|
import const
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -45,7 +45,7 @@ from Editors import EditEvent, DelEventQuery
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
_('Description'),
|
_('Description'),
|
||||||
|
@ -45,7 +45,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
_('ID'),
|
_('ID'),
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import gc
|
import gc
|
||||||
import re
|
import re
|
||||||
import cgi
|
import cgi
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import gc
|
import gc
|
||||||
import re
|
import re
|
||||||
import logging
|
import logging
|
||||||
|
@ -44,7 +44,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
_('Title'),
|
_('Title'),
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from cgi import escape
|
from cgi import escape
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -46,7 +46,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
_('Place Name'),
|
_('Place Name'),
|
||||||
|
@ -46,7 +46,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
_('Name'),
|
_('Name'),
|
||||||
|
@ -46,7 +46,7 @@ from QuestionDialog import QuestionDialog, ErrorDialog
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
_('Title'),
|
_('Title'),
|
||||||
|
@ -41,7 +41,7 @@ __version__ = "$Revision$"
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import gc
|
import gc
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -33,7 +33,7 @@ __version__ = "$Revision$"
|
|||||||
# python modules
|
# python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import time
|
import time
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import locale
|
import locale
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
@ -34,7 +34,7 @@ from gtk.gdk import ACTION_COPY, BUTTON1_MASK
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import pickle
|
import pickle
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -30,7 +30,7 @@ mechanism for the user to edit address information.
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -33,7 +33,7 @@ __version__ = "$Revision$"
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
try:
|
try:
|
||||||
set()
|
set()
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
try:
|
try:
|
||||||
set()
|
set()
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import cPickle as pickle
|
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 _EditSecondary import EditSecondary
|
||||||
|
|
||||||
from GrampsWidgets import *
|
from GrampsWidgets import *
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import os
|
import os
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
import locale
|
import locale
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from cgi import escape
|
from cgi import escape
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(".")
|
log = logging.getLogger(".")
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import DisplayState
|
import DisplayState
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
try:
|
try:
|
||||||
set()
|
set()
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import DisplayState
|
import DisplayState
|
||||||
import Config
|
import Config
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(".")
|
log = logging.getLogger(".")
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
try:
|
try:
|
||||||
set()
|
set()
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# python modules
|
# python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from cgi import escape
|
from cgi import escape
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -38,7 +38,7 @@ from xml.sax import make_parser,handler,SAXParseException
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
import sets
|
import sets
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -64,7 +64,6 @@ import const
|
|||||||
import RelLib
|
import RelLib
|
||||||
import DateHandler
|
import DateHandler
|
||||||
import NameDisplay
|
import NameDisplay
|
||||||
from TransUtils import strip_context as __
|
|
||||||
from Utils import for_each_ancestor,probably_alive,get_source_referents
|
from Utils import for_each_ancestor,probably_alive,get_source_referents
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
@ -1303,7 +1302,7 @@ class HasNameOf(Rule):
|
|||||||
labels = [ _('Given name:'),
|
labels = [ _('Given name:'),
|
||||||
_('Family name:'),
|
_('Family name:'),
|
||||||
_('Suffix:'),
|
_('Suffix:'),
|
||||||
__('person|Title:')]
|
_('person|Title:')]
|
||||||
name = _('People with the <name>')
|
name = _('People with the <name>')
|
||||||
description = _("Matches people with a specified (partial) name")
|
description = _("Matches people with a specified (partial) name")
|
||||||
category = _('General filters')
|
category = _('General filters')
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
import sets
|
import sets
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -34,7 +34,7 @@ import os
|
|||||||
import time
|
import time
|
||||||
import locale
|
import locale
|
||||||
import sets
|
import sets
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from bsddb import dbshelve, db
|
from bsddb import dbshelve, db
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(".GrampsDb")
|
log = logging.getLogger(".GrampsDb")
|
||||||
@ -120,7 +120,7 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
"""GRAMPS database object. This object is a base class for other
|
"""GRAMPS database object. This object is a base class for other
|
||||||
objects."""
|
objects."""
|
||||||
|
|
||||||
UseTXN = False
|
UseTXN = True
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""creates a new GrampsDB"""
|
"""creates a new GrampsDB"""
|
||||||
|
@ -37,7 +37,7 @@ import locale
|
|||||||
import re
|
import re
|
||||||
from sys import maxint
|
from sys import maxint
|
||||||
import sets
|
import sets
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(".GrampsDb")
|
log = logging.getLogger(".GrampsDb")
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ import string
|
|||||||
import const
|
import const
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
# and module sets for earlier pythons
|
# and module sets for earlier pythons
|
||||||
try:
|
try:
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import sets
|
import sets
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -29,7 +29,7 @@ import os
|
|||||||
import sets
|
import sets
|
||||||
import shutil
|
import shutil
|
||||||
from xml.parsers.expat import ExpatError, ParserCreate
|
from xml.parsers.expat import ExpatError, ParserCreate
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import re
|
import re
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -30,7 +30,7 @@ import os
|
|||||||
import time
|
import time
|
||||||
import re
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -34,7 +34,7 @@ import time
|
|||||||
import shutil
|
import shutil
|
||||||
import os
|
import os
|
||||||
import codecs
|
import codecs
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import sys,os
|
import sys,os
|
||||||
import const
|
import const
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
import cgi
|
import cgi
|
||||||
import locale
|
import locale
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import sets
|
import sets
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -30,7 +30,7 @@ except:
|
|||||||
from gnome.vfs import mime_get_short_list_applications, \
|
from gnome.vfs import mime_get_short_list_applications, \
|
||||||
mime_get_description, get_mime_type
|
mime_get_description, get_mime_type
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
def get_application(type):
|
def get_application(type):
|
||||||
"""Returns the application command and application name of the
|
"""Returns the application command and application name of the
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
import mimetypes
|
import mimetypes
|
||||||
import const
|
import const
|
||||||
import gtk
|
import gtk
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
_type_map = {
|
_type_map = {
|
||||||
'application/x-gramps' : 'GRAMPS database',
|
'application/x-gramps' : 'GRAMPS database',
|
||||||
|
@ -29,7 +29,7 @@ sys.path.append("ObjectSelector")
|
|||||||
import os.path
|
import os.path
|
||||||
import gtk
|
import gtk
|
||||||
import gobject
|
import gobject
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import _Factories
|
import _Factories
|
||||||
from _Constants import ObjectTypes
|
from _Constants import ObjectTypes
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
import gobject
|
import gobject
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from logging import getLogger
|
from logging import getLogger
|
||||||
|
|
||||||
log = getLogger(".ObjectSelector")
|
log = getLogger(".ObjectSelector")
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
import gobject
|
import gobject
|
||||||
|
@ -93,7 +93,7 @@ At runtime Object selector is constructed from these widgets in the following st
|
|||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
from _ObjectSelectorWindow import ObjectSelectorWindow
|
from _ObjectSelectorWindow import ObjectSelectorWindow
|
||||||
from _Constants import ObjectTypes
|
from _Constants import ObjectTypes
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# python
|
# python
|
||||||
#
|
#
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import time
|
import time
|
||||||
import cgi
|
import cgi
|
||||||
import sys
|
import sys
|
||||||
|
@ -31,7 +31,7 @@ General option handling, including saving and parsing.
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -36,7 +36,7 @@ importers, exporters, and document generators.
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -46,7 +46,7 @@ import traceback
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -32,7 +32,7 @@ __version__ = "$Revision$"
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from types import ClassType, InstanceType
|
from types import ClassType, InstanceType
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ Report option handling, including saving and parsing.
|
|||||||
# Standard Python modules
|
# Standard Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -32,7 +32,7 @@ A collection of utilities to aid in the generation of reports.
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import time
|
import time
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -32,7 +32,7 @@ __version__ = "$Revision$"
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(".")
|
log = logging.getLogger(".")
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ __version__ = "$Revision$"
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from types import ClassType, InstanceType
|
from types import ClassType, InstanceType
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(".")
|
log = logging.getLogger(".")
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -39,7 +39,7 @@ from QuestionDialog import ErrorDialog, WarningDialog
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import const
|
import const
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
__author__ = "Donald N. Allingham"
|
__author__ = "Donald N. Allingham"
|
||||||
__version__ = "$Revision$"
|
__version__ = "$Revision$"
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from _CalSdn import *
|
from _CalSdn import *
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -28,8 +28,7 @@
|
|||||||
|
|
||||||
import RelLib
|
import RelLib
|
||||||
import types
|
import types
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from TransUtils import strip_context as __
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -279,28 +278,28 @@ class RelationshipCalculator:
|
|||||||
elif gender == RelLib.Person.FEMALE:
|
elif gender == RelLib.Person.FEMALE:
|
||||||
return _("wife")
|
return _("wife")
|
||||||
else:
|
else:
|
||||||
return __("gender unknown|spouse")
|
return _("gender unknown|spouse")
|
||||||
elif family_rel == RelLib.Family.UNMARRIED:
|
elif family_rel == RelLib.Family.UNMARRIED:
|
||||||
if gender == RelLib.Person.MALE:
|
if gender == RelLib.Person.MALE:
|
||||||
return __("unmarried|husband")
|
return _("unmarried|husband")
|
||||||
elif gender == RelLib.Person.FEMALE:
|
elif gender == RelLib.Person.FEMALE:
|
||||||
return __("unmarried|wife")
|
return _("unmarried|wife")
|
||||||
else:
|
else:
|
||||||
return __("gender unknown,unmarried|spouse")
|
return _("gender unknown,unmarried|spouse")
|
||||||
elif family_rel == RelLib.Family.CIVIL_UNION:
|
elif family_rel == RelLib.Family.CIVIL_UNION:
|
||||||
if gender == RelLib.Person.MALE:
|
if gender == RelLib.Person.MALE:
|
||||||
return __("male,civil union|partner")
|
return _("male,civil union|partner")
|
||||||
elif gender == RelLib.Person.FEMALE:
|
elif gender == RelLib.Person.FEMALE:
|
||||||
return __("female,civil union|partner")
|
return _("female,civil union|partner")
|
||||||
else:
|
else:
|
||||||
return __("gender unknown,civil union|partner")
|
return _("gender unknown,civil union|partner")
|
||||||
else:
|
else:
|
||||||
if gender == RelLib.Person.MALE:
|
if gender == RelLib.Person.MALE:
|
||||||
return __("male,unknown relation|partner")
|
return _("male,unknown relation|partner")
|
||||||
elif gender == RelLib.Person.FEMALE:
|
elif gender == RelLib.Person.FEMALE:
|
||||||
return __("female,unknown relation|partner")
|
return _("female,unknown relation|partner")
|
||||||
else:
|
else:
|
||||||
return __("gender unknown,unknown relation|partner")
|
return _("gender unknown,unknown relation|partner")
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
return None
|
return None
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
import os
|
import os
|
||||||
from xml.sax.saxutils import escape
|
from xml.sax.saxutils import escape
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -37,7 +37,7 @@ import gc
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import gc
|
import gc
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -29,7 +29,7 @@ present, we default to no spell checking.
|
|||||||
|
|
||||||
import Config
|
import Config
|
||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from xml.parsers.expat import ParserCreate
|
from xml.parsers.expat import ParserCreate
|
||||||
from random import Random
|
from random import Random
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import os
|
import os
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2005 Donald N. Allingham
|
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -18,9 +18,11 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
from gettext import gettext as _
|
# $Id$
|
||||||
|
|
||||||
def strip_context(msgid,sep='|'):
|
from gettext import gettext
|
||||||
|
|
||||||
|
def sgettext(msgid,sep='|'):
|
||||||
"""
|
"""
|
||||||
Strip the context used for resolving translation ambiguities.
|
Strip the context used for resolving translation ambiguities.
|
||||||
|
|
||||||
@ -37,8 +39,8 @@ def strip_context(msgid,sep='|'):
|
|||||||
@rtype: unicode
|
@rtype: unicode
|
||||||
|
|
||||||
"""
|
"""
|
||||||
msgval = _(msgid)
|
msgval = gettext(msgid)
|
||||||
|
if msgval == msgid:
|
||||||
sep_idx = msgid.rfind(sep)
|
sep_idx = msgid.rfind(sep)
|
||||||
if msgval == msgid and sep_idx != -1:
|
|
||||||
msgval = msgid[sep_idx+1:]
|
msgval = msgid[sep_idx+1:]
|
||||||
return msgval
|
return msgval
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
import cgi
|
import cgi
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
|
@ -29,7 +29,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import locale
|
import locale
|
||||||
import sets
|
import sets
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Standard python modules
|
# Standard python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from bsddb import db
|
from bsddb import db
|
||||||
import os
|
import os
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
|
@ -31,7 +31,7 @@ Provides a BaseDoc based interface to the AbiWord document format.
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import base64
|
import base64
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -29,7 +29,7 @@ import time
|
|||||||
import cStringIO
|
import cStringIO
|
||||||
import gzip
|
import gzip
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from string import punctuation
|
from string import punctuation
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
# python modules
|
# python modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -53,7 +53,7 @@ import Mime
|
|||||||
# internationalization
|
# internationalization
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from xml.sax.saxutils import escape
|
from xml.sax.saxutils import escape
|
||||||
|
|
||||||
_apptype = 'application/vnd.oasis.opendocument.text'
|
_apptype = 'application/vnd.oasis.opendocument.text'
|
||||||
|
@ -31,7 +31,7 @@ import time
|
|||||||
import locale
|
import locale
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
from math import pi, cos, sin, fabs
|
from math import pi, cos, sin, fabs
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
from xml.sax.saxutils import escape
|
from xml.sax.saxutils import escape
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
import zipfile
|
import zipfile
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from math import pi, cos, sin
|
from math import pi, cos, sin
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
# Python modules
|
# Python modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
import os
|
import os
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from math import pi, cos, sin, fabs
|
from math import pi, cos, sin, fabs
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
# python modules
|
# python modules
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from TransUtils import sgettext as _
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user