Index: trunk/src/org/openstreetmap/josm/tools/I18n.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/I18n.java	(revision 2840)
+++ trunk/src/org/openstreetmap/josm/tools/I18n.java	(revision 2841)
@@ -36,9 +36,9 @@
 
     public static final String tr(String text) {
-        return gettext(text, null);
+        return MessageFormat.format(gettext(text, null), (Object)null);
     }
 
     public static final String trc(String ctx, String text) {
-        return gettext(text, ctx);
+        return MessageFormat.format(gettext(text, ctx), (Object)null);
     }
 
@@ -57,5 +57,5 @@
 
     public static final String trn(String text, String pluralText, long n) {
-        return gettextn(text, pluralText, null, n);
+        return MessageFormat.format(gettextn(text, pluralText, null, n), (Object)null);
     }
 
@@ -65,5 +65,5 @@
 
     public static final String trnc(String ctx, String text, String pluralText, long n) {
-        return gettextn(text, pluralText, ctx, n);
+        return MessageFormat.format(gettextn(text, pluralText, ctx, n), (Object)null);
     }
 
