changeset 539:53c2c6ebeaaa draft

Better wording for transaction fee notification messages
author Gavin Andresen <gavinandresen@gmail.com>
date Wed, 20 Apr 2011 18:08:01 -0400
parents e586cef90a72
children c1667435491a 7a3cb21d8a8f d73846540d9b a69a1619979e 8aeedd2a806e 1b4945ed0a90 1a0476fe825f 65af2067e767
files main.cpp ui.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main.cpp
+++ b/main.cpp
@@ -4067,7 +4067,7 @@
     {
         string strError;
         if (nValue + nFeeRequired > GetBalance())
-            strError = strprintf(_("Error: This is an oversized transaction that requires a transaction fee of %s  "), FormatMoney(nFeeRequired).c_str());
+            strError = strprintf(_("Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds  "), FormatMoney(nFeeRequired).c_str());
         else
             strError = _("Error: Transaction creation failed  ");
         printf("SendMoney() : %s", strError.c_str());
--- a/ui.cpp
+++ b/ui.cpp
@@ -2247,7 +2247,7 @@
         if (!CreateTransaction(scriptPubKey, nPrice, wtx, reservekey, nFeeRequired))
         {
             if (nPrice + nFeeRequired > GetBalance())
-                Error(strprintf(_("This is an oversized transaction that requires a transaction fee of %s"), FormatMoney(nFeeRequired).c_str()));
+                Error(strprintf(_("This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds"), FormatMoney(nFeeRequired).c_str()));
             else
                 Error(_("Transaction creation failed"));
             return;