From c7874759b134624e2137fd088b960f3cab5c6e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 10 Apr 2016 20:30:41 -0500 Subject: [PATCH] Minor changes --- src/controller/posts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/posts.py b/src/controller/posts.py index f39e694..facaa12 100644 --- a/src/controller/posts.py +++ b/src/controller/posts.py @@ -32,7 +32,7 @@ def add_attachment(attachment): tpe = _(u"Photo") msg = attachment["photo"]["text"] if msg == "": - msg = "photo with no description available" + msg = _(u"no description available") elif attachment["type"] == "video": msg = u"{0}".format(attachment["video"]["title"],) tpe = _(u"Video") @@ -41,7 +41,7 @@ def add_attachment(attachment): tpe = _(u"Audio") elif attachment["type"] == "doc": msg = u"{0}".format(attachment["doc"]["title"]) - tpe = _(u"{0} document").format(attachment["doc"]["ext"]) + tpe = _(u"{0} file").format(attachment["doc"]["ext"]) return [tpe, msg] def get_message(status):