From b4dd50b73b03d5db249cf6194a7ebc06f6dd4ecc Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 1 Dec 2013 07:16:08 +0000 Subject: [PATCH] * make sure people that have already donated know that only donating once is perfectly fine --- source/net/sourceforge/filebot/Main.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/net/sourceforge/filebot/Main.java b/source/net/sourceforge/filebot/Main.java index 938a5bb5..64b8ed80 100644 --- a/source/net/sourceforge/filebot/Main.java +++ b/source/net/sourceforge/filebot/Main.java @@ -377,8 +377,9 @@ public class Main { return; } - 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 the author of this software. It will help to
make FileBot even better!

You've renamed %,d files.


", renameCount); - String[] actions = new String[] { "Donate! :)", "Later" }; + 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 the author of this software. 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); if (pane.getValue() == actions[0]) {