Ignore:
Timestamp:
2017-10-08T13:39:18+02:00 (2 years ago)
Author:
bastiK
Message:

see #15410 - better fix for color name display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r12894 r12942  
    986986            return tr("Layer: {0}", tr(I18n.escape(m.group(1))));
    987987        }
    988         return tr(I18n.escape(colornames.containsKey(o) ? colornames.get(o) : o));
     988        String fullKey = COLOR_PREFIX + o;
     989        return tr(I18n.escape(colornames.containsKey(fullKey) ? colornames.get(fullKey) : fullKey));
    989990    }
    990991
Note: See TracChangeset for help on using the changeset viewer.