Changeset 4549 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2011-10-29T14:36:48+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r4501 r4549 505 505 { 506 506 unsigned char (1 byte) stringcount 507 - count 0 indicates missing translations 508 - count 0xFE indicates translations equal to original, but otherwise is equal to length 0 507 509 for stringcount 508 510 unsigned short (2 byte) stringlength … … 524 526 int ennum = ens.read(); 525 527 int trnum = trs.read(); 528 if(trnum == 0xFE) /* marks identical string, handle equally to non-translated */ 529 trnum = 0; 526 530 if((ennum == -1 && trnum != -1) || (ennum != -1 && trnum == -1)) /* files do not match */ 527 531 return false;
Note:
See TracChangeset
for help on using the changeset viewer.