7678: some fixes around gettext and messages handling
This commit is contained in:
parent
fa338e85a4
commit
6982d37427
@ -46,6 +46,8 @@ import tempfile
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from ..constfunc import conv_to_unicode
|
||||
from ..const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
def crop_percentage_to_subpixel(width, height, crop):
|
||||
"""
|
||||
|
@ -46,6 +46,9 @@ from gramps.gen.plug.docbackend import DocBackend
|
||||
from gramps.plugins.lib.libhtml import Html, xml_lang
|
||||
from gramps.gen.errors import ReportError
|
||||
|
||||
from gramps.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user