Translation comments
Thanks @surfdude29
This commit is contained in:
@@ -52,16 +52,24 @@ let RepostButton = ({
|
|||||||
label={
|
label={
|
||||||
isReposted
|
isReposted
|
||||||
? _(
|
? _(
|
||||||
msg`Undo repost (${plural(repostCount || 0, {
|
msg({
|
||||||
one: '# repost',
|
message: `Undo repost (${plural(repostCount || 0, {
|
||||||
other: '# reposts',
|
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, {
|
msg({
|
||||||
one: '# repost',
|
message: `Repost (${plural(repostCount || 0, {
|
||||||
other: '# reposts',
|
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',
|
||||||
|
}),
|
||||||
)
|
)
|
||||||
}>
|
}>
|
||||||
<PostControlButtonIcon icon={Repost} />
|
<PostControlButtonIcon icon={Repost} />
|
||||||
|
|||||||
@@ -200,10 +200,14 @@ let PostControls = ({
|
|||||||
!replyDisabled ? () => requireAuth(() => onPressReply()) : undefined
|
!replyDisabled ? () => requireAuth(() => onPressReply()) : undefined
|
||||||
}
|
}
|
||||||
label={_(
|
label={_(
|
||||||
msg`Reply (${plural(post.replyCount || 0, {
|
msg({
|
||||||
one: '# reply',
|
message: `Reply (${plural(post.replyCount || 0, {
|
||||||
other: '# replies',
|
one: '# reply',
|
||||||
})})`,
|
other: '# replies',
|
||||||
|
})})`,
|
||||||
|
comment:
|
||||||
|
'Accessibility label for the reply button, verb form followed by number of replies and noun form',
|
||||||
|
}),
|
||||||
)}
|
)}
|
||||||
big={big}>
|
big={big}>
|
||||||
<PostControlButtonIcon icon={Bubble} />
|
<PostControlButtonIcon icon={Bubble} />
|
||||||
@@ -232,16 +236,24 @@ let PostControls = ({
|
|||||||
label={
|
label={
|
||||||
post.viewer?.like
|
post.viewer?.like
|
||||||
? _(
|
? _(
|
||||||
msg`Unlike (${plural(post.likeCount || 0, {
|
msg({
|
||||||
one: '# like',
|
message: `Unlike (${plural(post.likeCount || 0, {
|
||||||
other: '# likes',
|
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, {
|
msg({
|
||||||
one: '# like',
|
message: `Like (${plural(post.likeCount || 0, {
|
||||||
other: '# likes',
|
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',
|
||||||
|
}),
|
||||||
)
|
)
|
||||||
}>
|
}>
|
||||||
<AnimatedLikeIcon
|
<AnimatedLikeIcon
|
||||||
|
|||||||
Reference in New Issue
Block a user