From 2f55a0f091153b84ddb31b32af284f0bdf96fbe7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 16 Oct 2014 01:11:14 +0300 Subject: Show errors if withdraw or deposit failed. --- src/resources/notifications.h | 9 +++++++++ src/resources/notifytypes.h | 2 ++ 2 files changed, 11 insertions(+) (limited to 'src/resources') diff --git a/src/resources/notifications.h b/src/resources/notifications.h index 6ccdc6a9a..0afe23d6f 100644 --- a/src/resources/notifications.h +++ b/src/resources/notifications.h @@ -413,6 +413,15 @@ namespace NotifyManager {"card insert success", // TRANSLATORS: notification message N_("Card inserted."), + NotifyFlags::EMPTY}, + {"bank deposit failed", + // TRANSLATORS: notification message + N_("Deposit failed. Probably you not have money to deposit."), + NotifyFlags::EMPTY}, + {"bank withdraw failed", + // TRANSLATORS: notification message + N_("Withdraw failed. Probably you not have money " + "in bank for withdraw."), NotifyFlags::EMPTY} }; } // namespace NotifyManager diff --git a/src/resources/notifytypes.h b/src/resources/notifytypes.h index 3a0ca731b..a3b4e3156 100644 --- a/src/resources/notifytypes.h +++ b/src/resources/notifytypes.h @@ -123,6 +123,8 @@ namespace NotifyTypes HOMUNCULUS_FEED_FAIL, CARD_INSERT_FAILED, CARD_INSERT_SUCCESS, + BANK_DEPOSIT_FAILED, + BANK_WITHDRAW_FAILED, TYPE_END }; -- cgit v1.2.3-70-g09d2