diff --git a/src/components/notification.jsx b/src/components/notification.jsx index b7fbf8d3..e2b0996e 100644 --- a/src/components/notification.jsx +++ b/src/components/notification.jsx @@ -82,10 +82,10 @@ const contentText = { }) => ( {account} boosted your reply.} @@ -125,7 +125,7 @@ const contentText = { follow: ({ account, count, components: { Subject } }) => ( {account} followed you.} + _1={{account} followed you.} other={ 1}> @@ -148,10 +148,10 @@ const contentText = { }) => ( {account} liked your reply.} @@ -201,10 +201,10 @@ const contentText = { }) => ( {account} boosted & liked your reply.} @@ -402,7 +402,13 @@ function Notification({ text = text({ emoji: notification.emoji, emojiURL }); } else { text = text({ - account: account && , + account: account ? ( + + ) : ( + sampleAccounts?.[0] && ( + + ) + ), count, postsCount, postType: isReplyToOthers ? 'reply' : 'post', diff --git a/src/locales/en.po b/src/locales/en.po index 5629e13d..661bfe3c 100644 --- a/src/locales/en.po +++ b/src/locales/en.po @@ -1343,11 +1343,11 @@ msgid "{account} published a post." msgstr "" #: src/components/notification.jsx:83 -msgid "{count, plural, one {{postsCount, plural, one {{postType, select, reply {{account} boosted your reply.} other {{account} boosted your post.}}} other {{account} boosted {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted your reply.} other {<2><3>{1} people boosted your post.}}}}" +msgid "{count, plural, =1 {{postsCount, plural, =1 {{postType, select, reply {{account} boosted your reply.} other {{account} boosted your post.}}} other {{account} boosted {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted your reply.} other {<2><3>{1} people boosted your post.}}}}" msgstr "" #: src/components/notification.jsx:126 -msgid "{count, plural, one {{account} followed you.} other {<0><1>{0} people followed you.}}" +msgid "{count, plural, =1 {{account} followed you.} other {<0><1>{0} people followed you.}}" msgstr "" #: src/components/notification.jsx:140 @@ -1355,7 +1355,7 @@ msgid "{account} requested to follow you." msgstr "" #: src/components/notification.jsx:149 -msgid "{count, plural, one {{postsCount, plural, one {{postType, select, reply {{account} liked your reply.} other {{account} liked your post.}}} other {{account} liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people liked your reply.} other {<2><3>{1} people liked your post.}}}}" +msgid "{count, plural, =1 {{postsCount, plural, =1 {{postType, select, reply {{account} liked your reply.} other {{account} liked your post.}}} other {{account} liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people liked your reply.} other {<2><3>{1} people liked your post.}}}}" msgstr "" #: src/components/notification.jsx:191 @@ -1375,7 +1375,7 @@ msgid "A post you interacted with has been edited." msgstr "" #: src/components/notification.jsx:202 -msgid "{count, plural, one {{postsCount, plural, one {{postType, select, reply {{account} boosted & liked your reply.} other {{account} boosted & liked your post.}}} other {{account} boosted & liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted & liked your reply.} other {<2><3>{1} people boosted & liked your post.}}}}" +msgid "{count, plural, =1 {{postsCount, plural, =1 {{postType, select, reply {{account} boosted & liked your reply.} other {{account} boosted & liked your post.}}} other {{account} boosted & liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted & liked your reply.} other {<2><3>{1} people boosted & liked your post.}}}}" msgstr "" #: src/components/notification.jsx:244 diff --git a/src/locales/pseudo-LOCALE.po b/src/locales/pseudo-LOCALE.po index b523b91f..d0e2b816 100644 --- a/src/locales/pseudo-LOCALE.po +++ b/src/locales/pseudo-LOCALE.po @@ -1343,11 +1343,11 @@ msgid "{account} published a post." msgstr "" #: src/components/notification.jsx:83 -msgid "{count, plural, one {{postsCount, plural, one {{postType, select, reply {{account} boosted your reply.} other {{account} boosted your post.}}} other {{account} boosted {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted your reply.} other {<2><3>{1} people boosted your post.}}}}" +msgid "{count, plural, =1 {{postsCount, plural, =1 {{postType, select, reply {{account} boosted your reply.} other {{account} boosted your post.}}} other {{account} boosted {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted your reply.} other {<2><3>{1} people boosted your post.}}}}" msgstr "" #: src/components/notification.jsx:126 -msgid "{count, plural, one {{account} followed you.} other {<0><1>{0} people followed you.}}" +msgid "{count, plural, =1 {{account} followed you.} other {<0><1>{0} people followed you.}}" msgstr "" #: src/components/notification.jsx:140 @@ -1355,7 +1355,7 @@ msgid "{account} requested to follow you." msgstr "" #: src/components/notification.jsx:149 -msgid "{count, plural, one {{postsCount, plural, one {{postType, select, reply {{account} liked your reply.} other {{account} liked your post.}}} other {{account} liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people liked your reply.} other {<2><3>{1} people liked your post.}}}}" +msgid "{count, plural, =1 {{postsCount, plural, =1 {{postType, select, reply {{account} liked your reply.} other {{account} liked your post.}}} other {{account} liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people liked your reply.} other {<2><3>{1} people liked your post.}}}}" msgstr "" #: src/components/notification.jsx:191 @@ -1375,7 +1375,7 @@ msgid "A post you interacted with has been edited." msgstr "" #: src/components/notification.jsx:202 -msgid "{count, plural, one {{postsCount, plural, one {{postType, select, reply {{account} boosted & liked your reply.} other {{account} boosted & liked your post.}}} other {{account} boosted & liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted & liked your reply.} other {<2><3>{1} people boosted & liked your post.}}}}" +msgid "{count, plural, =1 {{postsCount, plural, =1 {{postType, select, reply {{account} boosted & liked your reply.} other {{account} boosted & liked your post.}}} other {{account} boosted & liked {postsCount} of your posts.}}} other {{postType, select, reply {<0><1>{0} people boosted & liked your reply.} other {<2><3>{1} people boosted & liked your post.}}}}" msgstr "" #: src/components/notification.jsx:244