Various case and text fixes. (#757)
* Various case and text fixes. * Update some labels per requested changes. --------- Co-authored-by: Ansh <anshnanda10@gmail.com>
This commit is contained in:
parent
37782ae60b
commit
c060cd4158
13 changed files with 24 additions and 24 deletions
|
@ -36,7 +36,7 @@ export const CONFIGURABLE_LABEL_GROUPS: Record<
|
||||||
nsfw: {
|
nsfw: {
|
||||||
id: 'nsfw',
|
id: 'nsfw',
|
||||||
title: 'Explicit Sexual Images',
|
title: 'Explicit Sexual Images',
|
||||||
subtitle: 'i.e. Pornography',
|
subtitle: 'i.e. pornography',
|
||||||
warning: 'Sexually Explicit',
|
warning: 'Sexually Explicit',
|
||||||
values: ['porn', 'nsfl'],
|
values: ['porn', 'nsfl'],
|
||||||
isAdultImagery: true,
|
isAdultImagery: true,
|
||||||
|
|
|
@ -43,7 +43,7 @@ export const SplashScreen = ({
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Sign in"
|
accessibilityLabel="Sign in"
|
||||||
accessibilityHint="Opens flow to sign into your existing Bluesky account">
|
accessibilityHint="Opens flow to sign into your existing Bluesky account">
|
||||||
<Text style={[pal.text, styles.btnLabel]}>Sign in</Text>
|
<Text style={[pal.text, styles.btnLabel]}>Sign In</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
|
|
|
@ -56,7 +56,7 @@ export const SplashScreen = ({
|
||||||
onPress={onPressSignin}
|
onPress={onPressSignin}
|
||||||
// TODO: web accessibility
|
// TODO: web accessibility
|
||||||
accessibilityRole="button">
|
accessibilityRole="button">
|
||||||
<Text style={[pal.text, styles.btnLabel]}>Sign in</Text>
|
<Text style={[pal.text, styles.btnLabel]}>Sign In</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
<Text
|
<Text
|
||||||
|
|
|
@ -19,7 +19,7 @@ export const Step3 = observer(({model}: {model: CreateAccountModel}) => {
|
||||||
<TextInput
|
<TextInput
|
||||||
testID="handleInput"
|
testID="handleInput"
|
||||||
icon="at"
|
icon="at"
|
||||||
placeholder="eg alice"
|
placeholder="e.g. alice"
|
||||||
value={model.handle}
|
value={model.handle}
|
||||||
editable
|
editable
|
||||||
onChange={model.setHandle}
|
onChange={model.setHandle}
|
||||||
|
|
|
@ -184,9 +184,9 @@ export function Component({}: {}) {
|
||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<Text type="xs" style={[pal.textLight, s.mb10, s.mt2]}>
|
<Text type="xs" style={[pal.textLight, s.mb10, s.mt2]}>
|
||||||
Only contain letters, numbers, spaces, dashes, and underscores
|
Can only contain letters, numbers, spaces, dashes, and underscores.
|
||||||
allowed. Must be at least 4 characters long, but no more than 32
|
Must be at least 4 characters long, but no more than 32 characters
|
||||||
characters long.
|
long.
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
<View style={styles.btnContainer}>
|
<View style={styles.btnContainer}>
|
||||||
|
|
|
@ -148,7 +148,7 @@ export function Component({onChanged}: {onChanged: () => void}) {
|
||||||
type="2xl-bold"
|
type="2xl-bold"
|
||||||
style={[styles.titleMiddle, pal.text]}
|
style={[styles.titleMiddle, pal.text]}
|
||||||
numberOfLines={1}>
|
numberOfLines={1}>
|
||||||
Change handle
|
Change Handle
|
||||||
</Text>
|
</Text>
|
||||||
<View style={styles.titleRight}>
|
<View style={styles.titleRight}>
|
||||||
{isProcessing ? (
|
{isProcessing ? (
|
||||||
|
@ -253,7 +253,7 @@ function ProvidedHandleForm({
|
||||||
<TextInput
|
<TextInput
|
||||||
testID="setHandleInput"
|
testID="setHandleInput"
|
||||||
style={[pal.text, styles.textInput]}
|
style={[pal.text, styles.textInput]}
|
||||||
placeholder="eg alice"
|
placeholder="e.g. alice"
|
||||||
placeholderTextColor={pal.colors.textLight}
|
placeholderTextColor={pal.colors.textLight}
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
keyboardAppearance={theme.colorScheme}
|
keyboardAppearance={theme.colorScheme}
|
||||||
|
@ -371,7 +371,7 @@ function CustomHandleForm({
|
||||||
<TextInput
|
<TextInput
|
||||||
testID="setHandleInput"
|
testID="setHandleInput"
|
||||||
style={[pal.text, styles.textInput]}
|
style={[pal.text, styles.textInput]}
|
||||||
placeholder="eg alice.com"
|
placeholder="e.g. alice.com"
|
||||||
placeholderTextColor={pal.colors.textLight}
|
placeholderTextColor={pal.colors.textLight}
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
keyboardAppearance={theme.colorScheme}
|
keyboardAppearance={theme.colorScheme}
|
||||||
|
|
|
@ -157,7 +157,7 @@ export function Component({
|
||||||
<TextInput
|
<TextInput
|
||||||
testID="editNameInput"
|
testID="editNameInput"
|
||||||
style={[styles.textInput, pal.border, pal.text]}
|
style={[styles.textInput, pal.border, pal.text]}
|
||||||
placeholder="e.g. Spammers"
|
placeholder="e.g. spammers"
|
||||||
placeholderTextColor={colors.gray4}
|
placeholderTextColor={colors.gray4}
|
||||||
value={name}
|
value={name}
|
||||||
onChangeText={v => setName(enforceLen(v, MAX_NAME))}
|
onChangeText={v => setName(enforceLen(v, MAX_NAME))}
|
||||||
|
@ -174,7 +174,7 @@ export function Component({
|
||||||
<TextInput
|
<TextInput
|
||||||
testID="editDescriptionInput"
|
testID="editDescriptionInput"
|
||||||
style={[styles.textArea, pal.border, pal.text]}
|
style={[styles.textArea, pal.border, pal.text]}
|
||||||
placeholder="e.g. Users that repeatedly reply with ads."
|
placeholder="e.g. users that repeatedly reply with ads."
|
||||||
placeholderTextColor={colors.gray4}
|
placeholderTextColor={colors.gray4}
|
||||||
keyboardAppearance={theme.colorScheme}
|
keyboardAppearance={theme.colorScheme}
|
||||||
multiline
|
multiline
|
||||||
|
|
|
@ -68,7 +68,7 @@ export function Component({}: {}) {
|
||||||
<View style={[styles.innerContainer, pal.view]}>
|
<View style={[styles.innerContainer, pal.view]}>
|
||||||
<View style={[styles.titleContainer, pal.view]}>
|
<View style={[styles.titleContainer, pal.view]}>
|
||||||
<Text type="title-xl" style={[s.textCenter, pal.text]}>
|
<Text type="title-xl" style={[s.textCenter, pal.text]}>
|
||||||
Delete account
|
Delete Account
|
||||||
</Text>
|
</Text>
|
||||||
<View style={[pal.view, s.flexRow]}>
|
<View style={[pal.view, s.flexRow]}>
|
||||||
<Text type="title-xl" style={[pal.text, s.bold]}>
|
<Text type="title-xl" style={[pal.text, s.bold]}>
|
||||||
|
@ -93,7 +93,7 @@ export function Component({}: {}) {
|
||||||
<>
|
<>
|
||||||
<Text type="lg" style={[styles.description, pal.text]}>
|
<Text type="lg" style={[styles.description, pal.text]}>
|
||||||
For security reasons, we'll need to send a confirmation code to
|
For security reasons, we'll need to send a confirmation code to
|
||||||
your email.
|
your email address.
|
||||||
</Text>
|
</Text>
|
||||||
{error ? (
|
{error ? (
|
||||||
<View style={s.mt10}>
|
<View style={s.mt10}>
|
||||||
|
@ -121,7 +121,7 @@ export function Component({}: {}) {
|
||||||
end={{x: 1, y: 1}}
|
end={{x: 1, y: 1}}
|
||||||
style={[styles.btn]}>
|
style={[styles.btn]}>
|
||||||
<Text type="button-lg" style={[s.white, s.bold]}>
|
<Text type="button-lg" style={[s.white, s.bold]}>
|
||||||
Send email
|
Send Email
|
||||||
</Text>
|
</Text>
|
||||||
</LinearGradient>
|
</LinearGradient>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
|
@ -157,7 +157,7 @@ export const Component = observer(
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View testID="listAddRemoveUserModal" style={s.hContentRegion}>
|
<View testID="listAddRemoveUserModal" style={s.hContentRegion}>
|
||||||
<Text style={[styles.title, pal.text]}>Add {displayName} to lists</Text>
|
<Text style={[styles.title, pal.text]}>Add {displayName} to Lists</Text>
|
||||||
<ListsList
|
<ListsList
|
||||||
listsList={listsList}
|
listsList={listsList}
|
||||||
showAddBtns
|
showAddBtns
|
||||||
|
|
|
@ -126,7 +126,7 @@ const SelectIssue = ({
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Text type="title-xl" style={[pal.text, styles.title]}>
|
<Text type="title-xl" style={[pal.text, styles.title]}>
|
||||||
Report account
|
Report Account
|
||||||
</Text>
|
</Text>
|
||||||
<Text type="xl" style={[pal.text, styles.description]}>
|
<Text type="xl" style={[pal.text, styles.description]}>
|
||||||
What is the issue with this account?
|
What is the issue with this account?
|
||||||
|
|
|
@ -60,7 +60,7 @@ export const Suggestions = observer(
|
||||||
{
|
{
|
||||||
_reactKey: '__popular_heading__',
|
_reactKey: '__popular_heading__',
|
||||||
type: 'heading',
|
type: 'heading',
|
||||||
title: 'In your network',
|
title: 'In Your Network',
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
.concat(
|
.concat(
|
||||||
|
@ -77,7 +77,7 @@ export const Suggestions = observer(
|
||||||
{
|
{
|
||||||
_reactKey: '__suggested_heading__',
|
_reactKey: '__suggested_heading__',
|
||||||
type: 'heading',
|
type: 'heading',
|
||||||
title: 'Suggested follows',
|
title: 'Suggested Follows',
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
.concat(
|
.concat(
|
||||||
|
|
|
@ -164,7 +164,7 @@ export const SearchScreen = withAuthRequired(
|
||||||
) : isInputFocused ? (
|
) : isInputFocused ? (
|
||||||
<View>
|
<View>
|
||||||
<Text style={[pal.textLight, styles.searchPrompt]}>
|
<Text style={[pal.textLight, styles.searchPrompt]}>
|
||||||
Search for users on the network
|
Search for users and posts on the network
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
|
@ -276,7 +276,7 @@ export const SettingsScreen = withAuthRequired(
|
||||||
<View style={styles.spacer20} />
|
<View style={styles.spacer20} />
|
||||||
|
|
||||||
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
||||||
Invite a friend
|
Invite a Friend
|
||||||
</Text>
|
</Text>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
testID="inviteFriendBtn"
|
testID="inviteFriendBtn"
|
||||||
|
@ -412,7 +412,7 @@ export const SettingsScreen = withAuthRequired(
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<View style={styles.spacer20} />
|
<View style={styles.spacer20} />
|
||||||
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
||||||
Danger zone
|
Danger Zone
|
||||||
</Text>
|
</Text>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={[pal.view, styles.linkCard]}
|
style={[pal.view, styles.linkCard]}
|
||||||
|
@ -429,12 +429,12 @@ export const SettingsScreen = withAuthRequired(
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
<Text type="lg" style={dangerText}>
|
<Text type="lg" style={dangerText}>
|
||||||
Delete my account
|
Delete my account…
|
||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<View style={styles.spacer20} />
|
<View style={styles.spacer20} />
|
||||||
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
||||||
Developer tools
|
Developer Tools
|
||||||
</Text>
|
</Text>
|
||||||
<Link
|
<Link
|
||||||
style={[pal.view, styles.linkCardNoIcon]}
|
style={[pal.view, styles.linkCardNoIcon]}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue