[r22038]GrampsLocale: Add explanatory comment
After I stopped myself from fixing something that was done right! svn: r22055
This commit is contained in:
parent
821bf3b740
commit
f657238034
@ -814,6 +814,9 @@ class GrampsLocale(object):
|
||||
"""
|
||||
if not self.localedir:
|
||||
return None
|
||||
#Note that this isn't a typo for self.language; self.languages
|
||||
#is cached so we don't have to query the file system every
|
||||
#time this function is called.
|
||||
if not hasattr(self, 'languages'):
|
||||
self.languages = self.get_available_translations()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user