Skip to content

Commit

Permalink
displaying the email address to which code is sent when login
Browse files Browse the repository at this point in the history
  • Loading branch information
desperado1802 committed Nov 29, 2023
1 parent 00a1668 commit 89550fb
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 8 deletions.
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const ar: Translations = {
tapJoin: 'ينضم',
createTeam: 'إنشاء فريق',
invalidConfirmCode: 'رمز التأكيد غير صالح',
securityCodeSent: 'تم إرسال رمز الأمان على البريد الإلكتروني الجديد'
securityCodeSent: 'تم إرسال رمز الأمان على البريد الإلكتروني الجديد',
codeSentTo: 'تم إرسال رمز مكوّن من 6 أحرف إلى:'
},
myWorkScreen: {
name: 'عمل',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/bg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const bg = {
tapJoin: 'Join',
createTeam: 'Create Team',
invalidConfirmCode: 'Invalid confirm code',
securityCodeSent: 'Security code was sent on new email'
securityCodeSent: 'Security code was sent on new email',
codeSentTo: 'A 6-character code sent to:'
},
myWorkScreen: {
name: 'Work',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const en = {
tapJoin: 'Join',
createTeam: 'Create Team',
invalidConfirmCode: 'Invalid confirm code',
securityCodeSent: 'Security code was sent on new email'
securityCodeSent: 'Security code was sent on new email',
codeSentTo: 'A 6-character code sent to:'
},
myWorkScreen: {
name: 'Work',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const es = {
tapJoin: 'Join',
createTeam: 'Create Team',
invalidConfirmCode: 'Invalid confirm code',
securityCodeSent: 'Security code was sent on new email'
securityCodeSent: 'Security code was sent on new email',
codeSentTo: 'A 6-character code sent to:'
},
myWorkScreen: {
name: 'Work',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const fr = {
tapJoin: 'Rejoindre',
createTeam: "Créer l'équipe",
invalidConfirmCode: 'Code de confirmation invalide',
securityCodeSent: 'Le code de sécurité a été envoyé sur le nouvel e-mail'
securityCodeSent: 'Le code de sécurité a été envoyé sur le nouvel e-mail',
codeSentTo: 'Un code de 6 caractères envoyé à :'
},
myWorkScreen: {
name: 'Travail',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/he.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const he = {
tapJoin: 'Join',
createTeam: 'Create Team',
invalidConfirmCode: 'Invalid confirm code',
securityCodeSent: 'Security code was sent on new email'
securityCodeSent: 'Security code was sent on new email',
codeSentTo: 'A 6-character code sent to:'
},
myWorkScreen: {
name: 'Work',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ const ko: Translations = {
tapJoin: '가입하다',
createTeam: 'Create Team',
invalidConfirmCode: '잘못된 확인 코드',
securityCodeSent: '보안 코드가 새 이메일로 전송되었습니다'
securityCodeSent: '보안 코드가 새 이메일로 전송되었습니다',
codeSentTo: '6자 코드가 다음으로 전송되었습니다:'
},
myWorkScreen: {
name: '일하다',
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile/app/i18n/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const ru = {
tapJoin: 'Join',
createTeam: 'Create Team',
invalidConfirmCode: 'Invalid confirm code',
securityCodeSent: 'Security code was sent on new email'
securityCodeSent: 'Security code was sent on new email',
codeSentTo: 'A 6-character code sent to:'
},
myWorkScreen: {
name: 'Work',
Expand Down
10 changes: 10 additions & 0 deletions apps/mobile/app/screens/LoginScreen/Components/PassCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ const PassCode: FC<Props> = observer(
</>
) : step === 'Code' ? (
<View>
{authEmail && (
<Text
numberOfLines={1}
style={{ fontSize: 11, textAlign: 'center', color: '#fff', top: -50 }}
>
{translate('loginScreen.codeSentTo')}{' '}
<Text style={{ fontWeight: '600' }}>{authEmail}</Text>
</Text>
)}

<Text style={{ ...styles.text, alignSelf: 'center', color: colors.primary }}>
{translate('loginScreen.inviteCodeFieldLabel')}
</Text>
Expand Down

0 comments on commit 89550fb

Please sign in to comment.