diff --git a/src/main/java/io/bitsquare/locale/BSResources.java b/src/main/java/io/bitsquare/locale/BSResources.java index 429c436e91..216b1b61c5 100644 --- a/src/main/java/io/bitsquare/locale/BSResources.java +++ b/src/main/java/io/bitsquare/locale/BSResources.java @@ -53,7 +53,7 @@ public class BSResources { } } - public static String get(String key, String... arguments) { + public static String get(String key, Object... arguments) { return MessageFormat.format(BSResources.get(key), arguments); } } diff --git a/src/main/resources/i18n/displayStrings.properties b/src/main/resources/i18n/displayStrings.properties index 510f53fd0b..9b1f2e866a 100644 --- a/src/main/resources/i18n/displayStrings.properties +++ b/src/main/resources/i18n/displayStrings.properties @@ -71,8 +71,9 @@ createOffer.advancedBox.county=Payments account country: createOffer.advancedBox.info=Your trading partners must fulfill your offer restrictions. You can edit the accepted countries, languages and arbitrators in the settings. The payments account details are used from your current selected payments account (if you have multiple payments accounts). createOffer.success.headline=Your offer has been successfully published to the distributed offerbook. -createOffer.success.info=The Transaction ID for the offer payment is: {0}\n\nIn the Offers screen you can manage your\ - open offers. +createOffer.success.info=In the Offers screen you can manage your open offers.\n\nThe Transaction ID for the offer \ + payment is: {0} + createOffer.error.message=An error occurred when placing the offer.\n{0}