Mark string for translation and add context (#10805)
This commit is contained in:
@@ -523,7 +523,11 @@ function GalleryImage({
|
||||
a.font_bold,
|
||||
largeAltBadge ? a.text_xs : {fontSize: 8},
|
||||
]}>
|
||||
{index + 1}/{imageCount}
|
||||
<Trans
|
||||
context="gallery-badge-image-position-numbers"
|
||||
comment="Badge showing the current image position out of the total number of images in a gallery.">
|
||||
{index + 1}/{imageCount}
|
||||
</Trans>
|
||||
</Text>
|
||||
</View>
|
||||
) : null}
|
||||
|
||||
@@ -127,7 +127,9 @@ export function JoinRequest({setScreenState}: Props) {
|
||||
a.leading_snug,
|
||||
t.atoms.text_contrast_medium,
|
||||
]}>
|
||||
<Trans comment="The number of active group chat members out of the total number allowed.">
|
||||
<Trans
|
||||
context="group-chat-member-count"
|
||||
comment="The number of active group chat members out of the total number allowed.">
|
||||
{data.joinLinkPreviews[0].memberCount}/
|
||||
{data.joinLinkPreviews[0].memberLimit}
|
||||
</Trans>
|
||||
|
||||
Reference in New Issue
Block a user