Added a few translatable strings
This commit is contained in:
parent
ce43d8b30e
commit
677f92af68
@ -45,9 +45,9 @@ def add_attachment(attachment):
|
|||||||
elif attachment["type"] == "photo":
|
elif attachment["type"] == "photo":
|
||||||
msg = attachment["photo"]["text"]
|
msg = attachment["photo"]["text"]
|
||||||
if msg == "":
|
if msg == "":
|
||||||
return "photo with no description available"
|
return _(u"photo with no description available")
|
||||||
elif attachment["type"] == "video":
|
elif attachment["type"] == "video":
|
||||||
msg = u"video: {0}".format(attachment["video"]["title"],)
|
msg = _(u"video: {0}").format(attachment["video"]["title"],)
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
def add_text(status):
|
def add_text(status):
|
||||||
|
Loading…
Reference in New Issue
Block a user