Changeset 26586 in osm for applications/editors/josm/i18n
- Timestamp:
- 2011-08-28T14:46:27+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r26344 r26586 203 203 sub checkstring 204 204 { 205 my ($la, $tr, $en, $cnt, $en1 ) = @_;205 my ($la, $tr, $en, $cnt, $en1, $eq) = @_; 206 206 $tr = makestring($tr); 207 207 $en = makestring($en); … … 243 243 244 244 #$tr = "" if($error && $la ne "en"); 245 return pack("n",65534) if $eq; 245 246 246 247 return pack("n",length($tr)).$tr; … … 275 276 next if $data->{$en}{"en.1"}; 276 277 my $val; 278 my $eq; 277 279 if($la eq "en") 278 280 { … … 287 289 $val = (exists($data->{$en}{$la})) ? $data->{$en}{$la} : ""; 288 290 ++$cnt if $val; 289 $val = "" if($ennoctx eq $val); 290 } 291 print FILE checkstring($la, $val, $en); 291 if($ennoctx eq $val) 292 { 293 $val = ""; $eq = 1; 294 } 295 } 296 print FILE checkstring($la, $val, $en, undef, undef, $eq); 292 297 } 293 298 print FILE pack "n",0xFFFF;
Note:
See TracChangeset
for help on using the changeset viewer.