summaryrefslogtreecommitdiff
path: root/src/resources/notifications.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 00:24:45 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 00:24:45 +0300
commita0e63acd1443caa477ac5f7954557a17949c3675 (patch)
tree560c07d6147da181911f934e520b0acc48f68996 /src/resources/notifications.h
parent4f75520b908b11f48c566c7bf0c10f6be5ab74bf (diff)
downloadplus-a0e63acd1443caa477ac5f7954557a17949c3675.tar.gz
plus-a0e63acd1443caa477ac5f7954557a17949c3675.tar.bz2
plus-a0e63acd1443caa477ac5f7954557a17949c3675.tar.xz
plus-a0e63acd1443caa477ac5f7954557a17949c3675.zip
Close mail edit window on success send.
Also show mail send error messages.
Diffstat (limited to 'src/resources/notifications.h')
-rw-r--r--src/resources/notifications.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/resources/notifications.h b/src/resources/notifications.h
index 61d4cdb86..a5b7a725f 100644
--- a/src/resources/notifications.h
+++ b/src/resources/notifications.h
@@ -877,6 +877,22 @@ namespace NotifyManager
// TRANSLATORS: notification message
N_("Item %s remove failed."),
NotifyFlags::STRING},
+ {"mail send fatal error",
+ // TRANSLATORS: notification message
+ N_("Mail send failed. Fatal error."),
+ NotifyFlags::EMPTY},
+ {"mail send count error",
+ // TRANSLATORS: notification message
+ N_("Mail send failed. Too mail mails sent."),
+ NotifyFlags::EMPTY},
+ {"mail send item error",
+ // TRANSLATORS: notification message
+ N_("Mail send failed. Wrong attach found."),
+ NotifyFlags::EMPTY},
+ {"mail send receiver error",
+ // TRANSLATORS: notification message
+ N_("Mail send failed. Receiver name wrong or not checked."),
+ NotifyFlags::EMPTY},
};
} // namespace NotifyManager
#endif // RESOURCES_NOTIFICATIONS_H