polish, use LATIN group
This commit is contained in:
parent
9e013f6781
commit
9208b8a3a8
@ -50,8 +50,8 @@ _ = glocale.translation.gettext
|
|||||||
from ...utils.grampslocale import GrampsLocale
|
from ...utils.grampslocale import GrampsLocale
|
||||||
_locale = GrampsLocale(lang='en')
|
_locale = GrampsLocale(lang='en')
|
||||||
|
|
||||||
LANG_SUPPORT = ['danish', 'dutch', 'english', 'french', 'german', 'italian',
|
LATIN = ['french', 'italian', 'spanish']
|
||||||
'spanish', 'swedish']
|
LANG_SUPPORT = ['danish', 'dutch', 'german', 'swedish'] + LATIN
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -348,6 +348,7 @@ class TreeDocBase(BaseDoc, TreeDoc):
|
|||||||
lang_en = _locale._get_language_string(trans).lower()
|
lang_en = _locale._get_language_string(trans).lower()
|
||||||
if lang_en in LANG_SUPPORT:
|
if lang_en in LANG_SUPPORT:
|
||||||
self.write(0, '\\gtrset{language=%s}\n' % lang_en)
|
self.write(0, '\\gtrset{language=%s}\n' % lang_en)
|
||||||
|
if lang_en in LATIN:
|
||||||
self.write(0, '\\usepackage{lmodern}\n')
|
self.write(0, '\\usepackage{lmodern}\n')
|
||||||
self.write(0, '\\begin{document}\n')
|
self.write(0, '\\begin{document}\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user