diff --git a/app/i18n/en/index.ts b/app/i18n/en/index.ts index 77a32e9269..71df1dad2b 100644 --- a/app/i18n/en/index.ts +++ b/app/i18n/en/index.ts @@ -842,7 +842,7 @@ const en: BaseTranslation = { learn: "I don't mean to badger you, but there's lot more to learn, dig in...", learnToEarn: "Learn to Earn", }, - PhoneLoginSetScreen: { + PhoneLoginInitiateScreen: { title: "Account set up", header: "Enter your phone number, and we'll text you an access code.", headerVerify: "Verify you are human", diff --git a/app/i18n/i18n-types.ts b/app/i18n/i18n-types.ts index bf130b1137..629c841567 100644 --- a/app/i18n/i18n-types.ts +++ b/app/i18n/i18n-types.ts @@ -2654,7 +2654,7 @@ type RootTranslation = { */ learnToEarn: string } - PhoneLoginSetScreen: { + PhoneLoginInitiateScreen: { /** * A​c​c​o​u​n​t​ ​s​e​t​ ​u​p */ @@ -6029,7 +6029,7 @@ export type TranslationFunctions = { */ learnToEarn: () => LocalizedString } - PhoneLoginSetScreen: { + PhoneLoginInitiateScreen: { /** * Account set up */ diff --git a/app/i18n/raw-i18n/source/en.json b/app/i18n/raw-i18n/source/en.json index 9c2619fd91..28035a1d1c 100644 --- a/app/i18n/raw-i18n/source/en.json +++ b/app/i18n/raw-i18n/source/en.json @@ -772,7 +772,7 @@ "learn": "I don't mean to badger you, but there's lot more to learn, dig in...", "learnToEarn": "Learn to Earn" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Enter your phone number, and we'll text you an access code.", "headerVerify": "Verify you are human", diff --git a/app/i18n/raw-i18n/translations/af.json b/app/i18n/raw-i18n/translations/af.json index ad31940a25..060a1da0ba 100644 --- a/app/i18n/raw-i18n/translations/af.json +++ b/app/i18n/raw-i18n/translations/af.json @@ -769,7 +769,7 @@ "learn": "Ek wil jou nie pla nie, maar daar is nog baie om te leer. Kom ons kyk...", "learnToEarn": "Leer en verdien" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Rekeningopstelling", "header": "Tik jou selfoonnommer in en ons sal vir jou 'n toegangskode per sms stuur.", "headerVerify": "Verifieër dat jy 'n mens is", diff --git a/app/i18n/raw-i18n/translations/ar.json b/app/i18n/raw-i18n/translations/ar.json index 7f9aff51c2..208c580ca5 100644 --- a/app/i18n/raw-i18n/translations/ar.json +++ b/app/i18n/raw-i18n/translations/ar.json @@ -723,7 +723,7 @@ "learn": "لا أريد أن أزعجك، لكن أفق التعلّم لم يزل رحبًا، فتعمّق...", "learnToEarn": "تعلم لكي تكسب" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "يرجى ادخال رقم الهاتف, من اجل أرسال رقم التحقق.", "headerVerify": "التحقق من أنك إنسان", diff --git a/app/i18n/raw-i18n/translations/ca.json b/app/i18n/raw-i18n/translations/ca.json index 1bd2093e32..bdce5e575f 100644 --- a/app/i18n/raw-i18n/translations/ca.json +++ b/app/i18n/raw-i18n/translations/ca.json @@ -723,7 +723,7 @@ "learn": "No et vull molestar, però hi ha molt més per aprendre, aprofundir...", "learnToEarn": "Apren i guanya" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Configuració del compte", "header": "Introdueix el teu número de telèfon, i t'enviarem un codi d'accés.", "headerVerify": "Verifica que ets una persona", diff --git a/app/i18n/raw-i18n/translations/cs.json b/app/i18n/raw-i18n/translations/cs.json index 8078952737..54f3b87fca 100644 --- a/app/i18n/raw-i18n/translations/cs.json +++ b/app/i18n/raw-i18n/translations/cs.json @@ -723,7 +723,7 @@ "learn": "Nechci tě obtěžovat, ale je toho ještě hodně, co se musíš naučit...", "learnToEarn": "Vydělávejte učením se" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Účet je nastaven", "header": "Zadejte své telefonní číslo a my vám zašleme přístupový kód.", "headerVerify": "Ověřte, že jste člověk", diff --git a/app/i18n/raw-i18n/translations/de.json b/app/i18n/raw-i18n/translations/de.json index 4d4963c7c4..2a3454ef17 100644 --- a/app/i18n/raw-i18n/translations/de.json +++ b/app/i18n/raw-i18n/translations/de.json @@ -729,7 +729,7 @@ "learn": "Ich will dich nicht bedrängen, aber es gibt noch viel mehr zu lernen, mach mit …", "learnToEarn": "Lernen und verdienen" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account einrichten", "header": "Gib deine Telefonnumer an und wir senden dir einen Zugangscode.", "headerVerify": "Bestätige, dass Du ein Mensch bist", diff --git a/app/i18n/raw-i18n/translations/el.json b/app/i18n/raw-i18n/translations/el.json index 32c813a980..e44f598d43 100644 --- a/app/i18n/raw-i18n/translations/el.json +++ b/app/i18n/raw-i18n/translations/el.json @@ -729,7 +729,7 @@ "learn": "Δεν θέλω να σας ενοχλήσω, αλλά υπάρχουν πολλά περισσότερα να μάθετε, ψάξτε...", "learnToEarn": "Μάθετε για να Kερδίσετε " }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Ρύθμιση λογαριασμού", "header": "Πληκτρολογήστε τον αριθμό τηλεφώνου σας και θα σας στείλουμε με μήνυμα έναν κωδικό πρόσβασης.", "headerVerify": "Επιβεβαιώστε ότι είστε άνθρωπος", diff --git a/app/i18n/raw-i18n/translations/es.json b/app/i18n/raw-i18n/translations/es.json index 39a576cc7c..24c4c5d0be 100644 --- a/app/i18n/raw-i18n/translations/es.json +++ b/app/i18n/raw-i18n/translations/es.json @@ -729,7 +729,7 @@ "learn": "Es hora de empezar a nadar en el Océano de Bitcoin.", "learnToEarn": "Aprende y gana" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Configuración de la cuenta", "header": "Ingrese su número de teléfono, y le enviaremos un mesaje de texto con un código de acceso.", "headerVerify": "Verifica que eres una persona", diff --git a/app/i18n/raw-i18n/translations/fr.json b/app/i18n/raw-i18n/translations/fr.json index a8cff47a51..93c06d3000 100644 --- a/app/i18n/raw-i18n/translations/fr.json +++ b/app/i18n/raw-i18n/translations/fr.json @@ -729,7 +729,7 @@ "learn": "Je ne veux pas insister mais il y a beaucoup plus à apprendre...", "learnToEarn": "Apprendre à gagner" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Compte créé", "header": "Saisissez votre numéro de téléphone pour recevoir le code d’accès par SMS.", "headerVerify": "Vérifiez que vous êtes un humain", diff --git a/app/i18n/raw-i18n/translations/hr.json b/app/i18n/raw-i18n/translations/hr.json index 8d3b883f25..61ba79e671 100644 --- a/app/i18n/raw-i18n/translations/hr.json +++ b/app/i18n/raw-i18n/translations/hr.json @@ -723,7 +723,7 @@ "learn": "Ne želim te gnjaviti, ali ima još puno toga za naučiti, istražiti...", "learnToEarn": "Učite da bi zaradili" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Postava računa", "header": "Unesite svoj telefonski broj, a mi ćemo vam poslati pristupni kod.", "headerVerify": "Potvrdite da ste čovjek", diff --git a/app/i18n/raw-i18n/translations/it.json b/app/i18n/raw-i18n/translations/it.json index 91ec4cea12..fd0aa45403 100644 --- a/app/i18n/raw-i18n/translations/it.json +++ b/app/i18n/raw-i18n/translations/it.json @@ -723,7 +723,7 @@ "learn": "Non voglio importunarti, ma c'è molto altro da imparare, immergiti...", "learnToEarn": "Guadagna imparando" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Inserisci il tuo numero di telefono, e ti manderemo un codice di accesso.", "headerVerify": "Verifica di essere un umano", diff --git a/app/i18n/raw-i18n/translations/ms.json b/app/i18n/raw-i18n/translations/ms.json index db57f71ef3..1ccb163246 100644 --- a/app/i18n/raw-i18n/translations/ms.json +++ b/app/i18n/raw-i18n/translations/ms.json @@ -723,7 +723,7 @@ "learn": "Aku taknak la memaksa kau, tapi banyak lagi yang perlu kau belajar...", "learnToEarn": "Belajar untuk dapat ganjaran" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Tetapkan akaun anda", "header": "Masukkan nombor telefon anda, kami akan hantar pesanan kepada a nda kod akses ", "headerVerify": "Buktikan anda bukanlah haiwan", diff --git a/app/i18n/raw-i18n/translations/nl.json b/app/i18n/raw-i18n/translations/nl.json index 6ee12bc7bc..dd9df08313 100644 --- a/app/i18n/raw-i18n/translations/nl.json +++ b/app/i18n/raw-i18n/translations/nl.json @@ -723,7 +723,7 @@ "learn": "Ik wil je niet lastig vallen, maar er valt nog veel meer te leren, begin te graven...", "learnToEarn": "Leer en Verdien" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Instellen van een account", "header": "Voer je telefoonnummer in en we sms'en je een toegangscode.", "headerVerify": "Verifiëer dat u een mens bent", diff --git a/app/i18n/raw-i18n/translations/pt.json b/app/i18n/raw-i18n/translations/pt.json index 8c063705fe..5aa0984cee 100644 --- a/app/i18n/raw-i18n/translations/pt.json +++ b/app/i18n/raw-i18n/translations/pt.json @@ -723,7 +723,7 @@ "learn": "Eu não quero te atormentar, mas há muito mais para aprender, cavar...", "learnToEarn": "Aprenda a ganhar" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Criação de conta", "header": "Digite seu número de telefone e enviaremos um código de acesso por mensagem de texto.", "headerVerify": "Verifique que você é um humano", diff --git a/app/i18n/raw-i18n/translations/qu.json b/app/i18n/raw-i18n/translations/qu.json index 448f92e7a7..ca9098370b 100644 --- a/app/i18n/raw-i18n/translations/qu.json +++ b/app/i18n/raw-i18n/translations/qu.json @@ -723,7 +723,7 @@ "learn": "Ñuqaqa kaniyta mana yachanakuyta munanki, hinaspak kaniyta kawsayniyta kaniy, ch'usaq kaniyta...", "learnToEarn": "Yachanakuyta kaniyta kawsayniyta kaniy" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Ñitina kaniyta munanki, chaypi kawsayniyta qallariyta kiti rikuchiykachkanki", "headerVerify": "Ñuqaqa riqsichiyta kaniyta munanki", diff --git a/app/i18n/raw-i18n/translations/sr.json b/app/i18n/raw-i18n/translations/sr.json index 4e970ea5db..8ccdb8f302 100644 --- a/app/i18n/raw-i18n/translations/sr.json +++ b/app/i18n/raw-i18n/translations/sr.json @@ -723,7 +723,7 @@ "learn": "Не желим да вас досађујем, али има још пуно тога да се научи, баците се на посао...", "learnToEarn": "Научите како да зарадите" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Подешавање налога", "header": "Унесите свој број телефона и ми ћемо вам послати приступни код", "headerVerify": "Верификујте да сте особа", diff --git a/app/i18n/raw-i18n/translations/sw.json b/app/i18n/raw-i18n/translations/sw.json index d7ee21ddf9..21a9f1d6f9 100644 --- a/app/i18n/raw-i18n/translations/sw.json +++ b/app/i18n/raw-i18n/translations/sw.json @@ -723,7 +723,7 @@ "learn": "Simaanishi kukusumbua lakini kuna mengine mengi ya kujifunza, chimba ndani...", "learnToEarn": "JIfunze ili Ulipwe" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Weka nambari yako ya simu, na tutakutumia ujumbe wenye msimbo wa ufikiaji", "headerVerify": "Thibitisha kwamba wewe ni binadamu", diff --git a/app/i18n/raw-i18n/translations/th.json b/app/i18n/raw-i18n/translations/th.json index 47e4418e3c..51dc436bfa 100644 --- a/app/i18n/raw-i18n/translations/th.json +++ b/app/i18n/raw-i18n/translations/th.json @@ -723,7 +723,7 @@ "learn": "เราไม่ได้อยากจะกวนคุณ แต่มีอะไรอีกมากให้เรียนรู้ หาความรู้ต่อไป...", "learnToEarn": "เรียนที่จะหาเงิน" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "ใส่หมายเลขโทรศัพท์ของคุณ เราจะส่งรหัสผ่านให้", "headerVerify": "ยืนยันว่าคุณเป็นมนุษย์", diff --git a/app/i18n/raw-i18n/translations/tr.json b/app/i18n/raw-i18n/translations/tr.json index d18d7b8fd3..f3c38341ce 100644 --- a/app/i18n/raw-i18n/translations/tr.json +++ b/app/i18n/raw-i18n/translations/tr.json @@ -723,7 +723,7 @@ "learn": "Canını sıkmak istemem ama öğrenecek hala çok şey var, kurcalamaya devam...", "learnToEarn": "Kazanmak için öğren" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Telefon numaranızı girdiğinizde sizinle bir giriş kodu paylaşacağız.", "headerVerify": "İnsan olduğunuzu onaylayın", diff --git a/app/i18n/raw-i18n/translations/vi.json b/app/i18n/raw-i18n/translations/vi.json index 7520bcde8b..71f9f58997 100644 --- a/app/i18n/raw-i18n/translations/vi.json +++ b/app/i18n/raw-i18n/translations/vi.json @@ -723,7 +723,7 @@ "learn": "Tôi không có ý làm xấu bạn, nhưng còn nhiều điều để học, tiếp tục nào...", "learnToEarn": "Học để kiếm thêm" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Nhập số điện thoại của bạn và chúng tôi sẽ nhắn tin cho bạn một mã truy cập.", "headerVerify": "Xác minh bạn là con người", diff --git a/app/i18n/raw-i18n/translations/xh.json b/app/i18n/raw-i18n/translations/xh.json index 523f12ea41..aae5a55ee6 100644 --- a/app/i18n/raw-i18n/translations/xh.json +++ b/app/i18n/raw-i18n/translations/xh.json @@ -723,7 +723,7 @@ "learn": "I don't mean to badger you, but there's lot more to learn, dig in...", "learnToEarn": "Learn to Earn" }, - "PhoneLoginSetScreen": { + "PhoneLoginInitiateScreen": { "title": "Account set up", "header": "Enter your phone number, and we'll text you an access code.", "headerVerify": "Verify you are human", diff --git a/app/navigation/root-navigator.tsx b/app/navigation/root-navigator.tsx index 61eda5d66d..4de9679cae 100644 --- a/app/navigation/root-navigator.tsx +++ b/app/navigation/root-navigator.tsx @@ -39,7 +39,7 @@ import { } from "@app/screens/email-registration-screen" import { GaloyAddressScreen } from "@app/screens/galoy-address-screen" import { - PhoneLoginSetScreen, + PhoneLoginInitiateScreen, PhoneLoginValidationScreen, } from "@app/screens/phone-auth-screen" import ReceiveScreen from "@app/screens/receive-bitcoin-screen/receive-screen" @@ -287,7 +287,7 @@ export const RootStack = () => { name="phoneFlow" component={PhoneLoginNavigator} options={{ - title: LL.PhoneLoginSetScreen.title(), + title: LL.PhoneLoginInitiateScreen.title(), }} /> { headerShown: false, title: LL.common.phoneNumber(), }} - component={PhoneLoginSetScreen} + component={PhoneLoginInitiateScreen} /> ({ loadingView: { flex: 1, justifyContent: "center", alignItems: "center" }, })) -export const PhoneLoginSetScreen: React.FC = () => { +export const PhoneLoginInitiateScreen: React.FC = () => { const styles = useStyles() const navigation = @@ -153,24 +153,24 @@ export const PhoneLoginSetScreen: React.FC = () => { if (error) { switch (error) { case ErrorType.FailedCaptchaError: - errorMessage = LL.PhoneLoginSetScreen.errorRequestingCaptcha() + errorMessage = LL.PhoneLoginInitiateScreen.errorRequestingCaptcha() break case ErrorType.RequestCodeError: - errorMessage = LL.PhoneLoginSetScreen.errorRequestingCode() + errorMessage = LL.PhoneLoginInitiateScreen.errorRequestingCode() break case ErrorType.TooManyAttemptsError: errorMessage = LL.errors.tooManyRequestsPhoneCode() break case ErrorType.InvalidPhoneNumberError: - errorMessage = LL.PhoneLoginSetScreen.errorInvalidPhoneNumber() + errorMessage = LL.PhoneLoginInitiateScreen.errorInvalidPhoneNumber() break case ErrorType.UnsupportedCountryError: - errorMessage = LL.PhoneLoginSetScreen.errorUnsupportedCountry() + errorMessage = LL.PhoneLoginInitiateScreen.errorUnsupportedCountry() break } } if (!isSmsSupported && !isWhatsAppSupported) { - errorMessage = LL.PhoneLoginSetScreen.errorUnsupportedCountry() + errorMessage = LL.PhoneLoginInitiateScreen.errorUnsupportedCountry() } let PrimaryButton = undefined @@ -179,14 +179,14 @@ export const PhoneLoginSetScreen: React.FC = () => { case isSmsSupported && isWhatsAppSupported: PrimaryButton = ( submitPhoneNumber(PhoneCodeChannelType.Sms)} /> ) SecondaryButton = ( submitPhoneNumber(PhoneCodeChannelType.Whatsapp)} @@ -196,7 +196,7 @@ export const PhoneLoginSetScreen: React.FC = () => { case isSmsSupported && !isWhatsAppSupported: PrimaryButton = ( submitPhoneNumber(PhoneCodeChannelType.Sms)} /> @@ -205,7 +205,7 @@ export const PhoneLoginSetScreen: React.FC = () => { case !isSmsSupported && isWhatsAppSupported: PrimaryButton = ( submitPhoneNumber(PhoneCodeChannelType.Whatsapp)} /> @@ -222,7 +222,7 @@ export const PhoneLoginSetScreen: React.FC = () => { > - {LL.PhoneLoginSetScreen.header()} + {LL.PhoneLoginInitiateScreen.header()}