mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
The data for the language display is now fetched on demand
This commit is contained in:
parent
50b1de5959
commit
b40687081e
7 changed files with 80 additions and 8 deletions
|
@ -521,7 +521,7 @@ class Post
|
|||
|
||||
$languages = [];
|
||||
if (!empty($item['language'])) {
|
||||
$languages = [DI::l10n()->t('Languages'), Item::getLanguageMessage($item)];
|
||||
$languages = DI::l10n()->t('Languages');
|
||||
}
|
||||
|
||||
if (in_array($item['private'], [Item::PUBLIC, Item::UNLISTED]) && in_array($item['network'], Protocol::FEDERATED)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue