Fix typos and clarify two `accessibilityHint`s (#2923)

* Clarify accessibilityHint in Settings

* Fix typo in ModerationMutedAccounts.tsx

* Fix typo in ModerationBlockedAccounts.tsx

* fix lint error in ModerationMutedAccounts.tsx

* try again

* fix lint error in index.tsx

* try again

* Update index.tsx

* Update index.tsx

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
zio/stable
surfdude29 2024-03-19 20:11:48 +00:00 committed by GitHub
parent 5bec587717
commit 69f8ea80f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ export function ModerationBlockedAccounts({}: Props) {
<Text type="lg" style={[pal.text, styles.emptyText]}> <Text type="lg" style={[pal.text, styles.emptyText]}>
<Trans> <Trans>
You have not blocked any accounts yet. To block an account, go You have not blocked any accounts yet. To block an account, go
to their profile and selected "Block account" from the menu on to their profile and select "Block account" from the menu on
their account. their account.
</Trans> </Trans>
</Text> </Text>

View File

@ -130,8 +130,8 @@ export function ModerationMutedAccounts({}: Props) {
<Text type="lg" style={[pal.text, styles.emptyText]}> <Text type="lg" style={[pal.text, styles.emptyText]}>
<Trans> <Trans>
You have not muted any accounts yet. To mute an account, go to You have not muted any accounts yet. To mute an account, go to
their profile and selected "Mute account" from the menu on their profile and select "Mute account" from the menu on their
their account. account.
</Trans> </Trans>
</Text> </Text>
</View> </View>

View File

@ -711,7 +711,7 @@ export function SettingsScreen({}: Props) {
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel={_(msg`Change handle`)} accessibilityLabel={_(msg`Change handle`)}
accessibilityHint={_( accessibilityHint={_(
msg`Opens modal for choosing or creating a new Bluesky username`, msg`Opens modal for choosing a new Bluesky handle`,
)}> )}>
<View style={[styles.iconContainer, pal.btn]}> <View style={[styles.iconContainer, pal.btn]}>
<FontAwesomeIcon <FontAwesomeIcon
@ -772,7 +772,7 @@ export function SettingsScreen({}: Props) {
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel={_(msg`Export my data`)} accessibilityLabel={_(msg`Export my data`)}
accessibilityHint={_( accessibilityHint={_(
msg`Opens modal for downloading Bluesky account data (repository)`, msg`Opens modal for downloading your Bluesky account data (repository)`,
)}> )}>
<View style={[styles.iconContainer, pal.btn]}> <View style={[styles.iconContainer, pal.btn]}>
<FontAwesomeIcon <FontAwesomeIcon