Apply suggestions from code review

Thanks @surfdude29 :)

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
Samuel Newman
2025-06-26 01:16:31 -07:00
parent 14d646ad49
commit f915fc6b3a
@@ -50,18 +50,22 @@ function Inner() {
const uiStrings = { const uiStrings = {
RequestCode: { RequestCode: {
title: _(msg`Change Password`), title: _(msg`Change your password`),
message: _( message: _(
msg`If you want to change your password, we will send you a code to verify that this is your account.`, msg`If you want to change your password, we will send you a code to verify that this is your account.`,
), ),
}, },
ChangePassword: { ChangePassword: {
title: _(msg`Enter Code`), title: _(msg`Enter code`),
message: _(msg`Enter the code you received to change your password.`), message: _(
msg`Please enter the code you received and the new password you would like to use.`,
),
}, },
Done: { Done: {
title: _(msg`Password Changed`), title: _(msg`Password changed`),
message: _(msg`Your password has been changed successfully!`), message: _(
msg`Your password has been changed successfully! Please use your new password when you sign in to Bluesky from now on.`,
),
}, },
} }
@@ -85,7 +89,7 @@ function Inner() {
if (isNetworkError(e)) { if (isNetworkError(e)) {
setError( setError(
_( _(
msg`Unable to contact your service. Please check your Internet connection.`, msg`Unable to contact your service. Please check your internet connection and try again.`,
), ),
) )
} else { } else {
@@ -130,7 +134,7 @@ function Inner() {
if (isNetworkError(e)) { if (isNetworkError(e)) {
setError( setError(
_( _(
msg`Unable to contact your service. Please check your Internet connection.`, msg`Unable to contact your service. Please check your internet connection and try again.`,
), ),
) )
} else { } else {
@@ -174,7 +178,7 @@ function Inner() {
<View style={[a.gap_md]}> <View style={[a.gap_md]}>
<View> <View>
<TextField.LabelText> <TextField.LabelText>
<Trans>Confirmation Code</Trans> <Trans>Confirmation code</Trans>
</TextField.LabelText> </TextField.LabelText>
<TextField.Root> <TextField.Root>
<TextField.Input <TextField.Input
@@ -191,7 +195,7 @@ function Inner() {
</View> </View>
<View> <View>
<TextField.LabelText> <TextField.LabelText>
<Trans>New Password</Trans> <Trans>New password</Trans>
</TextField.LabelText> </TextField.LabelText>
<TextField.Root> <TextField.Root>
<TextField.Input <TextField.Input