Show More
@@ -57,11 +57,13 b' if __name__ == "__main__":' | |||||
57 | if mdirective: |
|
57 | if mdirective: | |
58 | if not msgid[mdirective.end():].rstrip(): |
|
58 | if not msgid[mdirective.end():].rstrip(): | |
59 | # only directive, nothing to translate here |
|
59 | # only directive, nothing to translate here | |
|
60 | delta += 2 | |||
60 | continue |
|
61 | continue | |
61 | directive = mdirective.group(1) |
|
62 | directive = mdirective.group(1) | |
62 | if directive in ('container', 'include'): |
|
63 | if directive in ('container', 'include'): | |
63 | if msgid.rstrip('\n').count('\n') == 0: |
|
64 | if msgid.rstrip('\n').count('\n') == 0: | |
64 | # only rst syntax, nothing to translate |
|
65 | # only rst syntax, nothing to translate | |
|
66 | delta += 2 | |||
65 | continue |
|
67 | continue | |
66 | else: |
|
68 | else: | |
67 | # lines following directly, unexpected |
|
69 | # lines following directly, unexpected |
General Comments 0
You need to be logged in to leave comments.
Login now