Skip to content

Commit

Permalink
[i18n] Small fix to check_po_files.py
Browse files Browse the repository at this point in the history
It seems to have started complaining about all the untranslated strings,
make it skip them.
  • Loading branch information
Sean Hammond committed Apr 24, 2013
1 parent 4017c34 commit 425133e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/i18n/check_po_files.py
Expand Up @@ -106,6 +106,8 @@ def command(self):
print u'Checking file {}'.format(path)
po = polib.pofile(path)
for entry in po.translated_entries():
if not entry.msgstr:
continue
for function in (simple_conv_specs, mapping_keys,
replacement_fields):
if not function(entry.msgid) == function(entry.msgstr):
Expand Down

0 comments on commit 425133e

Please sign in to comment.