GrampsLocale: Fix some oversights in creation of second GrampsLocale
svn: r21282
This commit is contained in:
parent
5596d0c47e
commit
81a702e9af
@ -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