ts2=translate(datetime.datetime.strftime(date2,_(u"%A, %B %d, %Y at %I:%M:%S %p")))
else:
ts2=_("Unavailable")
return[_(u"%s (@%s). %s followers, %s friends, %s tweets. Last tweet on %s. Joined Twitter on %s")%(tweet["name"],tweet["screen_name"],tweet["followers_count"],tweet["friends_count"],tweet["statuses_count"],ts2,ts)]
event=_(u"You've added to favourites: %s, %s")%(data["target"]["name"],data["target_object"]["text"])
else:
event=_(u"%s(@%s) has marked as favorite: %s")%(data["source"]["name"],data["source"]["screen_name"],data["target_object"]["text"])
elifdata["event"]=="unfavorite":
ifdata["source"]["screen_name"]==username:event=_(u"You've removed from favourites: %s, %s")%(data["target"]["name"],data["target_object"]["text"])
else:event=_(u"%s(@%s) has removed from favourites: %s")%(data["source"]["name"],data["source"]["screen_name"],data["target_object"]["text"])
elifdata["event"]=="list_created":
event=_(u"You've created the list %s")%(data["target_object"]["name"])
elifdata["event"]=="list_destroyed":
event=_("You've deleted the list %s")%(data["target_object"]["name"])
elifdata["event"]=="list_updated":
event=_("You've updated the list %s")%(data["target_object"]["name"])
elifdata["event"]=="list_member_added":
ifdata["source"]["screen_name"]==username:event=_(u"You've added %s(@%s) to the list %s")%(data["target"]["name"],data["target"]["screen_name"],data["target_object"]["name"])
else:event=_(u"%s(@%s) has added you to the list %s")%(data["source"]["name"],data["source"]["screen_name"],data["target_object"]["name"])
elifdata["event"]=="list_member_removed":
ifdata["source"]["screen_name"]==username:event=_(u"You'be removed %s(@%s) from the list %s")%(data["target"]["name"],data["target"]["screen_name"],data["target_object"]["name"])
else:event=_(u"%s(@%s) has removed you from the list %s")%(data["source"]["name"],data["source"]["screen_name"],data["target_object"]["name"])
elifdata["event"]=="list_user_subscribed":
ifdata["source"]["screen_name"]==username:event=_(u"You've subscribed to the list %s, which is owned by %s(@%s)")%(data["target_object"]["name"],data["target"]["name"],data["target"]["screen_name"])
else:event=_(u"%s(@%s) has suscribed you to the list %s")%(data["source"]["name"],data["source"]["screen_name"],data["target_object"]["name"])
elifdata["event"]=="list_user_unsubscribed":
ifdata["source"]["screen_name"]==username:event=_(u"You've unsubscribed from the list %s, which is owned by %s(@%s)")%(data["target_object"]["name"],data["target"]["name"],data["target"]["screen_name"])
else:event=_("You've been unsubscribed from the list %s, which is owned by %s(@%s)")%(data["target_object"]["name"],data["source"]["name"],data["source"]["screen_name"])