Add context for translators and tweak strings (#10280)

This commit is contained in:
surfdude29
2026-04-20 15:06:18 +01:00
committed by GitHub
parent 9778a3da16
commit 2798e98c9c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ function ReactionTab({
accessibilityRole="button"
accessibilityHint={
reaction.key === 'all'
? l`Tap to show all reactions `
? l`Tap to show all reactions`
: l`Tap to show ${reaction.value} reactions`
}
hitSlop={HITSLOP_10}
@@ -655,7 +655,7 @@ function MemberMenu({
label={l`Message ${displayName}`}
onPress={handleMessageMember}>
<Menu.ItemText>
<Trans>Message</Trans>
<Trans context="action">Message</Trans>
</Menu.ItemText>
<Menu.ItemIcon icon={MessageIcon} />
</Menu.Item>
@@ -1084,7 +1084,7 @@ function InviteLinkPrompt({
<Prompt.Basic
control={control}
title={l`Invite link`}
description={l`An invite link lets people join this group chat without being added directly. You control who can use the link and whether they need your approval. You can disable the link at any time. Your name, avatar, and the name of the group chat will be visible to everyone`}
description={l`An invite link lets people join this group chat without being added directly. You control who can use the link and whether they need your approval. You can disable the link at any time. Your name, avatar, and the name of the group chat will be visible to everyone.`}
confirmButtonCta={l`Get started`}
cancelButtonCta={l`Cancel`}
onConfirm={onConfirm}