Show More
@@ -55,6 +55,9 if __name__ == "__main__": | |||||
55 | newentry = mkentry(entry, delta, msgid, msgstr) |
|
55 | newentry = mkentry(entry, delta, msgid, msgstr) | |
56 | mdirective = findd.match(msgid) |
|
56 | mdirective = findd.match(msgid) | |
57 | if mdirective: |
|
57 | if mdirective: | |
|
58 | if not msgid[mdirective.end():].rstrip(): | |||
|
59 | # only directive, nothing to translate here | |||
|
60 | continue | |||
58 | directive = mdirective.group(1) |
|
61 | directive = mdirective.group(1) | |
59 | comment = 'do not translate: .. %s::' % directive |
|
62 | comment = 'do not translate: .. %s::' % directive | |
60 | if not newentry.comment: |
|
63 | if not newentry.comment: |
General Comments 0
You need to be logged in to leave comments.
Login now