Changeset 4376 in josm for trunk/src


Ignore:
Timestamp:
2011-08-28T14:45:56+02:00 (13 years ago)
Author:
stoecker
Message:

add identical marker for translation, so translation statistics can be extracted from data file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r4267 r4376  
    540540                    enval = (enlen[0] < 0 ? 256+enlen[0]:enlen[0])*256+(enlen[1] < 0 ? 256+enlen[1]:enlen[1]);
    541541                    trval = (trlen[0] < 0 ? 256+trlen[0]:trlen[0])*256+(trlen[1] < 0 ? 256+trlen[1]:trlen[1]);
     542                    if(trval == 0xFFFE) /* marks identical string, handle equally to non-translated */
     543                        trval = 0;
    542544                    if(enval == 0xFFFF)
    543545                    {
Note: See TracChangeset for help on using the changeset viewer.