equal
deleted
inserted
replaced
75 # only rst syntax, nothing to translate |
75 # only rst syntax, nothing to translate |
76 delta += 2 |
76 delta += 2 |
77 continue |
77 continue |
78 else: |
78 else: |
79 # lines following directly, unexpected |
79 # lines following directly, unexpected |
80 print('Warning: text follows line with directive' \ |
80 print('Warning: text follows line with directive' |
81 ' %s' % directive) |
81 ' %s' % directive) |
82 comment = 'do not translate: .. %s::' % directive |
82 comment = 'do not translate: .. %s::' % directive |
83 if not newentry.comment: |
83 if not newentry.comment: |
84 newentry.comment = comment |
84 newentry.comment = comment |
85 elif comment not in newentry.comment: |
85 elif comment not in newentry.comment: |