aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/translations/id/LC_MESSAGES/messages.po
diff options
context:
space:
mode:
authorzorun <github@bitsofnetworks.org>2020-05-21 21:13:33 +0200
committerGitHub <noreply@github.com>2020-05-21 21:13:33 +0200
commitdf6ffc7d86b7334b2a3c309318cc8020cd8e781a (patch)
treef4399df34a5d918f15ec17680878dff08459a19b /ihatemoney/translations/id/LC_MESSAGES/messages.po
parente10ea6c776339342dae098524742722c99d6b2bf (diff)
downloadihatemoney-mirror-df6ffc7d86b7334b2a3c309318cc8020cd8e781a.zip
ihatemoney-mirror-df6ffc7d86b7334b2a3c309318cc8020cd8e781a.tar.gz
ihatemoney-mirror-df6ffc7d86b7334b2a3c309318cc8020cd8e781a.tar.bz2
Improve error handling when sending emails (#595)
In one case, we were not catching a family of possible exceptions (socket.error), and in the two other cases there was no error handling at all. Sending emails can easily fail if no email server is configured, so it is really necessary to handle these errors instead of crashing with a HTTP 500 error. Refactor email sending code and add proper error handling. Show alert messages that tell the user if an email was sent or if there was an error. When sending a password reminder email or inviting people by email, we don't proceed to the next step in case of error, because sending emails is the whole point of these actions.
Diffstat (limited to 'ihatemoney/translations/id/LC_MESSAGES/messages.po')
-rw-r--r--ihatemoney/translations/id/LC_MESSAGES/messages.po26
1 files changed, 23 insertions, 3 deletions
diff --git a/ihatemoney/translations/id/LC_MESSAGES/messages.po b/ihatemoney/translations/id/LC_MESSAGES/messages.po
index 543d982..cff90b3 100644
--- a/ihatemoney/translations/id/LC_MESSAGES/messages.po
+++ b/ihatemoney/translations/id/LC_MESSAGES/messages.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-09 21:41+0200\n"
+"POT-Creation-Date: 2020-05-18 15:11+0200\n"
"PO-Revision-Date: 2019-11-16 10:04+0000\n"
"Last-Translator: Muhammad Fauzi <fauzi.padlaw@gmail.com>\n"
"Language: id\n"
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 2.7.0\n"
+"Generated-By: Babel 2.8.0\n"
msgid ""
"Not a valid amount or expression. Only numbers and + - * / operators are "
@@ -178,13 +178,24 @@ msgstr "Kode pribadi ini tidak benar"
msgid "You have just created '%(project)s' to share your expenses"
msgstr "Anda baru saja membuat %(project)s untuk membagikan harga Anda"
-msgid "Error while sending reminder email"
+msgid "A reminder email has just been sent to you"
+msgstr ""
+
+msgid ""
+"We tried to send you an reminder email, but there was an error. You can "
+"still use the project normally."
msgstr ""
#, python-format
msgid "The project identifier is %(project)s"
msgstr ""
+msgid ""
+"Sorry, there was an error while sending you an email with password reset "
+"instructions. Please check the email configuration of the server or "
+"contact the administrator."
+msgstr ""
+
msgid "No token provided"
msgstr "Belum ada token diberikan"
@@ -213,6 +224,12 @@ msgstr "Anda telah diundang untuk membagikan harga Anda untuk %(project)s"
msgid "Your invitations have been sent"
msgstr "Undangan Anda telah dikirim"
+msgid ""
+"Sorry, there was an error while trying to send the invitation emails. "
+"Please check the email configuration of the server or contact the "
+"administrator."
+msgstr ""
+
#, python-format
msgid "%(member)s has been added"
msgstr ""
@@ -785,3 +802,6 @@ msgstr ""
#~ msgid "each"
#~ msgstr "setiap"
+#~ msgid "Error while sending reminder email"
+#~ msgstr ""
+