Changeset 6796 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2014-01-31T21:48:49+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r6552 r6796 273 273 } 274 274 if(pstrings != null) { 275 i = pluralEval(1); 275 276 String[] trans = pstrings.get(ctx == null ? text : "_:"+ctx+"\n"+text); 276 if(trans != null )277 return trans[ 0];277 if(trans != null && trans.length > i) 278 return trans[i]; 278 279 } 279 280 return lazy ? gettext(text, null) : text;
Note: See TracChangeset
for help on using the changeset viewer.