GrampsLocale: Fix some oversights in creation of second GrampsLocale

svn: r21282
This commit is contained in:
John Ralls 2013-02-03 02:05:14 +00:00
parent 5596d0c47e
commit 81a702e9af

View File

@ -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: