[r21282]GrampsLocale: Fix creation of second GrampsLocale
svn: r21421
This commit is contained in:
parent
bffb6767aa
commit
252d2932df
@ -252,6 +252,13 @@ class GrampsLocale(object):
|
|||||||
if len(self.language) == 0:
|
if len(self.language) == 0:
|
||||||
self.language = self._GrampsLocale__first_instance.language
|
self.language = self._GrampsLocale__first_instance.language
|
||||||
|
|
||||||
|
if lang:
|
||||||
|
self.lang = lang
|
||||||
|
else:
|
||||||
|
self.lang = self._GrampsLocale__first_instance.lang
|
||||||
|
|
||||||
|
self.collation = self.currency = self.calendar = self.lang
|
||||||
|
|
||||||
self.icu_locales = {}
|
self.icu_locales = {}
|
||||||
self.collator = None
|
self.collator = None
|
||||||
if HAVE_ICU:
|
if HAVE_ICU:
|
||||||
|
Loading…
Reference in New Issue
Block a user