Ignore translations which fall back to NullTranslations.

This commit is contained in:
Robert Lehmann committed 2010-06-30 13:11:22 +02:00
1 parent 4fa9fe3290
commit 583f4a100e
1 file changed
+1 -1
+1 -1
View File
@@ -767,7 +767,7 @@ class BuildEnvironment:
patch = new_document(source, settings)
msgstr = translation.ugettext(msg)
#XXX add marker to untranslated parts
if not msgstr: # as-of-yet untranslated
if not msgstr or msgstr == msg: # as-of-yet untranslated
continue
parser.parse(msgstr, patch)
assert isinstance(patch[0], nodes.paragraph)