diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-09 11:22:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-09 11:22:55 +0300 |
commit | a2ffd7da11831cc063f25ed6bb9f6be50c3b20e8 (patch) | |
tree | c522855a48126a165ab189dc2adcb0c21de6bcdc /src/resources | |
parent | 19ba46eb71edb10615cb02d30bb8163c277a146a (diff) | |
download | manaplus-a2ffd7da11831cc063f25ed6bb9f6be50c3b20e8.tar.gz manaplus-a2ffd7da11831cc063f25ed6bb9f6be50c3b20e8.tar.bz2 manaplus-a2ffd7da11831cc063f25ed6bb9f6be50c3b20e8.tar.xz manaplus-a2ffd7da11831cc063f25ed6bb9f6be50c3b20e8.zip |
Add missing buy fail reasons.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/notifications.h | 12 | ||||
-rw-r--r-- | src/resources/notifytypes.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/resources/notifications.h b/src/resources/notifications.h index 2cfeca286..05ef0f50c 100644 --- a/src/resources/notifications.h +++ b/src/resources/notifications.h @@ -42,6 +42,18 @@ namespace NotifyManager // TRANSLATORS: notification message N_("Unable to buy."), NotifyFlags::EMPTY}, + {"buy fail no money", + // TRANSLATORS: notification message + N_("Unable to buy. You not have enought money."), + NotifyFlags::EMPTY}, + {"buy fail overweight", + // TRANSLATORS: notification message + N_("Unable to buy. You overweight."), + NotifyFlags::EMPTY}, + {"buy fail too many items", + // TRANSLATORS: notification message + N_("Unable to buy. You have too many items."), + NotifyFlags::EMPTY}, {"sell empty", // TRANSLATORS: notification message N_("Nothing to sell."), diff --git a/src/resources/notifytypes.h b/src/resources/notifytypes.h index be3af93b8..e3f528e43 100644 --- a/src/resources/notifytypes.h +++ b/src/resources/notifytypes.h @@ -30,6 +30,9 @@ namespace NotifyTypes NONE = 0, BUY_DONE, BUY_FAILED, + BUY_FAILED_NO_MONEY, + BUY_FAILED_OVERWEIGHT, + BUY_FAILED_TOO_MANY_ITEMS, SELL_LIST_EMPTY, SOLD, SELL_FAILED, |