about summary refs log tree commit diff
path: root/src/view/com/modals/ChangePassword.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-19 19:51:35 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-19 19:51:35 +0000
commit4794ab6b9a39d06bb0d1b7c64a315e4ac5e3336a (patch)
tree743b94dff5a4a3b4b2304c53b984b8a3dc67aaa2 /src/view/com/modals/ChangePassword.tsx
parenta1c4f19731878f7026d398d28e475bbeb7de824a (diff)
parent5621c8042510c86f6c4fa63b5c5ce9fc02b0bf8e (diff)
downloadvoidsky-4794ab6b9a39d06bb0d1b7c64a315e4ac5e3336a.tar.zst
Merge remote-tracking branch 'origin/main' into samuel/alf-login
Diffstat (limited to 'src/view/com/modals/ChangePassword.tsx')
-rw-r--r--src/view/com/modals/ChangePassword.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/view/com/modals/ChangePassword.tsx b/src/view/com/modals/ChangePassword.tsx
index d8add9794..4badc88aa 100644
--- a/src/view/com/modals/ChangePassword.tsx
+++ b/src/view/com/modals/ChangePassword.tsx
@@ -137,7 +137,9 @@ export function Component() {
         <View>
           <View style={styles.titleSection}>
             <Text type="title-lg" style={[pal.text, styles.title]}>
-              {stage !== Stages.Done ? 'Change Password' : 'Password Changed'}
+              {stage !== Stages.Done
+                ? _(msg`Change Password`)
+                : _(msg`Password Changed`)}
             </Text>
           </View>
 
@@ -180,7 +182,7 @@ export function Component() {
                 <TextInput
                   testID="codeInput"
                   style={[pal.text, styles.textInput]}
-                  placeholder="Reset code"
+                  placeholder={_(msg`Reset code`)}
                   placeholderTextColor={pal.colors.textLight}
                   value={resetCode}
                   onChangeText={setResetCode}
@@ -207,7 +209,7 @@ export function Component() {
                 <TextInput
                   testID="codeInput"
                   style={[pal.text, styles.textInput]}
-                  placeholder="New password"
+                  placeholder={_(msg`New password`)}
                   placeholderTextColor={pal.colors.textLight}
                   onChangeText={setNewPassword}
                   secureTextEntry