diff --git a/src/components/PostControls/RepostButton.tsx b/src/components/PostControls/RepostButton.tsx
index cf03080477..db63a7383a 100644
--- a/src/components/PostControls/RepostButton.tsx
+++ b/src/components/PostControls/RepostButton.tsx
@@ -52,16 +52,24 @@ let RepostButton = ({
label={
isReposted
? _(
- msg`Undo repost (${plural(repostCount || 0, {
- one: '# repost',
- other: '# reposts',
- })})`,
+ msg({
+ message: `Undo repost (${plural(repostCount || 0, {
+ one: '# repost',
+ other: '# reposts',
+ })})`,
+ comment:
+ 'Accessibility label for the repost button when the post has been reposted, verb followed by number of reposts and noun',
+ }),
)
: _(
- msg`Repost (${plural(repostCount || 0, {
- one: '# repost',
- other: '# reposts',
- })})`,
+ msg({
+ message: `Repost (${plural(repostCount || 0, {
+ one: '# repost',
+ other: '# reposts',
+ })})`,
+ comment:
+ 'Accessibility label for the repost button when the post has not been reposted, verb form followed by number of reposts and noun form',
+ }),
)
}>
diff --git a/src/components/PostControls/index.tsx b/src/components/PostControls/index.tsx
index de02ff87c0..9a8f2dc498 100644
--- a/src/components/PostControls/index.tsx
+++ b/src/components/PostControls/index.tsx
@@ -200,10 +200,14 @@ let PostControls = ({
!replyDisabled ? () => requireAuth(() => onPressReply()) : undefined
}
label={_(
- msg`Reply (${plural(post.replyCount || 0, {
- one: '# reply',
- other: '# replies',
- })})`,
+ msg({
+ message: `Reply (${plural(post.replyCount || 0, {
+ one: '# reply',
+ other: '# replies',
+ })})`,
+ comment:
+ 'Accessibility label for the reply button, verb form followed by number of replies and noun form',
+ }),
)}
big={big}>
@@ -232,16 +236,24 @@ let PostControls = ({
label={
post.viewer?.like
? _(
- msg`Unlike (${plural(post.likeCount || 0, {
- one: '# like',
- other: '# likes',
- })})`,
+ msg({
+ message: `Unlike (${plural(post.likeCount || 0, {
+ one: '# like',
+ other: '# likes',
+ })})`,
+ comment:
+ 'Accessibility label for the like button when the post has been liked, verb followed by number of likes and noun',
+ }),
)
: _(
- msg`Like (${plural(post.likeCount || 0, {
- one: '# like',
- other: '# likes',
- })})`,
+ msg({
+ message: `Like (${plural(post.likeCount || 0, {
+ one: '# like',
+ other: '# likes',
+ })})`,
+ comment:
+ 'Accessibility label for the like button when the post has not been liked, verb form followed by number of likes and noun form',
+ }),
)
}>