Helpviewer/HelpLanguagesDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
157 return [] 157 return []
158 else: 158 else:
159 return cls.expand(QLocale(language).language()) 159 return cls.expand(QLocale(language).language())
160 160
161 @classmethod 161 @classmethod
162 def expand(self, language): 162 def expand(cls, language):
163 """ 163 """
164 Class method to expand a language enum to a readable languages list. 164 Class method to expand a language enum to a readable languages list.
165 165
166 @param language language number (QLocale.Language) 166 @param language language number (QLocale.Language)
167 @return list of expanded language names (list of strings) 167 @return list of expanded language names (list of strings)

eric ide

mercurial