mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 08:45:32 +03:00
Hopefully fix missing account from emoji reaction notification
This commit is contained in:
parent
bd029a5e4e
commit
ebec0883aa
2 changed files with 13 additions and 9 deletions
|
@ -399,7 +399,11 @@ function Notification({
|
|||
emoji?.shortcode ===
|
||||
notification.emoji.replace(/^:/, '').replace(/:$/, ''),
|
||||
); // Emoji object instead of string
|
||||
text = text({ emoji: notification.emoji, emojiURL });
|
||||
text = text({
|
||||
account: <NameText account={account} showAvatar />,
|
||||
emoji: notification.emoji,
|
||||
emojiURL,
|
||||
});
|
||||
} else {
|
||||
text = text({
|
||||
account: account ? (
|
||||
|
|
16
src/locales/en.po
generated
16
src/locales/en.po
generated
|
@ -951,7 +951,7 @@ msgid "Nothing to show"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/generic-accounts.jsx:145
|
||||
#: src/components/notification.jsx:429
|
||||
#: src/components/notification.jsx:433
|
||||
#: src/pages/accounts.jsx:41
|
||||
#: src/pages/search.jsx:227
|
||||
#: src/pages/search.jsx:260
|
||||
|
@ -1488,30 +1488,30 @@ msgstr ""
|
|||
msgid "[Unknown notification type: {type}]"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/notification.jsx:425
|
||||
#: src/components/notification.jsx:429
|
||||
#: src/components/status.jsx:938
|
||||
#: src/components/status.jsx:948
|
||||
msgid "Boosted/Liked by…"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/notification.jsx:426
|
||||
#: src/components/notification.jsx:430
|
||||
msgid "Liked by…"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/notification.jsx:427
|
||||
#: src/components/notification.jsx:431
|
||||
msgid "Boosted by…"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/notification.jsx:428
|
||||
#: src/components/notification.jsx:432
|
||||
msgid "Followed by…"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/notification.jsx:484
|
||||
#: src/components/notification.jsx:500
|
||||
#: src/components/notification.jsx:488
|
||||
#: src/components/notification.jsx:504
|
||||
msgid "Learn more <0/>"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/notification.jsx:680
|
||||
#: src/components/notification.jsx:684
|
||||
#: src/components/status.jsx:190
|
||||
msgid "Read more →"
|
||||
msgstr ""
|
||||
|
|
Loading…
Reference in a new issue