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);