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:
@@ -34,7 +34,7 @@ This module provides the functions to build the quick report context menu's
|
||||
from __future__ import print_function
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.get_translation().gettext
|
||||
_ = glocale.translation.gettext
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
from StringIO import StringIO
|
||||
|
||||
Reference in New Issue
Block a user