Changeset 18648 in josm


Ignore:
Timestamp:
2023-02-03T13:02:49+01:00 (15 months ago)
Author:
taylor.smock
Message:

Fix #22693: PresetListEntry should use trc instead of tr for display_value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/PresetListEntry.java

    r18327 r18648  
    130130                cachedDisplayValue = Utils.firstNonNull(value, " ");
    131131            } else {
     132                final String context = cms == null ? null : cms.values_context;
    132133                cachedDisplayValue = Utils.firstNonNull(
    133                     locale_display_value, tr(display_value), trc(cms == null ? null : cms.values_context, value), " ");
     134                    locale_display_value, trc(context, display_value), trc(context, value), " ");
    134135            }
    135136        }
Note: See TracChangeset for help on using the changeset viewer.