Use the post-counts table to display content (#13781)

* Use the post-counts table to display content

* Use verb instead of vid

* Use verb

* Update counter on delete
This commit is contained in:
Michael Vogel 2023-12-31 12:50:07 +01:00 committed by GitHub
parent 0c68a53e1e
commit 8fc96477e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 250 additions and 126 deletions

View file

@ -1,6 +1,6 @@
-- ------------------------------------------ -- ------------------------------------------
-- Friendica 2024.03-dev (Yellow Archangel) -- Friendica 2024.03-dev (Yellow Archangel)
-- DB_UPDATE_VERSION 1543 -- DB_UPDATE_VERSION 1544
-- ------------------------------------------ -- ------------------------------------------
@ -2025,6 +2025,20 @@ CREATE VIEW `circle-member-view` AS SELECT
INNER JOIN `contact` ON `group_member`.`contact-id` = `contact`.`id` INNER JOIN `contact` ON `group_member`.`contact-id` = `contact`.`id`
INNER JOIN `group` ON `group_member`.`gid` = `group`.`id`; INNER JOIN `group` ON `group_member`.`gid` = `group`.`id`;
--
-- VIEW post-counts-view
--
DROP VIEW IF EXISTS `post-counts-view`;
CREATE VIEW `post-counts-view` AS SELECT
`post-counts`.`uri-id` AS `uri-id`,
`post-counts`.`vid` AS `vid`,
`verb`.`name` AS `verb`,
`post-counts`.`reaction` AS `reaction`,
`post-counts`.`parent-uri-id` AS `parent-uri-id`,
`post-counts`.`count` AS `count`
FROM `post-counts`
INNER JOIN `verb` ON `verb`.`id` = `post-counts`.`vid`;
-- --
-- VIEW post-timeline-view -- VIEW post-timeline-view
-- --

View file

@ -96,8 +96,6 @@ class Conversation
private $session; private $session;
/** @var Repository\UserGServer */ /** @var Repository\UserGServer */
private $userGServer; private $userGServer;
/** @var Array */
private $blockList;
public function __construct(Repository\UserGServer $userGServer, LoggerInterface $logger, Profiler $profiler, Activity $activity, L10n $l10n, Item $item, Arguments $args, BaseURL $baseURL, IManageConfigValues $config, IManagePersonalConfigValues $pConfig, App\Page $page, App\Mode $mode, App $app, IHandleUserSessions $session) public function __construct(Repository\UserGServer $userGServer, LoggerInterface $logger, Profiler $profiler, Activity $activity, L10n $l10n, Item $item, Arguments $args, BaseURL $baseURL, IManageConfigValues $config, IManagePersonalConfigValues $pConfig, App\Page $page, App\Mode $mode, App $app, IHandleUserSessions $session)
{ {
@ -868,6 +866,7 @@ class Conversation
$emojis = $this->getEmojis($uriids); $emojis = $this->getEmojis($uriids);
$quoteshares = $this->getQuoteShares($uriids); $quoteshares = $this->getQuoteShares($uriids);
$counts = $this->getCounts($uriids);
if (!$this->config->get('system', 'legacy_activities')) { if (!$this->config->get('system', 'legacy_activities')) {
$condition = DBA::mergeConditions($condition, ["(`gravity` != ? OR `origin`)", ItemModel::GRAVITY_ACTIVITY]); $condition = DBA::mergeConditions($condition, ["(`gravity` != ? OR `origin`)", ItemModel::GRAVITY_ACTIVITY]);
@ -875,7 +874,7 @@ class Conversation
$condition = DBA::mergeConditions( $condition = DBA::mergeConditions(
$condition, $condition,
["`uid` IN (0, ?) AND (NOT `vid` IN (?, ?, ?) OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW), Verb::getID(Activity::VIEW), Verb::getID(Activity::READ)] ["`uid` IN (0, ?) AND (NOT `verb` IN (?, ?, ?) OR `verb` IS NULL)", $uid, Activity::FOLLOW, Activity::VIEW, Activity::READ]
); );
$condition = DBA::mergeConditions($condition, ["(`uid` != ? OR `private` != ?)", 0, ItemModel::PRIVATE]); $condition = DBA::mergeConditions($condition, ["(`uid` != ? OR `private` != ?)", 0, ItemModel::PRIVATE]);
@ -992,6 +991,7 @@ class Conversation
foreach ($items as $key => $row) { foreach ($items as $key => $row) {
$items[$key]['emojis'] = $emojis[$key] ?? []; $items[$key]['emojis'] = $emojis[$key] ?? [];
$items[$key]['counts'] = $counts[$key] ?? 0;
$items[$key]['quoteshares'] = $quoteshares[$key] ?? []; $items[$key]['quoteshares'] = $quoteshares[$key] ?? [];
$always_display = in_array($mode, [self::MODE_CONTACTS, self::MODE_CONTACT_POSTS]); $always_display = in_array($mode, [self::MODE_CONTACTS, self::MODE_CONTACT_POSTS]);
@ -1025,6 +1025,16 @@ class Conversation
*/ */
private function getEmojis(array $uriids): array private function getEmojis(array $uriids): array
{ {
$emojis = [];
foreach (Post\Counts::get(['parent-uri-id' => $uriids]) as $count) {
$emojis[$count['uri-id']][$count['reaction']]['emoji'] = $count['reaction'];
$emojis[$count['uri-id']][$count['reaction']]['verb'] = Verb::getByID($count['vid']);
$emojis[$count['uri-id']][$count['reaction']]['total'] = $count['count'];
$emojis[$count['uri-id']][$count['reaction']]['title'] = [];
}
// @todo The following code should be removed, once that we display activity authors on demand
$activity_emoji = [ $activity_emoji = [
Activity::LIKE => '👍', Activity::LIKE => '👍',
Activity::DISLIKE => '👎', Activity::DISLIKE => '👎',
@ -1033,42 +1043,49 @@ class Conversation
Activity::ATTENDNO => '❌', Activity::ATTENDNO => '❌',
Activity::ANNOUNCE => '♻', Activity::ANNOUNCE => '♻',
Activity::VIEW => '📺', Activity::VIEW => '📺',
Activity::READ => '📖',
]; ];
$index_list = array_values($activity_emoji); $verbs = array_merge(array_keys($activity_emoji), [Activity::EMOJIREACT, Activity::POST]);
$verbs = array_merge(array_keys($activity_emoji), [Activity::EMOJIREACT, Activity::POST]);
$condition = DBA::mergeConditions(['parent-uri-id' => $uriids, 'gravity' => [ItemModel::GRAVITY_ACTIVITY, ItemModel::GRAVITY_COMMENT], 'verb' => $verbs], ["NOT `deleted`"]); $condition = DBA::mergeConditions(['parent-uri-id' => $uriids, 'gravity' => [ItemModel::GRAVITY_ACTIVITY, ItemModel::GRAVITY_COMMENT], 'verb' => $verbs], ["NOT `deleted`"]);
$separator = chr(255) . chr(255) . chr(255); $separator = chr(255) . chr(255) . chr(255);
$sql = "SELECT `thr-parent-id`, `body`, `verb`, `gravity`, COUNT(*) AS `total`, GROUP_CONCAT(REPLACE(`author-name`, '" . $separator . "', ' ') SEPARATOR '" . $separator . "' LIMIT 50) AS `title` FROM `post-view` WHERE " . array_shift($condition) . " GROUP BY `thr-parent-id`, `verb`, `body`, `gravity`"; $sql = "SELECT `parent-uri-id`, `thr-parent-id`, `body`, `verb`, `gravity`, GROUP_CONCAT(REPLACE(`author-name`, '" . $separator . "', ' ') SEPARATOR '" . $separator . "' LIMIT 50) AS `title` FROM `post-view` WHERE " . array_shift($condition) . " GROUP BY `parent-uri-id`, `thr-parent-id`, `verb`, `body`, `gravity`";
$emojis = [];
$rows = DBA::p($sql, $condition); $rows = DBA::p($sql, $condition);
while ($row = DBA::fetch($rows)) { while ($row = DBA::fetch($rows)) {
if ($row['gravity'] == ItemModel::GRAVITY_ACTIVITY) { if ($row['gravity'] == ItemModel::GRAVITY_ACTIVITY) {
$row['verb'] = $row['body'] ? Activity::EMOJIREACT : $row['verb']; $emoji = $row['body'] ?: $activity_emoji[$row['verb']];
$emoji = $row['body'] ?: $activity_emoji[$row['verb']];
} else { } else {
$emoji = ''; $emoji = '';
} }
if (!isset($index_list[$emoji])) { if (isset($emojis[$row['thr-parent-id']][$emoji]['title'])) {
$index_list[] = $emoji; $emojis[$row['thr-parent-id']][$emoji]['title'] = array_unique(array_merge($emojis[$row['thr-parent-id']][$emoji]['title'] ?? [], explode($separator, $row['title'])));
} }
$index = array_search($emoji, $index_list);
$emojis[$row['thr-parent-id']][$index]['emoji'] = $emoji;
$emojis[$row['thr-parent-id']][$index]['verb'] = $row['verb'];
$emojis[$row['thr-parent-id']][$index]['total'] = ($emojis[$row['thr-parent-id']][$index]['total'] ?? 0) + $row['total'];
$emojis[$row['thr-parent-id']][$index]['title'] = array_unique(array_merge($emojis[$row['thr-parent-id']][$index]['title'] ?? [], explode($separator, $row['title'])));
} }
DBA::close($rows); DBA::close($rows);
return $emojis; return $emojis;
} }
/**
* Fetch comment counts from the conversation
*
* @param array $uriids
* @return array
*/
private function getCounts(array $uriids): array
{
$counts = [];
foreach (Post\Counts::get(['parent-uri-id' => $uriids, 'verb' => Activity::POST]) as $count) {
$counts[$count['parent-uri-id']] = ($counts[$count['parent-uri-id']] ?? 0) + $count['count'];
}
return $counts;
}
/** /**
* Fetch quote shares from the conversation * Fetch quote shares from the conversation
* *

View file

@ -52,7 +52,7 @@ class PostUpdate
// Needed for the helper function to read from the legacy term table // Needed for the helper function to read from the legacy term table
const OBJECT_TYPE_POST = 1; const OBJECT_TYPE_POST = 1;
const VERSION = 1543; const VERSION = 1544;
/** /**
* Calls the post update functions * Calls the post update functions
@ -125,7 +125,7 @@ class PostUpdate
if (!self::update1507()) { if (!self::update1507()) {
return false; return false;
} }
if (!self::update1543()) { if (!self::update1544()) {
return false; return false;
} }
return true; return true;
@ -1315,20 +1315,24 @@ class PostUpdate
* @throws \Friendica\Network\HTTPException\InternalServerErrorException * @throws \Friendica\Network\HTTPException\InternalServerErrorException
* @throws \ImagickException * @throws \ImagickException
*/ */
private static function update1543() private static function update1544()
{ {
// Was the script completed? // Was the script completed?
if (DI::keyValue()->get('post_update_version') >= 1543) { if (DI::keyValue()->get('post_update_version') >= 1544) {
return true; return true;
} }
$id = DI::keyValue()->get('post_update_version_1543_id') ?? 0; $id = (int)(DI::keyValue()->get('post_update_version_1544_id') ?? 0);
if ($id == 0) {
$post = Post::selectFirstPost(['uri-id'], [], ['order' => ['uri-id' => true]]);
$id = (int)($post['uri-id'] ?? 0);
}
Logger::info('Start', ['uri-id' => $id]); Logger::info('Start', ['uri-id' => $id]);
$rows = 0; $rows = 0;
$posts = Post::selectPosts(['uri-id', 'parent-uri-id'], ["`uri-id` > ? AND `gravity` IN (?, ?)", $id, Item::GRAVITY_COMMENT, Item::GRAVITY_PARENT], ['order' => ['uri-id'], 'limit' => 1000]); $posts = Post::selectPosts(['uri-id', 'parent-uri-id'], ["`uri-id` < ? AND `gravity` IN (?, ?)", $id, Item::GRAVITY_COMMENT, Item::GRAVITY_PARENT], ['order' => ['uri-id' => true], 'limit' => 1000]);
if (DBA::errorNo() != 0) { if (DBA::errorNo() != 0) {
Logger::error('Database error', ['no' => DBA::errorNo(), 'message' => DBA::errorMessage()]); Logger::error('Database error', ['no' => DBA::errorNo(), 'message' => DBA::errorMessage()]);
@ -1342,12 +1346,12 @@ class PostUpdate
} }
DBA::close($posts); DBA::close($posts);
DI::keyValue()->set('post_update_version_1543_id', $id); DI::keyValue()->set('post_update_version_1544_id', $id);
Logger::info('Processed', ['rows' => $rows, 'last' => $id]); Logger::info('Processed', ['rows' => $rows, 'last' => $id]);
if ($rows <= 100) { if ($rows <= 100) {
DI::keyValue()->set('post_update_version', 1543); DI::keyValue()->set('post_update_version', 1544);
Logger::info('Done'); Logger::info('Done');
return true; return true;
} }

View file

@ -338,7 +338,7 @@ class Item
// locate item to be deleted // locate item to be deleted
$fields = [ $fields = [
'id', 'uri', 'uri-id', 'uid', 'parent', 'parent-uri-id', 'origin', 'id', 'uri', 'uri-id', 'uid', 'parent', 'parent-uri-id', 'origin',
'deleted', 'resource-id', 'event-id', 'thr-parent-id', 'deleted', 'resource-id', 'event-id', 'vid', 'body',
'verb', 'object-type', 'object', 'target', 'contact-id', 'psid', 'gravity' 'verb', 'object-type', 'object', 'target', 'contact-id', 'psid', 'gravity'
]; ];
$item = Post::selectFirst($fields, ['id' => $item_id]); $item = Post::selectFirst($fields, ['id' => $item_id]);
@ -418,6 +418,10 @@ class Item
DI::notify()->deleteForItem($item['uri-id']); DI::notify()->deleteForItem($item['uri-id']);
DI::notification()->deleteForItem($item['uri-id']); DI::notification()->deleteForItem($item['uri-id']);
if (in_array($item['gravity'], [self::GRAVITY_ACTIVITY, self::GRAVITY_COMMENT])) {
Post\Counts::update($item['thr-parent-id'], $item['parent-uri-id'], $item['vid'], $item['verb'], $item['body']);
}
Logger::info('Item has been marked for deletion.', ['id' => $item_id]); Logger::info('Item has been marked for deletion.', ['id' => $item_id]);
return true; return true;
@ -1427,16 +1431,15 @@ class Item
Worker::add(['priority' => $priority, 'dont_fork' => true], 'Notifier', $notify_type, (int)$posted_item['uri-id'], (int)$posted_item['uid']); Worker::add(['priority' => $priority, 'dont_fork' => true], 'Notifier', $notify_type, (int)$posted_item['uri-id'], (int)$posted_item['uid']);
} }
// Fill the cache with the rendered content.
if (in_array($posted_item['gravity'], [self::GRAVITY_PARENT, self::GRAVITY_COMMENT]) && ($posted_item['uid'] == 0)) {
self::updateDisplayCache($posted_item['uri-id']);
}
if (in_array($posted_item['gravity'], [self::GRAVITY_ACTIVITY, self::GRAVITY_COMMENT]) && ($posted_item['uid'] == 0)) {
Post\Counts::update($posted_item['thr-parent-id'], $posted_item['parent-uri-id'], $posted_item['vid'], $posted_item['verb'], $posted_item['body']);
}
if ($inserted) { if ($inserted) {
// Fill the cache with the rendered content.
if (in_array($posted_item['gravity'], [self::GRAVITY_PARENT, self::GRAVITY_COMMENT])) {
self::updateDisplayCache($posted_item['uri-id']);
}
if (in_array($posted_item['gravity'], [self::GRAVITY_ACTIVITY, self::GRAVITY_COMMENT])) {
Post\Counts::update($posted_item['thr-parent-id'], $posted_item['parent-uri-id'], $posted_item['vid'], $posted_item['verb'], $posted_item['body']);
}
Post\Engagement::storeFromItem($posted_item); Post\Engagement::storeFromItem($posted_item);
} }

View file

@ -38,11 +38,20 @@ class Counts
*/ */
public static function update(int $uri_id, int $parent_uri_id, int $vid, string $verb, string $body = null) public static function update(int $uri_id, int $parent_uri_id, int $vid, string $verb, string $body = null)
{ {
$condition = ['thr-parent-id' => $uri_id, 'vid' => $vid]; if (!in_array($verb, [Activity::POST, Activity::LIKE, Activity::DISLIKE,
Activity::ATTEND, Activity::ATTENDMAYBE, Activity::ATTENDNO,
Activity::EMOJIREACT, Activity::ANNOUNCE, Activity::VIEW, Activity::READ])) {
return true;
}
$condition = ['thr-parent-id' => $uri_id, 'vid' => $vid, 'deleted' => false];
if ($body == $verb) { if ($body == $verb) {
$condition['body'] = null; $condition['body'] = null;
$body = ''; $body = '';
} elseif ($verb == Activity::POST) {
$condition['gravity'] = Item::GRAVITY_COMMENT;
$body = '';
} elseif (($verb != Activity::POST) && (mb_strlen($body) == 1) && Smilies::isEmojiPost($body)) { } elseif (($verb != Activity::POST) && (mb_strlen($body) == 1) && Smilies::isEmojiPost($body)) {
$condition['body'] = $body; $condition['body'] = $body;
} else { } else {
@ -58,6 +67,7 @@ class Counts
]; ];
if ($fields['count'] == 0) { if ($fields['count'] == 0) {
DBA::delete('post-counts', ['uri-id' => $uri_id, 'vid' => $vid, 'reaction' => $body]);
return true; return true;
} }
@ -76,14 +86,41 @@ class Counts
} }
/** /**
* Retrieves counts of the given uri-id * Retrieves counts of the given condition
* *
* @param int $uriId * @param array $condition
* *
* @return array * @return array
*/ */
public static function getByURIId(int $uriId): array public static function get(array $condition): array
{ {
return DBA::selectToArray('post-counts', [], ['uri-id' => $uriId]); $counts = [];
$activity_emoji = [
Activity::LIKE => '👍',
Activity::DISLIKE => '👎',
Activity::ATTEND => '✔️',
Activity::ATTENDMAYBE => '❓',
Activity::ATTENDNO => '❌',
Activity::ANNOUNCE => '♻',
Activity::VIEW => '📺',
Activity::READ => '📖',
];
$verbs = array_merge(array_keys($activity_emoji), [Activity::EMOJIREACT, Activity::POST]);
$condition = DBA::mergeConditions($condition, ['verb' => $verbs]);
$countquery = DBA::select('post-counts-view', [], $condition);
while ($count = DBA::fetch($countquery)) {
if (!empty($count['reaction'])) {
$count['verb'] = Activity::EMOJIREACT;
$count['vid'] = Verb::getID($count['verb']);
} elseif (!empty($activity_emoji[$count['verb']])) {
$count['reaction'] = $activity_emoji[$count['verb']];
}
$counts[] = $count;
}
DBA::close($counts);
return $counts;
} }
} }

View file

@ -26,6 +26,8 @@ use Friendica\Database\DBA;
class Verb class Verb
{ {
static $verbs = [];
/** /**
* Insert a verb record and return its id * Insert a verb record and return its id
* *
@ -40,14 +42,23 @@ class Verb
return 0; return 0;
} }
$id = array_search($verb, self::$verbs);
if ($id !== false) {
return $id;
}
$verb_record = DBA::selectFirst('verb', ['id'], ['name' => $verb]); $verb_record = DBA::selectFirst('verb', ['id'], ['name' => $verb]);
if (DBA::isResult($verb_record)) { if (DBA::isResult($verb_record)) {
self::$verbs[$verb_record['id']] = $verb;
return $verb_record['id']; return $verb_record['id'];
} }
DBA::insert('verb', ['name' => $verb], Database::INSERT_IGNORE); DBA::insert('verb', ['name' => $verb], Database::INSERT_IGNORE);
return DBA::lastInsertId(); $id = DBA::lastInsertId();
self::$verbs[$id] = $verb;
return $id;
} }
/** /**
@ -62,11 +73,17 @@ class Verb
return ''; return '';
} }
if (!empty(self::$verbs[$id])) {
return self::$verbs[$id];
}
$verb_record = DBA::selectFirst('verb', ['name'], ['id' => $id]); $verb_record = DBA::selectFirst('verb', ['name'], ['id' => $id]);
if (!DBA::isResult($verb_record)) { if (!DBA::isResult($verb_record)) {
return ''; return '';
} }
self::$verbs[$id] = $verb_record['name'];
return $verb_record['name']; return $verb_record['name'];
} }
} }

View file

@ -435,8 +435,8 @@ class Network extends Timeline
$conditionStrings = DBA::mergeConditions($conditionStrings, ["`contact-id` IN (SELECT `contact-id` FROM `group_member` WHERE `gid` = ?)", $this->circleId]); $conditionStrings = DBA::mergeConditions($conditionStrings, ["`contact-id` IN (SELECT `contact-id` FROM `group_member` WHERE `gid` = ?)", $this->circleId]);
} elseif ($this->groupContactId) { } elseif ($this->groupContactId) {
$conditionStrings = DBA::mergeConditions($conditionStrings, $conditionStrings = DBA::mergeConditions($conditionStrings,
["((`contact-id` = ?) OR `uri-id` IN (SELECT `parent-uri-id` FROM `post-user-view` WHERE (`contact-id` = ? AND `gravity` = ? AND `vid` = ? AND `uid` = ?)))", ["((`contact-id` = ?) OR `uri-id` IN (SELECT `parent-uri-id` FROM `post-user-view` WHERE (`contact-id` = ? AND `gravity` = ? AND `verb` = ? AND `uid` = ?)))",
$this->groupContactId, $this->groupContactId, Item::GRAVITY_ACTIVITY, Verb::getID(Activity::ANNOUNCE), $this->session->getLocalUserId()]); $this->groupContactId, $this->groupContactId, Item::GRAVITY_ACTIVITY, Activity::ANNOUNCE, $this->session->getLocalUserId()]);
} }
// Currently only the order modes "received" and "commented" are in use // Currently only the order modes "received" and "commented" are in use

View file

@ -41,7 +41,9 @@ use Friendica\Database\DBA;
use Friendica\Model\Item; use Friendica\Model\Item;
use Friendica\Model\Post; use Friendica\Model\Post;
use Friendica\Model\Post\Engagement; use Friendica\Model\Post\Engagement;
use Friendica\Model\Verb;
use Friendica\Module\Response; use Friendica\Module\Response;
use Friendica\Protocol\Activity;
use Friendica\Util\DateTimeFormat; use Friendica\Util\DateTimeFormat;
use Friendica\Util\Profiler; use Friendica\Util\Profiler;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
@ -626,6 +628,8 @@ class Timeline extends BaseModule
$result = Post::selectThreadForUser($this->session->getLocalUserId() ?: 0, ['uri-id', 'received', 'author-id', 'author-gsid'], $condition, $params); $result = Post::selectThreadForUser($this->session->getLocalUserId() ?: 0, ['uri-id', 'received', 'author-id', 'author-gsid'], $condition, $params);
while ($item = $this->database->fetch($result)) { while ($item = $this->database->fetch($result)) {
$item['comments'] = 0;
$items[$item['uri-id']] = $item; $items[$item['uri-id']] = $item;
} }
$this->database->close($result); $this->database->close($result);
@ -634,6 +638,12 @@ class Timeline extends BaseModule
return []; return [];
} }
$uriids = array_keys($items);
foreach (Post\Counts::get(['parent-uri-id' => $uriids, 'verb' => Activity::POST]) as $count) {
$items[$count['parent-uri-id']]['comments'] += $count['count'];
}
// Previous page case: once we get the relevant items closest to min_id, we need to restore the expected display order // Previous page case: once we get the relevant items closest to min_id, we need to restore the expected display order
if (empty($this->itemUriId) && isset($this->minId) && !isset($this->maxId)) { if (empty($this->itemUriId) && isset($this->minId) && !isset($this->maxId)) {
$items = array_reverse($items); $items = array_reverse($items);

View file

@ -201,7 +201,7 @@ class Post
$indent = ''; $indent = '';
$shiny = ''; $shiny = '';
$osparkle = ''; $osparkle = '';
$total_children = $this->countDescendants(); $total_children = $item['counts'] ?? $this->countDescendants();
$conv = $this->getThread(); $conv = $this->getThread();
@ -697,6 +697,11 @@ class Post
$icon = ['fa' => 'fa-eye', 'icon' => 'icon-eye-open']; $icon = ['fa' => 'fa-eye', 'icon' => 'icon-eye-open'];
break; break;
case Activity::READ:
$title = DI::l10n()->t('Read by: %s', $actors);
$icon = ['fa' => 'fa-book', 'icon' => 'icon-book'];
break;
case Activity::LIKE: case Activity::LIKE:
$title = DI::l10n()->t('Liked by: %s', $actors); $title = DI::l10n()->t('Liked by: %s', $actors);
$icon = ['fa' => 'fa-thumbs-up', 'icon' => 'icon-thumbs-up']; $icon = ['fa' => 'fa-thumbs-up', 'icon' => 'icon-thumbs-up'];

View file

@ -56,7 +56,7 @@ use Friendica\Database\DBA;
// This file is required several times during the test in DbaDefinition which justifies this condition // This file is required several times during the test in DbaDefinition which justifies this condition
if (!defined('DB_UPDATE_VERSION')) { if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1543); define('DB_UPDATE_VERSION', 1544);
} }
return [ return [

View file

@ -87,6 +87,18 @@
INNER JOIN `contact` ON `group_member`.`contact-id` = `contact`.`id` INNER JOIN `contact` ON `group_member`.`contact-id` = `contact`.`id`
INNER JOIN `group` ON `group_member`.`gid` = `group`.`id`" INNER JOIN `group` ON `group_member`.`gid` = `group`.`id`"
], ],
"post-counts-view" => [
"fields" => [
"uri-id" => ["post-counts", "uri-id"],
"vid" => ["post-counts", "vid"],
"verb" => ["verb", "name"],
"reaction" => ["post-counts", "reaction"],
"parent-uri-id" => ["post-counts", "parent-uri-id"],
"count" => ["post-counts", "count"],
],
"query" => "FROM `post-counts`
INNER JOIN `verb` ON `verb`.`id` = `post-counts`.`vid`"
],
"post-timeline-view" => [ "post-timeline-view" => [
"fields" => [ "fields" => [
"uid" => ["post-user", "uid"], "uid" => ["post-user", "uid"],

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2024.03-dev\n" "Project-Id-Version: 2024.03-dev\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-25 10:16+0000\n" "POT-Creation-Date: 2023-12-30 21:51+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -293,7 +293,7 @@ msgid "Insert web link"
msgstr "" msgstr ""
#: mod/message.php:201 mod/message.php:357 mod/photos.php:1301 #: mod/message.php:201 mod/message.php:357 mod/photos.php:1301
#: src/Content/Conversation.php:401 src/Content/Conversation.php:1604 #: src/Content/Conversation.php:401 src/Content/Conversation.php:1589
#: src/Module/Item/Compose.php:206 src/Module/Post/Edit.php:145 #: src/Module/Item/Compose.php:206 src/Module/Post/Edit.php:145
#: src/Module/Profile/UnkMail.php:154 src/Object/Post.php:609 #: src/Module/Profile/UnkMail.php:154 src/Object/Post.php:609
msgid "Please wait" msgid "Please wait"
@ -318,7 +318,7 @@ msgstr ""
#: src/Module/Profile/Profile.php:274 src/Module/Profile/UnkMail.php:155 #: src/Module/Profile/Profile.php:274 src/Module/Profile/UnkMail.php:155
#: src/Module/Settings/Profile/Index.php:257 #: src/Module/Settings/Profile/Index.php:257
#: src/Module/Settings/Server/Action.php:79 src/Module/User/Delegation.php:189 #: src/Module/Settings/Server/Action.php:79 src/Module/User/Delegation.php:189
#: src/Object/Post.php:1149 view/theme/duepuntozero/config.php:85 #: src/Object/Post.php:1154 view/theme/duepuntozero/config.php:85
#: view/theme/frio/config.php:171 view/theme/quattro/config.php:87 #: view/theme/frio/config.php:171 view/theme/quattro/config.php:87
#: view/theme/vier/config.php:135 #: view/theme/vier/config.php:135
msgid "Submit" msgid "Submit"
@ -603,34 +603,34 @@ msgstr ""
#: mod/photos.php:1139 mod/photos.php:1195 mod/photos.php:1275 #: mod/photos.php:1139 mod/photos.php:1195 mod/photos.php:1275
#: src/Module/Contact.php:618 src/Module/Item/Compose.php:188 #: src/Module/Contact.php:618 src/Module/Item/Compose.php:188
#: src/Object/Post.php:1146 #: src/Object/Post.php:1151
msgid "This is you" msgid "This is you"
msgstr "" msgstr ""
#: mod/photos.php:1141 mod/photos.php:1197 mod/photos.php:1277 #: mod/photos.php:1141 mod/photos.php:1197 mod/photos.php:1277
#: src/Module/Moderation/Reports.php:95 src/Object/Post.php:603 #: src/Module/Moderation/Reports.php:95 src/Object/Post.php:603
#: src/Object/Post.php:1148 #: src/Object/Post.php:1153
msgid "Comment" msgid "Comment"
msgstr "" msgstr ""
#: mod/photos.php:1143 mod/photos.php:1199 mod/photos.php:1279 #: mod/photos.php:1143 mod/photos.php:1199 mod/photos.php:1279
#: src/Content/Conversation.php:416 src/Module/Calendar/Event/Form.php:248 #: src/Content/Conversation.php:416 src/Module/Calendar/Event/Form.php:248
#: src/Module/Item/Compose.php:201 src/Module/Post/Edit.php:165 #: src/Module/Item/Compose.php:201 src/Module/Post/Edit.php:165
#: src/Object/Post.php:1162 #: src/Object/Post.php:1167
msgid "Preview" msgid "Preview"
msgstr "" msgstr ""
#: mod/photos.php:1144 src/Content/Conversation.php:369 #: mod/photos.php:1144 src/Content/Conversation.php:369
#: src/Module/Post/Edit.php:130 src/Object/Post.php:1150 #: src/Module/Post/Edit.php:130 src/Object/Post.php:1155
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: mod/photos.php:1236 src/Content/Conversation.php:1519 #: mod/photos.php:1236 src/Content/Conversation.php:1504
#: src/Object/Post.php:261 #: src/Object/Post.php:261
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: mod/photos.php:1237 src/Content/Conversation.php:1520 #: mod/photos.php:1237 src/Content/Conversation.php:1505
#: src/Module/Moderation/Users/Active.php:136 #: src/Module/Moderation/Users/Active.php:136
#: src/Module/Moderation/Users/Blocked.php:136 #: src/Module/Moderation/Users/Blocked.php:136
#: src/Module/Moderation/Users/Index.php:151 #: src/Module/Moderation/Users/Index.php:151
@ -1244,7 +1244,7 @@ msgid "Visible to <strong>everybody</strong>"
msgstr "" msgstr ""
#: src/Content/Conversation.php:339 src/Module/Item/Compose.php:200 #: src/Content/Conversation.php:339 src/Module/Item/Compose.php:200
#: src/Object/Post.php:1161 #: src/Object/Post.php:1166
msgid "Please enter a image/video/audio/webpage URL:" msgid "Please enter a image/video/audio/webpage URL:"
msgstr "" msgstr ""
@ -1289,52 +1289,52 @@ msgid "attach file"
msgstr "" msgstr ""
#: src/Content/Conversation.php:374 src/Module/Item/Compose.php:190 #: src/Content/Conversation.php:374 src/Module/Item/Compose.php:190
#: src/Module/Post/Edit.php:171 src/Object/Post.php:1151 #: src/Module/Post/Edit.php:171 src/Object/Post.php:1156
msgid "Bold" msgid "Bold"
msgstr "" msgstr ""
#: src/Content/Conversation.php:375 src/Module/Item/Compose.php:191 #: src/Content/Conversation.php:375 src/Module/Item/Compose.php:191
#: src/Module/Post/Edit.php:172 src/Object/Post.php:1152 #: src/Module/Post/Edit.php:172 src/Object/Post.php:1157
msgid "Italic" msgid "Italic"
msgstr "" msgstr ""
#: src/Content/Conversation.php:376 src/Module/Item/Compose.php:192 #: src/Content/Conversation.php:376 src/Module/Item/Compose.php:192
#: src/Module/Post/Edit.php:173 src/Object/Post.php:1153 #: src/Module/Post/Edit.php:173 src/Object/Post.php:1158
msgid "Underline" msgid "Underline"
msgstr "" msgstr ""
#: src/Content/Conversation.php:377 src/Module/Item/Compose.php:193 #: src/Content/Conversation.php:377 src/Module/Item/Compose.php:193
#: src/Module/Post/Edit.php:174 src/Object/Post.php:1155 #: src/Module/Post/Edit.php:174 src/Object/Post.php:1160
msgid "Quote" msgid "Quote"
msgstr "" msgstr ""
#: src/Content/Conversation.php:378 src/Module/Item/Compose.php:194 #: src/Content/Conversation.php:378 src/Module/Item/Compose.php:194
#: src/Module/Post/Edit.php:175 src/Object/Post.php:1156 #: src/Module/Post/Edit.php:175 src/Object/Post.php:1161
msgid "Add emojis" msgid "Add emojis"
msgstr "" msgstr ""
#: src/Content/Conversation.php:379 src/Module/Item/Compose.php:195 #: src/Content/Conversation.php:379 src/Module/Item/Compose.php:195
#: src/Object/Post.php:1154 #: src/Object/Post.php:1159
msgid "Content Warning" msgid "Content Warning"
msgstr "" msgstr ""
#: src/Content/Conversation.php:380 src/Module/Item/Compose.php:196 #: src/Content/Conversation.php:380 src/Module/Item/Compose.php:196
#: src/Module/Post/Edit.php:176 src/Object/Post.php:1157 #: src/Module/Post/Edit.php:176 src/Object/Post.php:1162
msgid "Code" msgid "Code"
msgstr "" msgstr ""
#: src/Content/Conversation.php:381 src/Module/Item/Compose.php:197 #: src/Content/Conversation.php:381 src/Module/Item/Compose.php:197
#: src/Object/Post.php:1158 #: src/Object/Post.php:1163
msgid "Image" msgid "Image"
msgstr "" msgstr ""
#: src/Content/Conversation.php:382 src/Module/Item/Compose.php:198 #: src/Content/Conversation.php:382 src/Module/Item/Compose.php:198
#: src/Module/Post/Edit.php:177 src/Object/Post.php:1159 #: src/Module/Post/Edit.php:177 src/Object/Post.php:1164
msgid "Link" msgid "Link"
msgstr "" msgstr ""
#: src/Content/Conversation.php:383 src/Module/Item/Compose.php:199 #: src/Content/Conversation.php:383 src/Module/Item/Compose.php:199
#: src/Module/Post/Edit.php:178 src/Object/Post.php:1160 #: src/Module/Post/Edit.php:178 src/Object/Post.php:1165
msgid "Link or Media" msgid "Link or Media"
msgstr "" msgstr ""
@ -1404,116 +1404,116 @@ msgstr ""
msgid "Delete Selected Items" msgid "Delete Selected Items"
msgstr "" msgstr ""
#: src/Content/Conversation.php:756 src/Content/Conversation.php:759 #: src/Content/Conversation.php:729 src/Content/Conversation.php:732
#: src/Content/Conversation.php:762 src/Content/Conversation.php:765 #: src/Content/Conversation.php:735 src/Content/Conversation.php:738
#: src/Content/Conversation.php:768 #: src/Content/Conversation.php:741
#, php-format #, php-format
msgid "You had been addressed (%s)." msgid "You had been addressed (%s)."
msgstr "" msgstr ""
#: src/Content/Conversation.php:771 #: src/Content/Conversation.php:744
#, php-format #, php-format
msgid "You are following %s." msgid "You are following %s."
msgstr "" msgstr ""
#: src/Content/Conversation.php:776 #: src/Content/Conversation.php:749
#, php-format #, php-format
msgid "You subscribed to %s." msgid "You subscribed to %s."
msgstr "" msgstr ""
#: src/Content/Conversation.php:778 #: src/Content/Conversation.php:751
msgid "You subscribed to one or more tags in this post." msgid "You subscribed to one or more tags in this post."
msgstr "" msgstr ""
#: src/Content/Conversation.php:798 #: src/Content/Conversation.php:771
#, php-format #, php-format
msgid "%s reshared this." msgid "%s reshared this."
msgstr "" msgstr ""
#: src/Content/Conversation.php:800 #: src/Content/Conversation.php:773
msgid "Reshared" msgid "Reshared"
msgstr "" msgstr ""
#: src/Content/Conversation.php:800 #: src/Content/Conversation.php:773
#, php-format #, php-format
msgid "Reshared by %s <%s>" msgid "Reshared by %s <%s>"
msgstr "" msgstr ""
#: src/Content/Conversation.php:803 #: src/Content/Conversation.php:776
#, php-format #, php-format
msgid "%s is participating in this thread." msgid "%s is participating in this thread."
msgstr "" msgstr ""
#: src/Content/Conversation.php:806 #: src/Content/Conversation.php:779
msgid "Stored for general reasons" msgid "Stored for general reasons"
msgstr "" msgstr ""
#: src/Content/Conversation.php:809 #: src/Content/Conversation.php:782
msgid "Global post" msgid "Global post"
msgstr "" msgstr ""
#: src/Content/Conversation.php:812 #: src/Content/Conversation.php:785
msgid "Sent via an relay server" msgid "Sent via an relay server"
msgstr "" msgstr ""
#: src/Content/Conversation.php:812 #: src/Content/Conversation.php:785
#, php-format #, php-format
msgid "Sent via the relay server %s <%s>" msgid "Sent via the relay server %s <%s>"
msgstr "" msgstr ""
#: src/Content/Conversation.php:815 #: src/Content/Conversation.php:788
msgid "Fetched" msgid "Fetched"
msgstr "" msgstr ""
#: src/Content/Conversation.php:815 #: src/Content/Conversation.php:788
#, php-format #, php-format
msgid "Fetched because of %s <%s>" msgid "Fetched because of %s <%s>"
msgstr "" msgstr ""
#: src/Content/Conversation.php:818 #: src/Content/Conversation.php:791
msgid "Stored because of a child post to complete this thread." msgid "Stored because of a child post to complete this thread."
msgstr "" msgstr ""
#: src/Content/Conversation.php:821 #: src/Content/Conversation.php:794
msgid "Local delivery" msgid "Local delivery"
msgstr "" msgstr ""
#: src/Content/Conversation.php:824 #: src/Content/Conversation.php:797
msgid "Stored because of your activity (like, comment, star, ...)" msgid "Stored because of your activity (like, comment, star, ...)"
msgstr "" msgstr ""
#: src/Content/Conversation.php:827 #: src/Content/Conversation.php:800
msgid "Distributed" msgid "Distributed"
msgstr "" msgstr ""
#: src/Content/Conversation.php:830 #: src/Content/Conversation.php:803
msgid "Pushed to us" msgid "Pushed to us"
msgstr "" msgstr ""
#: src/Content/Conversation.php:1547 src/Object/Post.php:248 #: src/Content/Conversation.php:1532 src/Object/Post.php:248
msgid "Pinned item" msgid "Pinned item"
msgstr "" msgstr ""
#: src/Content/Conversation.php:1564 src/Object/Post.php:548 #: src/Content/Conversation.php:1549 src/Object/Post.php:548
#: src/Object/Post.php:549 #: src/Object/Post.php:549
#, php-format #, php-format
msgid "View %s's profile @ %s" msgid "View %s's profile @ %s"
msgstr "" msgstr ""
#: src/Content/Conversation.php:1577 src/Object/Post.php:536 #: src/Content/Conversation.php:1562 src/Object/Post.php:536
msgid "Categories:" msgid "Categories:"
msgstr "" msgstr ""
#: src/Content/Conversation.php:1578 src/Object/Post.php:537 #: src/Content/Conversation.php:1563 src/Object/Post.php:537
msgid "Filed under:" msgid "Filed under:"
msgstr "" msgstr ""
#: src/Content/Conversation.php:1586 src/Object/Post.php:562 #: src/Content/Conversation.php:1571 src/Object/Post.php:562
#, php-format #, php-format
msgid "%s from %s" msgid "%s from %s"
msgstr "" msgstr ""
#: src/Content/Conversation.php:1602 #: src/Content/Conversation.php:1587
msgid "View in context" msgid "View in context"
msgstr "" msgstr ""
@ -1770,7 +1770,7 @@ msgstr ""
msgid "Create new group" msgid "Create new group"
msgstr "" msgstr ""
#: src/Content/Item.php:332 src/Model/Item.php:3159 #: src/Content/Item.php:332 src/Model/Item.php:3162
msgid "event" msgid "event"
msgstr "" msgstr ""
@ -1778,7 +1778,7 @@ msgstr ""
msgid "status" msgid "status"
msgstr "" msgstr ""
#: src/Content/Item.php:341 src/Model/Item.php:3161 #: src/Content/Item.php:341 src/Model/Item.php:3164
#: src/Module/Post/Tag/Add.php:123 #: src/Module/Post/Tag/Add.php:123
msgid "photo" msgid "photo"
msgstr "" msgstr ""
@ -2190,8 +2190,8 @@ msgid ""
"<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s" "<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s"
msgstr "" msgstr ""
#: src/Content/Text/BBCode.php:994 src/Model/Item.php:3892 #: src/Content/Text/BBCode.php:994 src/Model/Item.php:3895
#: src/Model/Item.php:3898 src/Model/Item.php:3899 #: src/Model/Item.php:3901 src/Model/Item.php:3902
msgid "Link to source" msgid "Link to source"
msgstr "" msgstr ""
@ -3408,91 +3408,91 @@ msgstr ""
msgid "Happy Birthday %s" msgid "Happy Birthday %s"
msgstr "" msgstr ""
#: src/Model/Item.php:2210 #: src/Model/Item.php:2213
#, php-format #, php-format
msgid "%s (%s - %s): %s" msgid "%s (%s - %s): %s"
msgstr "" msgstr ""
#: src/Model/Item.php:2212 #: src/Model/Item.php:2215
#, php-format #, php-format
msgid "%s (%s): %s" msgid "%s (%s): %s"
msgstr "" msgstr ""
#: src/Model/Item.php:2215 #: src/Model/Item.php:2218
#, php-format #, php-format
msgid "Detected languages in this post:\\n%s" msgid "Detected languages in this post:\\n%s"
msgstr "" msgstr ""
#: src/Model/Item.php:3163 #: src/Model/Item.php:3166
msgid "activity" msgid "activity"
msgstr "" msgstr ""
#: src/Model/Item.php:3165 #: src/Model/Item.php:3168
msgid "comment" msgid "comment"
msgstr "" msgstr ""
#: src/Model/Item.php:3168 src/Module/Post/Tag/Add.php:123 #: src/Model/Item.php:3171 src/Module/Post/Tag/Add.php:123
msgid "post" msgid "post"
msgstr "" msgstr ""
#: src/Model/Item.php:3338 #: src/Model/Item.php:3341
#, php-format #, php-format
msgid "%s is blocked" msgid "%s is blocked"
msgstr "" msgstr ""
#: src/Model/Item.php:3340 #: src/Model/Item.php:3343
#, php-format #, php-format
msgid "%s is ignored" msgid "%s is ignored"
msgstr "" msgstr ""
#: src/Model/Item.php:3342 #: src/Model/Item.php:3345
#, php-format #, php-format
msgid "Content from %s is collapsed" msgid "Content from %s is collapsed"
msgstr "" msgstr ""
#: src/Model/Item.php:3346 #: src/Model/Item.php:3349
#, php-format #, php-format
msgid "Content warning: %s" msgid "Content warning: %s"
msgstr "" msgstr ""
#: src/Model/Item.php:3799 #: src/Model/Item.php:3802
msgid "bytes" msgid "bytes"
msgstr "" msgstr ""
#: src/Model/Item.php:3830 #: src/Model/Item.php:3833
#, php-format #, php-format
msgid "%2$s (%3$d%%, %1$d vote)" msgid "%2$s (%3$d%%, %1$d vote)"
msgid_plural "%2$s (%3$d%%, %1$d votes)" msgid_plural "%2$s (%3$d%%, %1$d votes)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3832 #: src/Model/Item.php:3835
#, php-format #, php-format
msgid "%2$s (%1$d vote)" msgid "%2$s (%1$d vote)"
msgid_plural "%2$s (%1$d votes)" msgid_plural "%2$s (%1$d votes)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3837 #: src/Model/Item.php:3840
#, php-format #, php-format
msgid "%d voter. Poll end: %s" msgid "%d voter. Poll end: %s"
msgid_plural "%d voters. Poll end: %s" msgid_plural "%d voters. Poll end: %s"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3839 #: src/Model/Item.php:3842
#, php-format #, php-format
msgid "%d voter." msgid "%d voter."
msgid_plural "%d voters." msgid_plural "%d voters."
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3841 #: src/Model/Item.php:3844
#, php-format #, php-format
msgid "Poll end: %s" msgid "Poll end: %s"
msgstr "" msgstr ""
#: src/Model/Item.php:3875 src/Model/Item.php:3876 #: src/Model/Item.php:3878 src/Model/Item.php:3879
msgid "View on separate page" msgid "View on separate page"
msgstr "" msgstr ""
@ -7019,15 +7019,15 @@ msgstr ""
msgid "Network feed not available." msgid "Network feed not available."
msgstr "" msgstr ""
#: src/Module/Conversation/Timeline.php:166 #: src/Module/Conversation/Timeline.php:168
msgid "Own Contacts" msgid "Own Contacts"
msgstr "" msgstr ""
#: src/Module/Conversation/Timeline.php:170 #: src/Module/Conversation/Timeline.php:172
msgid "Include" msgid "Include"
msgstr "" msgstr ""
#: src/Module/Conversation/Timeline.php:171 #: src/Module/Conversation/Timeline.php:173
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
@ -12415,40 +12415,45 @@ msgstr ""
#: src/Object/Post.php:701 #: src/Object/Post.php:701
#, php-format #, php-format
msgid "Liked by: %s" msgid "Read by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:706 #: src/Object/Post.php:706
#, php-format #, php-format
msgid "Disliked by: %s" msgid "Liked by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:711 #: src/Object/Post.php:711
#, php-format #, php-format
msgid "Attended by: %s" msgid "Disliked by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:716 #: src/Object/Post.php:716
#, php-format #, php-format
msgid "Maybe attended by: %s" msgid "Attended by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:721 #: src/Object/Post.php:721
#, php-format #, php-format
msgid "Not attended by: %s" msgid "Maybe attended by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:726 #: src/Object/Post.php:726
#, php-format #, php-format
msgid "Commented by: %s" msgid "Not attended by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:731 #: src/Object/Post.php:731
#, php-format #, php-format
msgid "Commented by: %s"
msgstr ""
#: src/Object/Post.php:736
#, php-format
msgid "Reacted with %s by: %s" msgid "Reacted with %s by: %s"
msgstr "" msgstr ""
#: src/Object/Post.php:754 #: src/Object/Post.php:759
#, php-format #, php-format
msgid "Quote shared by: %s" msgid "Quote shared by: %s"
msgstr "" msgstr ""