Display the languages in the post

This commit is contained in:
Michael 2020-10-04 18:52:28 +00:00
parent 50a0927e7e
commit b6b28b1541
6 changed files with 33 additions and 1 deletions

View file

@ -917,6 +917,10 @@ function item_photo_menu($item) {
DI::l10n()->t('Ignore') => $ignore_link
];
if (!empty($item['language'])) {
$menu[DI::l10n()->t('Languages')] = 'javascript:alert(\'' . Item::getLanguageMessage($item) . '\');';
}
if ($network == Protocol::DFRN) {
$menu[DI::l10n()->t("Poke")] = $poke_link;
}