GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale on any axis (locale, domain, directory, or languages) instantiate a secondary locale by calling GrampsLocale() with the appropriate arguments. svn: r21968
This commit is contained in:
@@ -54,7 +54,7 @@ from gi.repository import Gtk
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.get_translation().sgettext
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.simple import SimpleTable
|
||||
from gramps.gen.errors import WindowActiveError
|
||||
from ...widgets.multitreeview import MultiTreeView
|
||||
|
Reference in New Issue
Block a user