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