]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
item source
[friendica.git] / include / conversation.php
index b536fed5fdb00009a18e98f3c27bbcdb3b29f3c9..1fd9c31eca3c55f20e21a795d7be5191032f2126 100644 (file)
@@ -191,7 +191,7 @@ function conversation(&$a, $items, $mode, $update) {
                                        '$thumb' => $profile_avatar,
                                        '$title' => $item['title'],
                                        '$body' => $body,
-                                       '$ago' => relative_date($item['created']),
+                                       '$ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
                                        '$location' => $location,
                                        '$indent' => '',
                                        '$owner_url' => $owner_url,
@@ -464,7 +464,7 @@ function conversation(&$a, $items, $mode, $update) {
                                '$sparkle' => $sparkle,
                                '$title' => $item['title'],
                                '$body' => $body,
-                               '$ago' => relative_date($item['created']),
+                               '$ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
                                '$lock' => $lock,
                                '$location' => $location,
                                '$indent' => $indent,