From 6d24dcef05d7b2994024b142900d349f6587b122 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 28 Jul 2014 13:32:15 +0000 Subject: [PATCH] * play with mas compatibility --- source/net/filebot/Main.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index 5467754f..30b2fd73 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -374,9 +374,7 @@ public class Main { return; } - .format(Locale.ROOT, - "

Thank you for using FileBot!


It has taken many nights to develop this application. If you enjoy using it,
please consider a donation to me and my work. It will help to
make FileBot even better!

You've renamed %,d files.


", - renameCount); + String message = String.format(Locale.ROOT, "

Thank you for using FileBot!


It has taken many nights to develop this application. If you enjoy using it,
please consider a donation to me and my work. It will help to
make FileBot even better!

You've renamed %,d files.


", renameCount); String[] actions = new String[] { "Donate! :)", donationRev > 0 ? "Not this time" : "Later" }; JOptionPane pane = new JOptionPane(message, INFORMATION_MESSAGE, YES_NO_OPTION, ResourceManager.getIcon("message.donate"), actions, actions[0]); pane.createDialog(null, "Please Donate").setVisible(true);