Changeset 26340 in osm
- Timestamp:
- 2011-07-15T23:37:26+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r26339 r26340 206 206 $tr = makestring($tr); 207 207 $en = makestring($en); 208 $cnt = $cnt || 0; 208 209 $en1 = makestring($en1) if defined($en1); 209 210 my $error = 0; … … 212 213 my $v = $tr; 213 214 $v =~ s/''//g; # replace all twice occuring single quotes 214 if($v =~ /'/) 215 { 216 warn "JAVA translation issue for language $la: Mismatching single quotes:\nTranslated text: $tr\n ";215 if($v =~ /'/)#&& $la ne "en") 216 { 217 warn "JAVA translation issue for language $la: Mismatching single quotes:\nTranslated text: $tr\nOriginal text: $en\n"; 217 218 $error = 1; 218 219 } … … 229 230 if(!($fmte eq '0' && $fmt eq "" && $cnt == 1)) # Don't warn when a single value is left for first multi-translation 230 231 { 231 $cnt == $cnt || 0;232 232 warn "JAVA translation issue for language $la ($cnt): Mismatching format entries:\nTranslated text: $tr\nOriginal text: $en\n"; 233 233 $error = 1;
Note:
See TracChangeset
for help on using the changeset viewer.