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:
John Ralls
2013-04-12 22:32:11 +00:00
parent 56254d4a14
commit 00aa00fbf5
632 changed files with 654 additions and 684 deletions

View File

@@ -36,7 +36,7 @@ from __future__ import unicode_literals
#
#------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.get_translation().gettext
_ = glocale.translation.gettext
import os
import sys