mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
Display the languages in the post
This commit is contained in:
parent
50a0927e7e
commit
b6b28b1541
6 changed files with 33 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue