Changeset 30169 in osm
- Timestamp:
- 2014-01-01T23:31:11+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r28423 r30169 2 2 3 3 use utf8; 4 use encoding "utf8"; 5 binmode STDERR, ":encoding(utf8)"; 4 use open qw/:std :encoding(utf8)/; 6 5 use Term::ReadKey; 7 6 use Encode; … … 217 216 if($v =~ /'/)#&& $la ne "en") 218 217 { 219 warn "JAVA translation issue for language $la: Mismatching single quotes:\nTranslated text: $tr\nOriginal text: $en\n";218 warn "JAVA translation issue for language $la: Mismatching single quotes:\nTranslated text: ".decode("utf8",$tr)."\nOriginal text: ".decode("utf8",$en)."\n"; 220 219 $error = 1; 221 220 } … … 238 237 if(!($fmte eq '0' && $fmt eq "" && $cnt == 1)) # Don't warn when a single value is left for first multi-translation 239 238 { 240 warn "JAVA translation issue for language $la ($cnt): Mismatching format entries:\nTranslated text: $tr\nOriginal text: $en\n";239 warn "JAVA translation issue for language $la ($cnt): Mismatching format entries:\nTranslated text: ".decode("utf8",$tr)."\nOriginal text: ".decode("utf8",$en)."\n"; 241 240 $error = 1; 242 241 }
Note:
See TracChangeset
for help on using the changeset viewer.