Changeset 35246 in osm for applications/editors/josm/i18n


Ignore:
Timestamp:
2019-12-08T17:49:21+01:00 (5 years ago)
Author:
stoecker
Message:

see #josm18399 - detect \r in translated strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/i18n.pl

    r35180 r35246  
    275275  {
    276276    warn "JAVA translation issue for language $la: CDATA in string:\nTranslated text: ".decode("utf8",$tr)."\nOriginal text: ".decode("utf8",$en)."\n";
     277    $error = 1;
     278  }
     279  if($tr =~ /\\r/)
     280  {
     281    warn "JAVA translation issue for language $la: \\r in string:\nTranslated text: ".decode("utf8",$tr)."\nOriginal text: ".decode("utf8",$en)."\n";
    277282    $error = 1;
    278283  }
Note: See TracChangeset for help on using the changeset viewer.