[r21282]GrampsLocale: Fix creation of second GrampsLocale

svn: r21421
This commit is contained in:
John Ralls 2013-02-24 01:49:01 +00:00
parent bffb6767aa
commit 252d2932df

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: