- Timestamp:
- 2010-01-13T17:42:03+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r2807 r2841 36 36 37 37 public static final String tr(String text) { 38 return gettext(text,null);38 return MessageFormat.format(gettext(text, null), (Object)null); 39 39 } 40 40 41 41 public static final String trc(String ctx, String text) { 42 return gettext(text, ctx);42 return MessageFormat.format(gettext(text, ctx), (Object)null); 43 43 } 44 44 … … 57 57 58 58 public static final String trn(String text, String pluralText, long n) { 59 return gettextn(text, pluralText, null, n);59 return MessageFormat.format(gettextn(text, pluralText, null, n), (Object)null); 60 60 } 61 61 … … 65 65 66 66 public static final String trnc(String ctx, String text, String pluralText, long n) { 67 return gettextn(text, pluralText, ctx, n);67 return MessageFormat.format(gettextn(text, pluralText, ctx, n), (Object)null); 68 68 } 69 69
Note:
See TracChangeset
for help on using the changeset viewer.