Commit c6df6f98 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

MessageCatalog_getNotTranslatedMessageDict returns entries where all translations are empty too.

parent 228e3f79
......@@ -85,7 +85,7 @@ def MessageCatalog_getNotTranslatedMessageDict(self):
not_translated_message_dict = {}
messages = MessageCatalog_getMessageDict(self)
for k,v in messages.iteritems():
if not len(v):
if not len(v) or not len(filter(lambda x:x, v.values())):
not_translated_message_dict[k] = v
return not_translated_message_dict
......
146
\ No newline at end of file
147
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment