mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
[frio] Add share dropdown to mobile post view
- This should prevent accidental taps from resharing content unwittingly
This commit is contained in:
parent
27691f64c0
commit
c8604895c4
2 changed files with 30 additions and 13 deletions
|
@ -351,10 +351,11 @@ class Post
|
|||
$buttons['like'] = [DI::l10n()->t("I like this \x28toggle\x29") , DI::l10n()->t("like")];
|
||||
$buttons['dislike'] = [DI::l10n()->t("I don't like this \x28toggle\x29"), DI::l10n()->t("dislike")];
|
||||
if ($shareable) {
|
||||
$buttons['share'] = [DI::l10n()->t('Quote and share this'), DI::l10n()->t('Quote Share')];
|
||||
$buttons['share'] = [DI::l10n()->t('Quote share this'), DI::l10n()->t('Quote Share')];
|
||||
}
|
||||
if ($announceable) {
|
||||
$buttons['announce'] = [DI::l10n()->t('Share this'), DI::l10n()->t('Share')];
|
||||
$buttons['announce'] = [DI::l10n()->t('Reshare this'), DI::l10n()->t('Reshare')];
|
||||
$buttons['unannounce'] = [DI::l10n()->t('Cancel your Reshare'), DI::l10n()->t('Unshare')];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue