Changeset 758 in josm for trunk/src/org/openstreetmap/josm/tools/I18n.java
- Timestamp:
- 2008-08-08T09:42:15+02:00 (18 years ago)
- File:
-
- 1 edited
-
trunk/src/org/openstreetmap/josm/tools/I18n.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r627 r758 16 16 public static org.xnap.commons.i18n.I18n i18n; 17 17 18 public static String tr(String text, Object... objects) { 18 public static final String tr(String text, Object... objects) { 19 19 if (i18n == null) 20 20 return MessageFormat.format(text, objects); … … 22 22 } 23 23 24 public static String tr(String text) { 24 public static final String tr(String text) { 25 25 if (i18n == null) 26 26 return text; … … 28 28 } 29 29 30 public static String trn(String text, String pluralText, long n, Object... objects) { 30 public static final String marktr(String text) { 31 return text; 32 } 33 34 public static final String trn(String text, String pluralText, long n, Object... objects) { 31 35 if (i18n == null) 32 36 return n == 1 ? tr(text, objects) : tr(pluralText, objects); … … 34 38 } 35 39 36 public static String trn(String text, String pluralText, long n) { 40 public static final String trn(String text, String pluralText, long n) { 37 41 if (i18n == null) 38 42 return n == 1 ? tr(text) : tr(pluralText);
Note:
See TracChangeset
for help on using the changeset viewer.
