mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10: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
|
@ -411,6 +411,11 @@ class Post
|
|||
}
|
||||
}
|
||||
|
||||
$languages = [];
|
||||
if (!empty($item['language'])) {
|
||||
$languages = [DI::l10n()->t('Languages'), Item::getLanguageMessage($item)];
|
||||
}
|
||||
|
||||
$tmp_item = [
|
||||
'template' => $this->getTemplate(),
|
||||
'type' => implode("", array_slice(explode("/", $item['verb']), -1)),
|
||||
|
@ -466,6 +471,7 @@ class Post
|
|||
'ignore' => $ignore,
|
||||
'tagger' => $tagger,
|
||||
'filer' => $filer,
|
||||
'language' => $languages,
|
||||
'drop' => $drop,
|
||||
'vote' => $buttons,
|
||||
'like_html' => $responses['like']['output'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue