Changeset 5181 in josm
- Timestamp:
- 2012-04-14T12:01:16+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r5173 r5181 321 321 if (value.equals(DIFFERENT)) 322 322 return DIFFERENT; 323 return display_value == null ? value : display_value.replaceAll("<.*>", ""); // remove additional markup, e.g. <br>323 return getDisplayValue(true).replaceAll("<.*>", ""); // remove additional markup, e.g. <br> 324 324 } 325 325 } … … 592 592 locale_text = trc(text_context, fixPresetString(text)); 593 593 } 594 p.add(new JLabel( locale_text + ":"), GBC.std().insets(0, 0, 10, 0));594 p.add(new JLabel(tr("{0}:", locale_text)), GBC.std().insets(0, 0, 10, 0)); 595 595 596 596 addToPanelAnchor(p, default_, display_array); … … 635 635 } 636 636 lhm.put(value_array[i], e); 637 display_array[i] = e.getDisplayValue(true); 637 638 } 638 639 … … 665 666 if (k != null && k.equals(display)) { 666 667 value = key; 668 break; 667 669 } 668 670 }
Note:
See TracChangeset
for help on using the changeset viewer.