summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-06-28 19:11:17 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-06-28 19:11:17 -0300
commitfff0f31a664acfdbff0ddd1a18e441dce0ee3514 (patch)
treeda90f9b774d44ca7d3e605706abeda37bac1d9d9 /service
parent0e6217184eeeb69fa85fcf97d28be37e9042a71d (diff)
Normalize i18n keys
Diffstat (limited to 'service')
-rw-r--r--service/pixelated/resources/mails_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/mails_resource.py b/service/pixelated/resources/mails_resource.py
index dda3d4ba..0077ce57 100644
--- a/service/pixelated/resources/mails_resource.py
+++ b/service/pixelated/resources/mails_resource.py
@@ -111,7 +111,7 @@ class MailsArchiveResource(Resource):
for ident in idents:
deferreds.append(self._mail_service.archive_mail(ident))
d = defer.gatherResults(deferreds, consumeErrors=True)
- d.addCallback(lambda _: respond_json_deferred({'successMessage': 'Your message was archived'}, request))
+ d.addCallback(lambda _: respond_json_deferred({'successMessage': 'your-message-was-archived'}, request))
d.addErrback(lambda _: respond_json_deferred(None, request, status_code=500))
return NOT_DONE_YET