Ignore:
Timestamp:
2008-08-08T09:42:15+02:00 (18 years ago)
Author:
stoecker
Message:

unified translation a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r627 r758  
    1616        public static org.xnap.commons.i18n.I18n i18n;
    1717
    18         public static String tr(String text, Object... objects) {
     18        public static final String tr(String text, Object... objects) {
    1919                if (i18n == null)
    2020                        return MessageFormat.format(text, objects);
     
    2222        }
    2323
    24         public static String tr(String text) {
     24        public static final String tr(String text) {
    2525                if (i18n == null)
    2626                        return text;
     
    2828        }
    2929
    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) {
    3135                if (i18n == null)
    3236                        return n == 1 ? tr(text, objects) : tr(pluralText, objects);
     
    3438        }
    3539
    36         public static String trn(String text, String pluralText, long n) {
     40        public static final String trn(String text, String pluralText, long n) {
    3741                if (i18n == null)
    3842                        return n == 1 ? tr(text) : tr(pluralText);
Note: See TracChangeset for help on using the changeset viewer.