i18n/posplit
changeset 41759 aaad36b88298
parent 39269 d0e8933d6dad
child 43691 47ef023d0165
equal deleted inserted replaced
41758:15d3facfa40a 41759:aaad36b88298
    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: