forked from openlp/openlp
update
This commit is contained in:
parent
5b009a9ee4
commit
395fe85d42
@ -107,7 +107,10 @@ class LanguageManager(object):
|
||||
``action``
|
||||
The language menu option
|
||||
"""
|
||||
action_name = u'%s' % action.objectName()
|
||||
if action is None:
|
||||
action_name = u'en'
|
||||
else:
|
||||
action_name = u'%s' % action.objectName()
|
||||
qm_list = LanguageManager.get_qm_list()
|
||||
if LanguageManager.auto_language:
|
||||
language = u'[%s]' % qm_list[action_name]
|
||||
|
Loading…
Reference in New Issue
Block a user