[kmymoney/5.0] kmymoney/wizards/newinvestmentwizard: Make InvestmentWizard error message user-friendly
Thomas Baumgart
null at kde.org
Fri May 1 06:46:06 BST 2020
Git commit 62d4670b21c949af8254a5351fd5897540bcca72 by Thomas Baumgart.
Committed on 01/05/2020 at 05:44.
Pushed by tbaumgart into branch '5.0'.
Make InvestmentWizard error message user-friendly
Users don't know what "objects" are, make the error message
user-friendly.
GUI:
(cherry picked from commit d2fc61b3b8141244f690a5c3df5e3bad12aa7646)
M +1 -1 kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
https://commits.kde.org/kmymoney/62d4670b21c949af8254a5351fd5897540bcca72
diff --git a/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp b/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
index f4b21370d..122482740 100644
--- a/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
+++ b/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
@@ -276,7 +276,7 @@ void KNewInvestmentWizard::createObjects(const QString& parentId)
}
ft.commit();
} catch (const MyMoneyException &e) {
- KMessageBox::detailedSorry(this, i18n("Unable to create all objects for the investment"), QString::fromLatin1(e.what()));
+ KMessageBox::detailedSorry(this, i18n("Unexpected error occurred while adding new investment"), QString::fromLatin1(e.what()));
}
}
More information about the kde-doc-english
mailing list