Ignore:
Timestamp:
2010-02-19T19:29:30+01:00 (14 years ago)
Author:
mjulius
Message:

don't try to translate null strings in TaggingPreset, see #4578

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r2989 r3024  
    184184            }
    185185            if(locale_text == null) {
    186                 if(text_context != null) {
    187                     locale_text = trc(text_context, text);
    188                 } else {
    189                     locale_text = tr(text);
     186                if (text != null) {
     187                    if(text_context != null) {
     188                        locale_text = trc(text_context, text);
     189                    } else {
     190                        locale_text = tr(text);
     191                    }
    190192                }
    191193            }
Note: See TracChangeset for help on using the changeset viewer.