Internationalize more strings (#2440)

Co-authored-by: Ansh <anshnanda10@gmail.com>
This commit is contained in:
Stanislas Signoud
2024-01-09 23:37:15 +01:00
committed by GitHub
parent aeeacd10d3
commit 008893b911
108 changed files with 925 additions and 558 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ function ComposeBtn() {
/>
</View>
<Text type="button" style={styles.newPostBtnLabel}>
<Trans>New Post</Trans>
<Trans context="action">New Post</Trans>
</Text>
</TouchableOpacity>
</View>
+1 -1
View File
@@ -56,7 +56,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
{isSandbox ? (
<View style={[palError.view, styles.messageLine, s.p10]}>
<Text type="md" style={[palError.text, s.bold]}>
SANDBOX. Posts and accounts are not permanent.
<Trans>SANDBOX. Posts and accounts are not permanent.</Trans>
</Text>
</View>
) : undefined}
+1 -1
View File
@@ -176,7 +176,7 @@ export function DesktopSearch() {
onPress={onPressCancelSearch}
accessibilityRole="button"
accessibilityLabel={_(msg`Cancel search`)}
accessibilityHint="Exits inputting search query"
accessibilityHint={_(msg`Exits inputting search query`)}
onAccessibilityEscape={onPressCancelSearch}>
<Text type="lg" style={[pal.link]}>
<Trans>Cancel</Trans>