From 8a268f389914fe0610e42d5840881cd0047fba3f Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Thu, 26 Sep 2024 19:55:25 +0530 Subject: [PATCH 1/9] Shared-code:LocaleStrings --- .gitignore | 6 +- package.json | 8 +- rescript.json | 4 + src/hooks/GetLocale.res | 69 +- .../PaymentMethodListItem.res | 6 +- src/types/RequiredFieldsTypes.res | 4 +- .../reusableCodeFromWeb/LocaleString.res | 2114 +---------------- 7 files changed, 55 insertions(+), 2156 deletions(-) diff --git a/.gitignore b/.gitignore index 2ce4f43..965b366 100644 --- a/.gitignore +++ b/.gitignore @@ -112,4 +112,8 @@ hyperswitch-react-native/lib/bs/ #next .next/ next-env.d.ts -/out \ No newline at end of file +/out + + +#Rescript +lib/shared-code/* \ No newline at end of file diff --git a/package.json b/package.json index 0aee351..fa4a316 100644 --- a/package.json +++ b/package.json @@ -182,9 +182,9 @@ }, "packageManager": "yarn@4.4.1", "resolutions": { - "@react-native-community/cli-platform-android@npm:14.0.0": "patch:@react-native-community/cli-platform-android@npm%3A14.0.0#~/.yarn/patches/@react-native-community-cli-platform-android-npm-14.0.0-56241f53c3.patch", - "@react-native/assets-registry@npm:0.75.2": "patch:@react-native/assets-registry@npm%3A0.75.2#~/.yarn/patches/@react-native-assets-registry-npm-0.75.2-553af80bf2.patch", - "react-native-code-push@npm:^8.3.1": "patch:react-native-code-push@npm%3A8.3.1#~/.yarn/patches/react-native-code-push-npm-8.3.1-9608679893.patch", - "@react-native/gradle-plugin@npm:0.75.2": "patch:@react-native/gradle-plugin@npm%3A0.75.2#~/.yarn/patches/@react-native-gradle-plugin-npm-0.75.2-3de59c69c5.patch" + "@react-native-community/cli-platform-android": "patch:@react-native-community/cli-platform-android@npm%3A14.0.0#~/.yarn/patches/@react-native-community-cli-platform-android-npm-14.0.0-56241f53c3.patch", + "@react-native/assets-registry": "patch:@react-native/assets-registry@npm%3A0.75.2#~/.yarn/patches/@react-native-assets-registry-npm-0.75.2-553af80bf2.patch", + "react-native-code-push": "patch:react-native-code-push@npm%3A8.3.1#~/.yarn/patches/react-native-code-push-npm-8.3.1-9608679893.patch", + "@react-native/gradle-plugin": "patch:@react-native/gradle-plugin@npm%3A0.75.2#~/.yarn/patches/@react-native-gradle-plugin-npm-0.75.2-3de59c69c5.patch" } } \ No newline at end of file diff --git a/rescript.json b/rescript.json index 6d6a647..50bea9c 100644 --- a/rescript.json +++ b/rescript.json @@ -15,6 +15,10 @@ { "dir": "reactNativeWeb", "subdirs": true + }, + { + "dir": "../shared-code", + "subdirs": true } ], "bs-dependencies": [ diff --git a/src/hooks/GetLocale.res b/src/hooks/GetLocale.res index f1a7784..c4c9bf4 100644 --- a/src/hooks/GetLocale.res +++ b/src/hooks/GetLocale.res @@ -1,39 +1,36 @@ let useGetLocalObj = () => { let (nativeProp, _) = React.useContext(NativePropContext.nativePropContext) - LocaleString.localeStrings - ->Array.get( - switch nativeProp.configuration.appearance.locale->Option.getOr(En) { - | En => 0 - | He => 1 - | Fr => 2 - | En_GB => 3 - | Ar => 4 - | Ja => 5 - | De => 6 - | Fr_BE => 7 - | Es => 8 - | Ca => 9 - | Pt => 10 - | It => 11 - | Pl => 12 - | Nl => 13 - | NI_BE => 14 - | Sv => 15 - | Ru => 16 - | Lt => 17 - | Cs => 18 - | Sk => 19 - | Ls => 20 - | Cy => 21 - | El => 22 - | Et => 23 - | Fi => 24 - | Nb => 25 - | Bs => 26 - | Da => 27 - | Ms => 28 - | Tr_CY => 29 - }, - ) - ->Option.getOr(LocaleString.defaultLocale) + + switch nativeProp.configuration.appearance.locale->Option.getOr(En) { + | En => EnglishLocale.localeStrings + | He => HebrewLocale.localeStrings + | Fr => FrenchLocale.localeStrings + | En_GB => EnglishGBLocale.localeStrings + | Ar => ArabicLocale.localeStrings + | Ja => JapaneseLocale.localeStrings + | De => DeutschLocale.localeStrings + | Fr_BE => FrenchBelgiumLocale.localeStrings + | Es => EstonianLocale.localeStrings + | Ca => CatalanLocale.localeStrings + | Pt => PortugueseLocale.localeStrings + | It => ItalianLocale.localeStrings + | Pl => PolishLocale.localeStrings + | Nl => DutchLocale.localeStrings + | NI_BE => DutchBelgiumLocale.localeStrings + | Sv => SwedishLocale.localeStrings + | Ru => RussianLocale.localeStrings + | Lt => LithuanianLocale.localeStrings + | Cs => CzechLocale.localeStrings + | Sk => SlovakLocale.localeStrings + | Ls => IcelandicLocale.localeStrings + | Cy => WelshLocale.localeStrings + | El => GreekLocale.localeStrings + | Et => EstonianLocale.localeStrings + | Fi => FinnishLocale.localeStrings + | Nb => NorwegianLocale.localeStrings + | Bs => BosnianLocale.localeStrings + | Da => DanishLocale.localeStrings + | Ms => MalayLocale.localeStrings + | Tr_CY => TurkishLocale.localeStrings + } } diff --git a/src/pages/paymentMethodsManagement/PaymentMethodListItem.res b/src/pages/paymentMethodsManagement/PaymentMethodListItem.res index 888b22a..7520ae8 100644 --- a/src/pages/paymentMethodsManagement/PaymentMethodListItem.res +++ b/src/pages/paymentMethodsManagement/PaymentMethodListItem.res @@ -87,7 +87,11 @@ let make = (~pmDetails: SdkTypes.savedDataType, ~isLastElement=true, ~handleDele (), )}> Option.getOr("Delete")} textType=LinkText + text={switch localeObject.deletePaymentMethod { + | "" => None + | value => Some(value) + }->Option.getOr("Delete")} + textType=LinkText /> diff --git a/src/types/RequiredFieldsTypes.res b/src/types/RequiredFieldsTypes.res index 78606da..15ddb64 100644 --- a/src/types/RequiredFieldsTypes.res +++ b/src/types/RequiredFieldsTypes.res @@ -199,7 +199,7 @@ let getRequiredFieldsFromDict = dict => { let getErrorMsg = ( ~field_type: paymentMethodsFields, - ~localeObject: LocaleString.localeStrings, + ~localeObject: LocaleStringTypes.localeStrings, ) => { switch field_type { | AddressLine1 => localeObject.line1EmptyText @@ -213,7 +213,7 @@ let getErrorMsg = ( let checkIsValid = ( ~text: string, ~field_type: paymentMethodsFields, - ~localeObject: LocaleString.localeStrings, + ~localeObject: LocaleStringTypes.localeStrings, ) => { if text == "" { getErrorMsg(~field_type, ~localeObject)->Some diff --git a/src/utility/reusableCodeFromWeb/LocaleString.res b/src/utility/reusableCodeFromWeb/LocaleString.res index d9ec858..20898dd 100644 --- a/src/utility/reusableCodeFromWeb/LocaleString.res +++ b/src/utility/reusableCodeFromWeb/LocaleString.res @@ -61,2117 +61,7 @@ type localeStrings = { cardExpiresText: string, addPaymentMethodLabel: string, walletDisclaimer: string, - deletePaymentMethod?: string, + deletePaymentMethod: string, } -let defaultLocale = { - locale: "en", - localeDirection: "ltr", - cardNumberLabel: "Card Number", - cardDetailsLabel: "Card Details", - inValidCardErrorText: "Card number is invalid.", - inCompleteCVCErrorText: "Your card's security code is incomplete.", - inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", - pastExpiryErrorText: "Your card's expiration date is invalid", - poweredBy: "Powered By Hyperswitch", - validThruText: "Expiry", - sortCodeText: "Sort Code", - accountNumberText: "Account Number", - cvcTextLabel: "CVC", - emailLabel: "Email", - emailInvalidText: "Invalid email address", - emailEmptyText: "Email cannot be empty", - line1Label: "Address line 1", - line1Placeholder: "Street address", - line1EmptyText: "Address line 1 cannot be empty", - line2Label: "Address line 2", - line2Placeholder: "Apt., unit number, etc (optional)", - cityLabel: "City", - cityEmptyText: "City cannot be empty", - postalCodeLabel: "Postal Code", - postalCodeEmptyText: "Postal code cannot be empty", - stateLabel: "State", - fullNameLabel: "Full name", - fullNamePlaceholder: "First and last name", - countryLabel: "Country", - currencyLabel: "Currency", - bankLabel: "Select Bank", - redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", - bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", - orPayUsing: "Or pay using", - addNewCard: "Add credit/debit card", - useExisitingSavedCards: "Use saved payment methods", - saveCardDetails: "Save card details", - addBankAccount: "Add bank account", - achBankDebitTerms: str => - `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank.`, - sepaDebitTerms: str => - `By providing your payment information and confirming this payment, you authorise (A) ${str} and our payment service provider(s) to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with those instructions. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. Your rights are explained in a statement that you can obtain from your bank. You agree to receive notifications for future debits up to 2 days before they occur.`, - becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, - cardTerms: str => `You allow ${str} to automatically charge your card for future payments.`, - payNowButton: "Pay Now", - cardNumberEmptyText: "Card Number cannot be empty", - cardExpiryDateEmptyText: "Card expiry date cannot be empty", - cvcNumberEmptyText: "CVC Number cannot be empty", - enterFieldsText: "Please enter all fields", - enterValidDetailsText: "Please enter valid details", - card: "Card", - billingNameLabel: "Billing name", - cardHolderName: "Card Holder Name", - cardNickname: "Card Nickname", - billingNamePlaceholder: "First and last name", - firstName: "First name", - lastName: "Last name", - billingDetails: "Billing Details", - requiredText: "Required", - cardHolderNameRequiredText: "Card Holder's name required", - lastNameRequiredText: "Last Name Required", - cardExpiresText: "expires", - addPaymentMethodLabel: "Add new payment method", - walletDisclaimer: "Wallet details will be saved upon selection", - deletePaymentMethod: "Delete", -} - -type locale = {localeStrings: array} -let localeStrings = [ - // locale: "en", - { - locale: "en", - localeDirection: "ltr", - cardDetailsLabel: "Card Details", - cardHolderName: "Card Holder Name", - cardNickname: "Card Nickname", - cardNumberLabel: "Card Number", - inValidCardErrorText: "Card number is invalid.", - inCompleteCVCErrorText: "Your card's security code is incomplete.", - inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", - pastExpiryErrorText: "Your card's expiration year is in the past.", - poweredBy: "Powered By Hyperswitch", - validThruText: "Expiry", - sortCodeText: "Sort Code", - cvcTextLabel: "CVC", - line1Label: "Address line 1", - line1Placeholder: "Street address", - line1EmptyText: "Address line 1 cannot be empty", - line2Label: "Address line 2", - line2Placeholder: "Apt., unit number, etc (optional)", - cityLabel: "City", - cityEmptyText: "City cannot be empty", - postalCodeLabel: "Postal Code", - postalCodeEmptyText: "Postal code cannot be empty", - stateLabel: "State", - accountNumberText: "Account Number", - emailLabel: "Email", - emailInvalidText: "Invalid email address", - emailEmptyText: "Email cannot be empty", - fullNameLabel: "Full name", - fullNamePlaceholder: "First and last name", - countryLabel: "Country", - currencyLabel: "Currency", - bankLabel: "Select Bank", - redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", - bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", - orPayUsing: "Or pay using", - addNewCard: "Add credit/debit card", - useExisitingSavedCards: "Use saved payment methods", - saveCardDetails: "Save card details", - addBankAccount: "Add bank account", - achBankDebitTerms: str => - `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.`, - sepaDebitTerms: str => - `By providing your payment information and confirming this payment, you authorise (A) ${str} and Hyperswitch, our payment service provider and/or PPRO, its local service provider, to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with those instructions. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank. You agree to receive notifications for future debits up to 2 days before they occur.`, - becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, - cardTerms: str => `You allow ${str} to automatically charge your card for future payments.`, - payNowButton: "Pay Now", - cardNumberEmptyText: "Card Number cannot be empty", - cardExpiryDateEmptyText: "Card expiry date cannot be empty", - cvcNumberEmptyText: "CVC Number cannot be empty", - enterFieldsText: "Please enter all fields", - enterValidDetailsText: "Please enter valid details", - card: "Card", - billingNameLabel: "Billing name", - billingNamePlaceholder: "First and last name", - firstName: "First name", - lastName: "Last name", - billingDetails: "Billing Details", - requiredText: "Required", - lastNameRequiredText: "Last Name Required", - cardExpiresText: "expires", - addPaymentMethodLabel: "Add new payment method", - cardHolderNameRequiredText: "Card Holder's name required", - walletDisclaimer: "Wallet details will be saved upon selection", - deletePaymentMethod: "Delete", - }, - // Hebrew (he), - { - locale: "he", - cardHolderName: "שם בעל הכרטיס", - cardDetailsLabel: "פרטי כרטיס", - cardNickname: "כינוי לכרטיס", - localeDirection: "rtl", - cardNumberLabel: `מספר כרטיס`, - inValidCardErrorText: `אינו תקין`, - inCompleteCVCErrorText: `קוד האבטחה של הכרטיס שלך אינו שלם`, - inCompleteExpiryErrorText: `פרטי תוקף של הכרטיס שלך אינם מלאים`, - pastExpiryErrorText: `שנת תוקף של הכרטיס שלך עברה.`, - poweredBy: `מופעל על ידי Hyperswitch`, - validThruText: `תוקף`, - sortCodeText: `קוד מיון`, - cvcTextLabel: `קוד בגב הכרטיס`, - line1Label: `כתובת - שורה 1`, - line1Placeholder: `כתובת רחוב`, - line1EmptyText: `שורת כתובת 1 לא יכולה להיות ריקה`, - line2Label: `כתובת - שורה 2`, - line2Placeholder: `דירה, יחידה, וכדומה (אופציונלי)`, - cityLabel: `עיר`, - cityEmptyText: `עיר לא יכולה להיות ריקה`, - postalCodeLabel: `מיקוד`, - postalCodeEmptyText: `מיקוד לא יכול להיות ריק`, - stateLabel: `מדינה`, - accountNumberText: `מספר חשבון`, - emailLabel: `אימייל`, - emailInvalidText: `כתובת אימייל לא חוקית`, - emailEmptyText: `אימייל לא יכול להיות ריק`, - fullNameLabel: `שם מלא`, - fullNamePlaceholder: `שם פרטי ושם משפחה`, - countryLabel: `מדינה`, - currencyLabel: `מטבע`, - bankLabel: `בחר בנק`, - redirectText: `לאחר שליחת ההזמנה שלך, תועבר להשלמת הרכישה באופן מאובטח.`, - bankDetailsText: `לאחר הגשת פרטים אלה, תקבל את פרטי החשבון הבנקאי לביצוע התשלום. נא לוודא לשמור את הפרטים.`, - orPayUsing: `או לשלם באמצעות`, - addNewCard: `הוספת כרטיס אשראי/כרטיס חיוב (דביט)`, - useExisitingSavedCards: `שימוש בכרטיסי חיוב/ אשראי שמורים`, - saveCardDetails: `שמירת פרטי הכרטיס`, - addBankAccount: `הוסף חשבון בנק`, - achBankDebitTerms: str => - `על ידי הזנת מספר החשבון שלך ואישור תשלום זה, אתה מאשר את ${str} ואת Hyperswitch, ספק השירותים התשלום שלנו, לשלוח הוראות לבנק שלך לחייב את החשבון שלך ולהפחית את החשבון שלך על פי ההוראות האלה. אתה זכאי לקבל החזר מהבנק שלך על פי תנאי ההסכם שלך עם הבנק. ההחזר יכול להידרש תוך 8 שבועות מהתאריך שבו הוא הופחת מחשבונך.`, - sepaDebitTerms: str => - `על ידי הזנת מידע התשלום שלך ואישור תשלום זה, אתה מאשר (א) את ${str} ואת Hyperswitch, ספק השירותים התשלום שלנו ו/או PPRO, ספק השירותים המקומי שלו, לשלוח הוראות לבנק שלך לחייב את החשבון שלך ו(ב) את הבנק שלך לחייב את החשבון שלך על פי ההוראות האלה. כחלק מזכויותיך, אתה זכאי לקבל החזר מהבנק שלך על פי תנאי ההסכם שלך עם הבנק. ההחזר יכול להידרש תוך 8 שבועות מהתאריך שבו הוא הופחת מחשבונך. הזכויות שלך מוסברות בהצהרה שאתה יכול לקבל מהבנק שלך. אתה מסכים לקבל הודעות להוראות חיוב עתידיות עד 2 ימים לפני החיוב.`, - becsDebitTerms: `על ידי הזנת פרטי החשבון הבנקאי שלך ואישור תשלום זה, אתה מסכים לבקשת החיוב הישיר ולהסכם תשלום בקשת החיוב הישיר ומאשר את Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 מספר זיהוי משתמש בקשת החיוב הישיר 507156 (Hyperswitch) לחייב את החשבון שלך דרך מערכת BECS (Bulk Electronic Clearing System) בשם Hyperswitch Payment Widget (הסוחר) עבור סכומים הודעו לך בנפרד על ידי הסוחר. אתה מאשר שאתה בעל החשבון או חותם מורשה בחשבון שצוין למעלה.`, - cardTerms: str => - `על ידי הזנת פרטי הכרטיס שלך, אתה מאפשר ל${str} לחייב את הכרטיס שלך עבור תשלומים עתידיים על פי תנאיהם.`, - payNowButton: `שלם עכשיו`, - cardNumberEmptyText: `מספר הכרטיס אינו יכול להיות ריק`, - cardExpiryDateEmptyText: `תוקף של הכרטיס אינו יכול להיות ריק`, - cvcNumberEmptyText: `פרטי קוד ה-CVC אינם יכולים להיות ריקים`, - enterFieldsText: `יש להזין את כל השדות`, - enterValidDetailsText: `יש להזין פרטים תקינים`, - card: `כרטיס`, - billingNameLabel: `שם החיוב`, - billingNamePlaceholder: `שם פרטי ושם משפחה`, - firstName: `שם פרטי`, - lastName: `שם משפחה`, - billingDetails: `פרטי תשלום`, - requiredText: `נדרש`, - lastNameRequiredText: `שם משפחה נדרש`, - cardExpiresText: `פג תוקפו`, - addPaymentMethodLabel: `הוסף שיטת תשלום חדשה`, - cardHolderNameRequiredText: `נדרש שם בעל הכרטיס`, - walletDisclaimer: `פרטי הארנק יישמרו עם הבחירה`, - }, - // French (fr), - { - locale: `fr`, - cardHolderName: "Nom du titulaire", - cardDetailsLabel: "Détails de la carte", - cardNickname: "Pseudo de la carte", - localeDirection: `ltr`, - cardNumberLabel: `Numéro de carte`, - inValidCardErrorText: `Le numéro de carte n'est pas valide.`, - inCompleteCVCErrorText: `Le code de sécurité de votre carte est incomplet.`, - inCompleteExpiryErrorText: `La date d'expiration de votre carte est incomplète.`, - pastExpiryErrorText: `L'année d'expiration de votre carte est passée.`, - poweredBy: `Propulsé par Hyperswitch`, - validThruText: `Expiration`, - sortCodeText: `Code de tri`, - cvcTextLabel: `Code CVC`, - line1Label: `Adresse - Ligne 1`, - line1Placeholder: `Adresse de rue`, - line1EmptyText: `La ligne d'adresse 1 ne peut pas être vide`, - line2Label: `Adresse - Ligne 2`, - line2Placeholder: `Appartement, numéro d'unité, etc (facultatif)`, - cityLabel: `Ville`, - cityEmptyText: `La ville ne peut pas être vide`, - postalCodeLabel: `Code postal`, - postalCodeEmptyText: `Le code postal ne peut pas être vid`, - stateLabel: `État`, - accountNumberText: `Numéro de compte`, - emailLabel: `E-mail`, - emailInvalidText: `Adresse e-mail invalide`, - emailEmptyText: `L'e-mail ne peut pas être vide`, - fullNameLabel: `Nom complet`, - fullNamePlaceholder: `Prénom et nom de famille`, - countryLabel: `Pays`, - currencyLabel: `Devise`, - bankLabel: `Sélectionnez une banque`, - redirectText: `Après avoir soumis votre commande, vous serez redirigé(e) pour compléter votre achat en toute sécurité.`, - bankDetailsText: `Après avoir soumis ces détails, vous obtiendrez les informations de compte bancaire pour effectuer le paiement. Assurez-vous de les noter.`, - orPayUsing: `Ou payer avec`, - addNewCard: `Ajouter une carte de crédit/débit`, - useExisitingSavedCards: `Utiliser les cartes de débit/crédit enregistrées`, - saveCardDetails: `Enregistrer les détails de la carte`, - addBankAccount: `Ajouter un compte bancaire`, - achBankDebitTerms: str => - `En fournissant votre numéro de compte et en confirmant ce paiement, vous autorisez ${str} et Hyperswitch, notre fournisseur de services de paiement, à envoyer des instructions à votre banque pour débiter votre compte et à débiter votre compte conformément à ces instructions. Vous avez droit à un remboursement de votre banque selon les modalités de votre accord avec votre banque. Une demande de remboursement doit être effectuée dans les 8 semaines à compter de la date à laquelle votre compte a été débité.`, - sepaDebitTerms: str => - `En fournissant vos informations de paiement et en confirmant ce paiement, vous autorisez (A) ${str} et Hyperswitch, notre fournisseur de services de paiement, et/ou PPRO, son prestataire de services local, à envoyer des instructions à votre banque pour débiter votre compte et (B) votre banque à débiter votre compte conformément à ces instructions. Dans le cadre de vos droits, vous avez droit à un remboursement de votre banque selon les modalités de votre accord avec votre banque. Une demande de remboursement doit être effectuée dans les 8 semaines à compter de la date à laquelle votre compte a été débité. Vos droits sont expliqués dans une déclaration que vous pouvez obtenir auprès de votre banque. Vous acceptez de recevoir des notifications pour les débits futurs jusqu'à 2 jours avant leur occurrence.`, - becsDebitTerms: `En fournissant les détails de votre compte bancaire et en confirmant ce paiement, vous acceptez cette demande de prélèvement direct et l'accord de service de demande de prélèvement direct, et autorisez Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 numéro d'identification de l'utilisateur de prélèvement direct 507156 (“Hyperswitch”) à débiter votre compte via le système de compensation électronique en masse (BECS) au nom de Hyperswitch Payment Widget (le "Marchand") pour les montants communiqués séparément par le Marchand. Vous certifiez que vous êtes soit titulaire d'un compte, soit signataire autorisé sur le compte indiqué ci-dessus.`, - cardTerms: str => - `En fournissant les informations de votre carte, vous autorisez ${str} à débiter votre carte pour les paiements futurs conformément à leurs conditions.`, - payNowButton: `Payer maintenant`, - cardNumberEmptyText: `Le numéro de carte ne peut pas être vide`, - cardExpiryDateEmptyText: `La date d'expiration de la carte ne peut pas être vide`, - cvcNumberEmptyText: `Le numéro CVC ne peut pas être vide`, - enterFieldsText: `Veuillez saisir tous les champs`, - enterValidDetailsText: `Veuillez saisir des informations valides`, - card: `Carte`, - billingNameLabel: `Nom de facturation`, - billingNamePlaceholder: `Prénom et nom de famille`, - firstName: `Prénom`, - lastName: "Nom de famille", - billingDetails: `Détails de la facturation`, - requiredText: `Requis`, - lastNameRequiredText: `Nom de famille requis`, - cardExpiresText: `expire`, - addPaymentMethodLabel: `Ajouter un nouveau mode de paiement`, - cardHolderNameRequiredText: `Nom du titulaire de la carte requis`, - walletDisclaimer: `Les détails du portefeuille seront enregistrés lors de la sélection`, - }, - // English (British) (en-GB), - { - locale: "en-GB", - cardHolderName: "Card Holder Name", - cardDetailsLabel: "Card Details", - cardNickname: "Card Nickname", - localeDirection: "ltr", - cardNumberLabel: "Card Number", - inValidCardErrorText: "Card number is invalid.", - inCompleteCVCErrorText: "Your card's security code is incomplete.", - inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", - pastExpiryErrorText: "Your card's expiration year is in the past.", - poweredBy: "Powered By Hyperswitch", - validThruText: "Expiry", - sortCodeText: "Sort Code", - cvcTextLabel: "CVC", - emailLabel: "Email", - emailInvalidText: "Invalid email address", - emailEmptyText: "Email cannot be empty", - line1Label: "Address line 1", - line1Placeholder: "Street address", - line1EmptyText: "Address line 1 cannot be empty", - line2Label: "Address line 2", - line2Placeholder: "Apt., unit number, etc (optional)", - cityLabel: "City", - cityEmptyText: "City cannot be empty", - postalCodeLabel: "Postal Code", - postalCodeEmptyText: "Postal code cannot be empty", - stateLabel: "State", - accountNumberText: "Account Number", - fullNameLabel: "Full name", - fullNamePlaceholder: "First and last name", - countryLabel: "Country", - currencyLabel: "Currency", - bankLabel: "Select Bank", - redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", - bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", - orPayUsing: "Or pay using", - addNewCard: "Add credit/debit card", - useExisitingSavedCards: "Use saved debit/credit cards", - saveCardDetails: "Save card details", - addBankAccount: "Add bank account", - achBankDebitTerms: str => - `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.`, - sepaDebitTerms: str => - `By providing your payment information and confirming this payment, you authorise (A) ${str} and Hyperswitch, our payment service provider and/or PPRO, its local service provider, to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with those instructions. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank. You agree to receive notifications for future debits up to 2 days before they occur.`, - becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, - cardTerms: str => - `By providing your card information, you allow ${str} to charge your card for future payments in accordance with their terms.`, - payNowButton: "Pay Now", - cardNumberEmptyText: "Card Number cannot be empty", - cardExpiryDateEmptyText: "Card expiry date cannot be empty", - cvcNumberEmptyText: "CVC Number cannot be empty", - enterFieldsText: "Please enter all fields", - enterValidDetailsText: "Please enter valid details", - card: "Card", - billingNameLabel: "Billing name", - billingNamePlaceholder: "First and last name", - firstName: "First name", - lastName: "Last name", - billingDetails: "Billing Details", - requiredText: "Required", - lastNameRequiredText: "Last Name Required", - cardExpiresText: `expires`, - addPaymentMethodLabel: `Add new payment method`, - cardHolderNameRequiredText: `Card Holder's name required`, - walletDisclaimer: `Wallet details will be saved upon selection`, - }, - // Arabic (ar), - { - locale: "ar", - cardDetailsLabel: "تفاصيل البطاقة", - cardHolderName: "إسم صاحب البطاقة", - cardNickname: "الاسم علي الكارت", - localeDirection: "rtl", - cardNumberLabel: `رقم البطاقة`, - inValidCardErrorText: `رقم البطاقة غير صالحة`, - inCompleteCVCErrorText: `رمز أمان بطاقتك غير مكتمل`, - inCompleteExpiryErrorText: `تاريخ انتهاء صلاحية بطاقتك غير مكتمل`, - pastExpiryErrorText: `انقضت سنة انتهاء صلاحية بطاقتك`, - poweredBy: `مدعوم من هيبيرسويتش`, - validThruText: `صالحة من خلال`, - sortCodeText: `الكود البنكى`, - accountNumberText: `رقم حساب`, - cvcTextLabel: `رمز الحماية`, - emailLabel: `البريد الإلكتروني`, - emailInvalidText: `عنوان البريد الإلكتروني غير صالح`, - emailEmptyText: `لا يمكن أن يكون البريد الإلكتروني فارغًا`, - fullNameLabel: `الاسم الكامل`, - line1Label: `العنوان سطر 1`, - line1Placeholder: `.عنوان الشارع`, - line1EmptyText: `لا يمكن أن يكون سطر العنوان 1 فارغًا`, - line2Label: `سطر العنوان 2`, - line2Placeholder: `مناسب ، رقم الوحدة ، إلخ (اختياري)`, - cityEmptyText: `لا يمكن أن تكون المدينة فارغة`, - postalCodeLabel: `رمز بريدي`, - postalCodeEmptyText: `لا يمكن أن يكون الرمز البريدي فارغًا`, - stateLabel: `ولاية`, - cityLabel: `مدينة`, - fullNamePlaceholder: `الاسم الأول والاسم الأخير`, - countryLabel: `دولة`, - currencyLabel: `عملة`, - bankLabel: `حدد البنك`, - redirectText: `بعد تقديم طلبك ، ستتم إعادة توجيهك لإكمال عملية الشراء بشكل آمن.`, - bankDetailsText: `بعد إرسال هذه التفاصيل ، ستحصل على معلومات الحساب المصرفي لإجراء الدفع. يُرجى التأكد من تدوين ذلك.`, - orPayUsing: `أو الدفع باستخدام`, - addNewCard: `أضف بطاقة جديدة`, - useExisitingSavedCards: `استخدم البطاقات المحفوظة الموجودة`, - saveCardDetails: `حفظ تفاصيل البطاقة`, - addBankAccount: `إضافة حساب مصرفي`, - achBankDebitTerms: str => - `من خلال تقديم رقم حسابك وتأكيد هذا الدفع ، فإنك تفوض ${str} و Hyperswitch ، مزود خدمة الدفع ، لإرسال تعليمات إلى البنك الذي تتعامل معه للخصم من حسابك والبنك الخاص بك للخصم من حسابك وفقًا لهذه التعليمات. يحق لك استرداد الأموال من البنك الذي تتعامل معه بموجب شروط وأحكام اتفاقيتك مع البنك الذي تتعامل معه. يجب المطالبة باسترداد الأموال في غضون 8 أسابيع بدءًا من تاريخ الخصم من حسابك.`, - sepaDebitTerms: str => - `من خلال تقديم معلومات الدفع الخاصة بك وتأكيد هذا الدفع ، فإنك تفوض (أ) ${str} و Hyperswitch ، موفر خدمة الدفع لدينا و / أو PPRO ، مزود الخدمة المحلي ، لإرسال تعليمات إلى البنك الذي تتعامل معه للخصم من حسابك و (ب) البنك الذي تتعامل معه للخصم من حسابك وفقًا لتلك التعليمات. كجزء من حقوقك ، يحق لك استرداد الأموال من البنك الذي تتعامل معه بموجب شروط وأحكام اتفاقيتك مع البنك الذي تتعامل معه. يجب المطالبة باسترداد الأموال في غضون 8 أسابيع بدءًا من تاريخ الخصم من حسابك. يتم توضيح حقوقك في بيان يمكنك الحصول عليه من البنك الذي تتعامل معه. أنت توافق على تلقي إشعارات بالخصم المستقبلي لمدة تصل إلى يومين قبل حدوثها.`, - becsDebitTerms: `من خلال تقديم تفاصيل حسابك المصرفي وتأكيد هذه الدفعة ، فإنك توافق على طلب الخصم المباشر هذا واتفاقية خدمة طلب الخصم المباشر وتفوض Hyperswitch Payments Australia Pty Ltd ACN 160180343 رقم معرف مستخدم الخصم المباشر 507156 ( \"Hyperswitch\") للخصم من حسابك حساب من خلال نظام المقاصة الإلكترونية المجمعة (BECS) نيابة عن Hyperswitch Payment Widget ("التاجر") لأي مبالغ يرسلها التاجر لك بشكل منفصل. أنت تقر بأنك إما صاحب حساب أو مفوض بالتوقيع على الحساب المذكور أعلاه.`, - cardTerms: str => - `من خلال تقديم معلومات بطاقتك ، فإنك تسمح لـ ${str} بشحن بطاقتك للمدفوعات المستقبلية وفقًا لشروطها.`, - payNowButton: `ادفع الآن`, - cardNumberEmptyText: `لا يمكن أن يكون رقم البطاقة فارغاً`, - cardExpiryDateEmptyText: `لا يمكن أن يكون تاريخ انتهاء البطاقة فارغاً`, - cvcNumberEmptyText: `لا يمكن أن يكون رقم التحقق من البطاقة (CVC) فارغًا`, - enterFieldsText: `الرجاء إدخال كافة الحقول`, - enterValidDetailsText: `الرجاء إدخال تفاصيل صالحة`, - card: `بطاقة`, - billingNameLabel: `اسم الفواتير`, - billingNamePlaceholder: `الاسم الأول والاسم الأخير`, - firstName: `الاسم الأول`, - lastName: `اسم العائلة`, - billingDetails: `تفاصيل الفاتورة`, - requiredText: `مطلوب`, - lastNameRequiredText: `نشاط اسم مطلوب`, - cardExpiresText: `تنتهي`, - addPaymentMethodLabel: `أضف طريقة دفع جديدة`, - cardHolderNameRequiredText: `اسم حامل البطاقة مطلوب`, - walletDisclaimer: `سيتم حفظ تفاصيل المحفظة عند الاختيار`, - }, - // Japanese (ja), - { - locale: "ja", - cardHolderName: "クレジットカード名義人氏名", - cardDetailsLabel: "カードの詳細", - cardNickname: "カードのニックネーム", - localeDirection: "ltr", - cardNumberLabel: `カード番号`, - inValidCardErrorText: `カード番号が無効です`, - inCompleteCVCErrorText: `カードのセキュリティ コードが不完全です`, - inCompleteExpiryErrorText: `カードの有効期限が不完全です`, - pastExpiryErrorText: `カードの有効期限が過ぎています`, - poweredBy: `ハイパースイッチ搭載`, - validThruText: `を通じて有効`, - sortCodeText: `ソートコード`, - cvcTextLabel: `セキュリティコード`, - accountNumberText: `口座番号`, - emailLabel: `Eメール`, - emailInvalidText: `無効なメールアドレス`, - emailEmptyText: `メールアドレスは空欄にできません`, - fullNameLabel: `フルネーム`, - fullNamePlaceholder: `名前と苗字`, - line1Label: `住所1`, - line1Placeholder: `住所`, - line1EmptyText: `住所行 1 を空にすることはできません`, - line2Label: `住所2`, - cityEmptyText: `都市を空にすることはできません`, - postalCodeLabel: `郵便番号`, - postalCodeEmptyText: `郵便番号を空白にすることはできません`, - stateLabel: `州`, - cityLabel: `街`, - line2Placeholder: `アパート、ユニット番号など(任意)`, - countryLabel: `国`, - currencyLabel: "通貨", - bankLabel: `バンクを選択`, - redirectText: `注文を送信すると、安全に購入を完了するためにリダイレクトされます。`, - bankDetailsText: `これらの詳細を送信すると、支払いを行うための銀行口座情報が表示されます。必ずメモを取ってください。`, - orPayUsing: `またはを使用して支払う`, - addNewCard: `新しいカードを追加`, - useExisitingSavedCards: `既存の保存済みカードを使用する`, - saveCardDetails: `カードの詳細を保存`, - addBankAccount: `銀行口座を追加`, - achBankDebitTerms: str => - `口座番号を提供し、この支払いを確認することにより、${str} および支払いサービス プロバイダーである Hyperswitch が、銀行に口座からの引き落としの指示を送信し、その指示に従って口座からの引き落としの銀行に指示を送信することを承認したことになります。お客様は、銀行との契約条件に基づいて、銀行から返金を受ける権利があります。払い戻しは、アカウントが引き落とされた日から 8 週間以内に請求する必要があります。`, - sepaDebitTerms: str => - `支払い情報を提供し、この支払いを確認することにより、お客様は、(A) 当社の支払いサービス プロバイダーである ${str} および Hyperswitch および/またはそのローカル サービス プロバイダーである PPRO が、お客様の銀行にお客様の口座から引き落とされる指示を送信すること、および (B) 銀行がその指示に従って口座から引き落としを行います。 お客様の権利の一部として、お客様は銀行との契約条件に基づいて銀行から返金を受ける権利があります。 払い戻しは、アカウントの引き落とし日から 8 週間以内に請求する必要があります。 お客様の権利については、銀行から入手できる明細書で説明されています。 お客様は、将来の引き落としに関する通知を、発生の 2 日前までに受け取ることに同意するものとします。`, - becsDebitTerms: `銀行口座の詳細を提供し、この支払いを確認することにより、お客様は、この口座振替リクエストおよび口座振替リクエストのサービス契約に同意し、Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 口座振替ユーザー ID 番号 507156 (「ストライプ」) に口座振替を許可することになります。 Hyperswitch Payment Widget (以下「マーチャント」) に代わって、バルク電子決済システム (BECS) を通じて、マーチャントから別途通知された金額についてのアカウントを作成します。あなたは、自分がアカウント所有者であるか、上記のアカウントの承認された署名者のいずれかであることを証明します。`, - cardTerms: str => - `カード情報を提供することにより、${str} が規約に従って将来の支払いをカードに請求できるようになります。`, - payNowButton: `今払う`, - cardNumberEmptyText: `カード番号を空にすることはできません`, - cardExpiryDateEmptyText: `カードの有効期限を空にすることはできません`, - cvcNumberEmptyText: `CVC 番号を空にすることはできません`, - enterFieldsText: `すべてのフィールドに入力してください`, - enterValidDetailsText: `有効な詳細を入力してください`, - card: `カード`, - billingNameLabel: `課金名`, - billingNamePlaceholder: `名前と苗字`, - firstName: `ファーストネーム`, - lastName: `苗字`, - billingDetails: `支払明細`, - requiredText: `必須`, - lastNameRequiredText: `姓が必要です`, - cardExpiresText: `期限切れ`, - addPaymentMethodLabel: `新しい支払い方法を追加`, - cardHolderNameRequiredText: `カード所有者の名前が必要です`, - walletDisclaimer: `ウォレットの詳細は選択時に保存されます`, - }, - // German (de), - { - locale: "de", - cardDetailsLabel: "Kartendetails", - cardHolderName: "Name des Karteninhabers", - cardNickname: "Spitzname der Karte", - localeDirection: "ltr", - cardNumberLabel: `Kartennummer`, - inValidCardErrorText: `Kartennummer ist ungültig.`, - inCompleteCVCErrorText: `Der Sicherheitscode Ihrer Karte ist unvollständig.`, - inCompleteExpiryErrorText: `Das Ablaufdatum Ihrer Karte ist unvollständig.`, - pastExpiryErrorText: `Das Ablaufjahr Ihrer Karte liegt in der Vergangenheit.`, - poweredBy: `Unterstützt von Hyperswitch`, - validThruText: `Ablauf`, - sortCodeText: `Bankleitzahl`, - cvcTextLabel: `CVC`, - line1Label: `Adresszeile 1`, - line1Placeholder: `Adresse`, - line1EmptyText: `Adresszeile 1 darf nicht leer sein`, - line2Label: `Adresszeile 2`, - line2Placeholder: `Wohnung, Einheitennummer usw. (optional)`, - cityLabel: `Stadt`, - cityEmptyText: `Die Stadt darf nicht leer sein`, - postalCodeLabel: `Postleitzahl`, - postalCodeEmptyText: `Die Postleitzahl darf nicht leer sein`, - stateLabel: `Zustand`, - accountNumberText: `Accountnummer`, - emailLabel: `Email`, - emailInvalidText: `Ungültige E-Mail-Adresse`, - emailEmptyText: `Die E-Mail-Adresse darf nicht leer sein`, - fullNameLabel: `Vollständiger Name`, - fullNamePlaceholder: `Vor-und Nachname`, - countryLabel: `Land`, - currencyLabel: "Währung", - bankLabel: `Wählen Sie Bank`, - redirectText: `Nach dem Absenden Ihrer Bestellung werden Sie weitergeleitet, um Ihren Kauf sicher abzuschließen.`, - bankDetailsText: `Nach Übermittlung dieser Daten erhalten Sie die Bankverbindung, um die Zahlung durchführen zu können. Bitte notieren Sie sich dies unbedingt.`, - orPayUsing: `Oder zahlen Sie mit`, - addNewCard: `Kredit-/Debitkarte hinzufügen`, - useExisitingSavedCards: `Verwenden Sie gespeicherte Debit-/Kreditkarten`, - saveCardDetails: `Kartendetails speichern`, - addBankAccount: `Bankkonto hinzufügen`, - achBankDebitTerms: str => - `Indem Sie Ihre Kontonummer angeben und diese Zahlung bestätigen, autorisieren Sie diese ${str} und Hyperswitch, unser Zahlungsdienstleister, um Anweisungen an Ihre Bank zu senden, um Ihr Konto zu belasten, und Ihre Bank, um Ihr Konto gemäß diesen Anweisungen zu belasten. Sie haben gemäß den Bedingungen Ihrer Vereinbarung mit Ihrer Bank Anspruch auf eine Rückerstattung von Ihrer Bank. Eine Rückerstattung muss innerhalb von 8 Wochen ab dem Datum der Belastung Ihres Kontos beantragt werden.`, - sepaDebitTerms: str => - `Indem Sie Ihre Zahlungsinformationen angeben und diese Zahlung bestätigen, autorisieren Sie (A) ${str} und Hyperswitch, unser Zahlungsdienstleister und/oder PPRO, sein lokaler Dienstleister, um Anweisungen an Ihre Bank zu senden, um Ihr Konto zu belasten, und (B) Ihre Bank, um Ihr Konto gemäß diesen Anweisungen zu belasten. Im Rahmen Ihrer Rechte haben Sie gemäß den Bedingungen Ihrer Vereinbarung mit Ihrer Bank Anspruch auf eine Rückerstattung von Ihrer Bank. Eine Rückerstattung muss innerhalb von 8 Wochen ab dem Datum der Belastung Ihres Kontos beantragt werden. Ihre Rechte werden in einer Abrechnung erläutert, die Sie bei Ihrer Bank erhalten können. Sie stimmen zu, Benachrichtigungen über zukünftige Belastungen bis zu 2 Tage vor deren Auftreten zu erhalten.`, - becsDebitTerms: `Indem Sie Ihre Bankkontodaten angeben und diese Zahlung bestätigen, stimmen Sie dieser Lastschriftanforderung und der Servicevereinbarung für Lastschriftanträge zu und ermächtigen Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Lastschriftbenutzer-ID-Nummer 507156 („Hyperswitch“), Ihr Konto zu belasten Konto über das Bulk Electronic Clearing System (BECS) im Namen von Hyperswitch Payment Widget (der „Händler“) für alle Beträge, die Ihnen vom Händler gesondert mitgeteilt werden. Sie bestätigen, dass Sie entweder Kontoinhaber oder Zeichnungsberechtigter des oben aufgeführten Kontos sind.`, - cardTerms: str => - `Durch die Angabe Ihrer Karteninformationen stimmen Sie zu ${str} Ihre Karte gemäß deren Bedingungen für zukünftige Zahlungen zu belasten.`, - payNowButton: `Zahlen Sie jetzt`, - cardNumberEmptyText: `Die Kartennummer darf nicht leer sein`, - cardExpiryDateEmptyText: `Das Ablaufdatum der Karte darf nicht leer sein`, - cvcNumberEmptyText: `Die CVC-Nummer darf nicht leer sein`, - enterFieldsText: `Bitte füllen Sie alle Felder aus`, - enterValidDetailsText: `Bitte geben Sie gültige Daten ein`, - card: `Karte`, - billingNameLabel: `Abrechnungsname`, - billingNamePlaceholder: `Vor-und Nachname`, - firstName: `Vorname`, - lastName: `Familienname, Nachname`, - billingDetails: `Rechnungsdetails`, - requiredText: `Erforderlich`, - lastNameRequiredText: `Nachname erforderlich`, - cardExpiresText: `läuft ab`, - addPaymentMethodLabel: `Neue Zahlungsmethode hinzufügen`, - cardHolderNameRequiredText: `Name des Karteninhabers erforderlich`, - walletDisclaimer: `Wallet-Details werden bei Auswahl gespeichert`, - }, - // French (Belgium) (fr-BE), - { - locale: "fr-BE", - localeDirection: "ltr", - cardDetailsLabel: "Détails de la carte", - cardNumberLabel: "Numéro de carte", - inValidCardErrorText: "Le numéro de carte n'est pas valide.", - inCompleteCVCErrorText: "Le code de sécurité de votre carte est incomplet.", - inCompleteExpiryErrorText: "La date d'expiration de votre carte est incomplète.", - pastExpiryErrorText: "L'année d'expiration de votre carte est passée.", - poweredBy: "Powered By Hyperswitch", - validThruText: "Expiration", - sortCodeText: "Code guichet", - cvcTextLabel: "CVC", - line1Label: "Adresse ligne 1", - line1Placeholder: "Rue", - line1EmptyText: `La ligne d'adresse 1 ne peut pas être vide`, - line2Label: "Adresse ligne 2", - line2Placeholder: "Appartement, numéro d'unité, etc. (facultatif)", - cityLabel: "Ville", - cityEmptyText: `La ville ne peut pas être vide`, - postalCodeLabel: "Code postal", - postalCodeEmptyText: `Le code postal ne peut pas être vide`, - stateLabel: "État", - accountNumberText: "Numéro dAccount Number", - emailLabel: "E-mail", - emailInvalidText: `Adresse e-mail invalide`, - emailEmptyText: `L'adresse e-mail ne peut pas être vide`, - fullNameLabel: "Nom cFull name", - fullNamePlaceholder: "Nom et prénom", - countryLabel: "Pays", - currencyLabel: "Devise", - bankLabel: "Sélectionner une banque", - redirectText: "Après avoir passé votre commande, vous serez redirigé pour effectuer votre achat en toute sécurité.", - bankDetailsText: "Après avoir envoyé ces informations, vous obtiendrez les informations de votre compte bancaire pour effectuer le paiement. Veillez à en prendre note.", - orPayUsing: "Ou payer en utilisant", - addNewCard: "Ajouter une carte de crédit/débit", - useExisitingSavedCards: "Utiliser les cartes de débit/crédit enregistrées", - saveCardDetails: "Enregistrer les détails de la carte", - addBankAccount: "Ajouter un compte bancaire", - achBankDebitTerms: str => - `En fournissant votre numéro de compte et en confirmant ce paiement, vous autorisez ${str} et Hyperswitch, notre prestataire de services de paiement, à envoyer des instructions à votre banque pour débiter votre compte et votre banque à débiter votre compte conformément à ces instructions. Vous avez droit à un remboursement de la part de votre banque selon les termes et conditions de l'accord que vous avez conclu avec elle. Le remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité.`, - sepaDebitTerms: str => - `En fournissant vos informations de paiement et en confirmant ce paiement, vous autorisez (A) ${str} et Hyperswitch, notre prestataire de services de paiement et/ou PPRO, son prestataire de services local, à envoyer des instructions à votre banque pour débiter votre compte et (B) votre banque à débiter votre compte conformément à ces instructions. Dans le cadre de vos droits, vous avez droit à un remboursement de votre banque selon les termes et conditions de votre accord avec votre banque. Le remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité. Vos droits sont expliqués dans une déclaration que vous pouvez obtenir auprès de votre banque. Vous acceptez de recevoir des notifications pour les débits futurs jusqu'à 2 jours avant qu'ils ne se produisent.`, - becsDebitTerms: "En fournissant vos coordonnées bancaires et en confirmant ce paiement, vous acceptez la présente demande de prélèvement automatique et l'accord de service de demande de prélèvement automatique et autorisez Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Numéro d'identification d'utilisateur de prélèvement automatique 507156 (« Hyperswitch ») à débiter votre compte via le système de compensation électronique en bloc (BECS) au nom de Hyperswitch Payment Widget (le « Marchand ») pour tout montant qui vous est communiqué séparément par le Marchand. Vous certifiez que vous êtes soit le titulaire du compte, soit un signataire autorisé du compte mentionné ci-dessus.", - cardTerms: str => - `En fournissant les informations relatives à votre carte, vous autorisez ${str} à débiter votre carte pour les paiements futurs conformément à leurs conditions.`, - payNowButton: "Payer maintenant", - cardNumberEmptyText: "Le numéro de carte ne peut pas être vide", - cardExpiryDateEmptyText: "La date d'expiration de la carte ne peut pas être vide", - cvcNumberEmptyText: "Le numéro CVC ne peut pas être vide", - enterFieldsText: "Veuillez saisir tous les champs", - enterValidDetailsText: "Veuillez saisir des détails valides", - card: "Carte", - billingNameLabel: "Nom de facturation", - cardHolderName: "Nom du titulaire", - cardNickname: "Pseudonyme de la carte", - billingNamePlaceholder: "Nom et prénom", - firstName: `Prénom`, - lastName: `Nom de famille`, - billingDetails: `Détails de la facturation`, - requiredText: `Requis`, - lastNameRequiredText: `Nom de famille requis`, - cardExpiresText: `expire`, - addPaymentMethodLabel: `Ajouter un nouveau mode de paiement`, - cardHolderNameRequiredText: `Nom du titulaire de la carte requis`, - walletDisclaimer: `Les détails du portefeuille seront enregistrés lors de la sélection`, - }, - // Spanish (es) - { - locale: "es", - localeDirection: "ltr", - cardDetailsLabel: "Detalles de la tarjeta", - cardNumberLabel: "Número de tarjeta", - inValidCardErrorText: "El número de la tarjeta no es válido.", - inCompleteCVCErrorText: "El código de seguridad de su tarjeta está incompleto.", - inCompleteExpiryErrorText: "La fecha de vencimiento de su tarjeta está incompleta.", - pastExpiryErrorText: "El año de vencimiento de su tarjeta ya ha pasado.", - poweredBy: "Desarrollado por Hyperswitch", - validThruText: "Vencimiento", - sortCodeText: "Código Sort", - cvcTextLabel: "CVV", - line1Label: "Línea de dirección 1", - line1Placeholder: "Dirección postal", - line1EmptyText: `La línea de dirección 1 no puede estar vacía`, - line2Label: "Línea de dirección 2", - line2Placeholder: "Piso, número de departamento, etc. (opcional)", - cityLabel: "Ciudad", - cityEmptyText: `La ciudad no puede estar vacía.`, - postalCodeLabel: "Código postal", - postalCodeEmptyText: `El código postal no puede estar vacío.`, - stateLabel: "Provincia/estado", - accountNumberText: "Número de cuenta", - emailLabel: "Correo electrónico", - emailInvalidText: `Dirección de correo electrónico no válida`, - emailEmptyText: `El correo electrónico no puede estar vacío`, - fullNameLabel: "Nombre completo", - fullNamePlaceholder: "Nombre y apellidos", - countryLabel: "País", - currencyLabel: "Moneda", - bankLabel: "Seleccionar banco", - redirectText: "Después de enviar su pedido, se le redirigirá para que complete su compra de forma segura.", - bankDetailsText: "Después de enviar estos datos, obtendrá la información de la cuenta bancaria para realizar el pago. Asegúrese de anotarla.", - orPayUsing: "O pague con", - addNewCard: "Añadir tarjeta de crédito/débito", - useExisitingSavedCards: "Utilizar las tarjetas de débito/crédito guardadas", - saveCardDetails: "Guardar la información de la tarjeta", - addBankAccount: "Añadir cuenta bancaria", - achBankDebitTerms: str => - `Al proporcionar su número de cuenta y confirmar este pago, autoriza a ${str} y Hyperswitch, nuestro proveedor de servicios de pago, a enviar órdenes a su banco para que aplique cargos en su cuenta y para que realice los correspondientes adeudos en la misma de acuerdo con dichas órdenes. Tiene derecho a recibir un reembolso de su banco de acuerdo con las condiciones del contrato suscrito. El reembolso debe reclamarse en un plazo de 8 semanas desde la fecha en la que se aplicó el cargo en su cuenta.`, - sepaDebitTerms: str => - `Al proporcionar su información de pago y confirmar este pago, autoriza a (A) ${str} y Hyperswitch, nuestro proveedor de servicios de pago o a PPRO, su proveedor de servicios local, a enviar órdenes a su banco para que aplique cargos en su cuenta y (B) para que realice los correspondientes adeudos en la misma de acuerdo con dichas órdenes. Como parte de sus derechos, tiene la potestad de que su banco le devuelva el dinero según las condiciones de su contrato. El reembolso debe reclamarse en un plazo de 8 semanas desde la fecha en la que se aplicó el cargo en su cuenta. Sus derechos aparecen explicados en una declaración que puede solicitar en su banco. Acepta recibir notificaciones de futuros cargos hasta 2 días antes de que se produzcan.`, - becsDebitTerms: "Al proporcionar los datos de su cuenta bancaria y confirmar este pago, acepta esta solicitud de domiciliación bancaria y el acuerdo de servicio para la misma. Además, autoriza a Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, número de identificación de usuario de domiciliación bancaria 507156 («Hyperswitch»), a realizar adeudos en su cuenta a través del sistema de compensación electrónica masiva (BECS) en nombre de Hyperswitch Payment Widget (el «comercio») por cualquier importe que el comercio le comunique individualmente. Certifica que es titular de una cuenta o un firmante autorizado en la cuenta indicada anteriormente.", - cardTerms: str => - `Al proporcionar la información de su tarjeta, permite a ${str} que realice cargos en su tarjeta para futuros pagos de acuerdo con sus términos.`, - payNowButton: "Pagar ahora", - cardNumberEmptyText: "El número de la tarjeta no puede estar vacío", - cardExpiryDateEmptyText: "La fecha de vencimiento de la tarjeta no puede estar vacía", - cvcNumberEmptyText: "El número CVV no puede estar vacío", - enterFieldsText: "Rellene todos los campos", - enterValidDetailsText: "Introduzca datos válidos", - card: "Tarjeta", - billingNameLabel: "Nombre de facturación", - cardHolderName: "Nombre del titular de la tarjeta", - cardNickname: "Apodo de la tarjeta", - billingNamePlaceholder: "Nombre y apellido", - firstName: `Nombre de pila`, - lastName: `Apellido`, - billingDetails: `Detalles de facturación`, - requiredText: `Requerido`, - lastNameRequiredText: `Apellido Necesario`, - cardExpiresText: `expira`, - addPaymentMethodLabel: `Agregar nuevo método de pago`, - cardHolderNameRequiredText: `Se requiere el nombre del titular de la tarjeta`, - walletDisclaimer: `Los detalles de la billetera se guardarán al realizar la selección.`, - }, - // Catalan (ca) - { - locale: "ca", - localeDirection: "ltr", - cardDetailsLabel: "Detalls de la targeta", - cardNumberLabel: "Número de targeta", - inValidCardErrorText: "El número de targeta no és vàlid.", - inCompleteCVCErrorText: "El codi de seguretat de la targeta està incomplet.", - inCompleteExpiryErrorText: "La data de venciment de la targeta està incompleta.", - pastExpiryErrorText: "La data de venciment de la targeta ja ha passat.", - poweredBy: "Amb tecnologia de Hyperswitch", - validThruText: "Venciment", - sortCodeText: "Codi de sucursal", - cvcTextLabel: "CVC", - line1Label: "Línia d'adreça 1", - line1Placeholder: "Adreça postal", - line1EmptyText: `La línia d'adreça 1 no pot estar buida`, - line2Label: "Línia d'adreça 2", - line2Placeholder: "Pis, número d'apartament, etc. (opcional)", - cityLabel: "Ciutat", - cityEmptyText: `La ciutat no pot estar buida`, - postalCodeLabel: "Codi postal", - postalCodeEmptyText: `El codi postal no pot estar buit`, - stateLabel: "Estat", - accountNumberText: "Número de compte", - emailLabel: "Adreça electrònica", - emailInvalidText: `adressa de correu invàlida`, - emailEmptyText: `El correu electrònic no pot estar buit`, - fullNameLabel: "Nom complet", - fullNamePlaceholder: "Nom i cognoms", - countryLabel: "País", - currencyLabel: "Moneda", - bankLabel: "Seleccioni un banc", - redirectText: "En fer la comanda, se li redirigirà perquè completi la compra de manera segura.", - bankDetailsText: "Després d'enviar aquestes dades, rebrà la informació del compte bancari per fer el pagament. Recordi prendre'n nota.", - orPayUsing: "O faci el pagament mitjançant", - addNewCard: "Afegeixi una targeta de crèdit o dèbit", - useExisitingSavedCards: "Faci servir les targetes de dèbit o crèdit desades", - saveCardDetails: "Desi les dades de la targeta", - addBankAccount: "Afegeixi un compte bancari", - achBankDebitTerms: str => - `En facilitar el número de compte i confirmar el pagament, autoritza ${str} i Hyperswitch, el nostre proveïdor de serveis de pagament, a enviar ordres al seu banc perquè apliqui els càrrecs corresponents al compte. Tindrà dret a rebre un reembossament del banc d'acord amb els termes i condicions del contracte que hi hagi subscrit. El reembossament s'ha de sol·licitar en un termini de 8 setmanes des de la data en què es va aplicar el càrrec al compte.`, - sepaDebitTerms: str => - `En facilitar la informació de pagament i confirmar el pagament, autoritza ${str} i Hyperswitch, el nostre proveïdor de serveis de pagament, o a PPRO, el seu proveïdor de serveis local, a enviar ordres al seu banc i a (B) perquè apliqui els càrrecs corresponents al compte. Com a part dels seus drets, podrà rebre un reembossament del banc d'acord amb els termes i condicions del contracte que hi hagi subscrit. El reembossament s'ha de sol·licitar en un termini de 8 setmanes des de la data en què es va aplicar el càrrec al compte. Els seus drets s'expliquen en un extracte que podrà sol·licitar al banc. Accepta rebre notificacions dels càrrecs futurs fins 2 dies abans que es produeixin.`, - becsDebitTerms: "En facilitar les dades del compte bancari i confirmar el pagament, accepta aquesta sol·licitud de domiciliació bancària i l'acord de servei corresponent. A més, autoritza Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, amb número d'identificació d'usuari de domiciliació bancària 507156, («Hyperswitch») a aplicar càrrecs al compte a través del sistema de compensació electrònica massiva (BECS) en nom de Hyperswitch Payment Widget (el «comerç») per a qualsevol import que el comerç li comuniqui individualment. Certifica que és titular d'un compte o signatari autoritzat del compte que s'indica anteriorment.", - cardTerms: str => - `En facilitar la informació de la targeta, permet a ${str} que faci càrrecs a la targeta per a pagaments futurs d'acord amb les seves condicions.`, - payNowButton: "Pagui ara", - cardNumberEmptyText: "Cal indicar el número de la targeta", - cardExpiryDateEmptyText: "Cal indicar la data de venciment de la targeta", - cvcNumberEmptyText: "Cal indicar el número CVC", - enterFieldsText: "Empleni tots els camps", - enterValidDetailsText: "Introdueixi dades vàlides", - card: "Targeta", - billingNameLabel: "Nom de facturació", - cardHolderName: "Nom del titular de la targeta", - cardNickname: "Sobrenom de la targeta", - billingNamePlaceholder: "Nom i cognom", - firstName: "Nom", - lastName: "Cognom", - billingDetails: `Detalls de facturació`, - requiredText: `Requerit`, - lastNameRequiredText: `Cognom necessari`, - cardExpiresText: `caduca`, - addPaymentMethodLabel: `Afegir un nou mètode de pagament`, - cardHolderNameRequiredText: `Cal el nom del titular de la targeta`, - walletDisclaimer: `Els detalls de la cartera es desaran en seleccionar-lo`, - }, - // Portuguese (pt) - { - locale: "pt", - localeDirection: "ltr", - cardDetailsLabel: "Detalhes do cartão", - cardNumberLabel: "Número do cartão", - inValidCardErrorText: "O número do cartão é inválido.", - inCompleteCVCErrorText: "O código de segurança do seu cartão está incompleto.", - inCompleteExpiryErrorText: "A data de validade do seu cartão está incompleta.", - pastExpiryErrorText: "O ano de validade do seu cartão já passou.", - poweredBy: "Desenvolvido por Hyperswitch", - validThruText: "Validade", - sortCodeText: "Código de agência bancária", - cvcTextLabel: "CVC", - line1Label: "Linha de endereço 1", - line1Placeholder: "Nome de rua", - line1EmptyText: `A linha de endereço 1 não pode ficar vazia`, - line2Label: "Linha de endereço 2", - line2Placeholder: "Apartamento, número de porta, etc. (opcional)", - cityLabel: "Localidade", - cityEmptyText: `A cidade não pode ficar vazia`, - postalCodeLabel: "Código postal", - postalCodeEmptyText: `O código postal não pode ficar vazio`, - stateLabel: "Distrito", - accountNumberText: "Número de conta", - emailLabel: "E-mail", - emailInvalidText: `Endereço de email invalido`, - emailEmptyText: `O e-mail não pode ficar vazio`, - fullNameLabel: "Nome completo", - fullNamePlaceholder: "Nome e apelido", - countryLabel: "País", - currencyLabel: "Moeda", - bankLabel: "Selecionar banco", - redirectText: "Depois de fazer a sua encomenda, será redirecionado(a) para concluir a sua compra com segurança.", - bankDetailsText: "Depois de enviar estes detalhes, receberá as informações da conta bancária para efetuar o pagamento. Assegure-se de que toma nota desses dados.", - orPayUsing: "Ou pague utilizando", - addNewCard: "Adicionar cartão de débito/crédito", - useExisitingSavedCards: "Usar cartões de débito/crédito guardados", - saveCardDetails: "Guardar dados do cartão", - addBankAccount: "Adicionar conta bancária", - achBankDebitTerms: str => - `Ao fornecer o seu número de conta e confirmar este pagamento, está a autorizar ${str} e a Hyperswitch, nossa prestadora de serviços de pagamento, a enviar instruções ao seu banco para debitar a sua conta e ao seu banco para debitar a sua conta de acordo com essas instruções. Tem direito a um reembolso do seu banco de acordo com os termos e condições do seu contrato com o seu banco. Um reembolso tem de ser solicitado dentro de 8 semanas a partir da data em que a sua conta tiver sido debitada.`, - sepaDebitTerms: str => - `Ao fornecer as suas informações de pagamento e confirmar este pagamento, autoriza (A) ${str} e a Hyperswitch, a nossa prestadora de serviços de pagamento e/ou a PPRO, fornecedora de serviços local desta, para enviar instruções ao seu banco para debitar a sua conta e (B) ao seu banco para debitar a sua conta de acordo com essas instruções. Como parte dos seus direitos, tem direito a um reembolso do seu banco nos termos e condições do seu contrato com o seu banco. Um reembolso tem de ser solicitado dentro de 8 semanas a partir da data em que a sua conta tiver sido debitada. Os seus direitos são explicados numa declaração que pode obter junto do seu banco. Concorda em receber notificações para débitos futuros até 2 dias antes de ocorrerem.`, - becsDebitTerms: "Ao fornecer os seus dados bancários e confirmar este pagamento, concorda com este Pedido de Débito Automático e com o contrato de serviço de Pedido de Débito Automático e autoriza a Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, Número de ID de Utilizador de Débito Automático 507156 (\"Hyperswitch\"), a debitar a sua conta através do Sistema de Compensação Eletrónica em Massa (BECS) em nome de Hyperswitch Payment Widget (o \"Comerciante\") por quaisquer valores separadamente comunicados a si pelo Comerciante. Certifica que é titular da conta ou signatário autorizado na conta listada acima.", - cardTerms: str => - `Ao fornecer as informações do seu cartão, permite ${str} o débito do seu cartão para pagamentos futuros de acordo com as respetivas condições.`, - payNowButton: "Pagar agora", - cardNumberEmptyText: "O número do cartão não pode ficar em branco", - cardExpiryDateEmptyText: "A data de validade do cartão não pode ficar em branco", - cvcNumberEmptyText: "O número CVC não pode ficar em branco", - enterFieldsText: "Preencha todos os campos", - enterValidDetailsText: "Introduza dados válidos", - card: "Cartão", - billingNameLabel: "Nome de faturação", - cardHolderName: "Nome do titular do cartão", - cardNickname: "Apelido do cartão", - billingNamePlaceholder: "Nome e sobrenome", - firstName: "Primeiro nome", - lastName: "Sobrenome", - billingDetails: `Detalhes de cobrança`, - requiredText: `obrigatório`, - lastNameRequiredText: `Sobrenome necessário`, - cardExpiresText: `expira`, - addPaymentMethodLabel: `Adicione uma nova forma de pagamento`, - cardHolderNameRequiredText: `Nome do titular do cartão obrigatório`, - walletDisclaimer: `Os detalhes da carteira serão salvos após a seleção`, - }, - // Italian (it) - { - locale: "it", - localeDirection: "lrt", - cardDetailsLabel: "Dettagli della carta", - cardNumberLabel: "Numero della carta", - inValidCardErrorText: "Il numero della carta non è valido.", - inCompleteCVCErrorText: "Il codice di sicurezza della carta è incompleto.", - inCompleteExpiryErrorText: "La data di scadenza della carta è incompleta.", - pastExpiryErrorText: "L'anno di scadenza della tua carta è passato.", - poweredBy: "Offerto da Hyperswitch", - validThruText: "Scadenza", - sortCodeText: "Sort Code", - cvcTextLabel: "CVC", - line1Label: "Indirizzo (riga 1)", - line1Placeholder: "Indirizzo", - line1EmptyText: `La riga dell'indirizzo 1 non può essere vuota`, - line2Label: "Indirizzo (riga 2)", - line2Placeholder: "Appartamento, interno, ecc. (facoltativo)", - cityLabel: "Città", - cityEmptyText: `La città non può essere vuota`, - postalCodeLabel: "Codice di avviamento postale", - postalCodeEmptyText: `Il codice postale non può essere vuoto`, - stateLabel: "Stato", - accountNumberText: "Numero del conto", - emailLabel: "E-mail", - emailInvalidText: `indirizzo email non valido`, - emailEmptyText: `L'email non può essere vuota`, - fullNameLabel: "Nome e cognome", - fullNamePlaceholder: "Nome e cognome", - countryLabel: "Paese", - currencyLabel: "Valuta", - bankLabel: "Seleziona una banca", - redirectText: "Dopo aver inviato l'ordine, ti reindirizzeremo per completare l'acquisto in totale sicurezza.", - bankDetailsText: "Dopo aver inviato questi dettagli, riceverai le informazioni sul conto bancario per effettuare il pagamento. Assicurati di annotarli.", - orPayUsing: "Oppure paga utilizzando", - addNewCard: "Aggiungi una carta di credito/debito", - useExisitingSavedCards: "Utilizza carte di debito/credito salvate", - saveCardDetails: "Salva i dati della carta", - addBankAccount: "Aggiungi un conto bancario", - achBankDebitTerms: str => - `Fornendo il tuo numero di conto e confermando questo pagamento, autorizzi ${str} e Hyperswitch, il nostro fornitore di servizi di pagamento, a inviare istruzioni alla tua banca per effettuare l'addebito sul tuo conto e la tua banca a effettuare tale addebito sul conto in conformità alle presenti istruzioni. Hai diritto a un rimborso dalla tua banca secondo i termini e le condizioni del tuo contratto con la stessa. Il rimborso va richiesto entro 8 settimane a partire dalla data di addebito sul conto.`, - sepaDebitTerms: str => - `Fornendo le tue informazioni di pagamento e confermando questo pagamento, autorizzi (A) ${str} e Hyperswitch, il nostro fornitore di servizi di pagamento e/o PPRO, il suo fornitore locale di servizi, a inviare istruzioni alla tua banca per effettuare l'addebito sul tuo conto e (B) la tua banca a effettuare tale addebito sul conto in conformità alle presenti istruzioni. Come parte dei tuoi diritti, puoi richiedere un rimborso alla tua banca in conformità con i termini e le condizioni del tuo contratto con tale istituto. Devi richiedere il rimborso entro 8 settimane a partire dalla data di addebito sul conto. Puoi conoscere i tuoi diritti in merito richiedendo la relativa informativa alla tua banca. Accetti di ricevere avvisi relativi ai prossimi addebiti fino a 2 giorni prima della loro data effettiva.`, - becsDebitTerms: "Fornendo i dettagli del tuo conto bancario e confermando questo pagamento, accetti la presente Richiesta di addebito diretto e il contratto di servizio per la Richiesta di addebito diretto e autorizzi Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, numero identificativo utente per addebito diretto 507156 ( \"Hyperswitch\") a effettuare l'addebito sul tuo conto tramite il Bulk Electronic Clearing System (BECS) per conto di Hyperswitch Payment Widget (l' Esercente) per qualsiasi importo ti venga comunicato separatamente dall'Esercente. Dichiari di essere titolare o firmatario autorizzato del conto sopra indicato.", - cardTerms: str => - `Fornendo i dati della tua carta, autorizzi ${str} ad addebitare sulla tua carta pagamenti futuri in conformità con i suoi termini.`, - payNowButton: "Paga ora", - cardNumberEmptyText: "Il campo Numero della carta non può essere vuoto", - cardExpiryDateEmptyText: "Il campo Data di scadenza della carta non può essere vuoto", - cvcNumberEmptyText: "Il campo CVC non può essere vuoto", - enterFieldsText: "Compila tutti i campi", - enterValidDetailsText: "Inserisci dati validi", - card: "Carta", - billingNameLabel: "Intestatario della fattura", - cardHolderName: "Nome del titolare della carta", - cardNickname: "Soprannome della carta", - billingNamePlaceholder: "Nome e cognome", - firstName: "Nome di battesimo", - lastName: "Cognome", - billingDetails: `Dettagli di fatturazione`, - requiredText: `Obbligatorio`, - lastNameRequiredText: `Cognome richiesto`, - cardExpiresText: `scade`, - addPaymentMethodLabel: `Aggiungi un nuovo metodo di pagamento`, - cardHolderNameRequiredText: `È obbligatorio il nome del titolare della carta`, - walletDisclaimer: `I dettagli del portafoglio verranno salvati al momento della selezione`, - }, - // Polish (pl) - { - locale: "pl", - localeDirection: "ltr", - cardNumberLabel: "Numer karty", - cardDetailsLabel: "Szczegóły karty", - inValidCardErrorText: "Numer karty jest nieprawidłowy.", - inCompleteCVCErrorText: "Kod zabezpieczający karty jest niekompletny.", - inCompleteExpiryErrorText: "Data ważności karty jest niepełna.", - pastExpiryErrorText: "Rok w dacie ważności karty minął.", - poweredBy: "Na oprogramowaniu Hyperswitch", - validThruText: "Dada ważności", - sortCodeText: "Kod sortowania", - cvcTextLabel: "CVC", - line1Label: "Adres wiersz 1", - line1Placeholder: "Adres (ulica, nr budynku)", - line1EmptyText: `Linia adresu 1 nie może być pusta`, - line2Label: "Adres wiersz 2", - line2Placeholder: "Nr lokalu itp. (opcjonalnie)", - cityLabel: "Miejscowość", - cityEmptyText: `Miasto nie może być puste`, - postalCodeLabel: "Kod pocztowy", - postalCodeEmptyText: `Kod pocztowy nie może być pusty`, - stateLabel: "Stan", - accountNumberText: "Numer rachunku", - emailLabel: "E-mail", - emailInvalidText: `Niepoprawny adres email`, - emailEmptyText: `Adres e-mail nie może być pusty`, - fullNameLabel: "Imię i nazwisko", - fullNamePlaceholder: "Imię i nazwisko", - countryLabel: "Państwo", - currencyLabel: "Waluta", - bankLabel: "Wybierz bank", - redirectText: "Po złożeniu zamówienia nastąpi przekierowanie na stronę, na której możesz bezpiecznie sfinalizować zakup.", - bankDetailsText: "Po przesłaniu tych informacji otrzymasz dane konta bankowego do płatności. Pamiętaj, aby je zanotować.", - orPayUsing: "Lub zapłać za pomocą", - addNewCard: "Dodaj kartę kredytową lub debetową", - useExisitingSavedCards: "Użyj zapisanych kart debetowych lub kredytowych", - saveCardDetails: "Zapisz dane karty", - addBankAccount: "Dodaj konto bankowe", - achBankDebitTerms: str => - `Podając numer konta i potwierdzając tę płatność, upoważniasz ${str} i Hyperswitch, naszego dostawcę usług płatniczych, do przekazania Twojemu bankowi dyspozycji obciążenia Twojego konta, a Twój bank – do obciążenia Twojego konta zgodnie z tymi instrukcjami. Przysługuje Ci prawo do zwrotu pieniędzy od banku zgodnie z warunkami umowy zawartej z bankiem. Wniosek o zwrot pieniędzy należy złożyć w ciągu 8 dni od dnia obciążenia konta.`, - sepaDebitTerms: str => - `Podając dane do płatności i potwierdzając tę płatność, upoważniasz (A) ${str} i Hyperswitch, naszego dostawcę usług płatniczych, oraz PPRO, lokalnego dostawcy usług tej firmy do przekazania Twojemu bankowi dyspozycji obciążenia Twojego konta, a także (B) Twój bank – do obciążenia Twojego konta zgodnie z tymi instrukcjami. Twoje prawa obejmują prawo do zwrotu pieniędzy przez Twój bank zgodnie z warunkami umowy zawartej z bankiem. Wniosek o zwrot pieniędzy należy złożyć w ciągu 8 dni od dnia obciążenia konta. Twoje prawa są wyjaśnione w wyciągu, który możesz otrzymać od swojego banku. Wyrażasz zgodę na otrzymywanie powiadomień o przyszłych obciążeniach do 2 dni przed ich realizacją.`, - becsDebitTerms: "Podając dane konta bankowego i potwierdzając tę płatność, zgadzasz się na niniejsze polecenie zapłaty i umowę o świadczenie usług polecenia zapłaty oraz upoważniasz Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 numer identyfikacyjny użytkownika polecenia zapłaty 507156 („Hyperswitch”) do obciążenia Twojego konta za pośrednictwem Zbiorczego Elektronicznego Systemu Rozliczeniowego (BECS) w imieniu Hyperswitch Payment Widget („Sprzedawca”) wszelkimi kwotami, o których Sprzedawca poinformował Cię osobno. Oświadczasz, że jesteś posiadaczem konta lub osobą upoważnioną do składania podpisów dla konta wymienionego powyżej.", - cardTerms: str => - `Podając dane swojej karty, zezwalasz ${str} na obciążenie jej przyszłymi płatnościami zgodnie z jej warunkami.`, - payNowButton: "Zapłać teraz", - cardNumberEmptyText: "Numer karty nie może być pusty", - cardExpiryDateEmptyText: "Data ważności karty nie może być pusta", - cvcNumberEmptyText: "Numer CVC nie może być pusty", - enterFieldsText: "Uzupełnij wszystkie pola", - enterValidDetailsText: "Wprowadź prawidłowe dane", - card: "Karta", - billingNameLabel: "Nazwisko do faktury", - cardHolderName: "Imię i nazwisko posiadacza karty", - cardNickname: "Przezwisko karty", - billingNamePlaceholder: "Imię i nazwisko", - firstName: `Imię`, - lastName: `Nazwisko`, - billingDetails: `Szczegóły płatności`, - requiredText: `Wymagany`, - lastNameRequiredText: `Wymagane nazwisko`, - cardExpiresText: `wygasa`, - addPaymentMethodLabel: `Dodaj nową metodę płatności`, - cardHolderNameRequiredText: `Wymagane jest podanie imienia i nazwiska posiadacza karty`, - walletDisclaimer: `Szczegóły portfela zostaną zapisane po dokonaniu wyboru`, - }, - // Dutch (nl) - { - locale: "nl", - localeDirection: "ltr", - cardDetailsLabel: "Kaartdetails", - cardNumberLabel: "Kortnummer", - inValidCardErrorText: "Kortnummeret er ugyldigt.", - inCompleteCVCErrorText: "Dit korts sikkerhedskode er ufuldstændig.", - inCompleteExpiryErrorText: "Dit korts udløbsdato er ufuldstændig.", - pastExpiryErrorText: "Dit korts udløbsår er i fortiden", - poweredBy: "Drevet af Hyperswitch", - validThruText: "Udløbsdato", - sortCodeText: "Registreringsnummer", - cvcTextLabel: "CVC", - line1Label: "Adresselinje 1", - line1Placeholder: "Gadenavn", - line1EmptyText: `Adresregel 1 mag niet leeg zijn`, - line2Label: "Adresselinje 2", - line2Placeholder: "Lejl., enhedsnummer osv. (valgfrit)", - cityLabel: "By", - cityEmptyText: `De stad kan niet leeg zijn`, - postalCodeLabel: "Postnummer", - postalCodeEmptyText: `Postcode mag niet leeg zijn`, - stateLabel: "Region", - accountNumberText: "Kontonummer", - emailLabel: "E-mail", - emailInvalidText: `Ongeldig e-mailadres`, - emailEmptyText: `E-mailadres mag niet leeg zijn`, - fullNameLabel: "Fulde navn", - fullNamePlaceholder: "For- og efternavn", - countryLabel: "Land", - currencyLabel: "Valuta", - bankLabel: "Vælg bank", - redirectText: "Når du har indsendt din bestilling, bliver du omdirigeret for at gennemføre dit køb på en sikker måde.", - bankDetailsText: "Når du har indsendt disse oplysninger, vil du få oplysninger om den bankkonto, du skal betale til. Sørg for at notede dem.", - orPayUsing: "Eller betal ved hjælp af", - addNewCard: "Kredit/debetkort", - useExisitingSavedCards: "Brug gemte debet-/kreditkort", - saveCardDetails: "Gem kortoplysninger", - addBankAccount: "Tilføj bankkonto", - achBankDebitTerms: str => - `Ved at angive dit kontonummer og bekræfte denne betaling giver du ${str} og Hyperswitch, vores betalingstjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og din bank om at debitere din konto i overensstemmelse med disse instruktioner. Du har ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret.`, - sepaDebitTerms: str => - `Ved at angive dine betalingsoplysninger og bekræfte denne betaling giver du (A) ${str} og Hyperswitch, vores betalingstjenesteudbyder og/eller PPRO, dens lokale tjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og (B) din bank om at debitere din konto i overensstemmelse med disse instruktioner. Som en del af dine rettigheder har du ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret. Dine rettigheder er forklaret i en erklæring, som du kan få fra din bank. Du accepterer at modtage meddelelser om fremtidige debiteringer op til to dage, før de finder sted.`, - becsDebitTerms: "Ved at angive dine bankkontooplysninger og bekræfte denne betaling accepterer du denne anmodning om direkte debitering og serviceaftalen om anmodning om direkte debitering og giver Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID-nummer 507156 ( \"Hyperswitch\") tilladelse til at debitere din konto via Bulk Electronic Clearing System (BECS) på vegne af Hyperswitch Payment Widget (\"Forhandleren\") for eventuelle beløb, som Forhandleren har meddelt dig separat. Du bekræfter, at du enten er en kontoindehaver eller en autoriseret underskriver på den konto, der er angivet ovenfor.", - cardTerms: str => - `Ved at angive dine kortoplysninger giver du tilladelse ${str} til at debitere dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.`, - payNowButton: "Betal nu", - cardNumberEmptyText: "Kortnummeret kan ikke være tomt", - cardExpiryDateEmptyText: "Kortets udløbsdato kan ikke være tom", - cvcNumberEmptyText: "CVC-nummeret kan ikke være tomt", - enterFieldsText: "Udfyld venligst alle dato felter", - enterValidDetailsText: "Indtast gyldige oplysninger", - card: "Kort", - billingNameLabel: "Faktureringsnavn", - cardHolderName: "Naam van de kaarthouder", - cardNickname: "Kaartbijnaam", - billingNamePlaceholder: "Voornaam en achternaam", - firstName: `Voornaam`, - lastName: `Achternaam`, - billingDetails: `Factureringsgegevens`, - requiredText: `Vereist`, - lastNameRequiredText: `Achternaam vereist`, - cardExpiresText: `verloopt`, - addPaymentMethodLabel: `Nieuwe betaalmethode toevoegen`, - cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, - walletDisclaimer: `Portemonneegegevens worden opgeslagen bij selectie`, - }, - // Dutch (Belgium) (nl-BE) - { - locale: "nl-BE", - localeDirection: "v-p", - cardDetailsLabel: "Kaartgegevens", - cardNumberLabel: "Kaardi number", - inValidCardErrorText: "Kaardi number on vale.", - inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", - inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", - pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", - poweredBy: "Teenust pakub: Hyperswitch", - validThruText: "Kehtivus", - sortCodeText: "Tunnuskood", - cvcTextLabel: "CVC", - line1Label: "1. aadressi rida", - line1Placeholder: "Tänav ja maja number", - line1EmptyText: `Adresregel 1 mag niet leeg zijn`, - line2Label: "2. aadressi rida", - line2Placeholder: "Korter, toa number jne (vabatahtlik)", - cityLabel: "Linn", - cityEmptyText: `De stad kan niet leeg zijn`, - postalCodeLabel: "Sihtnumber", - postalCodeEmptyText: `Postcode mag niet leeg zijn`, - stateLabel: "Maakond", - accountNumberText: "Kontonumber", - emailLabel: "E-post", - emailInvalidText: `Ongeldig e-mailadres`, - emailEmptyText: `Het e-mailadres mag niet leeg zijn`, - fullNameLabel: "Täisnimi", - fullNamePlaceholder: "Ees- ja perekonnanimi", - countryLabel: "Riik", - currencyLabel: "Valuuta", - bankLabel: "Vali pank", - redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", - bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", - orPayUsing: "Või tasu makse, kasutades selleks", - addNewCard: "Lisa krediit-/deebetkaart", - useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", - saveCardDetails: "Salvesta kaardi andmed", - addBankAccount: "Lisa kontonumber", - achBankDebitTerms: str => - `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, - sepaDebitTerms: str => - `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, - becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", - cardTerms: str => - `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, - payNowButton: "Maksa kohe", - cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", - cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", - cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", - enterFieldsText: "Täida kõik kohustuslikud väljad", - enterValidDetailsText: "Sisesta kehtivad andmed", - card: "Kaart", - billingNameLabel: "Maksja nimi", - cardHolderName: "Naam van de kaarthouder", - cardNickname: "Bijnaam van de kaart", - billingNamePlaceholder: "Voornaam en achternaam", - firstName: `Voornaam`, - lastName: `Achternaam`, - billingDetails: `Factureringsgegevens`, - requiredText: `Vereist`, - lastNameRequiredText: `Achternaam vereist`, - cardExpiresText: `verloopt`, - addPaymentMethodLabel: `Nieuwe betaalmethode toevoegen`, - cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, - walletDisclaimer: `Portemonneegegevens worden opgeslagen bij selectie`, - }, - // Swedish (sv) - { - locale: "sv", - localeDirection: "ltr", - cardNumberLabel: "Kortnummer", - cardDetailsLabel: "Kortdetaljer", - inValidCardErrorText: "Kortnumret är ogiltigt.", - inCompleteCVCErrorText: "Kortets säkerhetskod är ofullständig.", - inCompleteExpiryErrorText: "Kortets utgångsdatum är ofullständigt.", - pastExpiryErrorText: "Kortets utgångsår är i det förflutna.", - poweredBy: "Drivs av Hyperswitch", - validThruText: "Utgångsdatum", - sortCodeText: "Sorteringskod", - cvcTextLabel: "CVC", - line1Label: "Adressrad 1", - line1Placeholder: "Gatuadress", - line1EmptyText: `Adressrad 1 får inte vara tom`, - line2Label: "Adressrad 2", - line2Placeholder: "Lägenhetsnummer osv. (valfritt)", - cityLabel: "Ort", - cityEmptyText: `Staden får inte vara tom`, - postalCodeLabel: "Postnummer", - postalCodeEmptyText: `Postnummer får inte vara tomt`, - stateLabel: "Region", - accountNumberText: "Kontonummer", - emailLabel: "E-postadress", - emailInvalidText: `Ogiltig e-postadress`, - emailEmptyText: `E-post får inte vara tom`, - fullNameLabel: "Fullständigt namn", - fullNamePlaceholder: "För- och efternamn", - countryLabel: "Land", - currencyLabel: "Valuta", - bankLabel: "Välj bank", - redirectText: "När du har skickat in din beställning kommer du att omdirigeras för att säkert slutföra ditt köp.", - bankDetailsText: "När du har skickat in dessa uppgifter får du bankkontoinformation för att göra betalningen. Se till att komma ihåg den.", - orPayUsing: "Eller betala med", - addNewCard: "Lägg till kredit-/betalkort", - useExisitingSavedCards: "Använd sparade betal-/kreditkort", - saveCardDetails: "Spara kortuppgifter", - addBankAccount: "Lägg till bankkonto", - achBankDebitTerms: str => - `Genom att ange ditt kontonummer och bekräfta denna betalning godkänner du att ${str} och Hyperswitch, vår betaltjänstleverantör, skickar instruktioner till din bank att debitera ditt konto och att din bank debiterar ditt konto i enlighet med dessa instruktioner. Du har rätt till återbetalning från din bank enligt villkoren i ditt avtal med din bank. En återbetalning måste begäras inom 8 veckor från det datum då ditt konto debiterades.`, - sepaDebitTerms: str => - `Genom att ange din betalningsinformation och bekräfta denna betalning godkänner du att (A) ${str} och Hyperswitch, vår betaltjänstleverantör och/eller PPRO, dess lokala tjänsteleverantör, skickar instruktioner till din bank att debitera ditt konto och (B) att din bank debiterar ditt konto i enlighet med dessa instruktioner. Som en del av dina rättigheter har du rätt till återbetalning från din bank enligt villkoren i ditt avtal med din bank. En återbetalning måste begäras inom 8 veckor från det datum då ditt konto debiterades. Dina rättigheter förklaras i ett uttalande som du kan erhålla från din bank. Du samtycker till att få aviseringar för framtida debiteringar upp till 2 dagar innan de inträffar.`, - becsDebitTerms: "Genom att ange dina bankkontouppgifter och bekräfta denna betalning godkänner du denna autogirering och serviceavtalet för autogirering och godkänner att Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 med användar-ID för direktdebitering 507156 ( \"Hyperswitch\") debiterar ditt konto via Bulk Electronic Clearing System (BECS) på uppdrag av Hyperswitch Payment Widget (\"Handlaren\") för eventuella belopp som separat meddelats dig av Handlaren. Du intygar att du antingen är kontoinnehavare eller behörig undertecknare för kontot som anges ovan.", - cardTerms: str => - `Genom att ange din kortinformation tillåter du att ${str} debiterar ditt kort för framtida betalningar i enlighet med deras villkor.`, - payNowButton: "Betala nu", - cardNumberEmptyText: "Kortnummer får inte vara tomt", - cardExpiryDateEmptyText: "Kortets utgångsdatum får inte vara tomt", - cvcNumberEmptyText: "CVC-nummer får inte vara tomt", - enterFieldsText: "Fyll i samtliga fält", - enterValidDetailsText: "Ange giltiga uppgifter", - card: "Kort", - billingNameLabel: "Faktureringsnamn", - cardHolderName: "Korthållarens namn", - cardNickname: "Kortets smeknamn", - billingNamePlaceholder: "Förnamn och efternamn", - firstName: `Förnamn`, - lastName: "Efternamn", - billingDetails: `Faktureringsuppgifter`, - requiredText: `Nödvändig`, - lastNameRequiredText: `Efternamn krävs`, - cardExpiresText: `går ut`, - addPaymentMethodLabel: `Lägg till ny betalningsmetod`, - cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, - walletDisclaimer: `Information om plånboken sparas vid val`, - }, - // Russian (ru) - { - locale: "ru", - localeDirection: "ltr", - cardDetailsLabel: "Детали карты", - cardNumberLabel: "Номер карты", - inValidCardErrorText: "Номер карты недействителен.", - inCompleteCVCErrorText: "Неправильно указан код безопасности карты.", - inCompleteExpiryErrorText: "Неправильно указан срок действия карты.", - pastExpiryErrorText: "Год истечения срока действия карты в прошлом.", - poweredBy: "Работает на Hyperswitch", - validThruText: "Окончание действия", - sortCodeText: "Номер отделения банка", - cvcTextLabel: "CVC", - line1Label: "Адресная строка 1", - line1Placeholder: "Улица", - line1EmptyText: `Адресная строка 1 не может быть пустой.`, - line2Label: "Адресная строка 2", - line2Placeholder: "Квартира, номер блока и т. д. (необязательно)", - cityLabel: "Город", - cityEmptyText: `Город не может быть пустым`, - postalCodeLabel: "Почтовый индекс", - postalCodeEmptyText: `Почтовый индекс не может быть пустым`, - stateLabel: "Область", - accountNumberText: "Номер счета", - emailLabel: "Электронная почта", - emailInvalidText: `Неверный адрес электронной почты`, - emailEmptyText: `Электронная почта не может быть пустой`, - fullNameLabel: "Ф.И.О.", - fullNamePlaceholder: "Имя и фамилия", - countryLabel: "Страна", - currencyLabel: "Валюта", - bankLabel: "Выберите банк", - redirectText: "После оформления заказа вы будете перенаправлены на другую страницу для безопасного завершения покупки.", - bankDetailsText: "После ввода этих данных вы получите банковские реквизиты для совершения платежа. Обязательно запишите их.", - orPayUsing: "Или оплатить с помощью", - addNewCard: "Добавить кредитную/дебетовую карту", - useExisitingSavedCards: "Использовать сохраненные дебетовые/кредитные карты", - saveCardDetails: "Сохранить данные карты", - addBankAccount: "Добавить банковский счет", - achBankDebitTerms: str => - `Предоставляя номер своего счета и подтверждая этот платеж, вы уполномочиваете ${str} и Hyperswitch, нашего поставщика платежных услуг, отправить инструкции в ваш банк для списания средств с вашего счета, а ваш банк — списать средства с вашего счета в соответствии с этими инструкциями. Вы имеете право на возврат средств от своего банка в соответствии с условиями вашего договора с банком. Заявление на возврат средств должно быть подано в течение 8 недель, начиная с даты списания средств с вашего счета.`, - sepaDebitTerms: str => - `Предоставляя свои платежные данные и подтверждая данный платеж, вы уполномочиваете (А) ${str} и Hyperswitch, нашего поставщика платежных услуг и/или PPRO, его местного поставщика услуг, отправить инструкции в ваш банк для списания средств с вашего счета и (Б) ваш банк списать средства с вашего счета в соответствии с этими инструкциями. В рамках своих прав вы имеете право на возврат средств от своего банка в соответствии с условиями вашего договора с банком. Заявление на возврат средств должно быть подано в течение 8 недель, начиная с даты списания средств с вашего счета. Ваши права разъясняются в заявлении, которое вы можете получить в своем банке. Вы соглашаетесь получать уведомления о будущих списаниях средств за 2 дня до их осуществления.`, - becsDebitTerms: "Предоставляя свои банковские реквизиты и подтверждая этот платеж, вы соглашаетесь с настоящим Запросом на прямое дебетование и соглашением об услуге Запроса на прямое дебетование и уполномочиваете Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 («Hyperswitch») списать средства с вашего счета через Систему массовых электронных расчетов (BECS) от имени Платежного виджета Hyperswitch («Продавец») на любые суммы, отдельно сообщенные вам Продавцом. Вы подтверждаете, что являетесь владельцем счета или уполномоченным лицом с правом подписи по указанному выше счету.", - cardTerms: str => - `Предоставляя данные своей карты, вы позволяете компании ${str} списать средства с вашей карты для будущих платежей в соответствии с ее условиями.`, - payNowButton: "Оплатить сейчас", - cardNumberEmptyText: "Необходимо указать номер карты", - cardExpiryDateEmptyText: "Необходимо указать дату окончания срока действия карты", - cvcNumberEmptyText: "Необходимо указать номер CVC", - enterFieldsText: "Заполните все поля", - enterValidDetailsText: "Введите действительные данные", - card: "Карта", - billingNameLabel: "Имя плательщика", - cardHolderName: "Имя держателя карты", - cardNickname: "Прозвище карты", - billingNamePlaceholder: "Имя и фамилия", - firstName: `Имя`, - lastName: `Фамилия`, - billingDetails: `Платежные реквизиты`, - requiredText: `Необходимый`, - lastNameRequiredText: `Требуется фамилия`, - cardExpiresText: `истекает`, - addPaymentMethodLabel: ` Добавить новый способ оплаты`, - cardHolderNameRequiredText: `Требуется имя держателя карты`, - walletDisclaimer: `Данные кошелька будут сохранены после выбора`, - }, - // Lithuanian (lt) - { - locale: "lt", - localeDirection: "ltr", - cardDetailsLabel: "Kortelės detalės", - cardNumberLabel: "Kortelės numeris", - inValidCardErrorText: "Neteisingas kortelės numeris.", - inCompleteCVCErrorText: "Jūsų kortelės saugos kodas neišsamus.", - inCompleteExpiryErrorText: "Jūsų kortelės galiojimo pabaigos data neišsami.", - pastExpiryErrorText: "Jūsų kortelės galiojimo pabaigos metai jau praėjo.", - poweredBy: "Teikėjas „Hyperswitch“", - validThruText: "Galiojimo pabaiga", - sortCodeText: "Rūšiavimo kodas", - cvcTextLabel: "CVC", - line1Label: "1 adreso eilutė", - line1Placeholder: "Adresas", - line1EmptyText: `1 adreso eilutė negali būti tuščia`, - line2Label: "2 adreso eilutė", - line2Placeholder: "Butas, pastato numeris ir kt. (neprivaloma)", - cityLabel: "Miestas", - cityEmptyText: `Miestas negali būti tuščias`, - postalCodeLabel: "Pašto kodas", - postalCodeEmptyText: `Pašto kodas negali būti tuščias`, - stateLabel: "Valstija", - accountNumberText: "Sąskaitos nr.", - emailLabel: "El. paštas", - emailInvalidText: `Neteisingas el. pašto adresas`, - emailEmptyText: `El. pašto adresas negali būti tuščias`, - fullNameLabel: "Vardas ir pavardė", - fullNamePlaceholder: "Vardas ir pavardė", - countryLabel: "Šalis", - currencyLabel: "Valiuta", - bankLabel: "Pasirinkti banką", - redirectText: "Pateikę užsakymą būsite nukreipti saugiai užbaigti pirkimą.", - bankDetailsText: "Pateikę šią informaciją, gausite banko sąskaitos informaciją, kad galėtumėte atlikti mokėjimą. Būtinai tai įsidėmėkite.", - orPayUsing: "Arba mokėkite naudodami", - addNewCard: "Pridėti kredito / debeto kortelę", - useExisitingSavedCards: "Naudoti išsaugotas debeto / kredito korteles", - saveCardDetails: "Išsaugoti kortelės duomenis", - addBankAccount: "Pridėti banko sąskaitą", - achBankDebitTerms: str => - `Nurodydami savo sąskaitos numerį ir patvirtindami šį mokėjimą, leidžiate ${str} ir „Hyperswitch“, mūsų mokėjimo paslaugų teikėjui, siųsti nurodymus jūsų bankui nurašyti lėšas iš jūsų sąskaitos, o jūsų bankui – nurašyti lėšas iš jūsų sąskaitos pagal tuos nurodymus. Turite teisę susigrąžinti pinigus iš savo banko pagal su banku sudarytos sutarties sąlygas. Prašymą grąžinti pinigus reikia pateikti per 8 savaites nuo lėšų iš sąskaitos nurašymo dienos.`, - sepaDebitTerms: str => - `Pateikdami savo mokėjimo informaciją ir patvirtindami šį mokėjimą, leidžiate (A) ${str} ir „Hyperswitch“, mūsų mokėjimo paslaugų teikėjui ir (arba) „PPRO“, jos vietiniam paslaugų teikėjui, siųsti nurodymus jūsų bankui nurašyti lėšas iš jūsų sąskaitos ir (B) bankui nurašyti lėšas iš jūsų sąskaitos pagal tuos nurodymus. Atsižvelgdami į savo teises, turite teisę susigrąžinti pinigus iš savo banko pagal sutarties su banku sąlygas. Prašymą grąžinti pinigus reikia pateikti per 8 savaites nuo lėšų iš sąskaitos nurašymo dienos. Jūsų teisės paaiškintos pareiškime, kurį galite gauti iš savo banko. Sutinkate gauti pranešimus apie būsimus debetus likus ne mažiau kaip 2 dienoms iki jų atsiradimo.`, - becsDebitTerms: "Pateikdami savo banko sąskaitos duomenis ir patvirtindami šį mokėjimą, sutinkate su šia tiesioginio debeto užklausa ir tiesioginio debeto užklausos paslaugų sutartimi ir suteikiate teisę „Hyperswitch Payments Australia Pty Ltd“ ACN 160 180 343 tiesioginio debeto naudotojo ID Nr. 507156 („Hyperswitch“) „Hyperswitch“ mokėjimų valdiklio („Pardavėjo“) vardu debetuoti jūsų sąskaitą per masinę elektroninę kliringo sistemą (BECS) už bet kokias sumas, apie kurias jums atskirai pranešė Pardavėjas. Patvirtinate, kad esate sąskaitos turėtojas arba įgaliotas asmuo, pasirašęs valdyti aukščiau nurodytą sąskaitą.", - cardTerms: str => - `Pateikdami savo kortelės informaciją, leidžiate ${str} iš kortelės išskaičiuoti būsimus mokėjimus pagal jos sąlygas.`, - payNowButton: "Apmokėti dabar", - cardNumberEmptyText: "Kortelės numeris negali būti tuščias", - cardExpiryDateEmptyText: "Kortelės galiojimo pabaigos data negali būti tuščia", - cvcNumberEmptyText: "Kortelės numeris negali būti tuščias", - enterFieldsText: "Užpildykite visus laukus", - enterValidDetailsText: "Įveskite galiojančią informaciją", - card: "Kortelė", - billingNameLabel: "Sąskaitos pavadinimas", - cardHolderName: "Kortelės turėtojo vardas", - cardNickname: "Kortelės slapyvardis", - billingNamePlaceholder: "Vardas ir pavardė", - firstName: `Pirmas vardas`, - lastName: `Pavardė`, - billingDetails: `Atsiskaitymo informacija`, - requiredText: `Būtinas`, - lastNameRequiredText: `Reikalingas pavardė`, - cardExpiresText: `baigiasi`, - addPaymentMethodLabel: `Pridėti naują mokėjimo būdą`, - cardHolderNameRequiredText: `Būtinas kortelės turėtojo vardas`, - walletDisclaimer: `Išsami piniginės informacija bus išsaugota pasirinkus`, - }, - // Czech (cs) - { - locale: "cs", - localeDirection: "ltr", - cardDetailsLabel: "Detaily karty", - cardNumberLabel: "Číslo karty", - inValidCardErrorText: "Číslo karty je neplatné.", - inCompleteCVCErrorText: "Bezpečnostní kód karty je neúplný.", - inCompleteExpiryErrorText: "Datum vypršení platnosti karty je neúplné.", - pastExpiryErrorText: "Rok vypršení platnosti karty je v minulosti.", - poweredBy: "Využívá technologii Hyperswitch", - validThruText: "Datum ukončení platnosti", - sortCodeText: "Variabilní symbol", - cvcTextLabel: "CVC", - line1Label: "Adresa, řádek 1", - line1Placeholder: "Ulice", - line1EmptyText: `Adresový řádek 1 nemůže být prázdný`, - line2Label: "Adresa, řádek 2", - line2Placeholder: "Byt, číslo jednotky atd. (nepovinné)", - cityLabel: "Město", - cityEmptyText: `Město nemůže být prázdné`, - postalCodeLabel: "PSČ", - postalCodeEmptyText: `Poštovní kód nemůže být prázdný`, - stateLabel: "Stát", - accountNumberText: "Číslo účtu", - emailLabel: "E-mail", - emailInvalidText: `neplatná emailová adresa`, - emailEmptyText: `E-mail nesmí být prázdný`, - fullNameLabel: "Celé jméno", - fullNamePlaceholder: "Jméno a příjmení", - countryLabel: "Země", - currencyLabel: "Měna", - bankLabel: "Vybrat banku", - redirectText: "Po odeslání objednávky budete přesměrováni za účelem bezpečného dokončení nákupu.", - bankDetailsText: "Po odeslání těchto údajů obdržíte údaje o bankovním účtu, na který pošlete platbu. Nezapomeňte si je prosím poznamenat.", - orPayUsing: "Nebo zaplaťte pomocí", - addNewCard: "Přidat novou kreditní/debetní kartu", - useExisitingSavedCards: "Použít uložené debetní/kreditní karty", - saveCardDetails: "Uložit údaje o kartě", - addBankAccount: "Přidat bankovní účet", - achBankDebitTerms: str => - `Poskytnutím čísla účtu a potvrzením této platby opravňujete společnost ${str} a Hyperswitch, našeho poskytovatele platebních služeb, k odeslání pokynů vaší bance ohledně odepsání částky z vašeho účtu a také opravňujete vaši banku k odepsání částky z vašeho účtu v souladu s těmito pokyny. V souladu s podmínkami vaší smlouvy s bankou máte nárok na vrácení peněz od své banky. O vrácení je třeba požádat do 8 týdnů od data odepsání z vašeho účtu.`, - sepaDebitTerms: str => - `Poskytnutím platebních údajů a potvrzením této platby opravňujete (A) ${str} a Hyperswitch, našeho poskytovatele platebních služeb, a/nebo společnost PPRO, jejího místního poskytovatele služeb, aby vaší bance zaslali pokyny k odepsání částky z vašeho účtu a (B) svoji banku opravňujete k tomu, aby odepsala částku z vašeho účtu v souladu s těmito pokyny. Jako součást svých práv máte na základě vaší smlouvy s bankou nárok na vrácení peněz od banky. O vrácení peněz je třeba požádat do 8 týdnů od data odepsání z vašeho účtu. Vaše práva jsou vysvětlena v prohlášení, které můžete získat od své banky. Souhlasíte s tím, že budete dostávat oznámení o budoucích debetech do 2 dnů před jejich provedením.`, - becsDebitTerms: "Poskytnutím údajů o bankovním účtu a potvrzením této platby souhlasíte s touto žádostí o inkaso a smlouvou o poskytování služeb pro žádost o inkaso a opravňujete společnost Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, ID uživatele pro inkaso 507156 (dále jen „Hyperswitch“) k odepsání všech částek, které vám obchodník zvlášť sdělí, z vašeho účtu prostřednictvím systému hromadného elektronického zúčtování (BECS). Potvrzujete, že jste buď majitelem výše uvedeného účtu, nebo jeho autorizovaným signatářem.", - cardTerms: str => - `Poskytnutím údajů o kartě povolujete společnosti ${str} účtování budoucích plateb v souladu s jejími podmínkami.`, - payNowButton: "Zaplatit nyní", - cardNumberEmptyText: "Číslo karty nesmí být prázdné", - cardExpiryDateEmptyText: "Datum vypršení platnosti karty nesmí být prázdné", - cvcNumberEmptyText: "Číslo CVC nesmí být prázdné", - enterFieldsText: "Vyplňte všechna pole", - enterValidDetailsText: "Zadejte platné údaje", - card: "Karta", - billingNameLabel: "Fakturační jméno", - cardHolderName: "Jméno držitele karty", - cardNickname: "Přezdívka karty", - billingNamePlaceholder: "Jméno a příjmení", - firstName: `Jméno`, - lastName: `Příjmení`, - billingDetails: `Fakturační údaje`, - requiredText: `Požadované`, - lastNameRequiredText: `Požadováno příjmení`, - cardExpiresText: `vyprší`, - addPaymentMethodLabel: `Přidat nový způsob platby`, - cardHolderNameRequiredText: `Je vyžadováno jméno držitele karty`, - walletDisclaimer: `Podrobnosti o peněžence se po výběru uloží`, - }, - // Slovak (sk) - { - locale: "sk", - localeDirection: "ltr", - cardDetailsLabel: "Detaily karty", - cardNumberLabel: "Číslo karty", - inValidCardErrorText: "Číslo karty je neplatné.", - inCompleteCVCErrorText: "Bezpečnostný kód vašej karty je neúplný.", - inCompleteExpiryErrorText: "Dátum vypršania platnosti vašej karty je neúplný.", - pastExpiryErrorText: "Rok vypršania platnosti vašej karty je v minulosti.", - poweredBy: "Využíva službu Hyperswitch", - validThruText: "Ukončenie platnosti", - sortCodeText: "Kód banky", - cvcTextLabel: "CVC", - line1Label: "Adresa, 1. riadok", - line1Placeholder: "Ulica", - line1EmptyText: `Adresa 1 nemôže byť prázdny`, - line2Label: "Adresa, 2. riadok", - line2Placeholder: "Byt, číslo jednotky atď. (nepovinné)", - cityLabel: "Obec", - cityEmptyText: `Mesto nemôže byť prázdne`, - postalCodeLabel: "PSČ", - postalCodeEmptyText: `Poštový kód nemôže byť prázdny`, - stateLabel: "Štát", - accountNumberText: "Číslo účtu", - emailLabel: "E-mail", - emailInvalidText: `neplatná emailová adresa`, - emailEmptyText: `E-mail nemôže byť prázdny`, - fullNameLabel: "Celé meno", - fullNamePlaceholder: "Meno a priezvisko", - countryLabel: "Krajina", - currencyLabel: "Mena", - bankLabel: "Vyberte banku", - redirectText: "Po odoslaní objednávky vás presmerujeme na bezpečné dokončenie nákupu.", - bankDetailsText: "Po odoslaní týchto údajov dostanete údaje o bankovom účte, na ktorý by ste mali poslať platbu. Nezabudnite si ich poznamenať.", - orPayUsing: "Alebo zaplaťte pomocou", - addNewCard: "Pridať kreditnú/debetnú kartu", - useExisitingSavedCards: "Použiť uložené debetné/kreditné karty", - saveCardDetails: "Uložiť údaje o karte", - addBankAccount: "Pridať bankový účet", - achBankDebitTerms: str => - `Poskytnutím čísla účtu a potvrdením tejto platby oprávňujete spoločnosť ${str} a nášho poskytovateľa platobných služieb Hyperswitch poslať vašej banke príkaz na inkaso a banku toto inkaso naúčtovať na váš účet v súlade s týmto príkazom. Máte nárok na vrátenie peňazí od banky podľa podmienok zmluvy, ktorú ste s bankou uzavreli. O vrátenie peňazí musíte požiadať do 8 týždňov od dátumu naúčtovania sumy na váš účet.`, - sepaDebitTerms: str => - `Poskytnutím platobných údajov a potvrdením tejto platby oprávňujete (A) spoločnosť ${str} a nášho poskytovateľa platobných služieb Hyperswitch a/alebo spoločnosť PPRO, jej miestneho poskytovateľa služieb, poslať vašej banke príkaz na inkaso; a (B) banku toto inkaso naúčtovať na váš účet v súlade s týmto príkazom. Ako súčasť svojich práv máte nárok na vrátenie peňazí od banky podľa podmienok zmluvy, ktorú ste s bankou uzavreli. O vrátenie peňazí musíte požiadať do 8 týždňov od dátumu naúčtovania sumy na váš účet. Vaše práva sú vysvetlené vo vyhlásení, ktoré môžete získať od svojej banky. Súhlasíte s tým, že budete dostávať oznámenia o budúcich príkazoch na inkaso až 2 dni pred ich uskutočnením.`, - becsDebitTerms: "Poskytnutím údajov o bankovom účte a potvrdením tejto platby súhlasíte s týmto príkazom na priame inkaso a zmluvou o poskytovaní služieb priameho inkasa. Zároveň povoľujete spoločnosti Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 s identifikátorom používateľa priameho inkasa 507156 (ďalej len „Hyperswitch“) naúčtovať na váš účet prostredníctvom systému hromadného elektronického zúčtovania (BECS) v prospech platobnej miniaplikácie Hyperswitch (ďalej len „obchodník“) ľubovoľnú sumu, ktoré vám obchodník oznámi. Potvrdzujete, že ste vlastníkom alebo oprávneným signatárom účtu uvedeného vyššie.", - cardTerms: str => - `Poskytnutím údajov o karte povoľujete spoločnosti ${str} účtovať budúce platby na kartu v súlade s jej podmienkami.`, - payNowButton: "Zaplatiť teraz", - cardNumberEmptyText: "Číslo karty nemôže byť prázdne", - cardExpiryDateEmptyText: "Dátum vypršania platnosti karty nemôže byť prázdny", - cvcNumberEmptyText: "Číslo CVC nemôže byť prázdne", - enterFieldsText: "Vyplňte všetky polia", - enterValidDetailsText: "Zadajte platné údaje", - card: "Karta", - billingNameLabel: "Fakturačné meno", - cardHolderName: "Meno držiteľa karty", - cardNickname: "Prezývka karty", - billingNamePlaceholder: "Meno a priezvisko", - firstName: `Krstné meno`, - lastName: `Priezvisko`, - billingDetails: `fakturačné údaje`, - requiredText: `Požadovaný`, - lastNameRequiredText: `Vyžadované priezvisko`, - cardExpiresText: `vyprší`, - addPaymentMethodLabel: `Pridať nový spôsob platby`, - cardHolderNameRequiredText: `Vyžaduje sa meno držiteľa karty`, - walletDisclaimer: `Podrobnosti o peňaženke sa po výbere uložia`, - }, - // Icelandic (is) - { - locale: "is", - localeDirection: "Vinstri til hægri", - cardDetailsLabel: "Kortagögn", - cardNumberLabel: "Kortanúmer", - inValidCardErrorText: "Kortanúmerið er ekki gilt.", - inCompleteCVCErrorText: "Öryggiskóði kortsins þíns er ófullnægjandi.", - inCompleteExpiryErrorText: "Gildistími kortsins þíns er ófullnægjandi", - pastExpiryErrorText: "Gildistími kortsins þíns er runninn út.", - poweredBy: "Knúið af Hyperswitch", - validThruText: "Gildistími", - sortCodeText: "Röðunarkóði", - cvcTextLabel: "CVC", - line1Label: "Heimilisfang lína 1", - line1Placeholder: "Heimilisfang", - line1EmptyText: `Heimilisfangslína 1 getur ekki verið tóm`, - line2Label: "Heimilisfang - lína 2", - line2Placeholder: "Íbúð, númer eignar o.s.frv. (valfrjálst)", - cityLabel: "Borg", - cityEmptyText: `Borg getur ekki verið tóm`, - postalCodeLabel: "Póstnúmer", - postalCodeEmptyText: `Póstnúmer getur ekki verið tómt`, - stateLabel: "Ríki", - accountNumberText: "Númer reiknings", - emailLabel: "Netfang", - emailInvalidText: `ógilt netfang`, - emailEmptyText: `Tölvupóstur má ekki vera tómur`, - fullNameLabel: "Fullt nafn", - fullNamePlaceholder: "Fullt nafn", - countryLabel: "Land", - currencyLabel: "Gjaldmiðill", - bankLabel: "Veldu banka", - redirectText: "Eftir að þú hefur sent pöntunina inn verður þér vísað áfram til að ganga frá kaupunum með öruggum hætti.", - bankDetailsText: "Eftir að þú hefur sent þessar upplýsingar inn færðu upplýsingar um bankareikning til að ganga frá greiðslu. Mundu að skrá þær hjá þér.", - orPayUsing: "Eða greiddu með", - addNewCard: "Bættu við kredit-/debetkorti", - useExisitingSavedCards: "Nota vistuð debet-/kreditkort", - saveCardDetails: "Vista kortaupplýsingar", - addBankAccount: "Bættu við bankareikningi", - achBankDebitTerms: str => - `Með því að gefa upp reikningsnúmerið þitt og staðfesta greiðsluna ${str} heimilar þú Hyperswitch, greiðsluþjónustuveitanda okkar, að senda leiðbeiningar til bankans þíns um að skuldfæra reikninginn þinn og að bankinn skuldfæri reikninginn þinn í samræmi við þær leiðbeiningar. Þú átt rétt á endurgreiðslu frá bankanum samkvæmt skilmálum og skilyrðum samnings þíns við bankann þinn. Sækja verður um endurgreiðslu innan 8 vikna frá þeim degi sem reikningur þinn var skuldfærður.`, - sepaDebitTerms: str => - `Með því að gefa upp greiðsluupplýsingar þínar og staðfesta greiðsluna heimilar þú (A) ${str} og Hyperswitch, greiðsluþjónustuveitanda okkar og/eða PPRO, þjónustuveitanda hans á staðnum, að senda leiðbeiningar til bankans þíns um að skuldfæra reikninginn þinn og (B) að bankinn skuldfæri reikninginn þinn í samræmi við þær leiðbeiningar. Þú átt rétt á endurgreiðslu frá bankanum samkvæmt skilmálum og skilyrðum samnings þíns við bankann þinn. Sækja verður um endurgreiðslu innan 8 vikna frá þeim degi sem reikningur þinn var skuldfærður. Réttindi þín eru útskýrð í greinargerð sem þú getur fengið frá bankanum þínum. Þú samþykkir að fá tilkynningar um framtíðarskuldbindingar allt að 2 dögum áður en þær eiga sér stað.`, - becsDebitTerms: "Með því að gefa upp upplýsingar um bankareikning þinn og staðfesta greiðsluna samþykkir þú þessa beingreiðslubeiðni og beingreiðslubeiðnisþjónustusamning og heimilar Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 kennitala notanda beingreiðslu 507156 („Hyperswitch“) að skuldfæra reikninginn þinn í gegnum Bulk Electronic Clearing System (BECS) fyrir hönd Hyperswitch Payment Widget („söluaðilinn“) fyrir allar upphæðir sem söluaðilinn hefur tilkynnt þér sérstaklega. Þú staðfestir að þú sért annað hvort reikningshafi eða viðurkenndur undirritunaraðili á reikningnum sem tilgreindur er hér að ofan.", - cardTerms: str => - `Með því að gefa upp kortaupplýsingar þínar heimilar þú ${str} að skuldfæra kortið þitt fyrir síðari greiðslum í samræmi við skilmála þeirra.`, - payNowButton: "Greiða núna", - cardNumberEmptyText: "Kortanúmer má ekki vera autt.", - cardExpiryDateEmptyText: "Gildistími korts má ekki vera auður.", - cvcNumberEmptyText: "CVC-númer má ekki vera autt.", - enterFieldsText: "Vinsamlegast fylltu í alla reiti", - enterValidDetailsText: "Vinsamlegast sláðu inn gildar upplýsingar", - card: "Kort", - billingNameLabel: "Heiti reiknings", - cardHolderName: "Nafn korthafa", - cardNickname: "Kortanafn", - billingNamePlaceholder: "Fornafn og eftirnafn", - firstName: `Fyrsta nafn`, - lastName: `Eftirnafn`, - billingDetails: `Innheimtuupplýsingar`, - requiredText: `Nauðsynlegt`, - lastNameRequiredText: `Eftirnafn krafist`, - cardExpiresText: `rennur út`, - addPaymentMethodLabel: `Bæta við nýrri greiðsluaðferð`, - cardHolderNameRequiredText: `Nafn korthafa krafist`, - walletDisclaimer: `Upplýsingar um veski verða vistaðar við val`, - }, - // Welsh (cy) - { - locale: "cy", - localeDirection: "ltr", - cardDetailsLabel: "Manylion y Cerdyn", - cardNumberLabel: "Rhif y Cerdyn", - inValidCardErrorText: "Mae rhif y cerdyn yn annilys.", - inCompleteCVCErrorText: "Mae cod diogelwch eich cerdyn yn anghyflawn.", - inCompleteExpiryErrorText: "Mae dyddiad dod i ben eich cerdyn yn anghyflawn.", - pastExpiryErrorText: "Mae blwyddyn dod i ben eich cerdyn yn y gorffennol.", - poweredBy: "Pwerwyd gan Hyperswitch", - validThruText: "Daw i ben", - sortCodeText: "Cod Didoli", - cvcTextLabel: "CVC", - line1Label: "Cyfeiriad llinell 1", - line1Placeholder: "Cyfeiriad stryd", - line1EmptyText: `Ni all llinell cyfeiriad 1 fod yn wag`, - line2Label: "Cyfeiriad llinell 2", - line2Placeholder: "Rhif y fflat, rhif yr uned, ac ati (dewisol)", - cityLabel: "Dinas", - cityEmptyText: `Ni all y ddinas fod yn wag`, - postalCodeLabel: "Cod post", - postalCodeEmptyText: `Ni all cod post fod yn wag`, - stateLabel: "Talaith", - accountNumberText: "Rhif y Cyfrif", - emailLabel: "E-bost", - emailInvalidText: `Cyfeiriad e -bost annilys`, - emailEmptyText: `Ni all e-bost fod yn wag`, - fullNameLabel: "Enw llawn", - fullNamePlaceholder: "Enw cyntaf ac olaf", - countryLabel: "Gwlad", - currencyLabel: "Arian", - bankLabel: "Dewiswch Fanc", - redirectText: "Ar ôl cyflwyno eich archeb, byddwch yn cael eich ailgyfeirio i gwblhau eich pryniant yn ddiogel.", - bankDetailsText: "Ar ôl cyflwyno'r manylion hyn, byddwch yn cael gwybodaeth cyfrif banc i wneud taliad. Gwnewch yn siŵr eich bod yn gwneud nodyn o'r wybodaeth.", - orPayUsing: "Neu talwch gan ddefnyddio", - addNewCard: "Ychwanegwch gerdyn credyd neu ddebyd", - useExisitingSavedCards: "Defnyddiwch gardiau debyd/credyd a gadwyd", - saveCardDetails: "Cadw manylion y cerdyn", - addBankAccount: "Ychwanegwch gyfrif banc", - achBankDebitTerms: str => - `Trwy ddarparu rhif eich cyfrif a chadarnhau'r taliad hwn, rydych yn awdurdodi ${str} a Hyperswitch, ein darparwr gwasanaeth talu, i anfon cyfarwyddiadau i'ch banc i ddebydu eich cyfrif a'ch banc i ddebydu eich cyfrif yn unol â'r cyfarwyddiadau hynny. Mae gennych hawl i ad-daliad gan eich banc o dan delerau ac amodau eich cytundeb â'ch banc. Rhaid hawlio ad-daliad o fewn 8 wythnos gan ddechrau o'r dyddiad y cafodd eich cyfrif ei ddebydu.`, - sepaDebitTerms: str => - `Trwy ddarparu eich gwybodaeth talu a chadarnhau'r taliad hwn, rydych yn awdurdodi (A) ${str} a Hyperswitch, ein darparwr gwasanaeth talu a/neu PPRO, ei ddarparwr gwasanaeth lleol, i anfon cyfarwyddiadau i'ch banc i ddebydu eich cyfrif a (B) eich banc i ddebydu eich cyfrif yn unol â'r cyfarwyddiadau hynny. Mae gennych hawl i ad-daliad gan eich banc o dan delerau ac amodau eich cytundeb â'ch banc. Rhaid hawlio ad-daliad o fewn 8 wythnos gan ddechrau o'r dyddiad y cafodd eich cyfrif ei ddebydu. Mae eich hawliau'n cael eu hesbonio mewn cyfriflen y gallwch ei chael gan eich banc. Rydych yn cytuno i dderbyn hysbysiadau ar gyfer debydau yn y dyfodol hyd at 2 ddiwrnod cyn iddynt ddigwydd.`, - becsDebitTerms: "Trwy ddarparu eich manylion cyfrif banc a chadarnhau'r taliad hwn, rydych yn cytuno i'r Cais Debyd Uniongyrchol hwn a chytundeb gwasanaeth Cais Debyd Uniongyrchol ac yn awdurdodi Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Rhif ID Defnyddiwr Debyd Uniongyrchol 507156 (“Hyperswitch”) i ddebydu eich cyfrif trwy'r System Glirio Electronig Swmp (BECS) ar ran Hyperswitch Payment Widget (y \"Masnachwr\") ar gyfer unrhyw symiau a gyfathrebir ar wahân i chi gan y Masnachwr. Rydych yn ardystio eich bod naill ai'n ddeiliad cyfrif neu'n lofnodwr awdurdodedig ar y cyfrif a restrir uchod.", - cardTerms: str => - `Trwy ddarparu gwybodaeth eich cerdyn, rydych yn caniatáu ${str} i godi tâl ar eich cerdyn am daliadau yn y dyfodol yn unol â'u telerau.`, - payNowButton: "Talu Nawr", - cardNumberEmptyText: "Ni all Rhif y Cerdyn fod yn wag", - cardExpiryDateEmptyText: "Ni all dyddiad dod i ben y cerdyn fod yn wag", - cvcNumberEmptyText: "Ni all y Rhif CVC fod yn wag", - enterFieldsText: "Rhowch bob maes", - enterValidDetailsText: "Rhowch fanylion dilys", - card: "Cerdyn", - billingNameLabel: "Enw bilio", - cardHolderName: "Enw deiliad y card", - cardNickname: "Enw byr y card", - billingNamePlaceholder: "Enw cyntaf a lleddiad", - firstName: `Enw cyntaf`, - lastName: `Enw olaf`, - billingDetails: `Manylion Bilio`, - requiredText: `Yn ofynnol`, - lastNameRequiredText: `Enw olaf Angenrheidiol`, - cardExpiresText: `yn dod i ben`, - addPaymentMethodLabel: ` Ychwanegu dull talu newydd`, - cardHolderNameRequiredText: `Angen enw Deiliad y Cerdyn`, - walletDisclaimer: `Bydd manylion waled yn cael eu cadw wrth ddewis`, - }, - // Greek (el) - { - locale: "el", - localeDirection: "v-p", - cardDetailsLabel: "Λεπτομέρειες Κάρτας", - cardNumberLabel: "Kaardi number", - inValidCardErrorText: "Kaardi number on vale.", - inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", - inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", - pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", - poweredBy: "Teenust pakub: Hyperswitch", - validThruText: "Kehtivus", - sortCodeText: "Tunnuskood", - cvcTextLabel: "CVC", - line1Label: "1. aadressi rida", - line1Placeholder: "Tänav ja maja number", - line1EmptyText: `Η γραμμή διευθύνσεων 1 δεν μπορεί να είναι κενή`, - line2Label: "2. aadressi rida", - line2Placeholder: "Korter, toa number jne (vabatahtlik)", - cityLabel: "Linn", - cityEmptyText: `Η πόλη δεν μπορεί να είναι κενή`, - postalCodeLabel: "Sihtnumber", - postalCodeEmptyText: `Ο ταχυδρομικός κωδικός δεν μπορεί να είναι άδειος`, - stateLabel: "Maakond", - accountNumberText: "Kontonumber", - emailLabel: "E-post", - emailInvalidText: `Μη έγκυρη διεύθυνση e-mail`, - emailEmptyText: `Το email δεν μπορεί να είναι κενό`, - fullNameLabel: "Täisnimi", - fullNamePlaceholder: "Ees- ja perekonnanimi", - countryLabel: "Riik", - currencyLabel: "Valuuta", - bankLabel: "Vali pank", - redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", - bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", - orPayUsing: "Või tasu makse, kasutades selleks", - addNewCard: "Lisa krediit-/deebetkaart", - useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", - saveCardDetails: "Salvesta kaardi andmed", - addBankAccount: "Lisa kontonumber", - achBankDebitTerms: str => - `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, - sepaDebitTerms: str => - `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, - becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", - cardTerms: str => - `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, - payNowButton: "Maksa kohe", - cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", - cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", - cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", - enterFieldsText: "Täida kõik kohustuslikud väljad", - enterValidDetailsText: "Sisesta kehtivad andmed", - card: "Kaart", - billingNameLabel: "Maksja nimi", - cardHolderName: "Όνομα κατόχου της κάρτας", - cardNickname: "Παρατσούκλι της κάρτας", - billingNamePlaceholder: "Όνομα και επώνυμο", - firstName: `Ονομα`, - lastName: `Επίθετο`, - billingDetails: `λεπτομέρειες χρέωσης`, - requiredText: `Απαιτείται`, - lastNameRequiredText: `Απαιτείται επώνυμο`, - cardExpiresText: `λήγει`, - addPaymentMethodLabel: `Προσθήκη νέας μεθόδου πληρωμής`, - cardHolderNameRequiredText: `Απαιτείται το όνομα του κατόχου της κάρτας`, - walletDisclaimer: `Τα στοιχεία του πορτοφολιού θα αποθηκευτούν κατά την επιλογή`, - }, - // Estonian (et) - { - locale: "et", - localeDirection: "v-p", - cardDetailsLabel: "Kaardiandmed", - cardNumberLabel: "Kaardi number", - inValidCardErrorText: "Kaardi number on vale.", - inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", - inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", - pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", - poweredBy: "Teenust pakub: Hyperswitch", - validThruText: "Kehtivus", - sortCodeText: "Tunnuskood", - cvcTextLabel: "CVC", - line1Label: "1. aadressi rida", - line1Placeholder: "Tänav ja maja number", - line1EmptyText: `Aadressi rida 1 ei saa olla tühi`, - line2Label: "2. aadressi rida", - line2Placeholder: "Korter, toa number jne (vabatahtlik)", - cityLabel: "Linn", - cityEmptyText: `Linn ei saa olla tühi`, - postalCodeLabel: "Sihtnumber", - postalCodeEmptyText: `Postikood ei saa olla tühi`, - stateLabel: "Maakond", - accountNumberText: "Kontonumber", - emailLabel: "E-post", - emailInvalidText: `vale emaili aadress`, - emailEmptyText: `E-posti aadress ei tohi olla tühi`, - fullNameLabel: "Täisnimi", - fullNamePlaceholder: "Ees- ja perekonnanimi", - countryLabel: "Riik", - currencyLabel: "Valuuta", - bankLabel: "Vali pank", - redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", - bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", - orPayUsing: "Või tasu makse, kasutades selleks", - addNewCard: "Lisa krediit-/deebetkaart", - useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", - saveCardDetails: "Salvesta kaardi andmed", - addBankAccount: "Lisa kontonumber", - achBankDebitTerms: str => - `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, - sepaDebitTerms: str => - `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, - becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", - cardTerms: str => - `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, - payNowButton: "Maksa kohe", - cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", - cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", - cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", - enterFieldsText: "Täida kõik kohustuslikud väljad", - enterValidDetailsText: "Sisesta kehtivad andmed", - card: "Kaart", - billingNameLabel: "Maksja nimi", - cardHolderName: "Kaardi omaniku nimi", - cardNickname: "Kaardi hellitusnimi", - billingNamePlaceholder: "Ees- ja perekonnanimi", - firstName: `Eesnimi`, - lastName: `Perekonnanimi`, - billingDetails: `Arvelduse üksikasjad`, - requiredText: `Nõutud`, - lastNameRequiredText: `Vajalik perekonnanimi`, - cardExpiresText: `aegub`, - addPaymentMethodLabel: `Lisa uus makseviis`, - cardHolderNameRequiredText: `Vajalik on kaardi omaniku nimi`, - walletDisclaimer: `Rahakoti andmed salvestatakse valimisel`, - }, - // Finnish (fi) - { - locale: "fi", - localeDirection: "v-p", - cardDetailsLabel: "Kortin tiedot", - cardNumberLabel: "Kaardi number", - inValidCardErrorText: "Kaardi number on vale.", - inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", - inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", - pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", - poweredBy: "Teenust pakub: Hyperswitch", - validThruText: "Kehtivus", - sortCodeText: "Tunnuskood", - cvcTextLabel: "CVC", - line1Label: "1. aadressi rida", - line1Placeholder: "Tänav ja maja number", - line1EmptyText: `Osoitekieli 1 ei voi olla tyhjä`, - line2Label: "2. aadressi rida", - line2Placeholder: "Korter, toa number jne (vabatahtlik)", - cityLabel: "Linn", - cityEmptyText: `Kaupunki ei voi olla tyhjä`, - postalCodeLabel: "Sihtnumber", - postalCodeEmptyText: `Pos koodi ei voi olla tyhjä`, - stateLabel: "Maakond", - accountNumberText: "Kontonumber", - emailLabel: "E-post", - emailInvalidText: `Virheellinen sähköpostiosoite`, - emailEmptyText: "Sähköposti ei voi olla tyhjä", - fullNameLabel: "Täisnimi", - fullNamePlaceholder: "Ees- ja perekonnanimi", - countryLabel: "Riik", - currencyLabel: "Valuuta", - bankLabel: "Vali pank", - redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", - bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", - orPayUsing: "Või tasu makse, kasutades selleks", - addNewCard: "Lisa krediit-/deebetkaart", - useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", - saveCardDetails: "Salvesta kaardi andmed", - addBankAccount: "Lisa kontonumber", - achBankDebitTerms: str => - `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, - sepaDebitTerms: str => - `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, - becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", - cardTerms: str => - `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, - payNowButton: "Maksa kohe", - cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", - cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", - cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", - enterFieldsText: "Täida kõik kohustuslikud väljad", - enterValidDetailsText: "Sisesta kehtivad andmed", - card: "Kaart", - billingNameLabel: "Maksja nimi", - cardHolderName: "Kortinhaltijan nimi", - cardNickname: "Kortin lempinimi", - billingNamePlaceholder: "Etunimi ja sukunimi", - firstName: `Etunimi`, - lastName: `Sukunimi`, - billingDetails: `laskutustiedot`, - requiredText: `Edellytetään`, - lastNameRequiredText: `Sukunimi vaaditaan`, - cardExpiresText: `umpeutuu`, - addPaymentMethodLabel: `Lisää uusi maksutapa`, - cardHolderNameRequiredText: `Kortinhaltijan nimi vaaditaan`, - walletDisclaimer: `Lompakon tiedot tallennetaan valinnan yhteydessä`, - }, - // Norwegian (no) - { - locale: "no", - localeDirection: "ltr", - cardDetailsLabel: "Kortdetaljer", - cardNumberLabel: "Kortnummer", - inValidCardErrorText: "Kortnummeret er ugyldig.", - inCompleteCVCErrorText: "Kortets sikkerhetskode er ufullstendig.", - inCompleteExpiryErrorText: "Kortets utløpsdato er ufullstendig.", - pastExpiryErrorText: "Kortets utløpsår er i fortiden.", - poweredBy: "Levert av Hyperswitch", - validThruText: "Utløp", - sortCodeText: "Clearingkode", - cvcTextLabel: "CVC", - line1Label: "Adresslinje 1", - line1Placeholder: "Gateadresse", - line1EmptyText: `Adresselinje 1 kan ikke være tom`, - line2Label: "Adresselinje 2", - line2Placeholder: "Leil., enhetsnummer osv. (valgfritt)", - cityLabel: "Poststed", - cityEmptyText: `By kan ikke være tom`, - postalCodeLabel: "Postnummer", - postalCodeEmptyText: `Postnummer kan ikke være tomt`, - stateLabel: "Delstat", - accountNumberText: "Kontonummer", - emailLabel: "E-postadresse", - emailInvalidText: `Ugyldig epostadresse`, - emailEmptyText: `E-post kan ikke være tom`, - fullNameLabel: "Fullt navn", - fullNamePlaceholder: "For- og etternavn", - countryLabel: "Land", - currencyLabel: "Valuta", - bankLabel: "Velg bank", - redirectText: "Etter å ha sendt inn bestillingen, omdirigeres du for å fullføre kjøpet på en sikker måte.", - bankDetailsText: "Etter å ha sendt inn disse opplysningene, mottar du informasjon om bankkontoen betaling skal foretas til. Sørg for å notere dette.", - orPayUsing: "Eller betal ved hjelp av", - addNewCard: "Legg til kreditt-/debetkort", - useExisitingSavedCards: "Bruk lagrede debet-/kredittkort", - saveCardDetails: "Lagre kortopplysninger", - addBankAccount: "Legg til bankkonto", - achBankDebitTerms: str => - `Ved å oppgi kontonummeret ditt og bekrefte denne betalingen, autoriserer du ${str} og Hyperswitch (vår leverandør av betalingstjenester) til å sende instruksjoner til banken om å debitere kontoen din, og at banken skal debitere kontoen i henhold til disse instruksjonene. Du har rett til refusjon fra banken i henhold til vilkårene i avtalen du har med banken. En refusjon må kreves innen 8 uker fra den datoen kontoen ble debitert på.`, - sepaDebitTerms: str => - `Ved å oppgi betalingsinformasjonen din og bekrefte denne betalingen, autoriserer du (A) ${str} og Hyperswitch (vår leverandør av betalingstjenester) og/eller PPRO (deres lokale tjenesteleverandør) til å sende instruksjoner til banken om å debitere kontoen din, og (B) at banken debiterer kontoen din i henhold til disse instruksjonene. Som en del av rettighetene dine, har du rett til refusjon fra banken i henhold til vilkårene i avtalen du har med banken. En refusjon må kreves innen 8 uker fra den datoen kontoen ble debitert på. Rettighetene dine forklares i en erklæring du kan få tak i fra banken. Du samtykker i å motta varsler for fremtidige debiteringer opptil 2 dager før de inntreffer.`, - becsDebitTerms: "Ved å oppgi bankkontoopplysningene dine og bekrefte denne betalingen, godtar du denne forespørselen om direkte debitering samt serviceavtalen om forespørsel om direkte debitering, og autoriserer Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 sin Direct Debit-bruker med ID-nummer 507156 («Hyperswitch») til å debitere kontoen via BECS (Bulk Electronic Clearing System) på vegne av Hyperswitch Payment Widget («forhandleren») for eventuelle beløp forhandleren har kommunisert separat til deg. Du bekrefter at du enten er en kontoinnehaver eller en autorisert signatar på kontoen oppført ovenfor.", - cardTerms: str => - `Ved å oppgi kortinformasjonen, tillater du at ${str} belaster kortet for fremtidige betalinger i henhold til vilkårene.`, - payNowButton: "Betal nå", - cardNumberEmptyText: "Kortnummer kan ikke stå tomt", - cardExpiryDateEmptyText: "Kortets utløpsdato kan ikke stå tomt", - cvcNumberEmptyText: "CVC-nummer kan ikke stå tomt", - enterFieldsText: "Fyll ut alle felter.", - enterValidDetailsText: "Oppgi gyldige opplysninger", - card: "Kort", - billingNameLabel: "Fakturamottakerens navn", - cardHolderName: "Navn på kortinnehaver", - cardNickname: "Kortets kallenavn", - billingNamePlaceholder: "Fornavn og etternavn", - firstName: `Fornavn`, - lastName: `Etternavn`, - billingDetails: `Fakturadetaljer`, - requiredText: `Påkrevd`, - lastNameRequiredText: `Etternavn påkrevd`, - cardExpiresText: `utløper`, - addPaymentMethodLabel: `Legg til en ny betalingsmåte`, - cardHolderNameRequiredText: `Kortholders navn kreves`, - walletDisclaimer: `Lommebokdetaljer vil bli lagret ved valg`, - }, - // Bosnian (bs) - { - locale: "bs", - localeDirection: "ltr", - cardNumberLabel: "Broj kartice", - cardDetailsLabel: "Detalji kartice", - inValidCardErrorText: "Broj kartice je nevažeći.", - inCompleteCVCErrorText: "Sigurnosni kod vaše kartice je nepotpun.", - inCompleteExpiryErrorText: "Datum isteka vaše kartice je nepotpun.", - pastExpiryErrorText: "Godina isteka vaše kartice je u prošlosti.", - poweredBy: "Pokreće Hyperswitch", - validThruText: "Istek", - sortCodeText: "Šifra za sortiranje", - cvcTextLabel: "CVC", - line1Label: "Adresa 1. red", - line1Placeholder: "Ulica i broj", - line1EmptyText: `Linija adrese 1 ne može biti prazna`, - line2Label: "Adresa 2. red", - line2Placeholder: "Stan, broj jedinice itd. (nije obavezno)", - cityLabel: "Grad", - cityEmptyText: `Grad ne može biti prazan`, - postalCodeLabel: "Poštanski broj", - postalCodeEmptyText: `Poštanski broj ne može biti prazan`, - stateLabel: "Država", - accountNumberText: "Broj računa", - emailLabel: "E-mail", - emailInvalidText: `pogrešna email adresa`, - emailEmptyText: `Email ne može biti prazan`, - fullNameLabel: "Ime i prezime", - fullNamePlaceholder: "Ime i prezime", - countryLabel: "Država", - currencyLabel: "Valuta", - bankLabel: "Odaberite banku", - redirectText: "Nakon slanja narudžbe, bit ćete preusmjereni kako biste sigurno dovršili kupovinu.", - bankDetailsText: "Nakon što pošaljete ove podatke, dobit ćete podatke o bankovnom računu kako biste izvršili plaćanje. Obavezno ih zabilježite.", - orPayUsing: "Ili platite koristeći", - addNewCard: "Dodajte kreditnu/debitnu karticu", - useExisitingSavedCards: "Koristite sačuvane debitne/kreditne kartice", - saveCardDetails: "Sačuvajte podatke o kartici", - addBankAccount: "Dodajte bankovni račun", - achBankDebitTerms: str => - `Pružanjem broja vašeg računa i potvrdom ove uplate, ovlašćujete ${str} i Hyperswitch, našeg pružatelja platnih usluga, da pošalje upute vašoj banci da tereti vaš račun i vašoj banci da tereti vaš račun u skladu s tim uputstvima. Imate pravo na povrat novca od svoje banke u skladu s uslovima i odredbama vašeg ugovora s bankom. Povrat novca morate zatražiti u roku od 8 sedmica od datuma terećenja vašeg računa.`, - sepaDebitTerms: str => - `Pružanjem vaših podataka o plaćanju i potvrdom ove uplate, ovlašćujete (A) ${str} i Hyperswitch, našeg pružatelja platnih usluga i/ili PPRO, njihovog lokalnog pružatelja usluga, da pošalje upute vašoj banci da tereti vaš račun i (B) vašu banku da tereti vaš račun u skladu s tim uputstvima. U okviru vaših prava, imate pravo na povrat novca od svoje banke u skladu s uslovima i odredbama vašeg ugovora s bankom. Povrat novca morate zatražiti u roku od 8 sedmica od datuma terećenja vašeg računa. Vaša prava su objašnjena u izjavi koju možete dobiti od svoje banke. Pristajete na primanje obavještenja o budućim terećenjima do 2 dana prije nego što se ona dogode.`, - becsDebitTerms: "Pružanjem podataka o vašem bankovnom računu i potvrdom ove uplate, pristajete na ovaj Zahtjev za direktno terećenje i Ugovor o pružanju usluga Zahtjeva za direktno terećenje i ovlašćujete Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 ID korisnika direktnog terećenja 507156 („Hyperswitch”) da tereti vaš račun putem Bulk Electronic Clearing System (BECS) u ime Hyperswitch Payment Widget („Trgovac”) za sve iznose koje vam je Trgovac odvojeno saopštio. Potvrđujete da ste vlasnik računa ili ovlašteni potpisnik na gore navedenom računu.", - cardTerms: str => - `Pružanjem podataka o kartici dopuštate da ${str} tereti karticu za buduća plaćanja u skladu s njihovim uslovima.`, - payNowButton: "Plati odmah", - cardNumberEmptyText: "Polje za broj kartice ne može biti prazno", - cardExpiryDateEmptyText: "Polje za datum isteka kartice ne može biti prazno", - cvcNumberEmptyText: "Polje za CVC broj ne može biti prazno", - enterFieldsText: "Unesite sva polja", - enterValidDetailsText: "Unesite važeće podatke", - card: "Kartica", - billingNameLabel: "Ime za naplatu", - cardHolderName: "Ime nosioca kartice", - cardNickname: "Nadimak kartice", - billingNamePlaceholder: "Ime i prezime", - firstName: "Ime", - lastName: "Prezime", - billingDetails: `Detalji naplate`, - requiredText: `Potreban`, - lastNameRequiredText: `Potrebno je prezime`, - cardExpiresText: `ističe`, - addPaymentMethodLabel: `Dodajte novi način plaćanja`, - cardHolderNameRequiredText: `Potrebno je ime vlasnika kartice`, - walletDisclaimer: `Detalji novčanika će biti sačuvani nakon odabira`, - }, - // Danish (da) - { - locale: "da", - localeDirection: "ltr", - cardDetailsLabel: "Kortoplysninger", - cardNumberLabel: "Kortnummer", - inValidCardErrorText: "Kortnummeret er ugyldigt.", - inCompleteCVCErrorText: "Dit korts sikkerhedskode er ufuldstændig.", - inCompleteExpiryErrorText: "Dit korts udløbsdato er ufuldstændig.", - pastExpiryErrorText: "Dit korts udløbsår er i fortiden", - poweredBy: "Drevet af Hyperswitch", - validThruText: "Udløbsdato", - sortCodeText: "Registreringsnummer", - cvcTextLabel: "CVC", - line1Label: "Adresselinje 1", - line1Placeholder: "Gadenavn", - line1EmptyText: `Adresselinie 1 kan ikke være tom`, - line2Label: "Adresselinje 2", - line2Placeholder: "Lejl., enhedsnummer osv. (valgfrit)", - cityLabel: "By", - cityEmptyText: `Byen kan ikke være tom`, - postalCodeLabel: "Postnummer", - postalCodeEmptyText: `Postkode kan ikke være tom`, - stateLabel: "Region", - accountNumberText: "Kontonummer", - emailLabel: "E-mail", - emailInvalidText: `ugyldig emailadresse`, - emailEmptyText: `E-mail må ikke være tom`, - fullNameLabel: "Fulde navn", - fullNamePlaceholder: "For- og efternavn", - countryLabel: "Land", - currencyLabel: "Valuta", - bankLabel: "Vælg bank", - redirectText: "Når du har indsendt din bestilling, bliver du omdirigeret for at gennemføre dit køb på en sikker måde.", - bankDetailsText: "Når du har indsendt disse oplysninger, vil du få oplysninger om den bankkonto, du skal betale til. Sørg for at notede dem.", - orPayUsing: "Eller betal ved hjælp af", - addNewCard: "Kredit/debetkort", - useExisitingSavedCards: "Brug gemte debet-/kreditkort", - saveCardDetails: "Gem kortoplysninger", - addBankAccount: "Tilføj bankkonto", - achBankDebitTerms: str => - `Ved at angive dit kontonummer og bekræfte denne betaling giver du ${str} og Hyperswitch, vores betalingstjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og din bank om at debitere din konto i overensstemmelse med disse instruktioner. Du har ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret.`, - sepaDebitTerms: str => - `Ved at angive dine betalingsoplysninger og bekræfte denne betaling giver du (A) ${str} og Hyperswitch, vores betalingstjenesteudbyder og/eller PPRO, dens lokale tjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og (B) din bank om at debitere din konto i overensstemmelse med disse instruktioner. Som en del af dine rettigheder har du ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret. Dine rettigheder er forklaret i en erklæring, som du kan få fra din bank. Du accepterer at modtage meddelelser om fremtidige debiteringer op til to dage, før de finder sted.`, - becsDebitTerms: "Ved at angive dine bankkontooplysninger og bekræfte denne betaling accepterer du denne anmodning om direkte debitering og serviceaftalen om anmodning om direkte debitering og giver Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID-nummer 507156 ( \"Hyperswitch\") tilladelse til at debitere din konto via Bulk Electronic Clearing System (BECS) på vegne af Hyperswitch Payment Widget (\"Forhandleren\") for eventuelle beløb, som Forhandleren har meddelt dig separat. Du bekræfter, at du enten er en kontoindehaver eller en autoriseret underskriver på den konto, der er angivet ovenfor.", - cardTerms: str => - `Ved at angive dine kortoplysninger giver du tilladelse ${str} til at debitere dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.`, - payNowButton: "Betal nu", - cardNumberEmptyText: "Kortnummeret kan ikke være tomt", - cardExpiryDateEmptyText: "Kortets udløbsdato kan ikke være tom", - cvcNumberEmptyText: "CVC-nummeret kan ikke være tomt", - enterFieldsText: "Udfyld venligst alle dato felter", - enterValidDetailsText: "Indtast gyldige oplysninger", - card: "Kort", - billingNameLabel: "Faktureringsnavn", - cardHolderName: "Navn på kortindehaver", - cardNickname: "Kortets kaldenavn", - billingNamePlaceholder: "Fornavn og efternavn", - firstName: "Fornavn", - lastName: "Efternavn", - billingDetails: `Faktureringsdetaljer`, - requiredText: `Krævet`, - lastNameRequiredText: `Efternavn krævet`, - cardExpiresText: `udløber`, - addPaymentMethodLabel: `Tilføj ny betalingsmetode`, - cardHolderNameRequiredText: `Kortholders navn påkrævet`, - walletDisclaimer: `Tegnebogsoplysninger gemmes ved valg`, - }, - // Malay (ms) - { - locale: "ms", - localeDirection: "ltr", - cardNumberLabel: "Nombor Kad", - cardDetailsLabel: "Butiran Kad", - inValidCardErrorText: "Nombor kad tidak sah.", - inCompleteCVCErrorText: "Kod keselamatan kad anda tidak lengkap.", - inCompleteExpiryErrorText: "Tarikh tamat tempoh kad anda tidak lengkap.", - pastExpiryErrorText: "Tahun tamat tempoh kad anda telah berlalu.", - poweredBy: "Dikuasakan oleh Hyperswitch", - validThruText: "Luput Pada", - sortCodeText: "Kod Isih", - cvcTextLabel: "CVC", - line1Label: "Alamat baris 1", - line1Placeholder: "Alamat jalan", - line1EmptyText: `Alamat Baris 1 tidak boleh kosong`, - line2Label: "Alamat baris 2", - line2Placeholder: "Apartmen, nombor unit, dll (pilihan)", - cityLabel: "Bandar", - cityEmptyText: `Bandar tidak boleh kosong`, - postalCodeLabel: "Poskod", - postalCodeEmptyText: `Kod pos tidak boleh kosong`, - stateLabel: "Negeri", - accountNumberText: "Nombor Akaun", - emailLabel: "E-mel", - emailInvalidText: `alamat email tidak sah`, - emailEmptyText: `E-mel tidak boleh kosong`, - fullNameLabel: "Nama penuh", - fullNamePlaceholder: "Nama pertama dan akhir", - countryLabel: "Negara", - currencyLabel: "Mata Wang", - bankLabel: "Pilih Bank", - redirectText: "Selepas menghantar pesanan anda, anda akan diarahkan untuk menyelesaikan pembelian anda dengan selamat.", - bankDetailsText: "Selepas menghantar butiran ini, anda akan mendapat maklumat akaun bank untuk membuat pembayaran. Sila pastikan anda mencatatnya.", - orPayUsing: "Atau bayar menggunakan", - addNewCard: "Tambah kad kredit/debit", - useExisitingSavedCards: "Gunakan kad debit/kredit yang disimpan", - saveCardDetails: "Simpan butiran kad", - addBankAccount: "Tambah akaun bank", - achBankDebitTerms: str => - `Dengan memberikan nombor akaun anda dan mengesahkan pembayaran ini, anda membenarkan ${str} dan Hyperswitch, penyedia perkhidmatan pembayaran kami, untuk menghantar arahan kepada bank anda untuk mendebitkan akaun anda dan bank anda untuk mendebitkan akaun anda mengikut arahan tersebut. Anda berhak mendapat bayaran balik daripada bank anda di bawah terma dan syarat perjanjian anda dengan bank anda. Bayaran balik mesti dituntut dalam masa 8 minggu bermula dari tarikh akaun anda didebitkan.`, - sepaDebitTerms: str => - `Dengan memberikan maklumat pembayaran anda dan mengesahkan pembayaran ini, anda membenarkan (A) ${str} dan Hyperswitch, penyedia perkhidmatan pembayaran kami dan/atau PPRO, penyedia perkhidmatan tempatannya, untuk menghantar arahan kepada bank anda untuk mendebitkan akaun anda dan (B) bank anda untuk mendebitkan akaun anda mengikut arahan tersebut. Sebagai sebahagian daripada hak anda, anda berhak mendapat bayaran balik daripada bank anda di bawah terma dan syarat perjanjian anda dengan bank anda. Bayaran balik mesti dituntut dalam masa 8 minggu bermula dari tarikh akaun anda didebitkan. Hak anda dijelaskan dalam penyata yang anda boleh dapatkan daripada bank anda. Anda bersetuju untuk menerima pemberitahuan untuk debit akan datang sehingga 2 hari sebelum ia berlaku.`, - becsDebitTerms: "Dengan memberikan butiran akaun bank anda dan mengesahkan pembayaran ini, anda bersetuju dengan Permintaan Debit Langsung ini dan perjanjian perkhidmatan Permintaan Debit Langsung dan membenarkan Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Nombor Pengguna Debit Langsung 507156 ( \"Hyperswitch\") untuk mendebitkan akaun anda melalui Sistem Penjelasan Elektronik Pukal (Becs) bagi pihak Hyperswitch Payment Widget (\"Pedagang\") untuk sebarang jumlah yang disampaikan secara berasingan kepada anda oleh Pedagang. Anda mengesahkan bahawa anda sama ada pemegang akaun atau penandatangan yang dibenarkan pada akaun yang disenaraikan di atas.", - cardTerms: str => - `Dengan memberikan maklumat kad anda, anda membenarkan ${str} untuk mengecaj kad anda untuk pembayaran akan datang mengikut terma mereka.`, - payNowButton: "Bayar Sekarang", - cardNumberEmptyText: "Nombor Kad tidak boleh kosong", - cardExpiryDateEmptyText: "Tarikh luput kad tidak boleh kosong", - cvcNumberEmptyText: "Nombor CVC tidak boleh kosong", - enterFieldsText: "Sila isikan semua medan", - enterValidDetailsText: "Sila isikan butiran yang sah", - card: "Kad", - billingNameLabel: "Nama pengebilan", - cardHolderName: "Nama Pemegang Kad", - cardNickname: "Nama Samaran Kad", - billingNamePlaceholder: "Nama dan Nama Keluarga", - firstName: "Nama pertama", - lastName: "Nama terakhir", - billingDetails: `maklumat Bil`, - requiredText: `Diperlukan`, - lastNameRequiredText: `Nama terakhir diperluka`, - cardExpiresText: `luput`, - addPaymentMethodLabel: `Tambah kaedah pembayaran baru`, - cardHolderNameRequiredText: `Nama Pemegang Kad diperlukan`, - walletDisclaimer: `Butiran dompet akan disimpan semasa pemilihan`, - }, - // Turkish (tr-CY) - { - locale: "tr-CY", - localeDirection: "soldan sağa", - cardDetailsLabel: "Kart Detayları", - cardNumberLabel: "Kart Numarası", - inValidCardErrorText: "Kart numarası geçersiz.", - inCompleteCVCErrorText: "Kartınızın güvenlik kodu eksik.", - inCompleteExpiryErrorText: "Kartınızın son kullanma tarihi eksik.", - pastExpiryErrorText: "Kartınızın son kullanma tarihi geçmiş.", - poweredBy: "Hyperswitch Tarafından Desteklenmektedir", - validThruText: "Son kullanma tarihi", - sortCodeText: "Banka Kodu", - cvcTextLabel: "CVC", - line1Label: "Adres satırı 1", - line1Placeholder: "Açık adres", - line1EmptyText: `Adres satırı 1 boş olamaz`, - line2Label: "Adres satırı 2", - line2Placeholder: "Apt., daire numarası vb. (isteğe bağlı)", - cityLabel: "Şehir", - cityEmptyText: `Şehir boş olamaz`, - postalCodeLabel: "Posta Kodu", - postalCodeEmptyText: `Posta kodu boş olamaz`, - stateLabel: "Eyalet", - accountNumberText: "Hesap Numarası", - emailLabel: "E-posta", - emailInvalidText: `Geçersiz e-posta adresi`, - emailEmptyText: `E-posta boş olamaz`, - fullNameLabel: "İsim ve soyisim", - fullNamePlaceholder: "Ad ve soyadı", - countryLabel: "Ülke", - currencyLabel: "Para Birimi", - bankLabel: "Banka Seçin", - redirectText: "Siparişinizi verdikten sonra satın alım işlemini güvenle tamamlayabileceğiniz sayfaya yönlendirileceksiniz.", - bankDetailsText: "Bu bilgileri girdikten sonra ödemeyi yapacağınız banka hesap bilgileri verilecek. Lütfen not almayı unutmayın.", - orPayUsing: "Alternatif ödeme yöntemi:", - addNewCard: "Kredi/banka kartı ekle", - useExisitingSavedCards: "Kayıtlı banka/kredi kartını kullanın", - saveCardDetails: "Kart bilgilerini kaydet", - addBankAccount: "Banka hesabı ekle", - achBankDebitTerms: str => - `Hesap numaranızı vererek ve bu ödemeyi onaylayarak, ${str} ve ödeme hizmeti sağlayıcımız olan Hyperswitch'e hesabınızdan para çekilmesi için bankanıza talimat gönderme ve bankanızın da bu talimata uygun olarak hesabınızdan para çekmesi için yetki vermiş olursunuz. Bankanızla yaptığınız sözleşmenin koşullarına bağlı olarak bankanızdan para iadesi alma hakkınız olabilir. Para iadesi, hesabınızdan tahsilatın yapıldığı tarihten itibaren 8 hafta içinde talep edilmelidir.`, - sepaDebitTerms: str => - `Ödeme bilgilerinizi vererek ve bu ödemeyi onaylayarak, (A) ${str} ve ödeme hizmeti sağlayıcımız olan Hyperswitch'e ve/veya yerel hizmet sağlayıcısı PPRO'ya hesabınızdan para çekilmesi için bankanıza talimat gönderme ve (B) bankanıza bu talimatlara uygun olarak hesabınızdan para çekme için yetki vermiş olursunuz. Haklarınız çerçevesinde bankanızla yaptığınız sözleşmenin koşullarına bağlı olarak bankanızdan para iadesi alma hakkınız olabilir. Para iadesi, hesabınızdan tahsilatın yapıldığı tarihten itibaren 8 hafta içinde talep edilmelidir. Haklarınızla ilgili ayrıntıları bankanızdan temin edebileceğiniz hesap özetinde bulabilirsiniz. Gelecekteki ücretlendirmelerde, ücretlendirmenin yapılmasından 2 gün öncesine kadar bildirim almayı kabul edersiniz.`, - becsDebitTerms: "Banka hesap bilgilerinizi vererek ve bu ödemeyi onaylayarak, bu Otomatik Ödeme Talebini ve Otomatik Ödeme hizmet sözleşmesini kabul etmiş ve ACN 160 180 343 Otomatik Ödeme Kullanıcı Kimliği numarası 507156 bilgilerinin geçerli olduğu Hyperswitch Payments Australia Pty Ltd şirketini ( \"Hyperswitch\"), Hyperswitch Payment Widget (\"Satıcı\") adına Toplu Elektronik Takas Sistemi (BECS) aracılığıyla Satıcı tarafından size ayrıca bildirilen tutarlar için hesabınızdan para çekmesi için yetkilendirmiş olursunuz. Yukarıda adı geçen hesabın hesap sahibi veya imza yetkilisi olduğunuzu onaylıyorsunuz.", - cardTerms: str => - `Kart bilgilerinizi vererek ${str} tarafından kendi şartlarına uygun olarak kartınızdan ücret alınmasına izin vermiş olursunuz.`, - payNowButton: "Şimdi Ödeyin", - cardNumberEmptyText: "Kart Numarası boş olamaz", - cardExpiryDateEmptyText: "Kartın son kullanma tarihi boş olamaz", - cvcNumberEmptyText: "CVC Numarası boş olamaz", - enterFieldsText: "Lütfen tüm alanları doldurun", - enterValidDetailsText: "Lütfen geçerli bilgileri girin", - card: "Kart", - billingNameLabel: "Fatura adı", - cardHolderName: "Kart Sahibinin Adı", - cardNickname: "Kart Takma Adı", - billingNamePlaceholder: "Ad ve Soyad", - firstName: `İlk adı`, - lastName: "Soy isim", - billingDetails: `Fatura Detayları`, - requiredText: `Gerekli`, - lastNameRequiredText: `Soyad gerekli`, - cardExpiresText: `süresi doluyor`, - addPaymentMethodLabel: `Yeni ödeme yöntemi ekle`, - cardHolderNameRequiredText: `Kart Sahibinin adı gereklidir`, - walletDisclaimer: `Cüzdan bilgileri seçim sırasında kaydedilecektir`, - }, -] +let defaultLocale = EnglishLocale.localeStrings From 8c805cb7b796197a01c07fb20afc72d54ddf4e95 Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Fri, 27 Sep 2024 14:40:58 +0530 Subject: [PATCH 2/9] refactor locale files --- src/hooks/GetLocale.res | 16 ++--- .../reusableCodeFromWeb/LocaleString.res | 66 ------------------- 2 files changed, 8 insertions(+), 74 deletions(-) diff --git a/src/hooks/GetLocale.res b/src/hooks/GetLocale.res index c4c9bf4..efd731f 100644 --- a/src/hooks/GetLocale.res +++ b/src/hooks/GetLocale.res @@ -3,17 +3,17 @@ let useGetLocalObj = () => { switch nativeProp.configuration.appearance.locale->Option.getOr(En) { | En => EnglishLocale.localeStrings - | He => HebrewLocale.localeStrings - | Fr => FrenchLocale.localeStrings + | He => HebrewLocale.localeStrings + | Fr => FrenchLocale.localeStrings | En_GB => EnglishGBLocale.localeStrings - | Ar => ArabicLocale.localeStrings + | Ar => ArabicLocale.localeStrings | Ja => JapaneseLocale.localeStrings - | De => DeutschLocale.localeStrings + | De => DeutschLocale.localeStrings | Fr_BE => FrenchBelgiumLocale.localeStrings - | Es => EstonianLocale.localeStrings - | Ca => CatalanLocale.localeStrings - | Pt => PortugueseLocale.localeStrings - | It => ItalianLocale.localeStrings + | Es => EstonianLocale.localeStrings + | Ca => CatalanLocale.localeStrings + | Pt => PortugueseLocale.localeStrings + | It => ItalianLocale.localeStrings | Pl => PolishLocale.localeStrings | Nl => DutchLocale.localeStrings | NI_BE => DutchBelgiumLocale.localeStrings diff --git a/src/utility/reusableCodeFromWeb/LocaleString.res b/src/utility/reusableCodeFromWeb/LocaleString.res index 20898dd..feb1d3a 100644 --- a/src/utility/reusableCodeFromWeb/LocaleString.res +++ b/src/utility/reusableCodeFromWeb/LocaleString.res @@ -1,67 +1 @@ -type localeStrings = { - locale: string, - cardDetailsLabel: string, - cardNumberLabel: string, - localeDirection: string, - inValidCardErrorText: string, - inCompleteCVCErrorText: string, - inCompleteExpiryErrorText: string, - pastExpiryErrorText: string, - poweredBy: string, - validThruText: string, - sortCodeText: string, - cvcTextLabel: string, - emailLabel: string, - emailInvalidText: string, - emailEmptyText: string, - accountNumberText: string, - fullNameLabel: string, - line1Label: string, - line1Placeholder: string, - line1EmptyText: string, - line2Label: string, - line2Placeholder: string, - cityLabel: string, - cityEmptyText: string, - postalCodeLabel: string, - postalCodeEmptyText: string, - stateLabel: string, - fullNamePlaceholder: string, - countryLabel: string, - currencyLabel: string, - bankLabel: string, - redirectText: string, - bankDetailsText: string, - orPayUsing: string, - addNewCard: string, - useExisitingSavedCards: string, - saveCardDetails: string, - addBankAccount: string, - achBankDebitTerms: string => string, - sepaDebitTerms: string => string, - becsDebitTerms: string, - cardTerms: string => string, - payNowButton: string, - cardNumberEmptyText: string, - cardExpiryDateEmptyText: string, - cvcNumberEmptyText: string, - enterFieldsText: string, - enterValidDetailsText: string, - card: string, - billingNameLabel: string, - billingNamePlaceholder: string, - cardHolderName: string, - cardNickname: string, - firstName: string, - lastName: string, - billingDetails: string, - requiredText: string, - cardHolderNameRequiredText: string, - lastNameRequiredText: string, - cardExpiresText: string, - addPaymentMethodLabel: string, - walletDisclaimer: string, - deletePaymentMethod: string, -} - let defaultLocale = EnglishLocale.localeStrings From 508f9415fdd8fcba7f86e67cdb52f5193b1da565 Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Fri, 27 Sep 2024 16:05:48 +0530 Subject: [PATCH 3/9] refactor : localstrings --- src/hooks/GetLocale.res | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/hooks/GetLocale.res b/src/hooks/GetLocale.res index efd731f..90d9fb9 100644 --- a/src/hooks/GetLocale.res +++ b/src/hooks/GetLocale.res @@ -1,24 +1,24 @@ let useGetLocalObj = () => { let (nativeProp, _) = React.useContext(NativePropContext.nativePropContext) - switch nativeProp.configuration.appearance.locale->Option.getOr(En) { | En => EnglishLocale.localeStrings - | He => HebrewLocale.localeStrings - | Fr => FrenchLocale.localeStrings + | He => HebrewLocale.localeStrings + | Fr => FrenchLocale.localeStrings | En_GB => EnglishGBLocale.localeStrings - | Ar => ArabicLocale.localeStrings + | Ar => ArabicLocale.localeStrings | Ja => JapaneseLocale.localeStrings - | De => DeutschLocale.localeStrings + | De => DeutschLocale.localeStrings | Fr_BE => FrenchBelgiumLocale.localeStrings - | Es => EstonianLocale.localeStrings - | Ca => CatalanLocale.localeStrings - | Pt => PortugueseLocale.localeStrings - | It => ItalianLocale.localeStrings + | Es => EstonianLocale.localeStrings + | Ca => CatalanLocale.localeStrings + | Zh => ChineseLocale.localeStrings + | Pt => PortugueseLocale.localeStrings + | It => ItalianLocale.localeStrings | Pl => PolishLocale.localeStrings | Nl => DutchLocale.localeStrings - | NI_BE => DutchBelgiumLocale.localeStrings | Sv => SwedishLocale.localeStrings | Ru => RussianLocale.localeStrings + | NI_BE => DutchBelgiumLocale.localeStrings | Lt => LithuanianLocale.localeStrings | Cs => CzechLocale.localeStrings | Sk => SlovakLocale.localeStrings From c1d02f1c6c3ee6517a8691b7cd471bd8f6502e8a Mon Sep 17 00:00:00 2001 From: ChiragKV-Juspay Date: Fri, 27 Sep 2024 16:33:25 +0530 Subject: [PATCH 4/9] shared-code : Validations --- src/components/common/ValidationFunctions.res | 29 - src/components/elements/CardElement.res | 6 +- src/components/elements/CardFormUi.res | 4 +- src/components/elements/PaymentSheetUi.res | 4 +- src/pages/payment/Redirect.res | 2 +- src/pages/payment/SaveCardsList.res | 7 +- src/pages/widgets/CardWidget.res | 2 +- src/types/RequiredFieldsTypes.res | 2 +- src/utility/logics/PaymentUtils.res | 2 +- src/utility/logics/Utils.res | 24 +- .../reusableCodeFromWeb/CardPattern.res | 103 - .../reusableCodeFromWeb/PostalCodes.res | 1787 ----------------- .../reusableCodeFromWeb/Validation.res | 102 +- 13 files changed, 35 insertions(+), 2039 deletions(-) delete mode 100644 src/components/common/ValidationFunctions.res delete mode 100644 src/utility/reusableCodeFromWeb/CardPattern.res delete mode 100644 src/utility/reusableCodeFromWeb/PostalCodes.res diff --git a/src/components/common/ValidationFunctions.res b/src/components/common/ValidationFunctions.res deleted file mode 100644 index ab858b0..0000000 --- a/src/components/common/ValidationFunctions.res +++ /dev/null @@ -1,29 +0,0 @@ -let isValidEmail = text => { - switch text->String.match( - %re( - "/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/" - ), - ) { - | Some(_match) => Some(true) - | None => - if text->String.length == 0 { - None - } else { - Some(false) - } - } -} - -let isValidZip = (~zipCode, ~country) => { - let countryObj = - Country.country - ->Array.find(item => item.countryName === country) - ->Option.getOr(Country.defaultTimeZone) - let postalCode = - PostalCodes.postalCode - ->Array.find(item => item.iso == countryObj.isoAlpha2) - ->Option.getOr(PostalCodes.defaultPostalCode) - - let isZipCodeValid = RegExp.test(postalCode.regex->Js.Re.fromString, zipCode) - zipCode->String.length > 0 && isZipCodeValid -} diff --git a/src/components/elements/CardElement.res b/src/components/elements/CardElement.res index 9274c67..26a7a5f 100644 --- a/src/components/elements/CardElement.res +++ b/src/components/elements/CardElement.res @@ -1,5 +1,9 @@ open ReactNative open Validation +open CardCvcValidation +open CardExpiryValidation +open CardValidationClientCore + external toPlatform: ReactNative.Platform.os => string = "%identity" external toInputRef: React.ref> => TextInput.ref = "%identity" @send external focus: Dom.element => unit = "focus" @@ -98,7 +102,7 @@ let make = ( setCardData(prev => {...prev, cvv: cvvData, isCvvValid: Some(isthisValid)}) } let onChangeZip = (text, zipRef: React.ref>>) => { - let isthisValid = ValidationFunctions.isValidZip(~zipCode=text, ~country="United States") + let isthisValid = ZipValidation.isValidZip(~zipCode=text, ~country="United States") if isthisValid { switch zipRef.current->Nullable.toOption { | None => () diff --git a/src/components/elements/CardFormUi.res b/src/components/elements/CardFormUi.res index b482b60..5735c61 100644 --- a/src/components/elements/CardFormUi.res +++ b/src/components/elements/CardFormUi.res @@ -1,6 +1,8 @@ open ReactNative open Style open Validation +open CardCvcValidation + external toPlatform: ReactNative.Platform.os => string = "%identity" external toInputRef: React.ref> => TextInput.ref = "%identity" @send external focus: Dom.element => unit = "focus" @@ -29,7 +31,7 @@ let make = ( let isCvvValid = isCvvValid->Option.getOr(true) let isZipValid = isZipValid->Option.getOr(true) let isMaxCardLength = - cardNumber->clearSpaces->String.length == maxCardLength(getCardBrand(cardNumber)) + cardNumber->clearSpaces->String.length == ValidationUtils.maxCardLength(getCardBrand(cardNumber)) let (cardNumberIsFocus, setCardNumberIsFocus) = React.useState(_ => false) let isCardNumberValid = { cardNumberIsFocus ? isCardNumberValid || !isMaxCardLength : isCardNumberValid diff --git a/src/components/elements/PaymentSheetUi.res b/src/components/elements/PaymentSheetUi.res index 81f76b1..79216d0 100644 --- a/src/components/elements/PaymentSheetUi.res +++ b/src/components/elements/PaymentSheetUi.res @@ -1,6 +1,8 @@ open ReactNative open Style open Validation +open CardCvcValidation + external toPlatform: ReactNative.Platform.os => string = "%identity" external toInputRef: React.ref> => TextInput.ref = "%identity" @send external focus: Dom.element => unit = "focus" @@ -26,7 +28,7 @@ let make = ( let isExpireDateValid = isExpireDataValid->Option.getOr(true) let isCvvValid = isCvvValid->Option.getOr(true) let isMaxCardLength = - cardNumber->clearSpaces->String.length == maxCardLength(getCardBrand(cardNumber)) + cardNumber->clearSpaces->String.length == ValidationUtils.maxCardLength(getCardBrand(cardNumber)) let (cardNumberIsFocus, setCardNumberIsFocus) = React.useState(_ => false) let (expireDateIsFocus, setExpireDateIsFocus) = React.useState(_ => false) let (cvvIsFocus, setCvvIsFocus) = React.useState(_ => false) diff --git a/src/pages/payment/Redirect.res b/src/pages/payment/Redirect.res index f9928b1..0480c23 100644 --- a/src/pages/payment/Redirect.res +++ b/src/pages/payment/Redirect.res @@ -802,7 +802,7 @@ let make = ( } let handlePressEmail = text => { - setIsEmailValid(_ => text->ValidationFunctions.isValidEmail) + setIsEmailValid(_ => text->EmailValidation.isEmailValid) setEmail(_ => Some(text)) } let handlePressName = text => { diff --git a/src/pages/payment/SaveCardsList.res b/src/pages/payment/SaveCardsList.res index 23f349f..90fbf2b 100644 --- a/src/pages/payment/SaveCardsList.res +++ b/src/pages/payment/SaveCardsList.res @@ -1,5 +1,6 @@ open ReactNative open Style +open CardCvcValidation // @send external focus: ReactNative.CustomTouchableOpacity.ref => unit = "focus" module CVVComponent = { @@ -18,7 +19,7 @@ module CVVComponent = { isCvcFocus || savedCardCvv->Option.isNone ? true : savedCardCvv->Option.getOr("")->String.length > 0 && - Validation.cvcNumberInRange(savedCardCvv->Option.getOr(""), cardScheme) + cvcNumberInRange(savedCardCvv->Option.getOr(""), cardScheme) let localeObject = GetLocale.useGetLocalObj() @@ -60,7 +61,7 @@ module CVVComponent = { secureTextEntry=true textColor={isCvcValid ? component.color : dangerColor} iconRight=CustomIcon({ - Validation.checkCardCVC(savedCardCvv->Option.getOr(""), cardScheme) + checkCardCVC(savedCardCvv->Option.getOr(""), cardScheme) ? : }) @@ -231,7 +232,7 @@ module PaymentMethodListView = { | "NotCard" => true | _ => switch savedCardCvv { - | Some(cvv) => cvv->String.length > 0 && Validation.cvcNumberInRange(cvv, cardScheme) + | Some(cvv) => cvv->String.length > 0 && cvcNumberInRange(cvv, cardScheme) | None => !(pmObject->PaymentUtils.checkIsCVCRequired) } } diff --git a/src/pages/widgets/CardWidget.res b/src/pages/widgets/CardWidget.res index 36f647a..e846654 100644 --- a/src/pages/widgets/CardWidget.res +++ b/src/pages/widgets/CardWidget.res @@ -41,7 +41,7 @@ let make = () => { | _ => handleSuccessFailure(~apiResStatus=status, ()) } } - let (month, year) = Validation.getExpiryDates(expireDate) + let (month, year) = CardExpiryValidation.getExpiryDates(expireDate) let payment_method_data = [ ( diff --git a/src/types/RequiredFieldsTypes.res b/src/types/RequiredFieldsTypes.res index 15ddb64..850a6dd 100644 --- a/src/types/RequiredFieldsTypes.res +++ b/src/types/RequiredFieldsTypes.res @@ -220,7 +220,7 @@ let checkIsValid = ( } else { switch field_type { | Email => - switch text->ValidationFunctions.isValidEmail { + switch text->EmailValidation.isEmailValid { | Some(false) => Some(localeObject.emailInvalidText) | Some(true) => None | None => diff --git a/src/utility/logics/PaymentUtils.res b/src/utility/logics/PaymentUtils.res index 95b9f28..a0edfc8 100644 --- a/src/utility/logics/PaymentUtils.res +++ b/src/utility/logics/PaymentUtils.res @@ -20,7 +20,7 @@ let generatePaymentMethodData = ( ~cardHolderName: option<'a>, ~nickname: option<'a>, ) => { - let (month, year) = Validation.getExpiryDates(cardData.expireDate) + let (month, year) = CardExpiryValidation.getExpiryDates(cardData.expireDate) [ ( diff --git a/src/utility/logics/Utils.res b/src/utility/logics/Utils.res index e9c0232..688d800 100644 --- a/src/utility/logics/Utils.res +++ b/src/utility/logics/Utils.res @@ -233,18 +233,18 @@ let getStringFromJson = (json, default) => { json->JSON.Decode.string->Option.getOr(default) } -let toCamelCase = str => { - if str->String.includes(":") { - str - } else { - str - ->String.toLowerCase - ->Js.String2.unsafeReplaceBy0(%re(`/([-_][a-z])/g`), (letter, _, _) => { - letter->String.toUpperCase - }) - ->String.replaceRegExp(%re(`/[^a-zA-Z]/g`), "") - } -} +// let toCamelCase = str => { +// if str->String.includes(":") { +// str +// } else { +// str +// ->String.toLowerCase +// ->Js.String2.unsafeReplaceBy0(%re(`/([-_][a-z])/g`), (letter, _, _) => { +// letter->String.toUpperCase +// }) +// ->String.replaceRegExp(%re(`/[^a-zA-Z]/g`), "") +// } +// } let toSnakeCase = str => { str->Js.String2.unsafeReplaceBy0(%re("/[A-Z]/g"), (letter, _, _) => `_${letter->String.toLowerCase}` diff --git a/src/utility/reusableCodeFromWeb/CardPattern.res b/src/utility/reusableCodeFromWeb/CardPattern.res deleted file mode 100644 index cecf56f..0000000 --- a/src/utility/reusableCodeFromWeb/CardPattern.res +++ /dev/null @@ -1,103 +0,0 @@ -type patterns = { - issuer: string, - pattern: Js.Re.t, - cvcLength: array, - length: array, - maxCVCLenth: int, - pincodeRequired: bool, -} -type card = {details: array} -let defaultCardPattern = { - issuer: "", - pattern: %re("/^[0-9]/"), - cvcLength: [3], - maxCVCLenth: 3, - length: [16], - pincodeRequired: false, -} -let cardPatterns = [ - { - issuer: "Maestro", - pattern: %re( - "/^(5018|5081|5044|504681|504993|5020|502260|5038|603845|603123|6304|6759|676[1-3]|6220|504834|504817|504645|504775|600206|627741)/" - ), - cvcLength: [3, 4], - length: [12, 13, 14, 15, 16, 17, 18, 19], - maxCVCLenth: 4, - pincodeRequired: true, - }, - { - issuer: "RuPay", - pattern: %re( - "/^(508227|508[5-9]|603741|60698[5-9]|60699|607[0-8]|6079[0-7]|60798[0-4]|60800[1-9]|6080[1-9]|608[1-4]|608500|6521[5-9]|652[2-9]|6530|6531[0-4]|817290|817368|817378|353800)/" - ), - cvcLength: [3], - length: [16], - maxCVCLenth: 3, - pincodeRequired: false, - }, - { - issuer: "DinersClub", - pattern: %re("/^(36|38|30[0-5])/"), - cvcLength: [3], - maxCVCLenth: 3, - length: [14, 15, 16, 17, 18, 19], - pincodeRequired: false, - }, - { - issuer: "Discover", - pattern: %re("/^(6011|65|64[4-9]|622)/"), - cvcLength: [3], - length: [16], - maxCVCLenth: 3, - pincodeRequired: true, - }, - { - issuer: "Mastercard", - pattern: %re("/^5[1-5]/"), - cvcLength: [3], - maxCVCLenth: 3, - length: [16], - pincodeRequired: true, - }, - { - issuer: "AmericanExpress", - pattern: %re("/^3[47]/"), - cvcLength: [3, 4], - length: [14, 15], - maxCVCLenth: 4, - pincodeRequired: true, - }, - { - issuer: "Visa", - pattern: %re("/^4/"), - cvcLength: [3], - length: [13, 14, 15, 16, 19], - maxCVCLenth: 3, - pincodeRequired: true, - }, - { - issuer: "SODEXO", - pattern: %re("/^(637513)/"), - cvcLength: [3], - length: [16], - maxCVCLenth: 3, - pincodeRequired: false, - }, - { - issuer: "BAJAJ", - pattern: %re("/^(203040)/"), - cvcLength: [3], - maxCVCLenth: 3, - length: [16], - pincodeRequired: true, - }, - { - issuer: "JCB", - pattern: %re("/^35/"), - cvcLength: [3], - maxCVCLenth: 3, - length: [16], - pincodeRequired: false, - }, -] diff --git a/src/utility/reusableCodeFromWeb/PostalCodes.res b/src/utility/reusableCodeFromWeb/PostalCodes.res deleted file mode 100644 index c966ed1..0000000 --- a/src/utility/reusableCodeFromWeb/PostalCodes.res +++ /dev/null @@ -1,1787 +0,0 @@ -type postalCodes = { - @dead note: string, - @dead country: string, - iso: string, - @dead format: string, - regex: string, -} -let defaultPostalCode = { - note: "", - country: "", - iso: "", - format: "", - regex: "", -} -let postalCode = [ - { - note: "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup", - country: "Afghanistan", - iso: "AF", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "With Finland, first two numbers are 22.", - country: "Åland Islands", - iso: "AX", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Introduced in 2006, gradually implemented throughout 2007.", - country: "Albania", - iso: "AL", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "First two as in ISO 3166-2:DZ", - country: "Algeria", - iso: "DZ", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "U.S. ZIP codes (range 96799)", - country: "American Samoa", - iso: "AS", - format: "NNNNN (optionally NNNNN-NNNN or NNNNN-NNNNNN)", - regex: "^\\d{5}(-{1}\\d{4,6})$", - }, - { - note: "Each parish now has its own post code.", - country: "Andorra", - iso: "AD", - format: "CCNNN", - regex: "^[Aa][Dd]\\d{3}$", - }, - { - note: "", - country: "Angola", - iso: "AO", - format: "- no codes -", - regex: "", - }, - { - note: "Single code used for all addresses.", - country: "Anguilla", - iso: "AI", - format: "AI-2640", - regex: "^[Aa][I][-][2][6][4][0]$", - }, - { - note: "", - country: "Antigua and Barbuda", - iso: "AG", - format: "- no codes -", - regex: "", - }, - { - note: "Codigo Postal Argentino (CPA), where the first A is the province code as in ISO 3166-2:AR, the four numbers are the old postal codes, the three last letters indicate a side of the block. Previously NNNN which o the minimum requirement as of 2006.", - country: "Argentina", - iso: "AR", - format: "1974-1998 NNNN; From 1999 ANNNNAAA", - regex: "^\\d{4}|[A-Za-z]\\d{4}[a-zA-Z]{3}$", - }, - { - note: "Previously used NNNNNN system inherited from former Soviet Union.", - country: "Armenia", - iso: "AM", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Aruba", - iso: "AW", - format: "- no codes -", - regex: "", - }, - { - note: "Single code used for all addresses. Part of UK system.", - country: "Ascension island", - iso: "AC", - format: "AAAANAA one code: ASCN 1ZZ", - regex: "^[Aa][Ss][Cc][Nn]\\s{0,1}[1][Zz][Zz]$", - }, - { - note: "In general, the first digit identifies the state or territory.", - country: "Australia", - iso: "AU", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "The first digit denotes regions, which are partly identical to one of the nine provinces—called Bundesländer; the last the nearest post office in the area.", - country: "Austria", - iso: "AT", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Previously used NNNNNN system inherited from former Soviet Union.", - country: "Azerbaijan", - iso: "AZ", - format: "CCNNNN", - regex: "^[Aa][Zz]\\d{4}$", - }, - { - note: "", - country: "Bahamas", - iso: "BS", - format: "- no codes -", - regex: "", - }, - { - note: "Valid post code numbers are 101 to 1216 with gaps in the range. Known as block number (Arabic: رقم المجمع‎) formally. The first digit in NNN format and the first two digits in NNNN format refer to one of the 12 municipalities of the country. PO Box address doesn't need a block number or city name, just the PO Box number followed by the name of the country, Bahrain.", - country: "Bahrain", - iso: "BH", - format: "NNN or NNNN", - regex: "^\\d{3,4}$", - }, - { - note: "", - country: "Bangladesh", - iso: "BD", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Only one postal code currently assigned. 11000 applies to the General Post Office building in Cheapside, Bridgetown, to enable delivery to Barbados by global package delivery companies whose software requires a postal code.", - country: "Barbados", - iso: "BB", - format: "CCNNNNN", - regex: "^[Aa][Zz]\\d{5}$", - }, - { - note: "Retained system inherited from former Soviet Union.", - country: "Belarus", - iso: "BY", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "In general, the first digit gives the province.", - country: "Belgium", - iso: "BE", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Belize", - iso: "BZ", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Benin", - iso: "BJ", - format: "- no codes -", - regex: "", - }, - { - note: "AA NN for street addresses, AA AA for P.O. Box addresses. The second half of the postcode identifies the street delivery walk (e.g.: Hamilton HM 12) or the PO Box number range (e.g.: Hamilton HM BX). See Postal codes in Bermuda.", - country: "Bermuda", - iso: "BM", - format: "AA NN or AA AA", - regex: "^[A-Za-z]{2}\\s([A-Za-z]{2}|\\d{2})$", - }, - { - note: "", - country: "Bhutan", - iso: "BT", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Bolivia", - iso: "BO", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Bonaire, Sint Eustatius and Saba", - iso: "BQ", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Bosnia and Herzegovina", - iso: "BA", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Botswana", - iso: "BW", - format: "- no codes -", - regex: "", - }, - { - note: "Código de Endereçamento Postal (CEP): -000 to -899 are used for streets, roads, avenues, boulevards; -900 to -959 are used for buildings with a high postal use; -960 to -969 are for promotional use; -970 to -989 are post offices and regular P.O. boxes; and -990 to -998 are used for community P.O. boxes. -999 is used for special services.", - country: "Brazil", - iso: "BR", - format: "NNNNN-NNN (NNNNN from 1971 to 1992)", - regex: "^\\d{5}-\\d{3}$", - }, - { - note: "Single code used for all addresses.", - country: "British Antarctic Territory", - iso: "", - format: "BIQQ 1ZZ", - regex: "^[Bb][Ii][Qq]{2}\\s{0,1}[1][Zz]{2}$", - }, - { - note: "UK territory, but not UK postcode.", - country: "British Indian Ocean Territory", - iso: "IO", - format: "AAAANAA one code: BBND 1ZZ", - regex: "^[Bb]{2}[Nn][Dd]\\s{0,1}[1][Zz]{2}$", - }, - { - note: "Specifically, VG1110 through VG1160[1]", - country: "British Virgin Islands", - iso: "VG", - format: "CCNNNN", - regex: "^[Vv][Gg]\\d{4}$", - }, - { - note: "", - country: "Brunei", - iso: "BN", - format: "AANNNN", - regex: "^[A-Za-z]{2}\\d{4}$", - }, - { - note: "", - country: "Bulgaria", - iso: "BG", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Burkina Faso", - iso: "BF", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Burundi", - iso: "BI", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Cambodia", - iso: "KH", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Cameroon", - iso: "CM", - format: "- no codes -", - regex: "", - }, - { - note: "The system was gradually introduced starting in April 1971 in Ottawa. The letters D, F, I, O, Q, and U are not used to avoid confusion with other letters or numbers.", - country: "Canada", - iso: "CA", - format: "ANA NAN", - regex: "^(?=[^DdFfIiOoQqUu\\d\\s])[A-Za-z]\\d(?=[^DdFfIiOoQqUu\\d\\s])[A-Za-z]\\s{0,1}\\d(?=[^DdFfIiOoQqUu\\d\\s])[A-Za-z]\\d$", - }, - { - note: "The first digit indicates the island.", - country: "Cape Verde", - iso: "CV", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Cayman Islands", - iso: "KY", - format: "CCN-NNNN", - regex: "^[Kk][Yy]\\d[-\\s]{0,1}\\d{4}$", - }, - { - note: "", - country: "Central African Republic", - iso: "CF", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Chad", - iso: "TD", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "May only be required for bulk mail.", - country: "Chile", - iso: "CL", - format: "NNNNNNN (NNN-NNNN)", - regex: "^\\d{7}\\s\\(\\d{3}-\\d{4}\\)$", - }, - { - note: "A postal code or youbian (邮编) in a subordinate division will have the same first two digits as its governing one (see Political divisions of China. The postal services in Macau or Hong Kong Special Administrative Regions remain separate from Mainland China, with no post code system currently used.", - country: "China", - iso: "CN", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Part of the Australian postal code system.", - country: "Christmas Island", - iso: "CX", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Part of the Australian postal code system.", - country: "Cocos (Keeling) Island", - iso: "CC", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "First NN = 32 departments Códigos Postales | 4-72", - country: "Colombia", - iso: "CO", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "", - country: "Comoros", - iso: "KM", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Congo (Brazzaville)", - iso: "CG", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Congo, Democratic Republic", - iso: "CD", - format: "- no codes -", - regex: "^[Cc][Dd]$", - }, - { - note: "", - country: "Cook Islands", - iso: "CK", - format: "- no codes -", - regex: "", - }, - { - note: "First codes the provinces, next two the canton, last two the district.", - country: "Costa Rica", - iso: "CR", - format: "NNNNN (NNNN until 2007)", - regex: "^\\d{4,5}$", - }, - { - note: "", - country: "Côte d'Ivoire (Ivory Coast)", - iso: "CI", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Croatia", - iso: "HR", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "May only be required for bulk mail. The letters CP are frequently used before the postal code. This is not a country code, but an abbreviation for \"codigo postal\" or postal code.", - country: "Cuba", - iso: "CU", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Curaçao", - iso: "CW", - format: "- no codes -", - regex: "", - }, - { - note: "Post code system covers whole island, but not used in Northern Cyprus where 'Mersin 10, Turkey' is used instead.", - country: "Cyprus", - iso: "CY", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "With Slovak Republic, Poštovní směrovací číslo (PSČ) - postal routing number.", - country: "Czech Republic", - iso: "CZ", - format: "NNNNN (NNN NN)", - regex: "^\\d{5}\\s\\(\\d{3}\\s\\d{2}\\)$", - }, - { - note: "Numbering follows the dispatch of postal trains from Copenhagen.[3] Also used by Greenland, e.g.: DK-3900 Nuuk.", - country: "Denmark", - iso: "DK", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Djibouti", - iso: "DJ", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Dominica", - iso: "DM", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Dominican Republic", - iso: "DO", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "No postal code system in use since Indonesian withdrawal in 1999.", - country: "East Timor", - iso: "TL", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Ecuador", - iso: "EC", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Used for all inbound mail to El Salvador. The postal office then distributes the mail internally depending on their destination.", - country: "El Salvador", - iso: "SV", - format: "1101", - regex: "^1101$", - }, - { - note: "", - country: "Egypt", - iso: "EG", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Equatorial Guinea", - iso: "GQ", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Eritrea", - iso: "ER", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Estonia", - iso: "EE", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "The code is only used on a trial basis for Addis Ababa addresses.", - country: "Ethiopia", - iso: "ET", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "UK territory, but not UK postcode", - country: "Falkland Islands", - iso: "FK", - format: "AAAANAA one code: FIQQ 1ZZ", - regex: "^[Ff][Ii][Qq]{2}\\s{0,1}[1][Zz]{2}$", - }, - { - note: "Self-governing territory within the Kingdom of Denmark, but not Danish postcode.", - country: "Faroe Islands", - iso: "FO", - format: "NNN", - regex: "^\\d{3}$", - }, - { - note: "", - country: "Fiji", - iso: "FJ", - format: "- no codes -", - regex: "", - }, - { - note: "A lower first digit indicates a place in south (for example 00100 Helsinki), a higher indicates a place further to north (99800 in Ivalo). The last digit is usually 0, except for postal codes for PO Box number ranges, in which case it is 1. Country code for Finland: \"FI\". In the Åland Islands, the postal code is prefixed with \"AX\", not \"FI\". Some postal codes for rural settlements may end with 5, and there are some unique postal codes for large companies and institutions, e.g. 00014 HELSINGIN YLIOPISTO (university), 00102 EDUSKUNTA (parliament), 00020 NORDEA (a major Scandinavian bank).", - country: "Finland", - iso: "FI", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "The first two digits give the département number, while in Paris, Lyon and Marseille, the last two digits of the postal code indicates the arrondissement. Both of the 2 corsican départements use \"20\" as the first two digits. Also used by French overseas departments and territories. Monaco is also part of the French postal code system, but the country code MC- is used for Monegasque addresses.", - country: "France", - iso: "FR", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Overseas Department of France. French codes used. Range 97300 - 97390.", - country: "French Guiana", - iso: "GF", - format: "973NN", - regex: "^973\\d{2}$", - }, - { - note: "Overseas Department of France. French codes used. Range 98700 - 98790.", - country: "French Polynesia", - iso: "PF", - format: "987NN", - regex: "^987\\d{2}$", - }, - { - note: "French codes in the 98400 range have been reserved.", - country: "French Southern and Antarctic Territories", - iso: "TF", - format: "- no codes -", - regex: "", - }, - { - note: "Two digit postal zone goes after city name.", - country: "Gabon", - iso: "GA", - format: "NN [city name] NN", - regex: "^\\d{2}\\s[a-zA-Z-_ ]\\s\\d{2}$", - }, - { - note: "", - country: "Gambia", - iso: "GM", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Georgia", - iso: "GE", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Postleitzahl (PLZ)", - country: "Germany", - iso: "DE", - format: "NN", - regex: "^\\d{2}$", - }, - { - note: "Postleitzahl (PLZ)", - country: "Germany", - iso: "DE", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Postleitzahl (PLZ), introduced after the German reunification. Between 1989 and 1993 the old separate 4-digit postal codes of former West- and East-Germany were distinguished by preceding \"W-\" or \"O-\" ('Ost' for East).", - country: "Germany", - iso: "DE", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "[citation needed]", - country: "Ghana", - iso: "GH", - format: "- no codes -", - regex: "", - }, - { - note: "Single code used for all addresses.", - country: "Gibraltar", - iso: "GI", - format: "GX11 1AA", - regex: "^[Gg][Xx][1]{2}\\s{0,1}[1][Aa]{2}$", - }, - { - note: "", - country: "Greece", - iso: "GR", - format: "NNN NN", - regex: "^\\d{3}\\s{0,1}\\d{2}$", - }, - { - note: "Part of the Danish postal code system.", - country: "Greenland", - iso: "GL", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Grenada", - iso: "GD", - format: "- no codes -", - regex: "", - }, - { - note: "Overseas Department of France. French codes used. Range 97100 - 97190.", - country: "Guadeloupe", - iso: "GP", - format: "971NN", - regex: "^971\\d{2}$", - }, - { - note: "U.S. ZIP codes. Range 96910 - 96932.", - country: "Guam", - iso: "GU", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "The first two numbers identify the department, the third number the route and the last two the office.", - country: "Guatemala", - iso: "GT", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "UK-format postcode (first two letters are always GY not GG)", - country: "Guernsey", - iso: "GG", - format: "AAN NAA, AANN NAA", - regex: "^[A-Za-z]{2}\\d\\s{0,1}\\d[A-Za-z]{2}$", - }, - { - note: "", - country: "Guinea", - iso: "GN", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Guinea Bissau", - iso: "GW", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Guyana", - iso: "GY", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Haiti", - iso: "HT", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Part of the Australian postcode system.", - country: "Heard and McDonald Islands", - iso: "HM", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Honduras", - iso: "HN", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "[1] The dummy postal code of Hong Kong is 999077 but it is unnecessary in fact", - country: "Hong Kong", - iso: "HK", - format: "- no codes -", - regex: "", - }, - { - note: "The code defines an area, usually one code per settlement except the six largest towns. One code can identify more (usually) small settlements as well.", - country: "Hungary", - iso: "HU", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Iceland", - iso: "IS", - format: "NNN", - regex: "^\\d{3}$", - }, - { - note: "Postal Index Number (PIN)", - country: "India", - iso: "IN", - format: "NNNNNN, NNN NNN", - regex: "^\\d{6}$", - }, - { - note: "Kode Pos. Included East Timor (ranges 88xxx and 89xxx) until 1999, no longer used. For Indonesia postal code information visit [2]", - country: "Indonesia", - iso: "ID", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "(Persian: کد پستی)", - country: "Iran", - iso: "IR", - format: "NNNNN-NNNNN", - regex: "^\\d{5}-\\d{5}$", - }, - { - note: "", - country: "Iraq", - iso: "IQ", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Currently no postal codes; however, Dublin is divided into postal districts on syntax Dublin 9. A national post code system is planned. See also Republic of Ireland postal addresses.", - country: "Ireland", - iso: "IE", - format: "- no codes -", - regex: "", - }, - { - note: "UK-format postcode. The first two letters are always IM.", - country: "Isle of Man", - iso: "IM", - format: "CCN NAA, CCNN NAA", - regex: "^[Ii[Mm]\\d{1,2}\\s\\d\\[A-Z]{2}$", - }, - { - note: "Postcode is always written BEFORE the city/place name, i.e. to the Right in Hebrew or Arabic script - to the Left in Latin script. This also allows the legacy postal code version (even though deprecated) since it's still in high use.", - country: "Israel", - iso: "IL", - format: "NNNNNNN, NNNNN", - regex: "^\\b\\d{5}(\\d{2})?$", - }, - { - note: "Codice di Avviamento Postale (CAP). Also used by San Marino and Vatican City. First two digits identify province with some exceptions, because there are more than 100 provinces.", - country: "Italy", - iso: "IT", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Jamaica currently has no national postal code system, except for Kingston and Lower St. Andrew, which are divided into postal districts numbered 1-20[4] Before the 2007 suspension, the first two letters of a national post code were always 'JM' (for Jamaica) while the third was for one of the four zones (A-D) into which the island was divided. The last two letters were for the parish, while the two digits were for the local post office.[5]", - country: "Jamaica", - iso: "JM", - format: "Before suspension: CCAAANN After suspension: NN", - regex: "^\\d{2}$", - }, - { - note: "See also Japanese addressing system.", - country: "Japan", - iso: "JP", - format: "NNNNNNN (NNN-NNNN)", - regex: "^\\d{7}\\s\\(\\d{3}-\\d{4}\\)$", - }, - { - note: "UK-format postcode.", - country: "Jersey", - iso: "JE", - format: "CCN NAA", - regex: "^[Jj][Ee]\\d\\s{0,1}\\d[A-Za-z]{2}$", - }, - { - note: "Deliveries to PO Boxes only.", - country: "Jordan", - iso: "JO", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "[6]", - country: "Kazakhstan", - iso: "KZ", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Deliveries to PO Boxes only. The postal code refers to the post office at which the receiver's P. O. Box is located.", - country: "Kenya", - iso: "KE", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Kiribati", - iso: "KI", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Korea, North", - iso: "KP", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Korea, South", - iso: "KR", - format: "NNNNNN (NNN-NNN)(1988~2015)", - regex: "^\\d{6}\\s\\(\\d{3}-\\d{3}\\)$", - }, - { - note: "A separate postal code for Kosovo was introduced by the UNMIK postal administration in 2004. Serbian postcodes are still widely used in the Serbian enclaves. No country code has been assigned.", - country: "Kosovo", - iso: "XK", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "The first two digits represent the sector and the last three digits represents the post office.", - country: "Kuwait", - iso: "KW", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Kyrgyzstan", - iso: "KG", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "", - country: "Latvia", - iso: "LV", - format: "LV-NNNN", - regex: "^[Ll][Vv][- ]{0,1}\\d{4}$", - }, - { - note: "", - country: "Laos", - iso: "LA", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "The first four digits represent the region or postal zone,the last four digits represent the building see also Lebanon Postal code website.", - country: "Lebanon", - iso: "LB", - format: "NNNN NNNN", - regex: "^\\d{4}\\s{0,1}\\d{4}$", - }, - { - note: "", - country: "Lesotho", - iso: "LS", - format: "NNN", - regex: "^\\d{3}$", - }, - { - note: "Two digit postal zone after city name.", - country: "Liberia", - iso: "LR", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Libya", - iso: "LY", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "With Switzerland, ordered from west to east. Range 9485 - 9498.", - country: "Liechtenstein", - iso: "LI", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "References: http://www.post.lt/en/help/postal-code-search. Previously 9999 which was actually the old Soviet 999999 format code with the first 2 digits dropped.", - country: "Lithuania", - iso: "LT", - format: "LT-NNNNN", - regex: "^[Ll][Tt][- ]{0,1}\\d{5}$", - }, - { - note: "References: http://www.upu.int/post_code/en/countries/LUX.pdf", - country: "Luxembourg", - iso: "LU", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "[2]", - country: "Macau", - iso: "MO", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Macedonia", - iso: "MK", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Madagascar", - iso: "MG", - format: "NNN", - regex: "^\\d{3}$", - }, - { - note: "", - country: "Malawi", - iso: "MW", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Maldives", - iso: "MV", - format: "NNNN, NNNNN", - regex: "^\\d{4,5}$", - }, - { - note: "", - country: "Malaysia", - iso: "MY", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Mali", - iso: "ML", - format: "- no codes -", - regex: "", - }, - { - note: "Kodiċi Postali", - country: "Malta", - iso: "MT", - format: "AAANNNN (AAA NNNN)", - regex: "^[A-Za-z]{3}\\s{0,1}\\d{4}$", - }, - { - note: "U.S. ZIP codes. Range 96960 - 96970.", - country: "Marshall Islands", - iso: "MH", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Mauritania", - iso: "MR", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Mauritius", - iso: "MU", - format: "- no codes -", - regex: "", - }, - { - note: "Overseas Department of France. French codes used. Range 97200 - 97290.", - country: "Martinique", - iso: "MQ", - format: "972NN", - regex: "^972\\d{2}$", - }, - { - note: "Overseas Department of France. French codes used. Range 97600 - 97690.", - country: "Mayotte", - iso: "YT", - format: "976NN", - regex: "^976\\d{2}$", - }, - { - note: "US ZIP Code. Range 96941 - 96944.", - country: "Micronesia", - iso: "FM", - format: "NNNNN or NNNNN-NNNN", - regex: "^\\d{5}(-{1}\\d{4})$", - }, - { - note: "The first two digits identify the state (or a part thereof), except for Nos. 00 to 16, which indicate delegaciones (boroughs) of the Federal District (Mexico City).", - country: "Mexico", - iso: "MX", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "U.S. ZIP codes. Range 96941 - 96944.", - country: "Micronesia", - iso: "FM", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Moldova", - iso: "MD", - format: "CCNNNN (CC-NNNN)", - regex: "^[Mm][Dd][- ]{0,1}\\d{4}$", - }, - { - note: "Uses the French Postal System, but with an \"MC\" Prefix for Monaco.", - country: "Monaco", - iso: "MC", - format: "980NN", - regex: "^980\\d{2}$", - }, - { - note: "First digit: region / zone Second digit: province / district Last three digits: locality / delivery block[7]", - country: "Mongolia", - iso: "MN", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Montenegro", - iso: "ME", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Montserrat", - iso: "MS", - format: "MSR 1110-1350", - regex: "^[Mm][Ss][Rr]\\s{0,1}\\d{4}$", - }, - { - note: "", - country: "Morocco", - iso: "MA", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Mozambique", - iso: "MZ", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Myanmar", - iso: "MM", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Postal Code ranges from 9000-9299 (note: mainly 9000 is used)", - country: "Namibia", - iso: "NA", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Nauru", - iso: "NR", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Nepal", - iso: "NP", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "The combination of the postcode and the housenumber gives a unique identifier of the address.", - country: "Netherlands", - iso: "NL", - format: "NNNN AA", - regex: "^\\d{4}\\s{0,1}[A-Za-z]{2}$", - }, - { - note: "Overseas Department of France. French codes used. Range 98800 - 98890.", - country: "New Caledonia", - iso: "NC", - format: "988NN", - regex: "^988\\d{2}$", - }, - { - note: "Postcodes were originally intended for bulk mailing and were not needed for addressing individual items. However, new post codes for general use were phased in from June 2006 and came into force by July 2008.", - country: "New Zealand", - iso: "NZ", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Nicaragua", - iso: "NI", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Niger", - iso: "NE", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Nigeria", - iso: "NG", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "", - country: "Niue", - iso: "NU", - format: "- no codes -", - regex: "", - }, - { - note: "Part of the Australian postal code system.", - country: "Norfolk Island", - iso: "NF", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "U.S. ZIP codes. Range 96950 - 96952.", - country: "Northern Mariana Islands", - iso: "MP", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "From south to north", - country: "Norway", - iso: "NO", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Deliveries to P.O. Boxes only.", - country: "Oman", - iso: "OM", - format: "NNN", - regex: "^\\d{3}$", - }, - { - note: "Pakistan postal codes list", - country: "Pakistan", - iso: "PK", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "U.S. ZIP codes. All locations 96940.", - country: "Palau", - iso: "PW", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Panama", - iso: "PA", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "", - country: "Papua New Guinea", - iso: "PG", - format: "NNN", - regex: "^\\d{3}$", - }, - { - note: "", - country: "Paraguay", - iso: "PY", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Peru", - iso: "PE", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Philippines", - iso: "PH", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "UK territory, but not UK postcode", - country: "Pitcairn Islands", - iso: "PN", - format: "AAAANAA one code: PCRN 1ZZ", - regex: "^[Pp][Cc][Rr][Nn]\\s{0,1}[1][Zz]{2}$", - }, - { - note: "", - country: "Poland", - iso: "PL", - format: "NNNNN (NN-NNN)", - regex: "^\\d{2}[- ]{0,1}\\d{3}$", - }, - { - note: "", - country: "Portugal", - iso: "PT", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "", - country: "Portugal", - iso: "PT", - format: "NNNN-NNN (NNNN NNN)", - regex: "^\\d{4}[- ]{0,1}\\d{3}$", - }, - { - note: "U.S. ZIP codes. ZIP codes 006XX for NW PR, 007XX for SE PR, in which XX designates the town or post office and 009XX for the San Juan Metropolitan Area, in which XX designates the area or borough of San Juan. The last four digits identify an area within the post office. For example 00716-2604: 00716-for the east section of the city of Ponce and 2604 for Aceitillo St. in the neighborhood of Los Caobos. US Post office is changing the PR address format to the American one: 1234 No Name Avenue, San Juan, PR 00901.", - country: "Puerto Rico", - iso: "PR", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Qatar", - iso: "QA", - format: "- no codes -", - regex: "", - }, - { - note: "Overseas Department of France. French codes used. Range 97400 - 97490.", - country: "Réunion", - iso: "RE", - format: "974NN", - regex: "^974\\d{2}$", - }, - { - note: "Previously 99999 in Bucharest and 9999 in rest of country.", - country: "Romania", - iso: "RO", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Placed on a line of its own.", - country: "Russia", - iso: "RU", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Overseas Collectivity of France. French codes used.", - country: "Saint Barthélemy", - iso: "BL", - format: "97133", - regex: "^97133$", - }, - { - note: "Single code used for all addresses.", - country: "Saint Helena", - iso: "SH", - format: "STHL 1ZZ", - regex: "^[Ss][Tt][Hh][Ll]\\s{0,1}[1][Zz]{2}$", - }, - { - note: "", - country: "Saint Kitts and Nevis", - iso: "KN", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Saint Lucia", - iso: "LC", - format: "- no codes -", - regex: "", - }, - { - note: "Overseas Collectivity of France. French codes used.", - country: "Saint Martin", - iso: "MF", - format: "97150", - regex: "^97150$", - }, - { - note: "Overseas Collectivity of France. French codes used.", - country: "Saint Pierre and Miquelon", - iso: "PM", - format: "97500", - regex: "^97500$", - }, - { - note: "", - country: "Saint Vincent and the Grenadines", - iso: "VC", - format: "CCNNNN", - regex: "^[Vv][Cc]\\d{4}$", - }, - { - note: "With Italy, uses a five-digit numeric CAP of Emilia Romagna. Range 47890 and 47899", - country: "San Marino", - iso: "SM", - format: "4789N", - regex: "^4789\\d$", - }, - { - note: "", - country: "Sao Tome and Principe", - iso: "ST", - format: "- no codes -", - regex: "", - }, - { - note: "A complete 13-digit code has 5-digit number representing region, sector, city, and zone; 4-digit X between 2000 and 5999; 4-digit Y between 6000 and 9999 [3]. Digits of 5-digit code may represent postal region, sector, branch, section, and block respectively [4].", - country: "Saudi Arabia", - iso: "SA", - format: "NNNNN for PO Boxes. NNNNN-NNNN for home delivery.", - regex: "^\\d{5}(-{1}\\d{4})?$", - }, - { - note: "The letters CP or C.P. are often written in front of the postcode. This is not a country code, but simply an abbreviation for \"code postal\".", - country: "Senegal", - iso: "SN", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Poštanski adresni kod (PAK)", - country: "Serbia", - iso: "RS", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Serbia", - iso: "RS", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Seychelles", - iso: "SC", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Sint Maarten", - iso: "SX", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Sierra Leone", - iso: "SL", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Singapore", - iso: "SG", - format: "NN", - regex: "^\\d{2}$", - }, - { - note: "", - country: "Singapore", - iso: "SG", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Each building has its own unique postcode.", - country: "Singapore", - iso: "SG", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "with Czech Republic from west to east, Poštové smerovacie číslo (PSČ) - postal routing number.", - country: "Slovakia", - iso: "SK", - format: "NNNNN (NNN NN)", - regex: "^\\d{5}\\s\\(\\d{3}\\s\\d{2}\\)$", - }, - { - note: "", - country: "Slovenia", - iso: "SI", - format: "NNNN (CC-NNNN)", - regex: "^([Ss][Ii][- ]{0,1}){0,1}\\d{4}$", - }, - { - note: "", - country: "Solomon Islands", - iso: "SB", - format: "- no codes -", - regex: "", - }, - { - note: "A 5 digit code has been publicized, but never taken into use.", - country: "Somalia", - iso: "SO", - format: "- no codes -", - regex: "", - }, - { - note: "Postal codes are allocated to individual Post Office branches, some have two codes to differentiate between P.O. Boxes and street delivery addresses. Included Namibia (ranges 9000-9299) until 1992, no longer used.", - country: "South Africa", - iso: "ZA", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "One code for all addresses.", - country: "South Georgia and the South Sandwich Islands", - iso: "GS", - format: "SIQQ 1ZZ", - regex: "^[Ss][Ii][Qq]{2}\\s{0,1}[1][Zz]{2}$", - }, - { - note: "", - country: "South Korea", - iso: "KR", - format: "NNNNNN (NNN-NNN)", - regex: "^\\d{6}\\s\\(\\d{3}-\\d{3}\\)$", - }, - { - note: "First two indicate the province, range 01-52", - country: "Spain", - iso: "ES", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Reference: http://mohanjith.net/ZIPLook/ Incorporates Colombo postal districts, e.g.: Colombo 1 is \"00100\". You can search for specific postal codes here.", - country: "Sri Lanka", - iso: "LK", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Sudan", - iso: "SD", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Suriname", - iso: "SR", - format: "- no codes -", - regex: "", - }, - { - note: "The letter identifies one of the country's four districts.", - country: "Swaziland", - iso: "SZ", - format: "ANNN", - regex: "^[A-Za-z]\\d{3}$", - }, - { - note: "", - country: "Sweden", - iso: "SE", - format: "NNNNN (NNN NN)", - regex: "^\\d{3}\\s*\\d{2}$", - }, - { - note: "With Liechtenstein, ordered from west to east. In Geneva and other big cities, like Basel, Bern, Zurich, there may be one or two digits after the name of the city when the generic City code (1211) is used instead of the area-specific code (1201, 1202...), e.g.: 1211 Geneva 13. The digit identifies the post office. This addressing is generally used for P.O. box deliveries.", - country: "Switzerland", - iso: "CH", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "Norway postal codes", - country: "Svalbard and Jan Mayen", - iso: "SJ", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "A 4-digit system has been announced. Status unknown.", - country: "Syria", - iso: "SY", - format: "- no codes -", - regex: "", - }, - { - note: "The first three digits of the postal code are required; the last two digits are optional. Codes are known as youdi quhao (郵遞區號), and are also assigned to Senkaku Islands (Diaoyutai), though Japanese-administered, the Pratas Islands and the Spratly Islands. See List of postal codes in Taiwan.", - country: "Taiwan", - iso: "TW", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Retained system from former Soviet Union.", - country: "Tajikistan", - iso: "TJ", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "", - country: "Tanzania", - iso: "TZ", - format: "- no codes -", - regex: "", - }, - { - note: "The first two specify the province, numbers as in ISO 3166-2:TH, the third and fourth digits specify a district (amphoe)", - country: "Thailand", - iso: "TH", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "Togo", - iso: "TG", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Tokelau", - iso: "TK", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Tonga", - iso: "TO", - format: "- no codes -", - regex: "", - }, - { - note: "First two digits specify a postal district (one of 72), next two digits a carrier route, last two digits a building or zone along that route", - country: "Trinidad and Tobago", - iso: "TT", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Single code used for all addresses.", - country: "Tristan da Cunha", - iso: "SH", - format: "TDCU 1ZZ", - regex: "^[Tt][Dd][Cc][Uu]\\s{0,1}[1][Zz]{2}$", - }, - { - note: "", - country: "Tunisia", - iso: "TN", - format: "NNNN", - regex: "^\\d{4}$", - }, - { - note: "First two digits are the city numbers.[8]", - country: "Turkey", - iso: "TR", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Retained system from former Soviet Union.", - country: "Turkmenistan", - iso: "TM", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Single code used for all addresses.", - country: "Turks and Caicos Islands", - iso: "TC", - format: "TKCA 1ZZ", - regex: "^[Tt][Kk][Cc][Aa]\\s{0,1}[1][Zz]{2}$", - }, - { - note: "", - country: "Tuvalu", - iso: "TV", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Uganda", - iso: "UG", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Ukraine", - iso: "UA", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "", - country: "United Arab Emirates", - iso: "AE", - format: "- no codes -", - regex: "", - }, - { - note: "Known as the postcode. The first letter(s) indicate the postal area, such as the town or part of London. Placed on a separate line below the city (or county, if used). The UK postcode is made up of two parts separated by a space. These are known as the outward postcode and the inward postcode. The outward postcode is always one of the following formats: AN, ANN, AAN, AANN, ANA, AANA, AAA. The inward postcode is always formatted as NAA. A valid inward postcode never contains the letters: C, I, K, M, O or V. The British Forces Post Office has a different system, but as of 2012 has also adopted UK-style postcodes that begin with \"BF1\" for electronic compatibility.", - country: "United Kingdom", - iso: "GB", - format: "A(A)N(A/N)NAA (A[A]N[A/N] NAA)", - regex: "^[A-Z]{1,2}[0-9R][0-9A-Z]?\\s*[0-9][A-Z-[CIKMOV]]{2}", - }, - { - note: "Known as the ZIP Code with five digits 99999* or the ZIP+4 Code with nine digits 99999-9999* (while the minimum requirement is the first five digits, the U.S. Postal Service encourages everyone to use all nine). Also used by the former US Pacific Territories: Federated States of Micronesia; Palau; and the Marshall Islands, as well as in current US territories American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and the United States Virgin Islands. An individual delivery point may be represented as an 11-digit number, but these are usually represented by Intelligent Mail barcode or formerly POSTNET bar code.", - country: "United States", - iso: "US", - format: "NNNNN (optionally NNNNN-NNNN)", - regex: "^\\b\\d{5}\\b(?:[- ]{1}\\d{4})?$", - }, - { - note: "", - country: "Uruguay", - iso: "UY", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "U.S. ZIP codes. Range 00801 - 00851.", - country: "U.S. Virgin Islands", - iso: "VI", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "Почтовые индексы", - country: "Uzbekistan", - iso: "UZ", - format: "NNN NNN", - regex: "^\\d{3} \\d{3}$", - }, - { - note: "", - country: "Vanuatu", - iso: "VU", - format: "- no codes -", - regex: "", - }, - { - note: "Single code used for all addresses. Part of the Italian postal code system.", - country: "Vatican", - iso: "VA", - format: "120", - regex: "^120$", - }, - { - note: "", - country: "Venezuela", - iso: "VE", - format: "NNNN or NNNN A", - regex: "^\\d{4}(\\s[a-zA-Z]{1})?$", - }, - { - note: "First two indicate a province.", - country: "Vietnam", - iso: "VN", - format: "NNNNNN", - regex: "^\\d{6}$", - }, - { - note: "Overseas Department of France. French codes used. Range 98600 - 98690.", - country: "Wallis and Futuna", - iso: "WF", - format: "986NN", - regex: "^986\\d{2}$", - }, - { - note: "System for Sana'a Governorate using geocoding \"عنواني\" based on the OpenPostcode algorithm is inaugurated in 2014.[9]", - country: "Yemen", - iso: "YE", - format: "- no codes -", - regex: "", - }, - { - note: "", - country: "Zambia", - iso: "ZM", - format: "NNNNN", - regex: "^\\d{5}$", - }, - { - note: "System is being planned.", - country: "Zimbabwe", - iso: "ZW", - format: "- no codes -", - regex: "", - }, -] diff --git a/src/utility/reusableCodeFromWeb/Validation.res b/src/utility/reusableCodeFromWeb/Validation.res index f17ac1c..981e944 100644 --- a/src/utility/reusableCodeFromWeb/Validation.res +++ b/src/utility/reusableCodeFromWeb/Validation.res @@ -57,18 +57,6 @@ let formatCVCNumber = (val, cardType) => { clearValue->slice(0, obj.maxCVCLenth) } -let getCurrentMonthAndYear = (dateTimeIsoString: string) => { - let tempTimeDateString = dateTimeIsoString->String.replace("Z", "") - let tempTimeDate = tempTimeDateString->String.split("T") - - let date = tempTimeDate->Array.get(0)->Option.getOr("") - let dateComponents = date->String.split("-") - - let currentMonth = dateComponents->Array.get(1)->Option.getOr("") - let currentYear = dateComponents->Array.get(0)->Option.getOr("") - - (currentMonth->toInt, currentYear->toInt) -} let formatCardNumber = (val, cardType) => { let clearValue = val->clearSpaces @@ -95,20 +83,8 @@ let formatCardNumber = (val, cardType) => { formatedCard->String.trim } -let splitExpiryDates = val => { - let split = val->String.split("/") - let value = split->Array.map(item => item->String.trim) - let month = value->Array.get(0)->Option.getOr("") - let year = value->Array.get(1)->Option.getOr("") - (month, year) -} -let getExpiryDates = val => { - let date = Date.make()->Date.toISOString - let (month, year) = splitExpiryDates(val) - let (_, currentYear) = getCurrentMonthAndYear(date) - let prefix = currentYear->Int.toString->String.slice(~start=0, ~end=2) - (month, `${prefix}${year}`) -} + + let formatCardExpiryNumber = val => { let clearValue = val->clearSpaces @@ -193,37 +169,6 @@ let getCardBrand = cardNumber => { } } -let calculateLuhn = value => { - let card = value->clearSpaces - - let splitArr = card->String.split("") - splitArr->Array.reverse - let unCheckArr = splitArr->Array.filterWithIndex((_, i) => { - mod(i, 2) == 0 - }) - let checkArr = - splitArr - ->Array.filterWithIndex((_, i) => { - mod(i + 1, 2) == 0 - }) - ->Array.map(item => { - let val = item->toInt - let double = val * 2 - if double > 9 { - let str = double->Int.toString - let arr = str->String.split("") - (arr->Array.get(0)->Option.getOr("")->toInt + arr[1]->Option.getOr("")->toInt)->Int.toString - } else { - double->Int.toString - } - }) - - let sumofCheckArr = Array.reduce(checkArr, 0, (acc, val) => acc + val->toInt) - let sumofUnCheckedArr = Array.reduce(unCheckArr, 0, (acc, val) => acc + val->toInt) - let totalSum = sumofCheckArr + sumofUnCheckedArr - mod(totalSum, 10) == 0 -} - // let getCardBrandIcon = (cardType, paymentType) => { // open CardThemeType // switch cardType { @@ -250,21 +195,7 @@ let calculateLuhn = value => { // } // } -let getExpiryValidity = cardExpiry => { - let date = Date.make()->Date.toISOString - let (month, year) = getExpiryDates(cardExpiry) - let (currentMonth, currentYear) = getCurrentMonthAndYear(date) - let valid = if currentYear == year->toInt && month->toInt >= currentMonth && month->toInt <= 12 { - true - } else if ( - year->toInt > currentYear && year->toInt < 2075 && month->toInt >= 1 && month->toInt <= 12 - ) { - true - } else { - false - } - valid -} + // let max = (a, b) => { // a > b ? a : b @@ -284,17 +215,7 @@ let getExpiryValidity = cardExpiry => { // } // } -let cvcNumberInRange = (val, cardBrand) => { - let clearValue = val->clearSpaces - let obj = getobjFromCardPattern(cardBrand) - let cvcLengthInRange = - obj.cvcLength - ->Array.find(item => { - clearValue->String.length == item - }) - ->Option.isSome - cvcLengthInRange -} + // let genreateFontsLink = (fonts: array) => { // if fonts->Array.length > 0 { // fonts @@ -323,21 +244,12 @@ let cvcNumberInRange = (val, cardBrand) => { // ->ignore // } // } -let maxCardLength = cardBrand => { - let obj = getobjFromCardPattern(cardBrand) - Array.reduce(obj.length, 0, (acc, val) => acc > val ? acc : val) -} // let cardValid = (cardNumber, cardBrand) => { // let clearValue = cardNumber->clearSpaces // Array.includes(getobjFromCardPattern(cardBrand).length, clearValue->String.length) && // calculateLuhn(cardNumber) // } -let cardValid = (cardNumber, cardBrand) => { - let clearValueLength = cardNumber->clearSpaces->String.length - (clearValueLength == maxCardLength(cardBrand) || - (cardBrand === "Visa" && clearValueLength == 16)) && calculateLuhn(cardNumber) -} // let blurRef = (ref: React.ref>) => { // ref.current->Nullable.toOption->Option.forEach(input => input->blur)->ignore @@ -391,12 +303,6 @@ let cardValid = (cardNumber, cardBrand) => { // thirdIframeVal === "" ? secondIframeVal === "" ? firstIframeVal : secondIframeVal : thirdIframeVal // } -let checkCardCVC = (cvcNumber, cardBrand) => { - cvcNumber->String.length > 0 && cvcNumberInRange(cvcNumber, cardBrand) -} -let checkCardExpiry = expiry => { - expiry->String.length > 0 && getExpiryValidity(expiry) -} // let commonKeyDownEvent = (ev, srcRef, destRef, srcEle, destEle, setEle) => { // let key = ReactEvent.Keyboard.keyCode(ev) From 95c29774133a8850824c9212f4b375976e348b24 Mon Sep 17 00:00:00 2001 From: ChiragKV-Juspay Date: Mon, 30 Sep 2024 16:25:11 +0530 Subject: [PATCH 5/9] moved validation logic to shared code base --- rescript.json | 2 +- shared-code/Utils/ValidationUtils.res | 52 + shared-code/Validations/CardCvcValidation.res | 16 + .../Validations/CardExpiryValidation.res | 48 + shared-code/Validations/CardPattern.res | 103 + .../Validations/CardValidationClientCore.res | 7 + shared-code/Validations/CardValidationWeb.res | 20 + shared-code/Validations/EmailValidation.res | 10 + shared-code/Validations/PostalCodes.res | 1787 +++++++++++++++++ shared-code/Validations/ZipValidation.res | 13 + 10 files changed, 2057 insertions(+), 1 deletion(-) create mode 100644 shared-code/Utils/ValidationUtils.res create mode 100644 shared-code/Validations/CardCvcValidation.res create mode 100644 shared-code/Validations/CardExpiryValidation.res create mode 100644 shared-code/Validations/CardPattern.res create mode 100644 shared-code/Validations/CardValidationClientCore.res create mode 100644 shared-code/Validations/CardValidationWeb.res create mode 100644 shared-code/Validations/EmailValidation.res create mode 100644 shared-code/Validations/PostalCodes.res create mode 100644 shared-code/Validations/ZipValidation.res diff --git a/rescript.json b/rescript.json index 50bea9c..6bcbf19 100644 --- a/rescript.json +++ b/rescript.json @@ -17,7 +17,7 @@ "subdirs": true }, { - "dir": "../shared-code", + "dir": "shared-code", "subdirs": true } ], diff --git a/shared-code/Utils/ValidationUtils.res b/shared-code/Utils/ValidationUtils.res new file mode 100644 index 0000000..2069788 --- /dev/null +++ b/shared-code/Utils/ValidationUtils.res @@ -0,0 +1,52 @@ + +let clearSpaces = value => { + value->String.replaceRegExp(%re("/\D+/g"), "") +} + +let toInt = val => val->Int.fromString->Option.getOr(0) + +let getobjFromCardPattern = cardBrand => { + let patternsDict = CardPattern.cardPatterns + patternsDict + ->Array.filter(item => { + cardBrand === item.issuer + }) + ->Array.get(0) + ->Option.getOr(CardPattern.defaultCardPattern) +} + +let maxCardLength = cardBrand => { + let obj = getobjFromCardPattern(cardBrand) + Array.reduce(obj.length, 0, (acc, val) => acc > val ? acc : val) +} + +let calculateLuhn = value => { + let card = value->clearSpaces + + let splitArr = card->String.split("") + splitArr->Array.reverse + let unCheckArr = splitArr->Array.filterWithIndex((_, i) => { + mod(i, 2) == 0 + }) + let checkArr = + splitArr + ->Array.filterWithIndex((_, i) => { + mod(i + 1, 2) == 0 + }) + ->Array.map(item => { + let val = item->toInt + let double = val * 2 + if double > 9 { + let str = double->Int.toString + let arr = str->String.split("") + (arr->Array.get(0)->Option.getOr("")->toInt + arr[1]->Option.getOr("")->toInt)->Int.toString + } else { + double->Int.toString + } + }) + + let sumofCheckArr = Array.reduce(checkArr, 0, (acc, val) => acc + val->toInt) + let sumofUnCheckedArr = Array.reduce(unCheckArr, 0, (acc, val) => acc + val->toInt) + let totalSum = sumofCheckArr + sumofUnCheckedArr + mod(totalSum, 10) == 0 || ["3000100811111072", "4000100511112003"]->Array.includes(card) // test cards +} \ No newline at end of file diff --git a/shared-code/Validations/CardCvcValidation.res b/shared-code/Validations/CardCvcValidation.res new file mode 100644 index 0000000..8f54842 --- /dev/null +++ b/shared-code/Validations/CardCvcValidation.res @@ -0,0 +1,16 @@ +open ValidationUtils + +let cvcNumberInRange = (val, cardBrand) => { + let clearValue = val->clearSpaces + let obj = getobjFromCardPattern(cardBrand) + let cvcLengthInRange = + obj.cvcLength + ->Array.find(item => { + clearValue->String.length == item + }) + ->Option.isSome + cvcLengthInRange +} +let checkCardCVC = (cvcNumber, cardBrand) => { + cvcNumber->String.length > 0 && cvcNumberInRange(cvcNumber, cardBrand) +} diff --git a/shared-code/Validations/CardExpiryValidation.res b/shared-code/Validations/CardExpiryValidation.res new file mode 100644 index 0000000..5eb1956 --- /dev/null +++ b/shared-code/Validations/CardExpiryValidation.res @@ -0,0 +1,48 @@ +open ValidationUtils + +let splitExpiryDates = val => { + let split = val->String.split("/") + let value = split->Array.map(item => item->String.trim) + let month = value->Array.get(0)->Option.getOr("") + let year = value->Array.get(1)->Option.getOr("") + (month, year) +} + +let getCurrentMonthAndYear = (dateTimeIsoString: string) => { + let tempTimeDateString = dateTimeIsoString->String.replace("Z", "") + let tempTimeDate = tempTimeDateString->String.split("T") + + let date = tempTimeDate->Array.get(0)->Option.getOr("") + let dateComponents = date->String.split("-") + + let currentMonth = dateComponents->Array.get(1)->Option.getOr("") + let currentYear = dateComponents->Array.get(0)->Option.getOr("") + + (currentMonth->toInt, currentYear->toInt) +} +let getExpiryDates = val => { + let date = Date.make()->Date.toISOString + let (month, year) = splitExpiryDates(val) + let (_, currentYear) = getCurrentMonthAndYear(date) + let prefix = currentYear->Int.toString->String.slice(~start=0, ~end=2) + (month, `${prefix}${year}`) +} +let getExpiryValidity = cardExpiry => { + let date = Date.make()->Date.toISOString + let (month, year) = getExpiryDates(cardExpiry) + let (currentMonth, currentYear) = getCurrentMonthAndYear(date) + let valid = if currentYear == year->toInt && month->toInt >= currentMonth && month->toInt <= 12 { + true + } else if ( + year->toInt > currentYear && year->toInt < 2075 && month->toInt >= 1 && month->toInt <= 12 + ) { + true + } else { + false + } + valid +} + +let checkCardExpiry = expiry => { + expiry->String.length > 0 && getExpiryValidity(expiry) +} \ No newline at end of file diff --git a/shared-code/Validations/CardPattern.res b/shared-code/Validations/CardPattern.res new file mode 100644 index 0000000..cecf56f --- /dev/null +++ b/shared-code/Validations/CardPattern.res @@ -0,0 +1,103 @@ +type patterns = { + issuer: string, + pattern: Js.Re.t, + cvcLength: array, + length: array, + maxCVCLenth: int, + pincodeRequired: bool, +} +type card = {details: array} +let defaultCardPattern = { + issuer: "", + pattern: %re("/^[0-9]/"), + cvcLength: [3], + maxCVCLenth: 3, + length: [16], + pincodeRequired: false, +} +let cardPatterns = [ + { + issuer: "Maestro", + pattern: %re( + "/^(5018|5081|5044|504681|504993|5020|502260|5038|603845|603123|6304|6759|676[1-3]|6220|504834|504817|504645|504775|600206|627741)/" + ), + cvcLength: [3, 4], + length: [12, 13, 14, 15, 16, 17, 18, 19], + maxCVCLenth: 4, + pincodeRequired: true, + }, + { + issuer: "RuPay", + pattern: %re( + "/^(508227|508[5-9]|603741|60698[5-9]|60699|607[0-8]|6079[0-7]|60798[0-4]|60800[1-9]|6080[1-9]|608[1-4]|608500|6521[5-9]|652[2-9]|6530|6531[0-4]|817290|817368|817378|353800)/" + ), + cvcLength: [3], + length: [16], + maxCVCLenth: 3, + pincodeRequired: false, + }, + { + issuer: "DinersClub", + pattern: %re("/^(36|38|30[0-5])/"), + cvcLength: [3], + maxCVCLenth: 3, + length: [14, 15, 16, 17, 18, 19], + pincodeRequired: false, + }, + { + issuer: "Discover", + pattern: %re("/^(6011|65|64[4-9]|622)/"), + cvcLength: [3], + length: [16], + maxCVCLenth: 3, + pincodeRequired: true, + }, + { + issuer: "Mastercard", + pattern: %re("/^5[1-5]/"), + cvcLength: [3], + maxCVCLenth: 3, + length: [16], + pincodeRequired: true, + }, + { + issuer: "AmericanExpress", + pattern: %re("/^3[47]/"), + cvcLength: [3, 4], + length: [14, 15], + maxCVCLenth: 4, + pincodeRequired: true, + }, + { + issuer: "Visa", + pattern: %re("/^4/"), + cvcLength: [3], + length: [13, 14, 15, 16, 19], + maxCVCLenth: 3, + pincodeRequired: true, + }, + { + issuer: "SODEXO", + pattern: %re("/^(637513)/"), + cvcLength: [3], + length: [16], + maxCVCLenth: 3, + pincodeRequired: false, + }, + { + issuer: "BAJAJ", + pattern: %re("/^(203040)/"), + cvcLength: [3], + maxCVCLenth: 3, + length: [16], + pincodeRequired: true, + }, + { + issuer: "JCB", + pattern: %re("/^35/"), + cvcLength: [3], + maxCVCLenth: 3, + length: [16], + pincodeRequired: false, + }, +] diff --git a/shared-code/Validations/CardValidationClientCore.res b/shared-code/Validations/CardValidationClientCore.res new file mode 100644 index 0000000..7f6db6d --- /dev/null +++ b/shared-code/Validations/CardValidationClientCore.res @@ -0,0 +1,7 @@ +open ValidationUtils + +let cardValid = (cardNumber, cardBrand) => { + let clearValueLength = cardNumber->clearSpaces->String.length + (clearValueLength == maxCardLength(cardBrand) || + (cardBrand === "Visa" && clearValueLength == 16)) && calculateLuhn(cardNumber) +} \ No newline at end of file diff --git a/shared-code/Validations/CardValidationWeb.res b/shared-code/Validations/CardValidationWeb.res new file mode 100644 index 0000000..11a98ef --- /dev/null +++ b/shared-code/Validations/CardValidationWeb.res @@ -0,0 +1,20 @@ +open ValidationUtils + +@val external sdkUrl: string = "sdkUrl" + + +let isInteg = sdkUrl === "https://dev.hyperswitch.io" +let isSandbox = sdkUrl === "https://beta.hyperswitch.io" || sdkUrl === "http://localhost:9050" + +let checkIsTestCardWildcard = val => ["1111222233334444"]->Array.includes(val) + +let cardValid = (cardNumber, cardBrand) => { + let clearValueLength = cardNumber->clearSpaces->String.length + if cardBrand == "" && (isInteg || isSandbox) { + checkIsTestCardWildcard(cardNumber) + } + else { + (clearValueLength == maxCardLength(cardBrand) || + (cardBrand === "Visa" && clearValueLength == 16)) && calculateLuhn(cardNumber) + } +} \ No newline at end of file diff --git a/shared-code/Validations/EmailValidation.res b/shared-code/Validations/EmailValidation.res new file mode 100644 index 0000000..20525b3 --- /dev/null +++ b/shared-code/Validations/EmailValidation.res @@ -0,0 +1,10 @@ +let isEmailValid = email => { + switch email->String.match( + %re( + "/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/" + ), + ) { + | Some(_match) => Some(true) + | None => email->String.length > 0 ? Some(false) : None + } +} diff --git a/shared-code/Validations/PostalCodes.res b/shared-code/Validations/PostalCodes.res new file mode 100644 index 0000000..c966ed1 --- /dev/null +++ b/shared-code/Validations/PostalCodes.res @@ -0,0 +1,1787 @@ +type postalCodes = { + @dead note: string, + @dead country: string, + iso: string, + @dead format: string, + regex: string, +} +let defaultPostalCode = { + note: "", + country: "", + iso: "", + format: "", + regex: "", +} +let postalCode = [ + { + note: "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup", + country: "Afghanistan", + iso: "AF", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "With Finland, first two numbers are 22.", + country: "Åland Islands", + iso: "AX", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Introduced in 2006, gradually implemented throughout 2007.", + country: "Albania", + iso: "AL", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "First two as in ISO 3166-2:DZ", + country: "Algeria", + iso: "DZ", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "U.S. ZIP codes (range 96799)", + country: "American Samoa", + iso: "AS", + format: "NNNNN (optionally NNNNN-NNNN or NNNNN-NNNNNN)", + regex: "^\\d{5}(-{1}\\d{4,6})$", + }, + { + note: "Each parish now has its own post code.", + country: "Andorra", + iso: "AD", + format: "CCNNN", + regex: "^[Aa][Dd]\\d{3}$", + }, + { + note: "", + country: "Angola", + iso: "AO", + format: "- no codes -", + regex: "", + }, + { + note: "Single code used for all addresses.", + country: "Anguilla", + iso: "AI", + format: "AI-2640", + regex: "^[Aa][I][-][2][6][4][0]$", + }, + { + note: "", + country: "Antigua and Barbuda", + iso: "AG", + format: "- no codes -", + regex: "", + }, + { + note: "Codigo Postal Argentino (CPA), where the first A is the province code as in ISO 3166-2:AR, the four numbers are the old postal codes, the three last letters indicate a side of the block. Previously NNNN which o the minimum requirement as of 2006.", + country: "Argentina", + iso: "AR", + format: "1974-1998 NNNN; From 1999 ANNNNAAA", + regex: "^\\d{4}|[A-Za-z]\\d{4}[a-zA-Z]{3}$", + }, + { + note: "Previously used NNNNNN system inherited from former Soviet Union.", + country: "Armenia", + iso: "AM", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Aruba", + iso: "AW", + format: "- no codes -", + regex: "", + }, + { + note: "Single code used for all addresses. Part of UK system.", + country: "Ascension island", + iso: "AC", + format: "AAAANAA one code: ASCN 1ZZ", + regex: "^[Aa][Ss][Cc][Nn]\\s{0,1}[1][Zz][Zz]$", + }, + { + note: "In general, the first digit identifies the state or territory.", + country: "Australia", + iso: "AU", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "The first digit denotes regions, which are partly identical to one of the nine provinces—called Bundesländer; the last the nearest post office in the area.", + country: "Austria", + iso: "AT", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Previously used NNNNNN system inherited from former Soviet Union.", + country: "Azerbaijan", + iso: "AZ", + format: "CCNNNN", + regex: "^[Aa][Zz]\\d{4}$", + }, + { + note: "", + country: "Bahamas", + iso: "BS", + format: "- no codes -", + regex: "", + }, + { + note: "Valid post code numbers are 101 to 1216 with gaps in the range. Known as block number (Arabic: رقم المجمع‎) formally. The first digit in NNN format and the first two digits in NNNN format refer to one of the 12 municipalities of the country. PO Box address doesn't need a block number or city name, just the PO Box number followed by the name of the country, Bahrain.", + country: "Bahrain", + iso: "BH", + format: "NNN or NNNN", + regex: "^\\d{3,4}$", + }, + { + note: "", + country: "Bangladesh", + iso: "BD", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Only one postal code currently assigned. 11000 applies to the General Post Office building in Cheapside, Bridgetown, to enable delivery to Barbados by global package delivery companies whose software requires a postal code.", + country: "Barbados", + iso: "BB", + format: "CCNNNNN", + regex: "^[Aa][Zz]\\d{5}$", + }, + { + note: "Retained system inherited from former Soviet Union.", + country: "Belarus", + iso: "BY", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "In general, the first digit gives the province.", + country: "Belgium", + iso: "BE", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Belize", + iso: "BZ", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Benin", + iso: "BJ", + format: "- no codes -", + regex: "", + }, + { + note: "AA NN for street addresses, AA AA for P.O. Box addresses. The second half of the postcode identifies the street delivery walk (e.g.: Hamilton HM 12) or the PO Box number range (e.g.: Hamilton HM BX). See Postal codes in Bermuda.", + country: "Bermuda", + iso: "BM", + format: "AA NN or AA AA", + regex: "^[A-Za-z]{2}\\s([A-Za-z]{2}|\\d{2})$", + }, + { + note: "", + country: "Bhutan", + iso: "BT", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Bolivia", + iso: "BO", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Bonaire, Sint Eustatius and Saba", + iso: "BQ", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Bosnia and Herzegovina", + iso: "BA", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Botswana", + iso: "BW", + format: "- no codes -", + regex: "", + }, + { + note: "Código de Endereçamento Postal (CEP): -000 to -899 are used for streets, roads, avenues, boulevards; -900 to -959 are used for buildings with a high postal use; -960 to -969 are for promotional use; -970 to -989 are post offices and regular P.O. boxes; and -990 to -998 are used for community P.O. boxes. -999 is used for special services.", + country: "Brazil", + iso: "BR", + format: "NNNNN-NNN (NNNNN from 1971 to 1992)", + regex: "^\\d{5}-\\d{3}$", + }, + { + note: "Single code used for all addresses.", + country: "British Antarctic Territory", + iso: "", + format: "BIQQ 1ZZ", + regex: "^[Bb][Ii][Qq]{2}\\s{0,1}[1][Zz]{2}$", + }, + { + note: "UK territory, but not UK postcode.", + country: "British Indian Ocean Territory", + iso: "IO", + format: "AAAANAA one code: BBND 1ZZ", + regex: "^[Bb]{2}[Nn][Dd]\\s{0,1}[1][Zz]{2}$", + }, + { + note: "Specifically, VG1110 through VG1160[1]", + country: "British Virgin Islands", + iso: "VG", + format: "CCNNNN", + regex: "^[Vv][Gg]\\d{4}$", + }, + { + note: "", + country: "Brunei", + iso: "BN", + format: "AANNNN", + regex: "^[A-Za-z]{2}\\d{4}$", + }, + { + note: "", + country: "Bulgaria", + iso: "BG", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Burkina Faso", + iso: "BF", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Burundi", + iso: "BI", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Cambodia", + iso: "KH", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Cameroon", + iso: "CM", + format: "- no codes -", + regex: "", + }, + { + note: "The system was gradually introduced starting in April 1971 in Ottawa. The letters D, F, I, O, Q, and U are not used to avoid confusion with other letters or numbers.", + country: "Canada", + iso: "CA", + format: "ANA NAN", + regex: "^(?=[^DdFfIiOoQqUu\\d\\s])[A-Za-z]\\d(?=[^DdFfIiOoQqUu\\d\\s])[A-Za-z]\\s{0,1}\\d(?=[^DdFfIiOoQqUu\\d\\s])[A-Za-z]\\d$", + }, + { + note: "The first digit indicates the island.", + country: "Cape Verde", + iso: "CV", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Cayman Islands", + iso: "KY", + format: "CCN-NNNN", + regex: "^[Kk][Yy]\\d[-\\s]{0,1}\\d{4}$", + }, + { + note: "", + country: "Central African Republic", + iso: "CF", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Chad", + iso: "TD", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "May only be required for bulk mail.", + country: "Chile", + iso: "CL", + format: "NNNNNNN (NNN-NNNN)", + regex: "^\\d{7}\\s\\(\\d{3}-\\d{4}\\)$", + }, + { + note: "A postal code or youbian (邮编) in a subordinate division will have the same first two digits as its governing one (see Political divisions of China. The postal services in Macau or Hong Kong Special Administrative Regions remain separate from Mainland China, with no post code system currently used.", + country: "China", + iso: "CN", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Part of the Australian postal code system.", + country: "Christmas Island", + iso: "CX", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Part of the Australian postal code system.", + country: "Cocos (Keeling) Island", + iso: "CC", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "First NN = 32 departments Códigos Postales | 4-72", + country: "Colombia", + iso: "CO", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "", + country: "Comoros", + iso: "KM", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Congo (Brazzaville)", + iso: "CG", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Congo, Democratic Republic", + iso: "CD", + format: "- no codes -", + regex: "^[Cc][Dd]$", + }, + { + note: "", + country: "Cook Islands", + iso: "CK", + format: "- no codes -", + regex: "", + }, + { + note: "First codes the provinces, next two the canton, last two the district.", + country: "Costa Rica", + iso: "CR", + format: "NNNNN (NNNN until 2007)", + regex: "^\\d{4,5}$", + }, + { + note: "", + country: "Côte d'Ivoire (Ivory Coast)", + iso: "CI", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Croatia", + iso: "HR", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "May only be required for bulk mail. The letters CP are frequently used before the postal code. This is not a country code, but an abbreviation for \"codigo postal\" or postal code.", + country: "Cuba", + iso: "CU", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Curaçao", + iso: "CW", + format: "- no codes -", + regex: "", + }, + { + note: "Post code system covers whole island, but not used in Northern Cyprus where 'Mersin 10, Turkey' is used instead.", + country: "Cyprus", + iso: "CY", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "With Slovak Republic, Poštovní směrovací číslo (PSČ) - postal routing number.", + country: "Czech Republic", + iso: "CZ", + format: "NNNNN (NNN NN)", + regex: "^\\d{5}\\s\\(\\d{3}\\s\\d{2}\\)$", + }, + { + note: "Numbering follows the dispatch of postal trains from Copenhagen.[3] Also used by Greenland, e.g.: DK-3900 Nuuk.", + country: "Denmark", + iso: "DK", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Djibouti", + iso: "DJ", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Dominica", + iso: "DM", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Dominican Republic", + iso: "DO", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "No postal code system in use since Indonesian withdrawal in 1999.", + country: "East Timor", + iso: "TL", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Ecuador", + iso: "EC", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Used for all inbound mail to El Salvador. The postal office then distributes the mail internally depending on their destination.", + country: "El Salvador", + iso: "SV", + format: "1101", + regex: "^1101$", + }, + { + note: "", + country: "Egypt", + iso: "EG", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Equatorial Guinea", + iso: "GQ", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Eritrea", + iso: "ER", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Estonia", + iso: "EE", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "The code is only used on a trial basis for Addis Ababa addresses.", + country: "Ethiopia", + iso: "ET", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "UK territory, but not UK postcode", + country: "Falkland Islands", + iso: "FK", + format: "AAAANAA one code: FIQQ 1ZZ", + regex: "^[Ff][Ii][Qq]{2}\\s{0,1}[1][Zz]{2}$", + }, + { + note: "Self-governing territory within the Kingdom of Denmark, but not Danish postcode.", + country: "Faroe Islands", + iso: "FO", + format: "NNN", + regex: "^\\d{3}$", + }, + { + note: "", + country: "Fiji", + iso: "FJ", + format: "- no codes -", + regex: "", + }, + { + note: "A lower first digit indicates a place in south (for example 00100 Helsinki), a higher indicates a place further to north (99800 in Ivalo). The last digit is usually 0, except for postal codes for PO Box number ranges, in which case it is 1. Country code for Finland: \"FI\". In the Åland Islands, the postal code is prefixed with \"AX\", not \"FI\". Some postal codes for rural settlements may end with 5, and there are some unique postal codes for large companies and institutions, e.g. 00014 HELSINGIN YLIOPISTO (university), 00102 EDUSKUNTA (parliament), 00020 NORDEA (a major Scandinavian bank).", + country: "Finland", + iso: "FI", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "The first two digits give the département number, while in Paris, Lyon and Marseille, the last two digits of the postal code indicates the arrondissement. Both of the 2 corsican départements use \"20\" as the first two digits. Also used by French overseas departments and territories. Monaco is also part of the French postal code system, but the country code MC- is used for Monegasque addresses.", + country: "France", + iso: "FR", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Overseas Department of France. French codes used. Range 97300 - 97390.", + country: "French Guiana", + iso: "GF", + format: "973NN", + regex: "^973\\d{2}$", + }, + { + note: "Overseas Department of France. French codes used. Range 98700 - 98790.", + country: "French Polynesia", + iso: "PF", + format: "987NN", + regex: "^987\\d{2}$", + }, + { + note: "French codes in the 98400 range have been reserved.", + country: "French Southern and Antarctic Territories", + iso: "TF", + format: "- no codes -", + regex: "", + }, + { + note: "Two digit postal zone goes after city name.", + country: "Gabon", + iso: "GA", + format: "NN [city name] NN", + regex: "^\\d{2}\\s[a-zA-Z-_ ]\\s\\d{2}$", + }, + { + note: "", + country: "Gambia", + iso: "GM", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Georgia", + iso: "GE", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Postleitzahl (PLZ)", + country: "Germany", + iso: "DE", + format: "NN", + regex: "^\\d{2}$", + }, + { + note: "Postleitzahl (PLZ)", + country: "Germany", + iso: "DE", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Postleitzahl (PLZ), introduced after the German reunification. Between 1989 and 1993 the old separate 4-digit postal codes of former West- and East-Germany were distinguished by preceding \"W-\" or \"O-\" ('Ost' for East).", + country: "Germany", + iso: "DE", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "[citation needed]", + country: "Ghana", + iso: "GH", + format: "- no codes -", + regex: "", + }, + { + note: "Single code used for all addresses.", + country: "Gibraltar", + iso: "GI", + format: "GX11 1AA", + regex: "^[Gg][Xx][1]{2}\\s{0,1}[1][Aa]{2}$", + }, + { + note: "", + country: "Greece", + iso: "GR", + format: "NNN NN", + regex: "^\\d{3}\\s{0,1}\\d{2}$", + }, + { + note: "Part of the Danish postal code system.", + country: "Greenland", + iso: "GL", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Grenada", + iso: "GD", + format: "- no codes -", + regex: "", + }, + { + note: "Overseas Department of France. French codes used. Range 97100 - 97190.", + country: "Guadeloupe", + iso: "GP", + format: "971NN", + regex: "^971\\d{2}$", + }, + { + note: "U.S. ZIP codes. Range 96910 - 96932.", + country: "Guam", + iso: "GU", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "The first two numbers identify the department, the third number the route and the last two the office.", + country: "Guatemala", + iso: "GT", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "UK-format postcode (first two letters are always GY not GG)", + country: "Guernsey", + iso: "GG", + format: "AAN NAA, AANN NAA", + regex: "^[A-Za-z]{2}\\d\\s{0,1}\\d[A-Za-z]{2}$", + }, + { + note: "", + country: "Guinea", + iso: "GN", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Guinea Bissau", + iso: "GW", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Guyana", + iso: "GY", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Haiti", + iso: "HT", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Part of the Australian postcode system.", + country: "Heard and McDonald Islands", + iso: "HM", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Honduras", + iso: "HN", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "[1] The dummy postal code of Hong Kong is 999077 but it is unnecessary in fact", + country: "Hong Kong", + iso: "HK", + format: "- no codes -", + regex: "", + }, + { + note: "The code defines an area, usually one code per settlement except the six largest towns. One code can identify more (usually) small settlements as well.", + country: "Hungary", + iso: "HU", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Iceland", + iso: "IS", + format: "NNN", + regex: "^\\d{3}$", + }, + { + note: "Postal Index Number (PIN)", + country: "India", + iso: "IN", + format: "NNNNNN, NNN NNN", + regex: "^\\d{6}$", + }, + { + note: "Kode Pos. Included East Timor (ranges 88xxx and 89xxx) until 1999, no longer used. For Indonesia postal code information visit [2]", + country: "Indonesia", + iso: "ID", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "(Persian: کد پستی)", + country: "Iran", + iso: "IR", + format: "NNNNN-NNNNN", + regex: "^\\d{5}-\\d{5}$", + }, + { + note: "", + country: "Iraq", + iso: "IQ", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Currently no postal codes; however, Dublin is divided into postal districts on syntax Dublin 9. A national post code system is planned. See also Republic of Ireland postal addresses.", + country: "Ireland", + iso: "IE", + format: "- no codes -", + regex: "", + }, + { + note: "UK-format postcode. The first two letters are always IM.", + country: "Isle of Man", + iso: "IM", + format: "CCN NAA, CCNN NAA", + regex: "^[Ii[Mm]\\d{1,2}\\s\\d\\[A-Z]{2}$", + }, + { + note: "Postcode is always written BEFORE the city/place name, i.e. to the Right in Hebrew or Arabic script - to the Left in Latin script. This also allows the legacy postal code version (even though deprecated) since it's still in high use.", + country: "Israel", + iso: "IL", + format: "NNNNNNN, NNNNN", + regex: "^\\b\\d{5}(\\d{2})?$", + }, + { + note: "Codice di Avviamento Postale (CAP). Also used by San Marino and Vatican City. First two digits identify province with some exceptions, because there are more than 100 provinces.", + country: "Italy", + iso: "IT", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Jamaica currently has no national postal code system, except for Kingston and Lower St. Andrew, which are divided into postal districts numbered 1-20[4] Before the 2007 suspension, the first two letters of a national post code were always 'JM' (for Jamaica) while the third was for one of the four zones (A-D) into which the island was divided. The last two letters were for the parish, while the two digits were for the local post office.[5]", + country: "Jamaica", + iso: "JM", + format: "Before suspension: CCAAANN After suspension: NN", + regex: "^\\d{2}$", + }, + { + note: "See also Japanese addressing system.", + country: "Japan", + iso: "JP", + format: "NNNNNNN (NNN-NNNN)", + regex: "^\\d{7}\\s\\(\\d{3}-\\d{4}\\)$", + }, + { + note: "UK-format postcode.", + country: "Jersey", + iso: "JE", + format: "CCN NAA", + regex: "^[Jj][Ee]\\d\\s{0,1}\\d[A-Za-z]{2}$", + }, + { + note: "Deliveries to PO Boxes only.", + country: "Jordan", + iso: "JO", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "[6]", + country: "Kazakhstan", + iso: "KZ", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Deliveries to PO Boxes only. The postal code refers to the post office at which the receiver's P. O. Box is located.", + country: "Kenya", + iso: "KE", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Kiribati", + iso: "KI", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Korea, North", + iso: "KP", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Korea, South", + iso: "KR", + format: "NNNNNN (NNN-NNN)(1988~2015)", + regex: "^\\d{6}\\s\\(\\d{3}-\\d{3}\\)$", + }, + { + note: "A separate postal code for Kosovo was introduced by the UNMIK postal administration in 2004. Serbian postcodes are still widely used in the Serbian enclaves. No country code has been assigned.", + country: "Kosovo", + iso: "XK", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "The first two digits represent the sector and the last three digits represents the post office.", + country: "Kuwait", + iso: "KW", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Kyrgyzstan", + iso: "KG", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "", + country: "Latvia", + iso: "LV", + format: "LV-NNNN", + regex: "^[Ll][Vv][- ]{0,1}\\d{4}$", + }, + { + note: "", + country: "Laos", + iso: "LA", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "The first four digits represent the region or postal zone,the last four digits represent the building see also Lebanon Postal code website.", + country: "Lebanon", + iso: "LB", + format: "NNNN NNNN", + regex: "^\\d{4}\\s{0,1}\\d{4}$", + }, + { + note: "", + country: "Lesotho", + iso: "LS", + format: "NNN", + regex: "^\\d{3}$", + }, + { + note: "Two digit postal zone after city name.", + country: "Liberia", + iso: "LR", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Libya", + iso: "LY", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "With Switzerland, ordered from west to east. Range 9485 - 9498.", + country: "Liechtenstein", + iso: "LI", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "References: http://www.post.lt/en/help/postal-code-search. Previously 9999 which was actually the old Soviet 999999 format code with the first 2 digits dropped.", + country: "Lithuania", + iso: "LT", + format: "LT-NNNNN", + regex: "^[Ll][Tt][- ]{0,1}\\d{5}$", + }, + { + note: "References: http://www.upu.int/post_code/en/countries/LUX.pdf", + country: "Luxembourg", + iso: "LU", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "[2]", + country: "Macau", + iso: "MO", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Macedonia", + iso: "MK", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Madagascar", + iso: "MG", + format: "NNN", + regex: "^\\d{3}$", + }, + { + note: "", + country: "Malawi", + iso: "MW", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Maldives", + iso: "MV", + format: "NNNN, NNNNN", + regex: "^\\d{4,5}$", + }, + { + note: "", + country: "Malaysia", + iso: "MY", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Mali", + iso: "ML", + format: "- no codes -", + regex: "", + }, + { + note: "Kodiċi Postali", + country: "Malta", + iso: "MT", + format: "AAANNNN (AAA NNNN)", + regex: "^[A-Za-z]{3}\\s{0,1}\\d{4}$", + }, + { + note: "U.S. ZIP codes. Range 96960 - 96970.", + country: "Marshall Islands", + iso: "MH", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Mauritania", + iso: "MR", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Mauritius", + iso: "MU", + format: "- no codes -", + regex: "", + }, + { + note: "Overseas Department of France. French codes used. Range 97200 - 97290.", + country: "Martinique", + iso: "MQ", + format: "972NN", + regex: "^972\\d{2}$", + }, + { + note: "Overseas Department of France. French codes used. Range 97600 - 97690.", + country: "Mayotte", + iso: "YT", + format: "976NN", + regex: "^976\\d{2}$", + }, + { + note: "US ZIP Code. Range 96941 - 96944.", + country: "Micronesia", + iso: "FM", + format: "NNNNN or NNNNN-NNNN", + regex: "^\\d{5}(-{1}\\d{4})$", + }, + { + note: "The first two digits identify the state (or a part thereof), except for Nos. 00 to 16, which indicate delegaciones (boroughs) of the Federal District (Mexico City).", + country: "Mexico", + iso: "MX", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "U.S. ZIP codes. Range 96941 - 96944.", + country: "Micronesia", + iso: "FM", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Moldova", + iso: "MD", + format: "CCNNNN (CC-NNNN)", + regex: "^[Mm][Dd][- ]{0,1}\\d{4}$", + }, + { + note: "Uses the French Postal System, but with an \"MC\" Prefix for Monaco.", + country: "Monaco", + iso: "MC", + format: "980NN", + regex: "^980\\d{2}$", + }, + { + note: "First digit: region / zone Second digit: province / district Last three digits: locality / delivery block[7]", + country: "Mongolia", + iso: "MN", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Montenegro", + iso: "ME", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Montserrat", + iso: "MS", + format: "MSR 1110-1350", + regex: "^[Mm][Ss][Rr]\\s{0,1}\\d{4}$", + }, + { + note: "", + country: "Morocco", + iso: "MA", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Mozambique", + iso: "MZ", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Myanmar", + iso: "MM", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Postal Code ranges from 9000-9299 (note: mainly 9000 is used)", + country: "Namibia", + iso: "NA", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Nauru", + iso: "NR", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Nepal", + iso: "NP", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "The combination of the postcode and the housenumber gives a unique identifier of the address.", + country: "Netherlands", + iso: "NL", + format: "NNNN AA", + regex: "^\\d{4}\\s{0,1}[A-Za-z]{2}$", + }, + { + note: "Overseas Department of France. French codes used. Range 98800 - 98890.", + country: "New Caledonia", + iso: "NC", + format: "988NN", + regex: "^988\\d{2}$", + }, + { + note: "Postcodes were originally intended for bulk mailing and were not needed for addressing individual items. However, new post codes for general use were phased in from June 2006 and came into force by July 2008.", + country: "New Zealand", + iso: "NZ", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Nicaragua", + iso: "NI", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Niger", + iso: "NE", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Nigeria", + iso: "NG", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "", + country: "Niue", + iso: "NU", + format: "- no codes -", + regex: "", + }, + { + note: "Part of the Australian postal code system.", + country: "Norfolk Island", + iso: "NF", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "U.S. ZIP codes. Range 96950 - 96952.", + country: "Northern Mariana Islands", + iso: "MP", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "From south to north", + country: "Norway", + iso: "NO", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Deliveries to P.O. Boxes only.", + country: "Oman", + iso: "OM", + format: "NNN", + regex: "^\\d{3}$", + }, + { + note: "Pakistan postal codes list", + country: "Pakistan", + iso: "PK", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "U.S. ZIP codes. All locations 96940.", + country: "Palau", + iso: "PW", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Panama", + iso: "PA", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "", + country: "Papua New Guinea", + iso: "PG", + format: "NNN", + regex: "^\\d{3}$", + }, + { + note: "", + country: "Paraguay", + iso: "PY", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Peru", + iso: "PE", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Philippines", + iso: "PH", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "UK territory, but not UK postcode", + country: "Pitcairn Islands", + iso: "PN", + format: "AAAANAA one code: PCRN 1ZZ", + regex: "^[Pp][Cc][Rr][Nn]\\s{0,1}[1][Zz]{2}$", + }, + { + note: "", + country: "Poland", + iso: "PL", + format: "NNNNN (NN-NNN)", + regex: "^\\d{2}[- ]{0,1}\\d{3}$", + }, + { + note: "", + country: "Portugal", + iso: "PT", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "", + country: "Portugal", + iso: "PT", + format: "NNNN-NNN (NNNN NNN)", + regex: "^\\d{4}[- ]{0,1}\\d{3}$", + }, + { + note: "U.S. ZIP codes. ZIP codes 006XX for NW PR, 007XX for SE PR, in which XX designates the town or post office and 009XX for the San Juan Metropolitan Area, in which XX designates the area or borough of San Juan. The last four digits identify an area within the post office. For example 00716-2604: 00716-for the east section of the city of Ponce and 2604 for Aceitillo St. in the neighborhood of Los Caobos. US Post office is changing the PR address format to the American one: 1234 No Name Avenue, San Juan, PR 00901.", + country: "Puerto Rico", + iso: "PR", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Qatar", + iso: "QA", + format: "- no codes -", + regex: "", + }, + { + note: "Overseas Department of France. French codes used. Range 97400 - 97490.", + country: "Réunion", + iso: "RE", + format: "974NN", + regex: "^974\\d{2}$", + }, + { + note: "Previously 99999 in Bucharest and 9999 in rest of country.", + country: "Romania", + iso: "RO", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Placed on a line of its own.", + country: "Russia", + iso: "RU", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Overseas Collectivity of France. French codes used.", + country: "Saint Barthélemy", + iso: "BL", + format: "97133", + regex: "^97133$", + }, + { + note: "Single code used for all addresses.", + country: "Saint Helena", + iso: "SH", + format: "STHL 1ZZ", + regex: "^[Ss][Tt][Hh][Ll]\\s{0,1}[1][Zz]{2}$", + }, + { + note: "", + country: "Saint Kitts and Nevis", + iso: "KN", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Saint Lucia", + iso: "LC", + format: "- no codes -", + regex: "", + }, + { + note: "Overseas Collectivity of France. French codes used.", + country: "Saint Martin", + iso: "MF", + format: "97150", + regex: "^97150$", + }, + { + note: "Overseas Collectivity of France. French codes used.", + country: "Saint Pierre and Miquelon", + iso: "PM", + format: "97500", + regex: "^97500$", + }, + { + note: "", + country: "Saint Vincent and the Grenadines", + iso: "VC", + format: "CCNNNN", + regex: "^[Vv][Cc]\\d{4}$", + }, + { + note: "With Italy, uses a five-digit numeric CAP of Emilia Romagna. Range 47890 and 47899", + country: "San Marino", + iso: "SM", + format: "4789N", + regex: "^4789\\d$", + }, + { + note: "", + country: "Sao Tome and Principe", + iso: "ST", + format: "- no codes -", + regex: "", + }, + { + note: "A complete 13-digit code has 5-digit number representing region, sector, city, and zone; 4-digit X between 2000 and 5999; 4-digit Y between 6000 and 9999 [3]. Digits of 5-digit code may represent postal region, sector, branch, section, and block respectively [4].", + country: "Saudi Arabia", + iso: "SA", + format: "NNNNN for PO Boxes. NNNNN-NNNN for home delivery.", + regex: "^\\d{5}(-{1}\\d{4})?$", + }, + { + note: "The letters CP or C.P. are often written in front of the postcode. This is not a country code, but simply an abbreviation for \"code postal\".", + country: "Senegal", + iso: "SN", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Poštanski adresni kod (PAK)", + country: "Serbia", + iso: "RS", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Serbia", + iso: "RS", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Seychelles", + iso: "SC", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Sint Maarten", + iso: "SX", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Sierra Leone", + iso: "SL", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Singapore", + iso: "SG", + format: "NN", + regex: "^\\d{2}$", + }, + { + note: "", + country: "Singapore", + iso: "SG", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Each building has its own unique postcode.", + country: "Singapore", + iso: "SG", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "with Czech Republic from west to east, Poštové smerovacie číslo (PSČ) - postal routing number.", + country: "Slovakia", + iso: "SK", + format: "NNNNN (NNN NN)", + regex: "^\\d{5}\\s\\(\\d{3}\\s\\d{2}\\)$", + }, + { + note: "", + country: "Slovenia", + iso: "SI", + format: "NNNN (CC-NNNN)", + regex: "^([Ss][Ii][- ]{0,1}){0,1}\\d{4}$", + }, + { + note: "", + country: "Solomon Islands", + iso: "SB", + format: "- no codes -", + regex: "", + }, + { + note: "A 5 digit code has been publicized, but never taken into use.", + country: "Somalia", + iso: "SO", + format: "- no codes -", + regex: "", + }, + { + note: "Postal codes are allocated to individual Post Office branches, some have two codes to differentiate between P.O. Boxes and street delivery addresses. Included Namibia (ranges 9000-9299) until 1992, no longer used.", + country: "South Africa", + iso: "ZA", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "One code for all addresses.", + country: "South Georgia and the South Sandwich Islands", + iso: "GS", + format: "SIQQ 1ZZ", + regex: "^[Ss][Ii][Qq]{2}\\s{0,1}[1][Zz]{2}$", + }, + { + note: "", + country: "South Korea", + iso: "KR", + format: "NNNNNN (NNN-NNN)", + regex: "^\\d{6}\\s\\(\\d{3}-\\d{3}\\)$", + }, + { + note: "First two indicate the province, range 01-52", + country: "Spain", + iso: "ES", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Reference: http://mohanjith.net/ZIPLook/ Incorporates Colombo postal districts, e.g.: Colombo 1 is \"00100\". You can search for specific postal codes here.", + country: "Sri Lanka", + iso: "LK", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Sudan", + iso: "SD", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Suriname", + iso: "SR", + format: "- no codes -", + regex: "", + }, + { + note: "The letter identifies one of the country's four districts.", + country: "Swaziland", + iso: "SZ", + format: "ANNN", + regex: "^[A-Za-z]\\d{3}$", + }, + { + note: "", + country: "Sweden", + iso: "SE", + format: "NNNNN (NNN NN)", + regex: "^\\d{3}\\s*\\d{2}$", + }, + { + note: "With Liechtenstein, ordered from west to east. In Geneva and other big cities, like Basel, Bern, Zurich, there may be one or two digits after the name of the city when the generic City code (1211) is used instead of the area-specific code (1201, 1202...), e.g.: 1211 Geneva 13. The digit identifies the post office. This addressing is generally used for P.O. box deliveries.", + country: "Switzerland", + iso: "CH", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "Norway postal codes", + country: "Svalbard and Jan Mayen", + iso: "SJ", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "A 4-digit system has been announced. Status unknown.", + country: "Syria", + iso: "SY", + format: "- no codes -", + regex: "", + }, + { + note: "The first three digits of the postal code are required; the last two digits are optional. Codes are known as youdi quhao (郵遞區號), and are also assigned to Senkaku Islands (Diaoyutai), though Japanese-administered, the Pratas Islands and the Spratly Islands. See List of postal codes in Taiwan.", + country: "Taiwan", + iso: "TW", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Retained system from former Soviet Union.", + country: "Tajikistan", + iso: "TJ", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "", + country: "Tanzania", + iso: "TZ", + format: "- no codes -", + regex: "", + }, + { + note: "The first two specify the province, numbers as in ISO 3166-2:TH, the third and fourth digits specify a district (amphoe)", + country: "Thailand", + iso: "TH", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "Togo", + iso: "TG", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Tokelau", + iso: "TK", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Tonga", + iso: "TO", + format: "- no codes -", + regex: "", + }, + { + note: "First two digits specify a postal district (one of 72), next two digits a carrier route, last two digits a building or zone along that route", + country: "Trinidad and Tobago", + iso: "TT", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Single code used for all addresses.", + country: "Tristan da Cunha", + iso: "SH", + format: "TDCU 1ZZ", + regex: "^[Tt][Dd][Cc][Uu]\\s{0,1}[1][Zz]{2}$", + }, + { + note: "", + country: "Tunisia", + iso: "TN", + format: "NNNN", + regex: "^\\d{4}$", + }, + { + note: "First two digits are the city numbers.[8]", + country: "Turkey", + iso: "TR", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Retained system from former Soviet Union.", + country: "Turkmenistan", + iso: "TM", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Single code used for all addresses.", + country: "Turks and Caicos Islands", + iso: "TC", + format: "TKCA 1ZZ", + regex: "^[Tt][Kk][Cc][Aa]\\s{0,1}[1][Zz]{2}$", + }, + { + note: "", + country: "Tuvalu", + iso: "TV", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Uganda", + iso: "UG", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Ukraine", + iso: "UA", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "", + country: "United Arab Emirates", + iso: "AE", + format: "- no codes -", + regex: "", + }, + { + note: "Known as the postcode. The first letter(s) indicate the postal area, such as the town or part of London. Placed on a separate line below the city (or county, if used). The UK postcode is made up of two parts separated by a space. These are known as the outward postcode and the inward postcode. The outward postcode is always one of the following formats: AN, ANN, AAN, AANN, ANA, AANA, AAA. The inward postcode is always formatted as NAA. A valid inward postcode never contains the letters: C, I, K, M, O or V. The British Forces Post Office has a different system, but as of 2012 has also adopted UK-style postcodes that begin with \"BF1\" for electronic compatibility.", + country: "United Kingdom", + iso: "GB", + format: "A(A)N(A/N)NAA (A[A]N[A/N] NAA)", + regex: "^[A-Z]{1,2}[0-9R][0-9A-Z]?\\s*[0-9][A-Z-[CIKMOV]]{2}", + }, + { + note: "Known as the ZIP Code with five digits 99999* or the ZIP+4 Code with nine digits 99999-9999* (while the minimum requirement is the first five digits, the U.S. Postal Service encourages everyone to use all nine). Also used by the former US Pacific Territories: Federated States of Micronesia; Palau; and the Marshall Islands, as well as in current US territories American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and the United States Virgin Islands. An individual delivery point may be represented as an 11-digit number, but these are usually represented by Intelligent Mail barcode or formerly POSTNET bar code.", + country: "United States", + iso: "US", + format: "NNNNN (optionally NNNNN-NNNN)", + regex: "^\\b\\d{5}\\b(?:[- ]{1}\\d{4})?$", + }, + { + note: "", + country: "Uruguay", + iso: "UY", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "U.S. ZIP codes. Range 00801 - 00851.", + country: "U.S. Virgin Islands", + iso: "VI", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "Почтовые индексы", + country: "Uzbekistan", + iso: "UZ", + format: "NNN NNN", + regex: "^\\d{3} \\d{3}$", + }, + { + note: "", + country: "Vanuatu", + iso: "VU", + format: "- no codes -", + regex: "", + }, + { + note: "Single code used for all addresses. Part of the Italian postal code system.", + country: "Vatican", + iso: "VA", + format: "120", + regex: "^120$", + }, + { + note: "", + country: "Venezuela", + iso: "VE", + format: "NNNN or NNNN A", + regex: "^\\d{4}(\\s[a-zA-Z]{1})?$", + }, + { + note: "First two indicate a province.", + country: "Vietnam", + iso: "VN", + format: "NNNNNN", + regex: "^\\d{6}$", + }, + { + note: "Overseas Department of France. French codes used. Range 98600 - 98690.", + country: "Wallis and Futuna", + iso: "WF", + format: "986NN", + regex: "^986\\d{2}$", + }, + { + note: "System for Sana'a Governorate using geocoding \"عنواني\" based on the OpenPostcode algorithm is inaugurated in 2014.[9]", + country: "Yemen", + iso: "YE", + format: "- no codes -", + regex: "", + }, + { + note: "", + country: "Zambia", + iso: "ZM", + format: "NNNNN", + regex: "^\\d{5}$", + }, + { + note: "System is being planned.", + country: "Zimbabwe", + iso: "ZW", + format: "- no codes -", + regex: "", + }, +] diff --git a/shared-code/Validations/ZipValidation.res b/shared-code/Validations/ZipValidation.res new file mode 100644 index 0000000..663fcea --- /dev/null +++ b/shared-code/Validations/ZipValidation.res @@ -0,0 +1,13 @@ +let isValidZip = (~zipCode, ~country) => { + let countryObj = + Country.country + ->Array.find(item => item.countryName === country) + ->Option.getOr(Country.defaultTimeZone) + let postalCode = + PostalCodes.postalCode + ->Array.find(item => item.iso == countryObj.isoAlpha2) + ->Option.getOr(PostalCodes.defaultPostalCode) + + let isZipCodeValid = RegExp.test(postalCode.regex->Js.Re.fromString, zipCode) + zipCode->String.length > 0 && isZipCodeValid +} From 0ecccca9440c2ae96067bae509829ec82aa5ea65 Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Mon, 30 Sep 2024 16:31:28 +0530 Subject: [PATCH 6/9] refactor:shared-code --- shared-code/LocaleStrings/ArabicLocale.res | 164 +++++++++++++++ shared-code/LocaleStrings/BosnianLocale.res | 150 ++++++++++++++ shared-code/LocaleStrings/CatalanLocale.res | 157 ++++++++++++++ shared-code/LocaleStrings/ChineseLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/ConstantStrings.res | 10 + shared-code/LocaleStrings/CzechLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/DanishLocale.res | 151 ++++++++++++++ shared-code/LocaleStrings/DeutschLocale.res | 163 +++++++++++++++ .../LocaleStrings/DutchBelgiumLocale.res | 160 +++++++++++++++ shared-code/LocaleStrings/DutchLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/EnglishGBLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/EnglishLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/EstonianLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/FinnishLocale.res | 153 ++++++++++++++ .../LocaleStrings/FrenchBelgiumLocale.res | 163 +++++++++++++++ shared-code/LocaleStrings/FrenchLocale.res | 164 +++++++++++++++ shared-code/LocaleStrings/GreekLocale.res | 154 ++++++++++++++ shared-code/LocaleStrings/HebrewLocale.res | 163 +++++++++++++++ shared-code/LocaleStrings/IcelandicLocale.res | 151 ++++++++++++++ shared-code/LocaleStrings/ItalianLocale.res | 163 +++++++++++++++ shared-code/LocaleStrings/JapaneseLocale.res | 162 +++++++++++++++ .../LocaleStrings/LithuanianLocale.res | 153 ++++++++++++++ .../LocaleStrings/LocaleStringHelper.res | 79 +++++++ .../LocaleStrings/LocaleStringTypes.res | 194 ++++++++++++++++++ shared-code/LocaleStrings/LocalehelperWeb.res | 42 ++++ shared-code/LocaleStrings/MalayLocale.res | 152 ++++++++++++++ shared-code/LocaleStrings/NorwegianLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/PolishLocale.res | 161 +++++++++++++++ .../LocaleStrings/PortugueseLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/RussianLocale.res | 171 +++++++++++++++ shared-code/LocaleStrings/SlovakLocale.res | 150 ++++++++++++++ shared-code/LocaleStrings/SpanishLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/SwedishLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/TurkishLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/WelshLocale.res | 150 ++++++++++++++ shared-code/Utils/SharedUtils.res | 1 + src/hooks/GetLocale.res | 35 +--- src/hooks/ThemebasedStyle.res | 2 +- src/types/PaymentMethodListType.res | 2 +- src/types/SdkTypes.res | 37 +--- 40 files changed, 5227 insertions(+), 69 deletions(-) create mode 100644 shared-code/LocaleStrings/ArabicLocale.res create mode 100644 shared-code/LocaleStrings/BosnianLocale.res create mode 100644 shared-code/LocaleStrings/CatalanLocale.res create mode 100644 shared-code/LocaleStrings/ChineseLocale.res create mode 100644 shared-code/LocaleStrings/ConstantStrings.res create mode 100644 shared-code/LocaleStrings/CzechLocale.res create mode 100644 shared-code/LocaleStrings/DanishLocale.res create mode 100644 shared-code/LocaleStrings/DeutschLocale.res create mode 100644 shared-code/LocaleStrings/DutchBelgiumLocale.res create mode 100644 shared-code/LocaleStrings/DutchLocale.res create mode 100644 shared-code/LocaleStrings/EnglishGBLocale.res create mode 100644 shared-code/LocaleStrings/EnglishLocale.res create mode 100644 shared-code/LocaleStrings/EstonianLocale.res create mode 100644 shared-code/LocaleStrings/FinnishLocale.res create mode 100644 shared-code/LocaleStrings/FrenchBelgiumLocale.res create mode 100644 shared-code/LocaleStrings/FrenchLocale.res create mode 100644 shared-code/LocaleStrings/GreekLocale.res create mode 100644 shared-code/LocaleStrings/HebrewLocale.res create mode 100644 shared-code/LocaleStrings/IcelandicLocale.res create mode 100644 shared-code/LocaleStrings/ItalianLocale.res create mode 100644 shared-code/LocaleStrings/JapaneseLocale.res create mode 100644 shared-code/LocaleStrings/LithuanianLocale.res create mode 100644 shared-code/LocaleStrings/LocaleStringHelper.res create mode 100644 shared-code/LocaleStrings/LocaleStringTypes.res create mode 100644 shared-code/LocaleStrings/LocalehelperWeb.res create mode 100644 shared-code/LocaleStrings/MalayLocale.res create mode 100644 shared-code/LocaleStrings/NorwegianLocale.res create mode 100644 shared-code/LocaleStrings/PolishLocale.res create mode 100644 shared-code/LocaleStrings/PortugueseLocale.res create mode 100644 shared-code/LocaleStrings/RussianLocale.res create mode 100644 shared-code/LocaleStrings/SlovakLocale.res create mode 100644 shared-code/LocaleStrings/SpanishLocale.res create mode 100644 shared-code/LocaleStrings/SwedishLocale.res create mode 100644 shared-code/LocaleStrings/TurkishLocale.res create mode 100644 shared-code/LocaleStrings/WelshLocale.res create mode 100644 shared-code/Utils/SharedUtils.res diff --git a/shared-code/LocaleStrings/ArabicLocale.res b/shared-code/LocaleStrings/ArabicLocale.res new file mode 100644 index 0000000..8f29a55 --- /dev/null +++ b/shared-code/LocaleStrings/ArabicLocale.res @@ -0,0 +1,164 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "ar", + localeDirection: "rtl", + cardNumberLabel: `رقم البطاقة`, + inValidCardErrorText: `رقم البطاقة غير صالحة`, + inCompleteCVCErrorText: `رمز أمان بطاقتك غير مكتمل`, + inCompleteExpiryErrorText: `تاريخ انتهاء صلاحية بطاقتك غير مكتمل`, + pastExpiryErrorText: `انقضت سنة انتهاء صلاحية بطاقتك`, + poweredBy: `مدعوم من هيبيرسويتش`, + validThruText: `صالحة من خلال`, + sortCodeText: `الكود البنكى`, + accountNumberText: `رقم حساب`, + cvcTextLabel: `رمز الحماية`, + emailLabel: `البريد الإلكتروني`, + emailEmptyText: `لا يمكن أن يكون البريد الإلكتروني فارغًا`, + emailInvalidText: `عنوان البريد الإلكتروني غير صالح`, + fullNameLabel: `الاسم الكامل`, + line1Label: `العنوان سطر 1`, + line1Placeholder: `.عنوان الشارع`, + line1EmptyText: `لا يمكن أن يكون سطر العنوان 1 فارغًا`, + line2Label: `سطر العنوان 2`, + line2Placeholder: `مناسب ، رقم الوحدة ، إلخ (اختياري)`, + line2EmptyText: `لا يمكن أن يكون سطر العنوان 2 فارغًا`, + postalCodeLabel: `رمز بريدي`, + postalCodeEmptyText: `لا يمكن أن يكون الرمز البريدي فارغًا`, + postalCodeInvalidText: `الرمز البريدي غير صالح`, + stateLabel: `ولاية`, + stateEmptyText: `لا يمكن أن تكون الحالة فارغة`, + cityLabel: `مدينة`, + cityEmptyText: `لا يمكن أن تكون المدينة فارغة`, + fullNamePlaceholder: `الاسم الأول والاسم الأخير`, + countryLabel: `دولة`, + currencyLabel: `عملة`, + bankLabel: `حدد البنك`, + redirectText: `بعد تقديم طلبك ، ستتم إعادة توجيهك لإكمال عملية الشراء بشكل آمن.`, + bankDetailsText: `بعد إرسال هذه التفاصيل ، ستحصل على معلومات الحساب المصرفي لإجراء الدفع. يُرجى التأكد من تدوين ذلك.`, + orPayUsing: `أو الدفع باستخدام`, + addNewCard: `أضف بطاقة جديدة`, + useExisitingSavedCards: `استخدم البطاقات المحفوظة الموجودة`, + saveCardDetails: `حفظ تفاصيل البطاقة`, + addBankAccount: `إضافة حساب مصرفي`, + achBankDebitTerms: str => + `من خلال تقديم رقم حسابك وتأكيد هذا الدفع ، فإنك تفوض ${str} و Hyperswitch ، مزود خدمة الدفع ، لإرسال تعليمات إلى البنك الذي تتعامل معه للخصم من حسابك والبنك الخاص بك للخصم من حسابك وفقًا لهذه التعليمات. يحق لك استرداد الأموال من البنك الذي تتعامل معه بموجب شروط وأحكام اتفاقيتك مع البنك الذي تتعامل معه. يجب المطالبة باسترداد الأموال في غضون 8 أسابيع بدءًا من تاريخ الخصم من حسابك.`, + sepaDebitTerms: str => + `من خلال تقديم معلومات الدفع الخاصة بك وتأكيد هذا النموذج، فإنك تفوض (أ) ${str}، الدائن و/أو مقدمي خدمات الدفع لدينا لإرسال تعليمات إلى بنكك لسحب المبلغ من حسابك و(ب) بنكك لسحب المبلغ من حسابك وفقًا لتعليمات ${str}. كجزء من حقوقك، يحق لك استرداد من بنكك وفقًا للشروط والأحكام في اتفاقيتك مع بنكك. يجب تقديم طلب الاسترداد خلال 8 أسابيع من تاريخ خصم المبلغ من حسابك. حقوقك موضحة في بيان يمكنك الحصول عليه من بنكك.`, + becsDebitTerms: `من خلال تقديم تفاصيل حسابك المصرفي وتأكيد هذه الدفعة ، فإنك توافق على طلب الخصم المباشر هذا واتفاقية خدمة طلب الخصم المباشر وتفوض Hyperswitch Payments Australia Pty Ltd ACN 160180343 رقم معرف مستخدم الخصم المباشر 507156 ("Hyperswitch") للخصم من حسابك حساب من خلال نظام المقاصة الإلكترونية المجمعة (BECS) نيابة عن Hyperswitch Payment Widget ("التاجر") لأي مبالغ يرسلها التاجر لك بشكل منفصل. أنت تقر بأنك إما صاحب حساب أو مفوض بالتوقيع على الحساب المذكور أعلاه.`, + cardTerms: str => + `من خلال تقديم معلومات بطاقتك ، فإنك تسمح لـ ${str} بشحن بطاقتك للمدفوعات المستقبلية وفقًا لشروطها.`, + payNowButton: `ادفع الآن`, + cardNumberEmptyText: `لا يمكن أن يكون رقم البطاقة فارغاً`, + cardExpiryDateEmptyText: `لا يمكن أن يكون تاريخ انتهاء البطاقة فارغاً`, + cvcNumberEmptyText: `لا يمكن أن يكون رقم التحقق من البطاقة (CVC) فارغًا`, + enterFieldsText: `الرجاء إدخال كافة الحقول`, + enterValidDetailsText: `الرجاء إدخال تفاصيل صالحة`, + selectPaymentMethodText: `الرجاء تحديد طريقة الدفع والمحاولة مرة أخرى`, + card: `بطاقة`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`سيتم تطبيق مبلغ إضافي من${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}على هذه المعاملة`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`سيتم تطبيق مبلغ إضافي يصل إلى${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}على هذه المعاملة`)} + , + surchargeMsgAmountForOneClickWallets: `رسوم إضافية قابلة للتطبيق`, + billingNameLabel: `اسم الفواتير`, + billingNamePlaceholder: `الاسم الأول والاسم الأخير`, + cardHolderName: `إسم صاحب البطاقة`, + on: `على`, + \"and": `و`, + nameEmptyText: str => `يرجى تقديم الخاص بك ${str}`, + completeNameEmptyText: str => `يرجى تقديم كامل الخاص بك ${str}`, + billingDetailsText: `تفاصيل الفاتورة`, + socialSecurityNumberLabel: `رقم الضمان الاجتماعي`, + saveWalletDetails: `سيتم حفظ تفاصيل المحفظة عند الاختيار`, + morePaymentMethods: `المزيد من طرق الدفع`, + useExistingPaymentMethods: `استخدم طرق الدفع المحفوظة`, + cardNickname: `الاسم علي الكارت`, + nicknamePlaceholder: `اسم البطاقة (اختياري)`, + cardExpiredText: `انتهت صلاحية هذه البطاقة`, + cardHeader: `معلومات البطاقة`, + cardBrandConfiguredErrorText: str => `${str} غير مدعوم في الوقت الحالي.`, + currencyNetwork: `شبكات العملات`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `تاريخ الميلاد`, + vpaIdLabel: `معرف VPA`, + vpaIdEmptyText: `لا يمكن أن يكون معرف Vpa فارغًا`, + vpaIdInvalidText: `معرف Vpa غير صالح`, + dateofBirthRequiredText: `تاريخ الميلاد مطلوب`, + dateOfBirthInvalidText: `يجب أن يكون العمر أكبر من أو يساوي 18 عامًا`, + dateOfBirthPlaceholderText: `أدخل تاريخ الميلاد`, + formFundsInfoText: `سيتم إضافة الأموال إلى هذا الحساب`, + formFundsCreditInfoText: pmLabel => + `ستتم إضافة أموالك في ${pmLabel} المحدد.`, + formEditText: `تعديل`, + formSaveText: `حفظ`, + formSubmitText: `إرسال`, + formSubmittingText: `جاري الإرسال`, + formSubheaderBillingDetailsText: `أدخل عنوان الفوترة الخاص بك`, + formSubheaderCardText: `تفاصيل بطاقتك`, + formSubheaderAccountText: pmLabel => ` ${pmLabel} الخاصة بك`, + formHeaderReviewText: `مراجعة`, + formHeaderReviewTabLayoutText: pmLabel => `راجع تفاصيل ${pmLabel} الخاصة بك`, + formHeaderBankText: bankTransferType => `أدخل تفاصيل البنك ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `أدخل تفاصيل المحفظة ${walletTransferType}`, + formHeaderEnterCardText: `أدخل تفاصيل البطاقة`, + formHeaderSelectBankText: `اختر طريقة البنك`, + formHeaderSelectWalletText: `اختر محفظة`, + formHeaderSelectAccountText: `اختر حسابًا للدفع`, + formFieldACHRoutingNumberLabel: `رقم التوجيه`, + formFieldSepaIbanLabel: `رقم الحساب المصرفي الدولي (IBAN)`, + formFieldSepaBicLabel: `رمز تعريف البنك (اختياري)`, + formFieldPixIdLabel: `معرف Pix`, + formFieldBankAccountNumberLabel: `رقم الحساب البنكي`, + formFieldPhoneNumberLabel: `رقم الهاتف`, + formFieldCountryCodeLabel: `رمز البلد (اختياري)`, + formFieldBankNameLabel: `اسم البنك (اختياري)`, + formFieldBankCityLabel: `مدينة البنك (اختياري)`, + formFieldCardHoldernamePlaceholder: `اسمك`, + formFieldBankNamePlaceholder: `اسم البنك`, + formFieldBankCityPlaceholder: `مدينة البنك`, + formFieldEmailPlaceholder: `بريدك الإلكتروني`, + formFieldPhoneNumberPlaceholder: `هاتفك`, + formFieldInvalidRoutingNumber: `رقم التوجيه غير صالح.`, + infoCardRefId: `معرف المرجع`, + infoCardErrCode: `رمز الخطأ`, + infoCardErrMsg: `رسالة الخطأ`, + infoCardErrReason: `السبب`, + linkRedirectionText: seconds => + `إعادة التوجيه خلال ${seconds->Int.toString} ثوان ...`, + linkExpiryInfo: expiry => `تنتهي صلاحية الرابط في: ${expiry}`, + payoutFromText: merchant => `الدفع من ${merchant}`, + payoutStatusFailedMessage: `فشل في معالجة الدفع. يرجى التحقق مع مزود الخدمة للحصول على المزيد من التفاصيل.`, + payoutStatusPendingMessage: `يجب معالجة الدفع الخاص بك في غضون 2-3 أيام عمل.`, + payoutStatusSuccessMessage: `تم الدفع بنجاح. تم إيداع الأموال في طريقة الدفع المختارة.`, + payoutStatusFailedText: `فشل الدفع`, + payoutStatusPendingText: `جاري معالجة الدفع`, + payoutStatusSuccessText: `الدفع ناجح`, + pixCNPJInvalidText: `CNPJ الخاص بـ Pix غير صحيح`, + pixCNPJEmptyText: `لا يمكن أن يكون CNPJ الخاص بـ Pix فارغًا`, + pixCNPJLabel: `CNPJ الخاص بـ Pix`, + pixCNPJPlaceholder: `أدخل CNPJ الخاص بـ Pix`, + pixCPFInvalidText: `CPF الخاص بـ Pix غير صحيح`, + pixCPFEmptyText: `لا يمكن أن يكون CPF الخاص بـ Pix فارغًا`, + pixCPFLabel: `CPF الخاص بـ Pix`, + pixCPFPlaceholder: `أدخل CPF الخاص بـ Pix`, + pixKeyEmptyText: `مفتاح Pix لا يمكن أن يكون فارغًا`, + pixKeyPlaceholder: `أدخل مفتاح Pix`, + pixKeyLabel: `مفتاح Pix`, + firstName: `الاسم الأول`, + lastName: `اسم العائلة`, + billingDetails: `تفاصيل الفاتورة`, + requiredText: `مطلوب`, + lastNameRequiredText: `نشاط اسم مطلوب`, + cardExpiresText: `تنتهي`, + addPaymentMethodLabel: `أضف طريقة دفع جديدة`, + cardHolderNameRequiredText: `اسم حامل البطاقة مطلوب`, + walletDisclaimer: `سيتم حفظ تفاصيل المحفظة عند الاختيار`, + deletePaymentMethod: "", + cardDetailsLabel: "تفاصيل البطاقة", +} diff --git a/shared-code/LocaleStrings/BosnianLocale.res b/shared-code/LocaleStrings/BosnianLocale.res new file mode 100644 index 0000000..6af4d67 --- /dev/null +++ b/shared-code/LocaleStrings/BosnianLocale.res @@ -0,0 +1,150 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "bs", + localeDirection: "ltr", + cardNumberLabel: "Broj kartice", + cardDetailsLabel: "Detalji kartice", + inValidCardErrorText: "Broj kartice je nevažeći.", + inCompleteCVCErrorText: "Sigurnosni kod vaše kartice je nepotpun.", + inCompleteExpiryErrorText: "Datum isteka vaše kartice je nepotpun.", + pastExpiryErrorText: "Godina isteka vaše kartice je u prošlosti.", + poweredBy: "Pokreće Hyperswitch", + validThruText: "Istek", + sortCodeText: "Šifra za sortiranje", + cvcTextLabel: "CVC", + line1Label: "Adresa 1. red", + line1Placeholder: "Ulica i broj", + line1EmptyText: `Linija adrese 1 ne može biti prazna`, + line2Label: "Adresa 2. red", + line2Placeholder: "Stan, broj jedinice itd. (nije obavezno)", + cityLabel: "Grad", + cityEmptyText: `Grad ne može biti prazan`, + postalCodeLabel: "Poštanski broj", + postalCodeEmptyText: `Poštanski broj ne može biti prazan`, + stateLabel: "Država", + accountNumberText: "Broj računa", + emailLabel: "E-mail", + emailInvalidText: `pogrešna email adresa`, + emailEmptyText: `Email ne može biti prazan`, + fullNameLabel: "Ime i prezime", + fullNamePlaceholder: "Ime i prezime", + countryLabel: "Država", + currencyLabel: "Valuta", + bankLabel: "Odaberite banku", + redirectText: "Nakon slanja narudžbe, bit ćete preusmjereni kako biste sigurno dovršili kupovinu.", + bankDetailsText: "Nakon što pošaljete ove podatke, dobit ćete podatke o bankovnom računu kako biste izvršili plaćanje. Obavezno ih zabilježite.", + orPayUsing: "Ili platite koristeći", + addNewCard: "Dodajte kreditnu/debitnu karticu", + useExisitingSavedCards: "Koristite sačuvane debitne/kreditne kartice", + saveCardDetails: "Sačuvajte podatke o kartici", + addBankAccount: "Dodajte bankovni račun", + achBankDebitTerms: str => + `Pružanjem broja vašeg računa i potvrdom ove uplate, ovlašćujete ${str} i Hyperswitch, našeg pružatelja platnih usluga, da pošalje upute vašoj banci da tereti vaš račun i vašoj banci da tereti vaš račun u skladu s tim uputstvima. Imate pravo na povrat novca od svoje banke u skladu s uslovima i odredbama vašeg ugovora s bankom. Povrat novca morate zatražiti u roku od 8 sedmica od datuma terećenja vašeg računa.`, + sepaDebitTerms: str => + `Pružanjem vaših podataka o plaćanju i potvrdom ove uplate, ovlašćujete (A) ${str} i Hyperswitch, našeg pružatelja platnih usluga i/ili PPRO, njihovog lokalnog pružatelja usluga, da pošalje upute vašoj banci da tereti vaš račun i (B) vašu banku da tereti vaš račun u skladu s tim uputstvima. U okviru vaših prava, imate pravo na povrat novca od svoje banke u skladu s uslovima i odredbama vašeg ugovora s bankom. Povrat novca morate zatražiti u roku od 8 sedmica od datuma terećenja vašeg računa. Vaša prava su objašnjena u izjavi koju možete dobiti od svoje banke. Pristajete na primanje obavještenja o budućim terećenjima do 2 dana prije nego što se ona dogode.`, + becsDebitTerms: "Pružanjem podataka o vašem bankovnom računu i potvrdom ove uplate, pristajete na ovaj Zahtjev za direktno terećenje i Ugovor o pružanju usluga Zahtjeva za direktno terećenje i ovlašćujete Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 ID korisnika direktnog terećenja 507156 („Hyperswitch”) da tereti vaš račun putem Bulk Electronic Clearing System (BECS) u ime Hyperswitch Payment Widget („Trgovac”) za sve iznose koje vam je Trgovac odvojeno saopštio. Potvrđujete da ste vlasnik računa ili ovlašteni potpisnik na gore navedenom računu.", + cardTerms: str => + `Pružanjem podataka o kartici dopuštate da ${str} tereti karticu za buduća plaćanja u skladu s njihovim uslovima.`, + payNowButton: "Plati odmah", + cardNumberEmptyText: "Polje za broj kartice ne može biti prazno", + cardExpiryDateEmptyText: "Polje za datum isteka kartice ne može biti prazno", + cvcNumberEmptyText: "Polje za CVC broj ne može biti prazno", + enterFieldsText: "Unesite sva polja", + enterValidDetailsText: "Unesite važeće podatke", + card: "Kartica", + billingNameLabel: "Ime za naplatu", + cardHolderName: "Ime nosioca kartice", + cardNickname: "Nadimak kartice", + billingNamePlaceholder: "Ime i prezime", + firstName: "Ime", + lastName: "Prezime", + billingDetails: `Detalji naplate`, + requiredText: `Potreban`, + lastNameRequiredText: `Potrebno je prezime`, + cardExpiresText: `ističe`, + addPaymentMethodLabel: `Dodajte novi način plaćanja`, + cardHolderNameRequiredText: `Potrebno je ime vlasnika kartice`, + walletDisclaimer: `Detalji novčanika će biti sačuvani nakon odabira`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", pixKeyLabel:"", pixKeyPlaceholder:"", + deletePaymentMethod : "", } \ No newline at end of file diff --git a/shared-code/LocaleStrings/CatalanLocale.res b/shared-code/LocaleStrings/CatalanLocale.res new file mode 100644 index 0000000..35fb622 --- /dev/null +++ b/shared-code/LocaleStrings/CatalanLocale.res @@ -0,0 +1,157 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `ca`, + localeDirection: `ltr`, + cardNumberLabel: `Número de targeta`, + inValidCardErrorText: `El número de targeta no és vàlid.`, + inCompleteCVCErrorText: `El codi de seguretat de la targeta està incomplet.`, + inCompleteExpiryErrorText: `La data de venciment de la targeta està incompleta.`, + pastExpiryErrorText: `La data de venciment de la targeta ja ha passat.`, + poweredBy: `Amb tecnologia de Hyperswitch`, + validThruText: `Venciment`, + sortCodeText: `Codi de sucursal`, + cvcTextLabel: `CVC`, + line1Label: `Línia d'adreça 1`, + line1Placeholder: `Adreça postal`, + line2Label: `Línia d'adreça 2`, + line2Placeholder: `Pis, número d'apartament, etc. (opcional)`, + cityLabel: `Ciutat`, + postalCodeLabel: `Codi postal`, + stateLabel: `Estat`, + accountNumberText: `Número de compte`, + emailLabel: `Adreça electrònica`, + fullNameLabel: `Nom complet`, + fullNamePlaceholder: `Nom i cognoms`, + countryLabel: `País`, + currencyLabel: `Moneda`, + bankLabel: `Seleccioni un banc`, + redirectText: `En fer la comanda, se li redirigirà perquè completi la compra de manera segura.`, + bankDetailsText: `Després d'enviar aquestes dades, rebrà la informació del compte bancari per fer el pagament. Recordi prendre'n nota.`, + orPayUsing: `O faci el pagament mitjançant`, + addNewCard: `Afegeixi una targeta de crèdit o dèbit`, + useExisitingSavedCards: `Faci servir les targetes de dèbit o crèdit desades`, + saveCardDetails: `Desi les dades de la targeta`, + addBankAccount: `Afegeixi un compte bancari`, + achBankDebitTerms: str => + `En facilitar el número de compte i confirmar el pagament, autoritza ${str} i Hyperswitch, el nostre proveïdor de serveis de pagament, a enviar ordres al seu banc perquè apliqui els càrrecs corresponents al compte. Tindrà dret a rebre un reembossament del banc d'acord amb els termes i condicions del contracte que hi hagi subscrit. El reembossament s'ha de sol·licitar en un termini de 8 setmanes des de la data en què es va aplicar el càrrec al compte.`, + sepaDebitTerms: str => + `En proporcionar la seva informació de pagament i confirmar aquest formulari de mandat, autoritza (A) ${str}, el Creditor i/o els nostres proveïdors de serveis de pagament a enviar instruccions al seu banc per carregar el seu compte i (B) al seu banc a carregar el seu compte d’acord amb les instruccions de ${str}. Com a part dels seus drets, té dret a un reemborsament del seu banc segons els termes i condicions del seu acord amb el seu banc. El reemborsament ha de ser sol·licitat dins de les 8 setmanes següents a la data en què el seu compte va ser carregat. Els seus drets es descriuen en un document que pot obtenir al seu banc.`, + becsDebitTerms: `En facilitar les dades del compte bancari i confirmar el pagament, accepta aquesta sol·licitud de domiciliació bancària i l'acord de servei corresponent. A més, autoritza Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, amb número d'identificació d'usuari de domiciliació bancària 507156, («Hyperswitch») a aplicar càrrecs al compte a través del sistema de compensació electrònica massiva (BECS) en nom de Hyperswitch Payment Widget (el «comerç») per a qualsevol import que el comerç li comuniqui individualment. Certifica que és titular d'un compte o signatari autoritzat del compte que s'indica anteriorment.`, + cardTerms: str => + `En facilitar la informació de la targeta, permet a ${str} que faci càrrecs a la targeta per a pagaments futurs d'acord amb les seves condicions.`, + payNowButton: `Pagui ara`, + cardNumberEmptyText: `Cal indicar el número de la targeta`, + cardExpiryDateEmptyText: `Cal indicar la data de venciment de la targeta`, + cvcNumberEmptyText: `Cal indicar el número CVC`, + enterFieldsText: `Empleni tots els camps`, + enterValidDetailsText: `Introdueixi dades vàlides`, + card: `Targeta`, + billingNameLabel: `Nom de facturació`, + cardHolderName: `Nom del titular de la targeta`, + cardNickname: `Sobrenom de la targeta`, + billingNamePlaceholder: `Nom i cognom`, + emailEmptyText: `El correu electrònic no pot estar buit`, + emailInvalidText: `adressa de correu invàlida`, + line1EmptyText: `La línia d'adreça 1 no pot estar buida`, + line2EmptyText: `La línia d'adreça 2 no pot estar buida`, + cityEmptyText: `La ciutat no pot estar buida`, + postalCodeEmptyText: `El codi postal no pot estar buit`, + postalCodeInvalidText: `Codi postal no vàlid`, + stateEmptyText: `L'estat no pot estar buit`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un import de recàrrec de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}s'aplicarà per a aquesta transacció`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un recàrrec de fins a${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}s'aplicarà per a aquesta transacció`)} + , + surchargeMsgAmountForOneClickWallets: `Taxa addicional aplicable`, + on: `activat`, + \"and": `i`, + nameEmptyText: str => `Si us plau, proporcioneu el vostre${str}`, + completeNameEmptyText: str => `Si us plau, proporcioneu el vostre complet ${str}`, + billingDetailsText: `Detalls de facturació`, + socialSecurityNumberLabel: `Número de la Seguretat Social`, + saveWalletDetails: `Els detalls de les carteres es desaran en seleccionar-los`, + morePaymentMethods: `més mètodes de pagament`, + useExistingPaymentMethods: `Utilitzeu formes de pagament desades`, + nicknamePlaceholder: `Àlies de la targeta (opcional)`, + selectPaymentMethodText: `Seleccioneu una forma de pagament i torneu-ho a provar`, + cardExpiredText: `Aquesta targeta ha caducat`, + cardHeader: `Informació de la targeta`, + cardBrandConfiguredErrorText: str => `${str} no està suportat en aquest moment.`, + currencyNetwork: `Xarxes de Monedes`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Data de naixement`, + vpaIdLabel: `Vpa Id`, + vpaIdEmptyText: `L'identificador de Vpa no pot estar buit`, + vpaIdInvalidText: `Identificador de VPA no vàlid`, + dateofBirthRequiredText: `Es requereix la data de naixement`, + dateOfBirthInvalidText: `L'edat ha de ser igual o superior a 18 anys`, + dateOfBirthPlaceholderText: `Introdueix la data de naixement`, + formFundsInfoText: "Els fons seran acreditats a aquest compte", + formFundsCreditInfoText: pmLabel => + `Els teus fons seran acreditats en el ${pmLabel} seleccionat.`, + formEditText: `Editar`, + formSaveText: `Desar`, + formSubmitText: `Enviar`, + formSubmittingText: `Enviant`, + formSubheaderBillingDetailsText: `Introdueix la teva adreça de facturació`, + formSubheaderCardText: `Detalls de la teva targeta`, + formSubheaderAccountText: pmLabel => `El teu ${pmLabel}`, + formHeaderReviewText: `Revisar`, + formHeaderReviewTabLayoutText: pmLabel => `Revisa els detalls del teu ${pmLabel}`, + formHeaderBankText: bankTransferType => `Introdueix els detalls bancaris de ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Introdueix els detalls de la cartera ${walletTransferType}`, + formHeaderEnterCardText: `Introdueix els detalls de la targeta`, + formHeaderSelectBankText: `Selecciona un mètode bancari`, + formHeaderSelectWalletText: `Selecciona una cartera`, + formHeaderSelectAccountText: `Selecciona un compte per a pagaments`, + formFieldACHRoutingNumberLabel: `Número de ruta`, + formFieldSepaIbanLabel: `Número de Compte Bancari Internacional (IBAN)`, + formFieldSepaBicLabel: `Codi d'Identificació Bancària (Opcional)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Número de compte bancari`, + formFieldPhoneNumberLabel: `Número de telèfon`, + formFieldCountryCodeLabel: `Codi de país (Opcional)`, + formFieldBankNameLabel: `Nom del banc (Opcional)`, + formFieldBankCityLabel: `Ciutat del banc (Opcional)`, + formFieldCardHoldernamePlaceholder: `El teu nom`, + formFieldBankNamePlaceholder: `Nom del banc`, + formFieldBankCityPlaceholder: `Ciutat del banc`, + formFieldEmailPlaceholder: `El teu correu electrònic`, + formFieldPhoneNumberPlaceholder: `El teu telèfon`, + formFieldInvalidRoutingNumber: `El número de ruta és invàlid.`, + infoCardRefId: `ID de referència`, + infoCardErrCode: `Codi d'error`, + infoCardErrMsg: `Missatge d'error`, + infoCardErrReason: `Raó`, + linkRedirectionText: seconds => `Redirigint en ${seconds->Int.toString} segons ...`, + linkExpiryInfo: expiry => `L'enllaç caduca el: ${expiry}`, + payoutFromText: merchant => `Pagament de ${merchant}`, + payoutStatusFailedMessage: `No s'ha pogut processar el teu pagament. Comprova amb el teu proveïdor per a més detalls.`, + payoutStatusPendingMessage: `El teu pagament s'ha de processar en 2-3 dies hàbils.`, + payoutStatusSuccessMessage: `El teu pagament s'ha realitzat amb èxit. Els fons han estat ingressats en la teva modalitat de pagament seleccionada.`, + payoutStatusFailedText: `Pagament fallit`, + payoutStatusPendingText: `Processant el pagament`, + payoutStatusSuccessText: `Pagament realitzat`, + pixCNPJInvalidText: `CNPJ Pix no vàlid`, + pixCNPJEmptyText: `El CNPJ Pix no pot estar buit`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Introdueix el CNPJ Pix`, + pixCPFInvalidText: `CPF Pix no vàlid`, + pixCPFEmptyText: `El CPF Pix no pot estar buit`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Introdueix el CPF Pix`, + pixKeyEmptyText: `La clau Pix no pot estar buida`, + pixKeyPlaceholder: `Introdueix la clau Pix`, + pixKeyLabel: `Clau Pix`, + cardDetailsLabel: "", firstName: "", + lastName : "",billingDetails: "", requiredText: "", cardHolderNameRequiredText: "", + lastNameRequiredText: "", cardExpiresText: "", addPaymentMethodLabel: "", + walletDisclaimer: "", + deletePaymentMethod : "", +} diff --git a/shared-code/LocaleStrings/ChineseLocale.res b/shared-code/LocaleStrings/ChineseLocale.res new file mode 100644 index 0000000..121cd4b --- /dev/null +++ b/shared-code/LocaleStrings/ChineseLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `zh`, + localeDirection: `ltr`, + cardNumberLabel: `卡号`, + inValidCardErrorText: `卡号无效。`, + inCompleteCVCErrorText: `您的卡片安全码不完整。`, + inCompleteExpiryErrorText: `您的卡片到期日期不完整。`, + pastExpiryErrorText: `您的卡片到期年份已过期。`, + poweredBy: `由 Hyperswitch 提供技术支持`, + validThruText: `有效期`, + sortCodeText: `排序代码`, + cvcTextLabel: `CVC`, + line1Label: `地址行 1`, + line1Placeholder: `街道地址`, + line1EmptyText: `地址行 1 不能为空`, + line2Label: `地址行 2`, + line2Placeholder: `公寓、单元号等(可选)`, + line2EmptyText: `地址行 2 不能为空`, + cityLabel: `城市`, + cityEmptyText: `城市不能为空`, + postalCodeLabel: `邮政编码`, + postalCodeEmptyText: `邮政编码不能为空`, + postalCodeInvalidText: `无效的邮政编码`, + stateLabel: `省/州`, + stateEmptyText: `省/州不能为空`, + accountNumberText: `账户号码`, + emailLabel: `电子邮箱`, + emailEmptyText: `电子邮箱不能为空`, + emailInvalidText: `无效的电子邮箱地址`, + fullNameLabel: `全名`, + fullNamePlaceholder: `名字和姓氏`, + countryLabel: `国家`, + currencyLabel: `货币`, + bankLabel: `选择银行`, + redirectText: `提交订单后,您将被重定向到安全的页面完成购买。`, + bankDetailsText: `提交这些信息后,您将获得银行账户信息以进行付款。请确保记录下来。`, + orPayUsing: `或使用`, + addNewCard: `添加信用卡/借记卡`, + useExisitingSavedCards: `使用保存的信用卡/借记卡`, + saveCardDetails: `保存卡片信息`, + addBankAccount: `添加银行账户`, + achBankDebitTerms: _ => + `您的 ACH 扣款授权将立即设置,但我们会确认金额并在未来的付款前通知您。`, + sepaDebitTerms: str => + `通过提供您的支付信息并确认此授权书表格,您授权 (A) ${str},债权人和/或我们的支付服务提供商向您的银行发送指令以从您的账户中扣款,以及 (B) 您的银行按照 ${str} 的指示从您的账户中扣款。作为您权利的一部分,您有权根据与银行的协议条款和条件从您的银行获得退款。退款请求必须在从您的账户被扣款之日起的 8 周内提出。您的权利在您可以从银行获取的声明中有详细说明。`, + becsDebitTerms: `通过提供您的银行账户详细信息并确认此付款,您同意此直接借记请求和直接借记请求服务协议,并授权 Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 直接借记用户 ID 号码 507156(“Hyperswitch”)通过批量电子清算系统(BECS)从您的账户中扣款,代表 Hyperswitch Payment Widget(“商户”)处理任何商户单独通知您的金额。您确认您是上述账户的账户持有人或授权签署人。`, + cardTerms: str => + `通过提供您的卡片信息,您允许 ${str} 根据其条款向您的卡片收费。`, + payNowButton: `立即支付`, + cardNumberEmptyText: `卡号不能为空`, + cardExpiryDateEmptyText: `卡片到期日期不能为空`, + cvcNumberEmptyText: `CVC 号码不能为空`, + enterFieldsText: `请输入所有字段`, + enterValidDetailsText: `请输入有效的详细信息`, + selectPaymentMethodText: `请选择付款方式然后重试`, + card: `卡片`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`此交易将收取${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}的附加费用`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`此交易将收取最高${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}的附加费用`)} + , + surchargeMsgAmountForOneClickWallets: `适用额外费用`, + billingNameLabel: `适用额外费用`, + billingNamePlaceholder: `名字和姓氏`, + cardHolderName: `持卡人姓名`, + on: `在`, + \"and": `和`, + nameEmptyText: str => `请提供您的 ${str}`, + completeNameEmptyText: str => `请提供您的完整 ${str}`, + billingDetailsText: `账单详情`, + socialSecurityNumberLabel: `社会安全号码`, + saveWalletDetails: `选择后将保存钱包信息`, + morePaymentMethods: `更多支付方式`, + useExistingPaymentMethods: `使用保存的支付方式`, + cardNickname: `卡片昵称`, + nicknamePlaceholder: `卡片昵称(可选)`, + cardExpiredText: `此卡已过期`, + cardHeader: `卡片信息`, + cardBrandConfiguredErrorText: str => `${str} 目前不支持。`, + currencyNetwork: `货币网络`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `出生日期`, + vpaIdLabel: `VPA ID`, + vpaIdEmptyText: `VPA ID 不能为空`, + vpaIdInvalidText: `无效的 VPA ID 地址`, + dateofBirthRequiredText: `出生日期是必填项`, + dateOfBirthInvalidText: `年龄应大于或等于 18 岁`, + dateOfBirthPlaceholderText: `输入出生日期`, + formFundsInfoText: `资金将记入此账户`, + formFundsCreditInfoText: pmLabel => `您的资金将以所选的${pmLabel}记入。`, + formEditText: `编辑`, + formSaveText: `保存`, + formSubmitText: `提交`, + formSubmittingText: `提交中`, + formSubheaderBillingDetailsText: `输入您的账单地址`, + formSubheaderCardText: `您的卡信息`, + formSubheaderAccountText: pmLabel => `您的${pmLabel}`, + formHeaderReviewText: `审核`, + formHeaderReviewTabLayoutText: pmLabel => `审核您的${pmLabel}详细信息`, + formHeaderBankText: bankTransferType => `输入${bankTransferType}银行详细信息`, + formHeaderWalletText: walletTransferType => `输入${walletTransferType}钱包详细信息`, + formHeaderEnterCardText: `输入卡信息`, + formHeaderSelectBankText: `选择一种银行方法`, + formHeaderSelectWalletText: `选择一个钱包`, + formHeaderSelectAccountText: `选择一个账户进行付款`, + formFieldACHRoutingNumberLabel: `路由号码`, + formFieldSepaIbanLabel: `国际银行账户号码 (IBAN)`, + formFieldSepaBicLabel: `银行标识码 (可选)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `银行账户号码`, + formFieldPhoneNumberLabel: `电话号码`, + formFieldCountryCodeLabel: `国家代码 (可选)`, + formFieldBankNameLabel: `银行名称 (可选)`, + formFieldBankCityLabel: `银行城市 (可选)`, + formFieldCardHoldernamePlaceholder: `您的姓名`, + formFieldBankNamePlaceholder: `银行名称`, + formFieldBankCityPlaceholder: `银行城市`, + formFieldEmailPlaceholder: `您的电子邮件`, + formFieldPhoneNumberPlaceholder: `您的电话`, + formFieldInvalidRoutingNumber: `路由号码无效。`, + infoCardRefId: `参考编号`, + infoCardErrCode: `错误代码`, + infoCardErrMsg: `错误信息`, + infoCardErrReason: `原因`, + linkRedirectionText: seconds => `${seconds->Int.toString}秒后重定向...`, + linkExpiryInfo: expiry => `链接到期日期:${expiry}`, + payoutFromText: merchant => `来自${merchant}的付款`, + payoutStatusFailedMessage: `处理您的付款失败。请与您的提供商联系以获取更多详细信息。`, + payoutStatusPendingMessage: `您的付款应在2-3个工作日内处理。`, + payoutStatusSuccessMessage: `您的付款已成功。资金已存入您选择的支付方式。`, + payoutStatusFailedText: `付款失败`, + payoutStatusPendingText: `付款处理中`, + payoutStatusSuccessText: `付款成功`, + pixCNPJInvalidText: `无效的 Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ 不能为空`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `输入 Pix CNPJ`, + pixCPFInvalidText: `无效的 Pix CPF`, + pixCPFEmptyText: `Pix CPF 不能为空`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `输入 Pix CPF`, + pixKeyEmptyText: `Pix 密钥不能为空`, + pixKeyPlaceholder: `输入 Pix 密钥`, + pixKeyLabel: `Pix 密钥`, + cardDetailsLabel: "", + firstName: "", + lastName: "", + billingDetails: "", + requiredText: "", + cardHolderNameRequiredText: "", + lastNameRequiredText: "", + cardExpiresText: "", + addPaymentMethodLabel: "", + walletDisclaimer: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/ConstantStrings.res b/shared-code/LocaleStrings/ConstantStrings.res new file mode 100644 index 0000000..54b23b0 --- /dev/null +++ b/shared-code/LocaleStrings/ConstantStrings.res @@ -0,0 +1,10 @@ +let constantStrings: LocaleStringTypes.constantStrings = { + formFieldCardNumberPlaceholder: `****** 4242`, + formFieldACHRoutingNumberPlaceholder: `110000000`, + formFieldAccountNumberPlaceholder: `**** 6789`, + formFieldSortCodePlaceholder: `11000`, + formFieldSepaIbanPlaceholder: `NL **** 6789`, + formFieldSepaBicPlaceholder: `ABNANL2A`, + formFieldPixIdPlaceholder: `**** 3251`, + formFieldBankAccountNumberPlaceholder: `**** 1232`, +} diff --git a/shared-code/LocaleStrings/CzechLocale.res b/shared-code/LocaleStrings/CzechLocale.res new file mode 100644 index 0000000..3238f86 --- /dev/null +++ b/shared-code/LocaleStrings/CzechLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "cs", + localeDirection: "ltr", + cardDetailsLabel: "Detaily karty", + cardNumberLabel: "Číslo karty", + inValidCardErrorText: "Číslo karty je neplatné.", + inCompleteCVCErrorText: "Bezpečnostní kód karty je neúplný.", + inCompleteExpiryErrorText: "Datum vypršení platnosti karty je neúplné.", + pastExpiryErrorText: "Rok vypršení platnosti karty je v minulosti.", + poweredBy: "Využívá technologii Hyperswitch", + validThruText: "Datum ukončení platnosti", + sortCodeText: "Variabilní symbol", + cvcTextLabel: "CVC", + line1Label: "Adresa, řádek 1", + line1Placeholder: "Ulice", + line1EmptyText: `Adresový řádek 1 nemůže být prázdný`, + line2Label: "Adresa, řádek 2", + line2Placeholder: "Byt, číslo jednotky atd. (nepovinné)", + cityLabel: "Město", + cityEmptyText: `Město nemůže být prázdné`, + postalCodeLabel: "PSČ", + postalCodeEmptyText: `Poštovní kód nemůže být prázdný`, + stateLabel: "Stát", + accountNumberText: "Číslo účtu", + emailLabel: "E-mail", + emailInvalidText: `neplatná emailová adresa`, + emailEmptyText: `E-mail nesmí být prázdný`, + fullNameLabel: "Celé jméno", + fullNamePlaceholder: "Jméno a příjmení", + countryLabel: "Země", + currencyLabel: "Měna", + bankLabel: "Vybrat banku", + redirectText: "Po odeslání objednávky budete přesměrováni za účelem bezpečného dokončení nákupu.", + bankDetailsText: "Po odeslání těchto údajů obdržíte údaje o bankovním účtu, na který pošlete platbu. Nezapomeňte si je prosím poznamenat.", + orPayUsing: "Nebo zaplaťte pomocí", + addNewCard: "Přidat novou kreditní/debetní kartu", + useExisitingSavedCards: "Použít uložené debetní/kreditní karty", + saveCardDetails: "Uložit údaje o kartě", + addBankAccount: "Přidat bankovní účet", + achBankDebitTerms: str => + `Poskytnutím čísla účtu a potvrzením této platby opravňujete společnost ${str} a Hyperswitch, našeho poskytovatele platebních služeb, k odeslání pokynů vaší bance ohledně odepsání částky z vašeho účtu a také opravňujete vaši banku k odepsání částky z vašeho účtu v souladu s těmito pokyny. V souladu s podmínkami vaší smlouvy s bankou máte nárok na vrácení peněz od své banky. O vrácení je třeba požádat do 8 týdnů od data odepsání z vašeho účtu.`, + sepaDebitTerms: str => + `Poskytnutím platebních údajů a potvrzením této platby opravňujete (A) ${str} a Hyperswitch, našeho poskytovatele platebních služeb, a/nebo společnost PPRO, jejího místního poskytovatele služeb, aby vaší bance zaslali pokyny k odepsání částky z vašeho účtu a (B) svoji banku opravňujete k tomu, aby odepsala částku z vašeho účtu v souladu s těmito pokyny. Jako součást svých práv máte na základě vaší smlouvy s bankou nárok na vrácení peněz od banky. O vrácení peněz je třeba požádat do 8 týdnů od data odepsání z vašeho účtu. Vaše práva jsou vysvětlena v prohlášení, které můžete získat od své banky. Souhlasíte s tím, že budete dostávat oznámení o budoucích debetech do 2 dnů před jejich provedením.`, + becsDebitTerms: "Poskytnutím údajů o bankovním účtu a potvrzením této platby souhlasíte s touto žádostí o inkaso a smlouvou o poskytování služeb pro žádost o inkaso a opravňujete společnost Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, ID uživatele pro inkaso 507156 (dále jen „Hyperswitch“) k odepsání všech částek, které vám obchodník zvlášť sdělí, z vašeho účtu prostřednictvím systému hromadného elektronického zúčtování (BECS). Potvrzujete, že jste buď majitelem výše uvedeného účtu, nebo jeho autorizovaným signatářem.", + cardTerms: str => + `Poskytnutím údajů o kartě povolujete společnosti ${str} účtování budoucích plateb v souladu s jejími podmínkami.`, + payNowButton: "Zaplatit nyní", + cardNumberEmptyText: "Číslo karty nesmí být prázdné", + cardExpiryDateEmptyText: "Datum vypršení platnosti karty nesmí být prázdné", + cvcNumberEmptyText: "Číslo CVC nesmí být prázdné", + enterFieldsText: "Vyplňte všechna pole", + enterValidDetailsText: "Zadejte platné údaje", + card: "Karta", + billingNameLabel: "Fakturační jméno", + cardHolderName: "Jméno držitele karty", + cardNickname: "Přezdívka karty", + billingNamePlaceholder: "Jméno a příjmení", + firstName: `Jméno`, + lastName: `Příjmení`, + billingDetails: `Fakturační údaje`, + requiredText: `Požadované`, + lastNameRequiredText: `Požadováno příjmení`, + cardExpiresText: `vyprší`, + addPaymentMethodLabel: `Přidat nový způsob platby`, + cardHolderNameRequiredText: `Je vyžadováno jméno držitele karty`, + walletDisclaimer: `Podrobnosti o peněžence se po výběru uloží`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/DanishLocale.res b/shared-code/LocaleStrings/DanishLocale.res new file mode 100644 index 0000000..4a68001 --- /dev/null +++ b/shared-code/LocaleStrings/DanishLocale.res @@ -0,0 +1,151 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "da", + localeDirection: "ltr", + cardDetailsLabel: "Kortoplysninger", + cardNumberLabel: "Kortnummer", + inValidCardErrorText: "Kortnummeret er ugyldigt.", + inCompleteCVCErrorText: "Dit korts sikkerhedskode er ufuldstændig.", + inCompleteExpiryErrorText: "Dit korts udløbsdato er ufuldstændig.", + pastExpiryErrorText: "Dit korts udløbsår er i fortiden", + poweredBy: "Drevet af Hyperswitch", + validThruText: "Udløbsdato", + sortCodeText: "Registreringsnummer", + cvcTextLabel: "CVC", + line1Label: "Adresselinje 1", + line1Placeholder: "Gadenavn", + line1EmptyText: `Adresselinie 1 kan ikke være tom`, + line2Label: "Adresselinje 2", + line2Placeholder: "Lejl., enhedsnummer osv. (valgfrit)", + cityLabel: "By", + cityEmptyText: `Byen kan ikke være tom`, + postalCodeLabel: "Postnummer", + postalCodeEmptyText: `Postkode kan ikke være tom`, + stateLabel: "Region", + accountNumberText: "Kontonummer", + emailLabel: "E-mail", + emailInvalidText: `ugyldig emailadresse`, + emailEmptyText: `E-mail må ikke være tom`, + fullNameLabel: "Fulde navn", + fullNamePlaceholder: "For- og efternavn", + countryLabel: "Land", + currencyLabel: "Valuta", + bankLabel: "Vælg bank", + redirectText: "Når du har indsendt din bestilling, bliver du omdirigeret for at gennemføre dit køb på en sikker måde.", + bankDetailsText: "Når du har indsendt disse oplysninger, vil du få oplysninger om den bankkonto, du skal betale til. Sørg for at notede dem.", + orPayUsing: "Eller betal ved hjælp af", + addNewCard: "Kredit/debetkort", + useExisitingSavedCards: "Brug gemte debet-/kreditkort", + saveCardDetails: "Gem kortoplysninger", + addBankAccount: "Tilføj bankkonto", + achBankDebitTerms: str => + `Ved at angive dit kontonummer og bekræfte denne betaling giver du ${str} og Hyperswitch, vores betalingstjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og din bank om at debitere din konto i overensstemmelse med disse instruktioner. Du har ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret.`, + sepaDebitTerms: str => + `Ved at angive dine betalingsoplysninger og bekræfte denne betaling giver du (A) ${str} og Hyperswitch, vores betalingstjenesteudbyder og/eller PPRO, dens lokale tjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og (B) din bank om at debitere din konto i overensstemmelse med disse instruktioner. Som en del af dine rettigheder har du ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret. Dine rettigheder er forklaret i en erklæring, som du kan få fra din bank. Du accepterer at modtage meddelelser om fremtidige debiteringer op til to dage, før de finder sted.`, + becsDebitTerms: "Ved at angive dine bankkontooplysninger og bekræfte denne betaling accepterer du denne anmodning om direkte debitering og serviceaftalen om anmodning om direkte debitering og giver Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID-nummer 507156 ( \"Hyperswitch\") tilladelse til at debitere din konto via Bulk Electronic Clearing System (BECS) på vegne af Hyperswitch Payment Widget (\"Forhandleren\") for eventuelle beløb, som Forhandleren har meddelt dig separat. Du bekræfter, at du enten er en kontoindehaver eller en autoriseret underskriver på den konto, der er angivet ovenfor.", + cardTerms: str => + `Ved at angive dine kortoplysninger giver du tilladelse ${str} til at debitere dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.`, + payNowButton: "Betal nu", + cardNumberEmptyText: "Kortnummeret kan ikke være tomt", + cardExpiryDateEmptyText: "Kortets udløbsdato kan ikke være tom", + cvcNumberEmptyText: "CVC-nummeret kan ikke være tomt", + enterFieldsText: "Udfyld venligst alle dato felter", + enterValidDetailsText: "Indtast gyldige oplysninger", + card: "Kort", + billingNameLabel: "Faktureringsnavn", + cardHolderName: "Navn på kortindehaver", + cardNickname: "Kortets kaldenavn", + billingNamePlaceholder: "Fornavn og efternavn", + firstName: "Fornavn", + lastName: "Efternavn", + billingDetails: `Faktureringsdetaljer`, + requiredText: `Krævet`, + lastNameRequiredText: `Efternavn krævet`, + cardExpiresText: `udløber`, + addPaymentMethodLabel: `Tilføj ny betalingsmetode`, + cardHolderNameRequiredText: `Kortholders navn påkrævet`, + walletDisclaimer: `Tegnebogsoplysninger gemmes ved valg`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", deletePaymentMethod : "", + pixKeyLabel : "", pixKeyPlaceholder : "", + } \ No newline at end of file diff --git a/shared-code/LocaleStrings/DeutschLocale.res b/shared-code/LocaleStrings/DeutschLocale.res new file mode 100644 index 0000000..60132cd --- /dev/null +++ b/shared-code/LocaleStrings/DeutschLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `de`, + localeDirection: `ltr`, + cardNumberLabel: `Kartennummer`, + inValidCardErrorText: `Kartennummer ist ungültig.`, + inCompleteCVCErrorText: `Der Sicherheitscode Ihrer Karte ist unvollständig.`, + inCompleteExpiryErrorText: `Das Ablaufdatum Ihrer Karte ist unvollständig.`, + pastExpiryErrorText: `Das Ablaufjahr Ihrer Karte liegt in der Vergangenheit.`, + poweredBy: `Unterstützt von Hyperswitch`, + validThruText: `Ablauf`, + sortCodeText: `Bankleitzahl`, + cvcTextLabel: `CVC`, + line1Label: `Adresszeile 1`, + line1Placeholder: `Adresse`, + line1EmptyText: `Adresszeile 1 darf nicht leer sein`, + line2Label: `Adresszeile 2`, + line2Placeholder: `Wohnung, Einheitennummer usw. (optional)`, + line2EmptyText: `Adresszeile 2 darf nicht leer sein`, + cityLabel: `Stadt`, + cityEmptyText: `Die Stadt darf nicht leer sein`, + postalCodeLabel: `Postleitzahl`, + postalCodeEmptyText: `Die Postleitzahl darf nicht leer sein`, + postalCodeInvalidText: `Ungültige Postleitzahl`, + stateLabel: `Zustand`, + stateEmptyText: `Der Status darf nicht leer sein`, + accountNumberText: `Accountnummer`, + emailLabel: `Email`, + emailEmptyText: `E-Mail darf nicht leer sein`, + emailInvalidText: `Ungültige E-Mail-Adresse`, + fullNameLabel: `Vollständiger Name`, + fullNamePlaceholder: `Vor-und Nachname`, + countryLabel: `Land`, + currencyLabel: `Währung`, + bankLabel: `Wählen Sie Bank`, + redirectText: `Nach dem Absenden Ihrer Bestellung werden Sie weitergeleitet, um Ihren Kauf sicher abzuschließen.`, + bankDetailsText: `Nach Übermittlung dieser Daten erhalten Sie die Bankverbindung, um die Zahlung durchführen zu können. Bitte notieren Sie sich dies unbedingt.`, + orPayUsing: `Oder zahlen Sie mit`, + addNewCard: `Kredit-/Debitkarte hinzufügen`, + useExisitingSavedCards: `Verwenden Sie gespeicherte Debit-/Kreditkarten`, + saveCardDetails: `Kartendetails speichern`, + addBankAccount: `Bankkonto hinzufügen`, + achBankDebitTerms: str => + `Indem Sie Ihre Kontonummer angeben und diese Zahlung bestätigen, autorisieren Sie diese ${str} und Hyperswitch, unser Zahlungsdienstleister, um Anweisungen an Ihre Bank zu senden, um Ihr Konto zu belasten, und Ihre Bank, um Ihr Konto gemäß diesen Anweisungen zu belasten. Sie haben gemäß den Bedingungen Ihrer Vereinbarung mit Ihrer Bank Anspruch auf eine Rückerstattung von Ihrer Bank. Eine Rückerstattung muss innerhalb von 8 Wochen ab dem Datum der Belastung Ihres Kontos beantragt werden.`, + sepaDebitTerms: str => + `Durch die Angabe Ihrer Zahlungsinformationen und die Bestätigung dieses Mandatsformulars ermächtigen Sie (A) ${str}, den Gläubiger und/oder unsere Zahlungsdienstleister, Ihrer Bank Anweisungen zu erteilen, um Ihr Konto zu belasten, und (B) Ihre Bank, Ihr Konto gemäß den Anweisungen von ${str} zu belasten. Im Rahmen Ihrer Rechte haben Sie Anspruch auf eine Rückerstattung von Ihrer Bank gemäß den Bedingungen und Konditionen Ihrer Vereinbarung mit Ihrer Bank. Eine Rückerstattung muss innerhalb von 8 Wochen ab dem Datum, an dem Ihr Konto belastet wurde, beantragt werden. Ihre Rechte sind in einem von Ihrer Bank erhältlichen Dokument erläutert.`, + becsDebitTerms: `Indem Sie Ihre Bankkontodaten angeben und diese Zahlung bestätigen, stimmen Sie dieser Lastschriftanforderung und der Servicevereinbarung für Lastschriftanträge zu und ermächtigen Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Lastschriftbenutzer-ID-Nummer 507156 („Hyperswitch“), Ihr Konto zu belasten Konto über das Bulk Electronic Clearing System (BECS) im Namen von Hyperswitch Payment Widget (der „Händler“) für alle Beträge, die Ihnen vom Händler gesondert mitgeteilt werden. Sie bestätigen, dass Sie entweder Kontoinhaber oder Zeichnungsberechtigter des oben aufgeführten Kontos sind.`, + cardTerms: str => + `Durch die Angabe Ihrer Karteninformationen stimmen Sie zu ${str} Ihre Karte gemäß deren Bedingungen für zukünftige Zahlungen zu belasten.`, + payNowButton: `Zahlen Sie jetzt`, + cardNumberEmptyText: `Die Kartennummer darf nicht leer sein`, + cardExpiryDateEmptyText: `Das Ablaufdatum der Karte darf nicht leer sein`, + cvcNumberEmptyText: `Die CVC-Nummer darf nicht leer sein`, + enterFieldsText: `Bitte füllen Sie alle Felder aus`, + enterValidDetailsText: `Bitte geben Sie gültige Daten ein`, + selectPaymentMethodText: `Bitte wählen Sie eine Zahlungsmethode aus und versuchen Sie es erneut`, + card: `Karte`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Für diese Transaktion wird ein Zuschlag in Höhe von${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}erhoben`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Für diese Transaktion wird ein Zuschlagsbetrag von bis zu${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}erhoben`)} + , + surchargeMsgAmountForOneClickWallets: `Es fällt eine zusätzliche Gebühr an`, + billingNameLabel: `Abrechnungsname`, + billingNamePlaceholder: `Vor-und Nachname`, + cardHolderName: `Name des Karteninhabers`, + on: `An`, + \"and": `Und`, + nameEmptyText: str => `Bitte geben Sie Ihre an ${str}`, + completeNameEmptyText: str => `Bitte geben Sie Ihr vollständiges Formular an ${str}`, + billingDetailsText: `Rechnungsdetails`, + socialSecurityNumberLabel: `Sozialversicherungsnummer`, + saveWalletDetails: `Wallet-Details werden beim Auswählen gespeichert`, + morePaymentMethods: `Mehr Zahlungsmethoden`, + useExistingPaymentMethods: `Gespeicherte Zahlungsarten nutzen`, + cardNickname: `Spitzname der Karte`, + nicknamePlaceholder: `Kartenname (optional)`, + cardExpiredText: `Diese Karte ist abgelaufen`, + cardHeader: `Kartendaten`, + cardBrandConfiguredErrorText: str => `${str} wird derzeit nicht unterstützt.`, + currencyNetwork: `Währungsnetzwerke`, + expiryPlaceholder: `MM / JJ`, + dateOfBirth: `Geburtsdatum`, + vpaIdLabel: `Vpa-ID`, + vpaIdEmptyText: `Die VPA-ID darf nicht leer sein`, + vpaIdInvalidText: `Ungültige VPA-ID`, + dateofBirthRequiredText: `Geburtsdatum ist erforderlich`, + dateOfBirthInvalidText: `Das Alter sollte 18 Jahre oder älter sein`, + dateOfBirthPlaceholderText: `Geben Sie das Geburtsdatum ein`, + formFundsInfoText: `Gelder werden auf dieses Konto gutgeschrieben`, + formFundsCreditInfoText: pmLabel => + `Ihre Gelder werden auf das ausgewählte ${pmLabel} gutgeschrieben.`, + formEditText: `Bearbeiten`, + formSaveText: `Speichern`, + formSubmitText: `Absenden`, + formSubmittingText: `Wird gesendet`, + formSubheaderBillingDetailsText: `Geben Sie Ihre Rechnungsadresse ein`, + formSubheaderCardText: `Ihre Kartendetails`, + formSubheaderAccountText: pmLabel => `Ihr ${pmLabel}`, + formHeaderReviewText: `Überprüfen`, + formHeaderReviewTabLayoutText: pmLabel => `Überprüfen Sie Ihre ${pmLabel} Details`, + formHeaderBankText: bankTransferType => `Geben Sie ${bankTransferType} Bankdaten ein`, + formHeaderWalletText: walletTransferType => `Geben Sie ${walletTransferType} Wallet-Daten ein`, + formHeaderEnterCardText: `Kartendetails eingeben`, + formHeaderSelectBankText: `Wählen Sie eine Bankmethode`, + formHeaderSelectWalletText: `Wählen Sie ein Wallet`, + formHeaderSelectAccountText: `Wählen Sie ein Konto für Auszahlungen`, + formFieldACHRoutingNumberLabel: `Routing-Nummer`, + formFieldSepaIbanLabel: `Internationale Bankkontonummer (IBAN)`, + formFieldSepaBicLabel: `Bank-Identifikationscode (optional)`, + formFieldPixIdLabel: `Pix-ID`, + formFieldBankAccountNumberLabel: `Bankkontonummer`, + formFieldPhoneNumberLabel: `Telefonnummer`, + formFieldCountryCodeLabel: `Ländercode (optional)`, + formFieldBankNameLabel: `Bankname (optional)`, + formFieldBankCityLabel: `Bankstadt (optional)`, + formFieldCardHoldernamePlaceholder: `Ihr Name`, + formFieldBankNamePlaceholder: `Bankname`, + formFieldBankCityPlaceholder: `Bankstadt`, + formFieldEmailPlaceholder: `Ihre E-Mail`, + formFieldPhoneNumberPlaceholder: `Ihr Telefon`, + formFieldInvalidRoutingNumber: `Die Routing-Nummer ist ungültig.`, + infoCardRefId: `Ref-ID`, + infoCardErrCode: `Fehlercode`, + infoCardErrMsg: `Fehlermeldung`, + infoCardErrReason: `Grund`, + linkRedirectionText: seconds => `Weiterleitung in ${seconds->Int.toString} Sekunden ...`, + linkExpiryInfo: expiry => `Link läuft ab am: ${expiry}`, + payoutFromText: merchant => `Auszahlung von ${merchant}`, + payoutStatusFailedMessage: `Ihre Auszahlung konnte nicht bearbeitet werden. Bitte wenden Sie sich für weitere Details an Ihren Anbieter.`, + payoutStatusPendingMessage: `Ihre Auszahlung wird innerhalb von 2-3 Werktagen bearbeitet.`, + payoutStatusSuccessMessage: `Ihre Auszahlung war erfolgreich. Gelder wurden in Ihrer ausgewählten Zahlungsmethode gutgeschrieben.`, + payoutStatusFailedText: `Auszahlung fehlgeschlagen`, + payoutStatusPendingText: `Auszahlung in Bearbeitung`, + payoutStatusSuccessText: `Auszahlung erfolgreich`, + pixCNPJInvalidText: `Ungültiger Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ darf nicht leer sein`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Geben Sie Pix CNPJ ein`, + pixCPFInvalidText: `Ungültiger Pix CPF`, + pixCPFEmptyText: `Pix CPF darf nicht leer sein`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Geben Sie Pix CPF ein`, + pixKeyEmptyText: `Pix-Schlüssel darf nicht leer sein`, + pixKeyPlaceholder: `Geben Sie den Pix-Schlüssel ein`, + pixKeyLabel: `Pix-Schlüssel`, + cardDetailsLabel: "Kartendetails", + firstName: `Vorname`, + lastName: `Familienname, Nachname`, + billingDetails: `Rechnungsdetails`, + requiredText: `Erforderlich`, + lastNameRequiredText: `Nachname erforderlich`, + cardExpiresText: `läuft ab`, + addPaymentMethodLabel: `Neue Zahlungsmethode hinzufügen`, + cardHolderNameRequiredText: `Name des Karteninhabers erforderlich`, + walletDisclaimer: `Wallet-Details werden bei Auswahl gespeichert`, + deletePaymentMethod :"" + +} diff --git a/shared-code/LocaleStrings/DutchBelgiumLocale.res b/shared-code/LocaleStrings/DutchBelgiumLocale.res new file mode 100644 index 0000000..03afb92 --- /dev/null +++ b/shared-code/LocaleStrings/DutchBelgiumLocale.res @@ -0,0 +1,160 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "nl-BE", + localeDirection: "v-p", + cardDetailsLabel: "Kaartgegevens", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Adresregel 1 mag niet leeg zijn`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + line2EmptyText: `Adresregel 2 mag niet leeg zijn`, + cityLabel: "Linn", + cityEmptyText: `De stad kan niet leeg zijn`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Postcode mag niet leeg zijn`, + postalCodeInvalidText: `Ongeldige postcode`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `Ongeldig e-mailadres`, + emailEmptyText: `Het e-mailadres mag niet leeg zijn`, + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Naam van de kaarthouder", + cardNickname: "Bijnaam van de kaart", + billingNamePlaceholder: "Voornaam en achternaam", + firstName: `Voornaam`, + lastName: `Achternaam`, + billingDetails: `Factureringsgegevens`, + requiredText: `Vereist`, + lastNameRequiredText: `Achternaam vereist`, + cardExpiresText: `verloopt`, + addPaymentMethodLabel: `Nieuwe betaalmethode toevoegen`, + cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, + walletDisclaimer: `Portemonneegegevens worden opgeslagen bij selectie`, + stateEmptyText: `De staat kan niet leeg zijn`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Een toeslagbedrag van${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Een toeslagbedrag van maximaal${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`)} + , + surchargeMsgAmountForOneClickWallets: `Extra kosten van toepassing`, + on: `op`, + \"and": `En`, + nameEmptyText: str => `Geef alstublieft uw ${str}`, + completeNameEmptyText: str => `Geef uw volledige ${str}`, + billingDetailsText: `Factureringsgegevens`, + socialSecurityNumberLabel: `Burgerservicenummer`, + saveWalletDetails: `Portefeuillegegevens worden bij selectie opgeslagen`, + morePaymentMethods: `Meer betaalmethoden`, + useExistingPaymentMethods: `Gebruik opgeslagen betaalmethoden`, + nicknamePlaceholder: `Bijnaam kaart (optioneel)`, + selectPaymentMethodText: `Selecteer een betaalmethode en probeer het opnieuw`, + cardExpiredText: `Deze kaart is verlopen`, + cardHeader: `Kaartinformatie`, + cardBrandConfiguredErrorText: str => `${str} wordt op dit moment niet ondersteund.`, + currencyNetwork: `Valutanetwerken`, + expiryPlaceholder: `MM / JJ`, + dateOfBirth: `Geboortedatum`, + vpaIdLabel: `Vpa-id`, + vpaIdEmptyText: `Vpa-ID mag niet leeg zijn`, + vpaIdInvalidText: `Ongeldige Vpa-ID`, + dateofBirthRequiredText: `Geboortedatum is vereist`, + dateOfBirthInvalidText: `De leeftijd moet groter of gelijk zijn aan 18 jaar`, + dateOfBirthPlaceholderText: `Voer geboortedatum in`, + formFundsInfoText: `Gelden worden op deze rekening gestort`, + formFundsCreditInfoText: pmLabel => `Uw geld wordt bijgeschreven in de geselecteerde ${pmLabel}.`, + formEditText: `Bewerken`, + formSaveText: `Opslaan`, + formSubmitText: `Indienen`, + formSubmittingText: `Indienen`, + formSubheaderBillingDetailsText: `Voer uw factuuradres in`, + formSubheaderCardText: `Uw kaartgegevens`, + formSubheaderAccountText: pmLabel => `Uw ${pmLabel}`, + formHeaderReviewText: `Beoordelen`, + formHeaderReviewTabLayoutText: pmLabel => `Bekijk uw ${pmLabel} gegevens`, + formHeaderBankText: bankTransferType => `Voer ${bankTransferType} bankgegevens in`, + formHeaderWalletText: walletTransferType => `Voer ${walletTransferType} portemonneegegevens in`, + formHeaderEnterCardText: `Voer kaartgegevens in`, + formHeaderSelectBankText: `Selecteer een bankmethode`, + formHeaderSelectWalletText: `Selecteer een portemonnee`, + formHeaderSelectAccountText: `Selecteer een account voor uitbetalingen`, + formFieldACHRoutingNumberLabel: `Routingnummer`, + formFieldSepaIbanLabel: `Internationaal Bankrekeningnummer (IBAN)`, + formFieldSepaBicLabel: `Bankidentificatiecode (Optioneel)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bankrekeningnummer`, + formFieldPhoneNumberLabel: `Telefoonnummer`, + formFieldCountryCodeLabel: `Landcode (Optioneel)`, + formFieldBankNameLabel: `Banknaam (Optioneel)`, + formFieldBankCityLabel: `Bankstad (Optioneel)`, + formFieldCardHoldernamePlaceholder: `Uw naam`, + formFieldBankNamePlaceholder: `Banknaam`, + formFieldBankCityPlaceholder: `Bankstad`, + formFieldEmailPlaceholder: `Uw e-mail`, + formFieldPhoneNumberPlaceholder: `Uw telefoon`, + formFieldInvalidRoutingNumber: `Routingnummer is ongeldig.`, + infoCardRefId: `Uw referentie`, + infoCardErrCode: `Foutcode`, + infoCardErrMsg: `Foutbericht`, + infoCardErrReason: `Reden`, + linkRedirectionText: seconds => `Doorverwijzen in ${seconds->Int.toString} seconden ...`, + linkExpiryInfo: expiry => `Link verloopt op: ${expiry}`, + payoutFromText: merchant => `Uitbetaling van ${merchant}`, + payoutStatusFailedMessage: `Uitbetaling kon niet worden verwerkt. Neem contact op met uw provider voor meer details.`, + payoutStatusPendingMessage: `Uw uitbetaling wordt binnen 2-3 werkdagen verwerkt.`, + payoutStatusSuccessMessage: `Uw uitbetaling was succesvol. Geld is bijgeschreven in de door u geselecteerde betalingsmethode.`, + payoutStatusFailedText: `Uitbetaling mislukt`, + payoutStatusPendingText: `Uitbetaling verwerken`, + payoutStatusSuccessText: `Uitbetaling geslaagd`, + pixCNPJInvalidText: `Ongeldige Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ mag niet leeg zijn`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Voer Pix CNPJ in`, + pixCPFInvalidText: `Ongeldige Pix CPF`, + pixCPFEmptyText: `Pix CPF mag niet leeg zijn`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Voer Pix CPF in`, + pixKeyEmptyText: `Pix-sleutel mag niet leeg zijn`, + pixKeyPlaceholder: `Voer Pix-sleutel in`, + pixKeyLabel: `Pix-sleutel`, deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/DutchLocale.res b/shared-code/LocaleStrings/DutchLocale.res new file mode 100644 index 0000000..f09b90c --- /dev/null +++ b/shared-code/LocaleStrings/DutchLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `nl`, + localeDirection: `ltr`, + cardNumberLabel: `Kortnummer`, + inValidCardErrorText: `Kortnummeret er ugyldigt.`, + inCompleteCVCErrorText: `Dit korts sikkerhedskode er ufuldstændig.`, + inCompleteExpiryErrorText: `Dit korts udløbsdato er ufuldstændig.`, + pastExpiryErrorText: `Dit korts udløbsår er i fortiden`, + poweredBy: `Drevet af Hyperswitch`, + validThruText: `Udløbsdato`, + sortCodeText: `Registreringsnummer`, + cvcTextLabel: `CVC`, + line1Label: `Adresselinje 1`, + line1Placeholder: `Gadenavn`, + line2Label: "Adresselinje 2", + line2Placeholder: `Lejl., enhedsnummer osv. (valgfrit)`, + cityLabel: `By`, + postalCodeLabel: `Postnummer`, + stateLabel: `Region`, + accountNumberText: `Kontonummer`, + emailLabel: `E-mail`, + fullNameLabel: `Fulde navn`, + fullNamePlaceholder: `For- og efternavn`, + countryLabel: `Land`, + currencyLabel: `Valuta`, + bankLabel: `Vælg bank`, + redirectText: `Når du har indsendt din bestilling, bliver du omdirigeret for at gennemføre dit køb på en sikker måde.`, + bankDetailsText: `Når du har indsendt disse oplysninger, vil du få oplysninger om den bankkonto, du skal betale til. Sørg for at notede dem.`, + orPayUsing: `Eller betal ved hjælp af`, + addNewCard: `Kredit/debetkort`, + useExisitingSavedCards: `Brug gemte debet-/kreditkort`, + saveCardDetails: `Gem kortoplysninger`, + addBankAccount: `Tilføj bankkonto`, + achBankDebitTerms: str => + `Ved at angive dit kontonummer og bekræfte denne betaling giver du ${str} og Hyperswitch, vores betalingstjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og din bank om at debitere din konto i overensstemmelse med disse instruktioner. Du har ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret.`, + sepaDebitTerms: str => + `Door uw betalingsinformatie te verstrekken en dit machtigingsformulier te bevestigen, machtigt u (A) ${str}, de schuldeiser en/of onze betalingsdienstverleners om instructies naar uw bank te sturen om uw rekening te debiteren en (B) uw bank om uw rekening te debiteren volgens de instructies van ${str}. Als onderdeel van uw rechten heeft u recht op een terugbetaling van uw bank volgens de voorwaarden van uw overeenkomst met uw bank. Een terugbetaling moet binnen 8 weken na de datum waarop uw rekening is gedebiteerd, worden aangevraagd. Uw rechten worden uitgelegd in een verklaring die u bij uw bank kunt verkrijgen.`, + becsDebitTerms: `Ved at angive dine bankkontooplysninger og bekræfte denne betaling accepterer du denne anmodning om direkte debitering og serviceaftalen om anmodning om direkte debitering og giver Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID-nummer 507156 ( \"Hyperswitch\") tilladelse til at debitere din konto via Bulk Electronic Clearing System (BECS) på vegne af Hyperswitch Payment Widget (\"Forhandleren\") for eventuelle beløb, som Forhandleren har meddelt dig separat. Du bekræfter, at du enten er en kontoindehaver eller en autoriseret underskriver på den konto, der er angivet ovenfor.`, + cardTerms: str => + `Ved at angive dine kortoplysninger giver du tilladelse ${str} til at debitere dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.`, + payNowButton: `Betal nu`, + cardNumberEmptyText: `Kortnummeret kan ikke være tomt`, + cardExpiryDateEmptyText: `Kortets udløbsdato kan ikke være tom`, + cvcNumberEmptyText: `CVC-nummeret kan ikke være tomt`, + enterFieldsText: `Udfyld venligst alle dato felter`, + enterValidDetailsText: `Indtast gyldige oplysninger`, + card: `Kort`, + billingNameLabel: `Faktureringsnavn`, + cardHolderName: `Naam van de kaarthouder`, + cardNickname: `Kaartbijnaam`, + billingNamePlaceholder: `Voornaam en achternaam`, + emailEmptyText: `E-mail mag niet leeg zijn`, + emailInvalidText: `Ongeldig e-mailadres`, + line1EmptyText: `Adresregel 1 mag niet leeg zijn`, + line2EmptyText: `Adresregel 2 mag niet leeg zijn`, + cityEmptyText: `De stad kan niet leeg zijn`, + postalCodeEmptyText: `Postcode mag niet leeg zijn`, + postalCodeInvalidText: `Ongeldige postcode`, + stateEmptyText: `De staat kan niet leeg zijn`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Een toeslagbedrag van${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Een toeslagbedrag van maximaal${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`)} + , + surchargeMsgAmountForOneClickWallets: `Extra kosten van toepassing`, + on: `op`, + \"and": `En`, + nameEmptyText: str => `Geef alstublieft uw ${str}`, + completeNameEmptyText: str => `Geef uw volledige ${str}`, + billingDetailsText: `Factureringsgegevens`, + socialSecurityNumberLabel: `Burgerservicenummer`, + saveWalletDetails: `Portefeuillegegevens worden bij selectie opgeslagen`, + morePaymentMethods: `Meer betaalmethoden`, + useExistingPaymentMethods: `Gebruik opgeslagen betaalmethoden`, + nicknamePlaceholder: `Bijnaam kaart (optioneel)`, + selectPaymentMethodText: `Selecteer een betaalmethode en probeer het opnieuw`, + cardExpiredText: `Deze kaart is verlopen`, + cardHeader: `Kaartinformatie`, + cardBrandConfiguredErrorText: str => `${str} wordt op dit moment niet ondersteund.`, + currencyNetwork: `Valutanetwerken`, + expiryPlaceholder: `MM / JJ`, + dateOfBirth: `Geboortedatum`, + vpaIdLabel: `Vpa-id`, + vpaIdEmptyText: `Vpa-ID mag niet leeg zijn`, + vpaIdInvalidText: `Ongeldige Vpa-ID`, + dateofBirthRequiredText: `Geboortedatum is vereist`, + dateOfBirthInvalidText: `De leeftijd moet groter of gelijk zijn aan 18 jaar`, + dateOfBirthPlaceholderText: `Voer geboortedatum in`, + formFundsInfoText: `Gelden worden op deze rekening gestort`, + formFundsCreditInfoText: pmLabel => `Uw geld wordt bijgeschreven in de geselecteerde ${pmLabel}.`, + formEditText: `Bewerken`, + formSaveText: `Opslaan`, + formSubmitText: `Indienen`, + formSubmittingText: `Indienen`, + formSubheaderBillingDetailsText: `Voer uw factuuradres in`, + formSubheaderCardText: `Uw kaartgegevens`, + formSubheaderAccountText: pmLabel => `Uw ${pmLabel}`, + formHeaderReviewText: `Beoordelen`, + formHeaderReviewTabLayoutText: pmLabel => `Bekijk uw ${pmLabel} gegevens`, + formHeaderBankText: bankTransferType => `Voer ${bankTransferType} bankgegevens in`, + formHeaderWalletText: walletTransferType => `Voer ${walletTransferType} portemonneegegevens in`, + formHeaderEnterCardText: `Voer kaartgegevens in`, + formHeaderSelectBankText: `Selecteer een bankmethode`, + formHeaderSelectWalletText: `Selecteer een portemonnee`, + formHeaderSelectAccountText: `Selecteer een account voor uitbetalingen`, + formFieldACHRoutingNumberLabel: `Routingnummer`, + formFieldSepaIbanLabel: `Internationaal Bankrekeningnummer (IBAN)`, + formFieldSepaBicLabel: `Bankidentificatiecode (Optioneel)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bankrekeningnummer`, + formFieldPhoneNumberLabel: `Telefoonnummer`, + formFieldCountryCodeLabel: `Landcode (Optioneel)`, + formFieldBankNameLabel: `Banknaam (Optioneel)`, + formFieldBankCityLabel: `Bankstad (Optioneel)`, + formFieldCardHoldernamePlaceholder: `Uw naam`, + formFieldBankNamePlaceholder: `Banknaam`, + formFieldBankCityPlaceholder: `Bankstad`, + formFieldEmailPlaceholder: `Uw e-mail`, + formFieldPhoneNumberPlaceholder: `Uw telefoon`, + formFieldInvalidRoutingNumber: `Routingnummer is ongeldig.`, + infoCardRefId: `Uw referentie`, + infoCardErrCode: `Foutcode`, + infoCardErrMsg: `Foutbericht`, + infoCardErrReason: `Reden`, + linkRedirectionText: seconds => `Doorverwijzen in ${seconds->Int.toString} seconden ...`, + linkExpiryInfo: expiry => `Link verloopt op: ${expiry}`, + payoutFromText: merchant => `Uitbetaling van ${merchant}`, + payoutStatusFailedMessage: `Uitbetaling kon niet worden verwerkt. Neem contact op met uw provider voor meer details.`, + payoutStatusPendingMessage: `Uw uitbetaling wordt binnen 2-3 werkdagen verwerkt.`, + payoutStatusSuccessMessage: `Uw uitbetaling was succesvol. Geld is bijgeschreven in de door u geselecteerde betalingsmethode.`, + payoutStatusFailedText: `Uitbetaling mislukt`, + payoutStatusPendingText: `Uitbetaling verwerken`, + payoutStatusSuccessText: `Uitbetaling geslaagd`, + pixCNPJInvalidText: `Ongeldige Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ mag niet leeg zijn`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Voer Pix CNPJ in`, + pixCPFInvalidText: `Ongeldige Pix CPF`, + pixCPFEmptyText: `Pix CPF mag niet leeg zijn`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Voer Pix CPF in`, + pixKeyEmptyText: `Pix-sleutel mag niet leeg zijn`, + pixKeyPlaceholder: `Voer Pix-sleutel in`, + pixKeyLabel: `Pix-sleutel`, + cardDetailsLabel: "Kaartdetails", + firstName: `Voornaam`, + lastName: `Achternaam`, + billingDetails: `Factureringsgegevens`, + requiredText: `Vereist`, + lastNameRequiredText: `Achternaam vereist`, + cardExpiresText: `verloopt`, + addPaymentMethodLabel: `Nieuwe betaalmethode toevoegen`, + cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, + walletDisclaimer: `Portemonneegegevens worden opgeslagen bij selectie`, + deletePaymentMethod : "", +} diff --git a/shared-code/LocaleStrings/EnglishGBLocale.res b/shared-code/LocaleStrings/EnglishGBLocale.res new file mode 100644 index 0000000..dd273f2 --- /dev/null +++ b/shared-code/LocaleStrings/EnglishGBLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "en-GB", + localeDirection: "ltr", + cardNumberLabel: "Card Number", + inValidCardErrorText: "Card number is invalid.", + inCompleteCVCErrorText: "Your card's security code is incomplete.", + inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", + pastExpiryErrorText: "Your card's expiration year is in the past.", + poweredBy: "Powered By Hyperswitch", + validThruText: "Expiry", + sortCodeText: "Sort Code", + cvcTextLabel: "CVC", + emailLabel: "Email", + emailEmptyText: "Email cannot be empty", + emailInvalidText: "Invalid email address", + line1Label: "Address line 1", + line1Placeholder: "Street address", + line1EmptyText: "Address line 1 cannot be empty", + line2Label: "Address line 2", + line2Placeholder: "Apt., unit number, etc (optional)", + line2EmptyText: "Address line 2 cannot be empty", + cityLabel: "City", + cityEmptyText: "City cannot be empty", + postalCodeLabel: "Postal Code", + postalCodeEmptyText: "Postal code cannot be empty", + postalCodeInvalidText: "Invalid postal code", + stateLabel: "State", + stateEmptyText: "State cannot be empty", + accountNumberText: "Account Number", + fullNameLabel: "Full name", + fullNamePlaceholder: "First and last name", + countryLabel: "Country", + currencyLabel: "Currency", + bankLabel: "Select Bank", + redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", + bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", + orPayUsing: "Or pay using", + addNewCard: "Add credit/debit card", + useExisitingSavedCards: "Use saved debit/credit cards", + saveCardDetails: "Save card details", + addBankAccount: "Add bank account", + achBankDebitTerms: _ => + `Your ACH Debit Authorization will be set up now, but we'll confirm the amount and let you know before future payments are taken.`, + sepaDebitTerms: str => + `By providing your payment information and confirming to this mandate form, you authorise (A) ${str}, the Creditor and/or our payment service provider(s) to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instructions from ${str}. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank.`, + becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, + cardTerms: str => + `By providing your card information, you allow ${str} to charge your card for future payments in accordance with their terms.`, + payNowButton: "Pay Now", + cardNumberEmptyText: "Card Number cannot be empty", + cardExpiryDateEmptyText: "Card expiry date cannot be empty", + cvcNumberEmptyText: "CVC Number cannot be empty", + enterFieldsText: "Please enter all fields", + enterValidDetailsText: "Please enter valid details", + selectPaymentMethodText: `Please select a payment method and try again`, + card: "Card", + surchargeMsgAmount: (currency, str) => <> + {React.string(`A surcharge amount of${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}will be applied for this transaction`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`A surcharge amount of upto${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}will be applied for this transaction`)} + , + surchargeMsgAmountForOneClickWallets: "Additional fee applicable", + billingNameLabel: "Billing name", + billingNamePlaceholder: "First and last name", + cardHolderName: "Card Holder Name", + on: "on", + \"and": "and", + nameEmptyText: str => `Please provide your ${str}`, + completeNameEmptyText: str => `Please provide your complete ${str}`, + billingDetailsText: "Billing Details", + socialSecurityNumberLabel: "Social Security Number", + saveWalletDetails: "Wallets details will be saved upon selection", + morePaymentMethods: "More payment methods", + useExistingPaymentMethods: "Use saved payment methods", + cardNickname: "Card Nickname", + nicknamePlaceholder: "Card Nickname (Optional)", + cardExpiredText: `This card has expired`, + cardHeader: `Card information`, + cardBrandConfiguredErrorText: str => `${str} is not supported at the moment.`, + currencyNetwork: `Currency Networks`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `Date of Birth`, + vpaIdLabel: `Vpa Id`, + vpaIdEmptyText: `Vpa Id cannot be empty`, + vpaIdInvalidText: `Invalid Vpa Id address`, + dateofBirthRequiredText: `Date of birth is required`, + dateOfBirthInvalidText: `Age should be greater than or equal to 18 years`, + dateOfBirthPlaceholderText: `Enter Date of Birth`, + formFundsInfoText: `Funds will be credited to this account`, + formFundsCreditInfoText: pmLabel => `Your funds will be credited in the selected ${pmLabel}.`, + formEditText: `Edit`, + formSaveText: `Save`, + formSubmitText: `Submit`, + formSubmittingText: `Submitting`, + formSubheaderBillingDetailsText: `Enter your billing address`, + formSubheaderCardText: `Your card details`, + formSubheaderAccountText: pmLabel => `Your ${pmLabel}`, + formHeaderReviewText: `Review`, + formHeaderReviewTabLayoutText: pmLabel => `Review your ${pmLabel} details`, + formHeaderBankText: bankTransferType => `Enter ${bankTransferType} bank details`, + formHeaderWalletText: walletTransferType => `Enter ${walletTransferType} wallet details`, + formHeaderEnterCardText: `Enter card details`, + formHeaderSelectBankText: `Select a bank method`, + formHeaderSelectWalletText: `Select a wallet`, + formHeaderSelectAccountText: `Select an account for payouts`, + formFieldACHRoutingNumberLabel: `Routing Number`, + formFieldSepaIbanLabel: `International Bank Account Number (IBAN)`, + formFieldSepaBicLabel: `Bank Identifier Code (Optional)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bank Account Number`, + formFieldPhoneNumberLabel: `Phone Number`, + formFieldCountryCodeLabel: `Country Code (Optional)`, + formFieldBankNameLabel: `Bank Name (Optional)`, + formFieldBankCityLabel: `Bank City (Optional)`, + formFieldCardHoldernamePlaceholder: `Your Name`, + formFieldBankNamePlaceholder: `Bank Name`, + formFieldBankCityPlaceholder: `Bank City`, + formFieldEmailPlaceholder: `Your Email`, + formFieldPhoneNumberPlaceholder: `Your Phone`, + formFieldInvalidRoutingNumber: `Routing number is invalid.`, + infoCardRefId: `Ref Id`, + infoCardErrCode: `Error Code`, + infoCardErrMsg: `Error Message`, + infoCardErrReason: `Reason`, + linkRedirectionText: seconds => `Redirecting in ${seconds->Int.toString} seconds ...`, + linkExpiryInfo: expiry => `Link expires on: ${expiry}`, + payoutFromText: merchant => `Payout from ${merchant}`, + payoutStatusFailedMessage: `Failed to process your payout. Please check with your provider for more details.`, + payoutStatusPendingMessage: `Your payout should be processed within 2-3 business days.`, + payoutStatusSuccessMessage: `Your payout was successful. Funds were deposited in your selected payment mode.`, + payoutStatusFailedText: `Payout Failed`, + payoutStatusPendingText: `Payout Processing`, + payoutStatusSuccessText: `Payout Successful`, + pixCNPJInvalidText: `Invalid Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ cannot be empty`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Enter Pix CNPJ`, + pixCPFInvalidText: `Invalid Pix CPF`, + pixCPFEmptyText: `Pix CPF cannot be empty`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Enter Pix CPF`, + pixKeyEmptyText: `Pix key cannot be empty`, + pixKeyPlaceholder: `Enter Pix key`, + pixKeyLabel: `Pix key`, + firstName: "First name", + lastName: "Last name", + billingDetails: "Billing Details", + requiredText: "Required", + lastNameRequiredText: "Last Name Required", + cardExpiresText: `expires`, + addPaymentMethodLabel: `Add new payment method`, + cardHolderNameRequiredText: `Card Holder's name required`, + walletDisclaimer: `Wallet details will be saved upon selection`, + cardDetailsLabel: "Card Details", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/EnglishLocale.res b/shared-code/LocaleStrings/EnglishLocale.res new file mode 100644 index 0000000..0a372dc --- /dev/null +++ b/shared-code/LocaleStrings/EnglishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "en", + localeDirection: "ltr", + cardNumberLabel: "Card Number", + cardDetailsLabel: "Card Details", + inValidCardErrorText: "Card number is invalid.", + inCompleteCVCErrorText: "Your card's security code is incomplete.", + inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", + pastExpiryErrorText: "Your card's expiration year is in the past.", + poweredBy: "Powered By Hyperswitch", + validThruText: "Expiry", + sortCodeText: "Sort Code", + accountNumberText: "Account Number", + cvcTextLabel: "CVC", + emailLabel: "Email", + emailInvalidText: "Invalid email address", + emailEmptyText: "Email cannot be empty", + line1Label: "Address line 1", + line1Placeholder: "Street address", + line1EmptyText: "Address line 1 cannot be empty", + line2Label: "Address line 2", + line2Placeholder: "Apt., unit number, etc (optional)", + line2EmptyText: "Address line 2 cannot be empty", + cityLabel: "City", + cityEmptyText: "City cannot be empty", + postalCodeLabel: "Postal Code", + postalCodeEmptyText: "Postal code cannot be empty", + postalCodeInvalidText: "Invalid postal code", + stateLabel: "State", + stateEmptyText: "State cannot be empty", + fullNameLabel: "Full name", + fullNamePlaceholder: "First and last name", + countryLabel: "Country", + currencyLabel: "Currency", + bankLabel: "Select Bank", + redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", + bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", + orPayUsing: "Or pay using", + addNewCard: "Add credit/debit card", + useExisitingSavedCards: "Use saved debit/credit cards", + saveCardDetails: "Save card details", + addBankAccount: "Add bank account", + sepaDebitTerms: str => + `By providing your payment information and confirming to this mandate form, you authorise (A) ${str}, the Creditor and/or our payment service provider(s) to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instructions from ${str}. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank.`, + becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, + cardTerms: str => + `By providing your card information, you allow ${str} to charge your card for future payments in accordance with their terms.`, + payNowButton: "Pay Now", + cardNumberEmptyText: "Card Number cannot be empty", + cardExpiryDateEmptyText: "Card expiry date cannot be empty", + cvcNumberEmptyText: "CVC Number cannot be empty", + enterFieldsText: "Please enter all fields", + enterValidDetailsText: "Please enter valid details", + selectPaymentMethodText: "Please select a payment method and try again", + card: "Card", + surchargeMsgAmount: (currency, str) => <> + {React.string(`A surcharge amount of${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}will be applied for this transaction`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`A surcharge amount of upto${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}will be applied for this transaction`)} + , + surchargeMsgAmountForOneClickWallets: "Additional fee applicable", + billingNameLabel: "Billing name", + billingNamePlaceholder: "First and last name", + cardHolderName: "Card Holder Name", + on: "on", + \"and": "and", + nameEmptyText: str => `Please provide your ${str}`, + completeNameEmptyText: str => `Please provide your complete ${str}`, + billingDetailsText: "Billing Details", + socialSecurityNumberLabel: "Social Security Number", + saveWalletDetails: "Wallets details will be saved upon selection", + morePaymentMethods: "More payment methods", + useExistingPaymentMethods: "Use saved payment methods", + cardNickname: "Card Nickname", + nicknamePlaceholder: "Card Nickname (Optional)", + cardExpiredText: `This card has expired`, + cardHeader: `Card information`, + cardBrandConfiguredErrorText: str => `${str} is not supported at the moment.`, + currencyNetwork: `Currency Networks`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `Date of Birth`, + vpaIdLabel: "Vpa Id", + vpaIdEmptyText: "Vpa Id cannot be empty", + vpaIdInvalidText: "Invalid Vpa Id address", + dateofBirthRequiredText: `Date of birth is required`, + dateOfBirthInvalidText: `Age should be greater than or equal to 18 years`, + dateOfBirthPlaceholderText: `Enter Date of Birth`, + formFundsInfoText: `Funds will be credited to this account`, + formFundsCreditInfoText: pmLabel => `Your funds will be credited in the selected ${pmLabel}.`, + formEditText: `Edit`, + formSaveText: `Save`, + formSubmitText: `Submit`, + formSubmittingText: `Submitting`, + formSubheaderBillingDetailsText: `Enter your billing address`, + formSubheaderCardText: `Your card details`, + formSubheaderAccountText: pmLabel => `Your ${pmLabel}`, + formHeaderReviewText: `Review`, + formHeaderReviewTabLayoutText: pmLabel => `Review your ${pmLabel} details`, + formHeaderBankText: bankTransferType => `Enter ${bankTransferType} bank details`, + formHeaderWalletText: walletTransferType => `Enter ${walletTransferType} wallet details`, + formHeaderEnterCardText: `Enter card details`, + formHeaderSelectBankText: `Select a bank method`, + formHeaderSelectWalletText: `Select a wallet`, + formHeaderSelectAccountText: `Select an account for payouts`, + formFieldACHRoutingNumberLabel: `Routing Number`, + formFieldSepaIbanLabel: `International Bank Account Number (IBAN)`, + formFieldSepaBicLabel: `Bank Identifier Code (Optional)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bank Account Number`, + formFieldPhoneNumberLabel: `Phone Number`, + formFieldCountryCodeLabel: `Country Code (Optional)`, + formFieldBankNameLabel: `Bank Name (Optional)`, + formFieldBankCityLabel: `Bank City (Optional)`, + formFieldCardHoldernamePlaceholder: `Your Name`, + formFieldBankNamePlaceholder: `Bank Name`, + formFieldBankCityPlaceholder: `Bank City`, + formFieldEmailPlaceholder: `Your Email`, + formFieldPhoneNumberPlaceholder: `Your Phone`, + formFieldInvalidRoutingNumber: `Routing number is invalid.`, + infoCardRefId: `Ref Id`, + infoCardErrCode: `Error Code`, + infoCardErrMsg: `Error Message`, + infoCardErrReason: `Reason`, + linkRedirectionText: seconds => `Redirecting in ${seconds->Int.toString} seconds ...`, + linkExpiryInfo: expiry => `Link expires on: ${expiry}`, + payoutFromText: merchant => `Payout from ${merchant}`, + payoutStatusFailedMessage: `Failed to process your payout. Please check with your provider for more details.`, + payoutStatusPendingMessage: `Your payout should be processed within 2-3 business days.`, + payoutStatusSuccessMessage: `Your payout was successful. Funds were deposited in your selected payment mode.`, + payoutStatusFailedText: `Payout Failed`, + payoutStatusPendingText: `Payout Processing`, + payoutStatusSuccessText: `Payout Successful`, + pixCNPJInvalidText: `Invalid Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ cannot be empty`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Enter Pix CNPJ`, + pixCPFInvalidText: `Invalid Pix CPF`, + pixCPFEmptyText: `Pix CPF cannot be empty`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Enter Pix CPF`, + pixKeyEmptyText: `Pix key cannot be empty`, + pixKeyPlaceholder: `Enter Pix key`, + pixKeyLabel: `Pix key`, + achBankDebitTerms: str => + `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.`, + firstName: "First name", + lastName: "Last name", + billingDetails: "Billing Details", + requiredText: "Required", + lastNameRequiredText: "Last Name Required", + cardExpiresText: "expires", + addPaymentMethodLabel: "Add new payment method", + cardHolderNameRequiredText: "Card Holder's name required", + walletDisclaimer: "Wallet details will be saved upon selection", + deletePaymentMethod: "Delete", +} diff --git a/shared-code/LocaleStrings/EstonianLocale.res b/shared-code/LocaleStrings/EstonianLocale.res new file mode 100644 index 0000000..1655b55 --- /dev/null +++ b/shared-code/LocaleStrings/EstonianLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "et", + localeDirection: "v-p", + cardDetailsLabel: "Kaardiandmed", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Aadressi rida 1 ei saa olla tühi`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + cityLabel: "Linn", + cityEmptyText: `Linn ei saa olla tühi`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Postikood ei saa olla tühi`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `vale emaili aadress`, + emailEmptyText: `E-posti aadress ei tohi olla tühi`, + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Kaardi omaniku nimi", + cardNickname: "Kaardi hellitusnimi", + billingNamePlaceholder: "Ees- ja perekonnanimi", + firstName: `Eesnimi`, + lastName: `Perekonnanimi`, + billingDetails: `Arvelduse üksikasjad`, + requiredText: `Nõutud`, + lastNameRequiredText: `Vajalik perekonnanimi`, + cardExpiresText: `aegub`, + addPaymentMethodLabel: `Lisa uus makseviis`, + cardHolderNameRequiredText: `Vajalik on kaardi omaniku nimi`, + walletDisclaimer: `Rahakoti andmed salvestatakse valimisel`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel:"", + pixKeyPlaceholder : "", + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/FinnishLocale.res b/shared-code/LocaleStrings/FinnishLocale.res new file mode 100644 index 0000000..9d32366 --- /dev/null +++ b/shared-code/LocaleStrings/FinnishLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "fi", + localeDirection: "v-p", + cardDetailsLabel: "Kortin tiedot", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Osoitekieli 1 ei voi olla tyhjä`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + cityLabel: "Linn", + cityEmptyText: `Kaupunki ei voi olla tyhjä`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Pos koodi ei voi olla tyhjä`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `Virheellinen sähköpostiosoite`, + emailEmptyText: "Sähköposti ei voi olla tyhjä", + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Kortinhaltijan nimi", + cardNickname: "Kortin lempinimi", + billingNamePlaceholder: "Etunimi ja sukunimi", + firstName: `Etunimi`, + lastName: `Sukunimi`, + billingDetails: `laskutustiedot`, + requiredText: `Edellytetään`, + lastNameRequiredText: `Sukunimi vaaditaan`, + cardExpiresText: `umpeutuu`, + addPaymentMethodLabel: `Lisää uusi maksutapa`, + cardHolderNameRequiredText: `Kortinhaltijan nimi vaaditaan`, + walletDisclaimer: `Lompakon tiedot tallennetaan valinnan yhteydessä`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/FrenchBelgiumLocale.res b/shared-code/LocaleStrings/FrenchBelgiumLocale.res new file mode 100644 index 0000000..ea397ff --- /dev/null +++ b/shared-code/LocaleStrings/FrenchBelgiumLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `fr-BE`, + localeDirection: `ltr`, + cardNumberLabel: `Numéro de carte`, + inValidCardErrorText: `Le numéro de carte n'est pas valide.`, + inCompleteCVCErrorText: `Le code de sécurité de votre carte est incomplet.`, + inCompleteExpiryErrorText: `La date d'expiration de votre carte est incomplète.`, + pastExpiryErrorText: `L'année d'expiration de votre carte est passée.`, + poweredBy: `Alimenté par Hyperswitch`, + validThruText: `Expiration`, + sortCodeText: `Code guichet`, + cvcTextLabel: `CVC`, + line1Label: `Adresse ligne 1`, + line1Placeholder: `Rue`, + line2Label: `Adresse ligne 2`, + line2Placeholder: `Appartement, numéro d'unité, etc. (facultatif)`, + cityLabel: `Ville`, + postalCodeLabel: `Code postal`, + stateLabel: `État`, + accountNumberText: `Numéro dAccount Number`, + emailLabel: `E-mail`, + fullNameLabel: `Nom cFull name`, + fullNamePlaceholder: `Nom et prénom`, + countryLabel: `Pays`, + currencyLabel: `Devise`, + bankLabel: `Sélectionner une banque`, + redirectText: `Après avoir passé votre commande, vous serez redirigé pour effectuer votre achat en toute sécurité.`, + bankDetailsText: `Après avoir envoyé ces informations, vous obtiendrez les informations de votre compte bancaire pour effectuer le paiement. Veillez à en prendre note.`, + orPayUsing: `Ou payer en utilisant`, + addNewCard: `Ajouter une carte de crédit/débit`, + useExisitingSavedCards: `Utiliser les cartes de débit/crédit enregistrées`, + saveCardDetails: `Enregistrer les détails de la carte`, + addBankAccount: `Ajouter un compte bancaire`, + achBankDebitTerms: str => + `En fournissant votre numéro de compte et en confirmant ce paiement, vous autorisez ${str} et Hyperswitch, notre prestataire de services de paiement, à envoyer des instructions à votre banque pour débiter votre compte et votre banque à débiter votre compte conformément à ces instructions. Vous avez droit à un remboursement de la part de votre banque selon les termes et conditions de l'accord que vous avez conclu avec elle. Le remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité.`, + sepaDebitTerms: str => + `En fournissant vos informations de paiement et en confirmant ce formulaire de mandat, vous autorisez (A) ${str}, le Créancier et/ou nos prestataires de services de paiement à envoyer des instructions à votre banque pour débiter votre compte et (B) votre banque à débiter votre compte conformément aux instructions de ${str}. Dans le cadre de vos droits, vous avez droit à un remboursement de votre banque selon les termes et conditions de votre accord avec votre banque. Un remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité. Vos droits sont expliqués dans une déclaration que vous pouvez obtenir auprès de votre banque.`, + becsDebitTerms: `En fournissant vos coordonnées bancaires et en confirmant ce paiement, vous acceptez la présente demande de prélèvement automatique et l'accord de service de demande de prélèvement automatique et autorisez Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Numéro d'identification d'utilisateur de prélèvement automatique 507156 (« Hyperswitch ») à débiter votre compte via le système de compensation électronique en bloc (BECS) au nom de Hyperswitch Payment Widget (le « Marchand ») pour tout montant qui vous est communiqué séparément par le Marchand. Vous certifiez que vous êtes soit le titulaire du compte, soit un signataire autorisé du compte mentionné ci-dessus.`, + cardTerms: str => + `En fournissant les informations relatives à votre carte, vous autorisez ${str} à débiter votre carte pour les paiements futurs conformément à leurs conditions.`, + payNowButton: `Payer maintenant`, + cardNumberEmptyText: `Le numéro de carte ne peut pas être vide`, + cardExpiryDateEmptyText: `La date d'expiration de la carte ne peut pas être vide`, + cvcNumberEmptyText: `Le numéro CVC ne peut pas être vide`, + enterFieldsText: `Veuillez saisir tous les champs`, + enterValidDetailsText: `Veuillez saisir des détails valides`, + card: `Carte`, + billingNameLabel: `Nom de facturation`, + cardHolderName: `Nom du titulaire`, + cardNickname: `Pseudonyme de la carte`, + billingNamePlaceholder: `Nom et prénom`, + emailEmptyText: `L'e-mail ne peut pas être vide`, + emailInvalidText: `Adresse e-mail invalide`, + line1EmptyText: `La ligne d'adresse 1 ne peut pas être vide`, + line2EmptyText: `La ligne d'adresse 2 ne peut pas être vide`, + cityEmptyText: `La ville ne peut pas être vide`, + postalCodeEmptyText: `Le code postal ne peut pas être vide`, + postalCodeInvalidText: `Code postal invalide`, + stateEmptyText: `L'état ne peut pas être vide`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un montant supplémentaire de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}sera appliqué pour cette transaction`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un montant supplémentaire pouvant aller jusqu'à${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}sera appliqué pour cette transaction`)} + , + surchargeMsgAmountForOneClickWallets: `Frais supplémentaires applicables`, + on: `sur`, + \"and": `et`, + nameEmptyText: str => `Veuillez fournir votre ${str}`, + completeNameEmptyText: str => `Veuillez fournir votre complet ${str}`, + billingDetailsText: `Détails de la facturation`, + socialSecurityNumberLabel: `Numéro de sécurité sociale`, + saveWalletDetails: `Les détails des portefeuilles seront enregistrés lors de la sélection`, + morePaymentMethods: `Plus de méthodes de paiement`, + useExistingPaymentMethods: `Utiliser les modes de paiement enregistrés`, + nicknamePlaceholder: `Surnom de la carte (facultatif)`, + selectPaymentMethodText: `Veuillez sélectionner un mode de paiement et réessayer`, + cardExpiredText: `Cette carte a expiré`, + cardHeader: `Informations de carte`, + cardBrandConfiguredErrorText: str => `${str} n'est pas pris en charge pour le moment.`, + currencyNetwork: `Réseaux Monétaires`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Date de naissance`, + vpaIdLabel: `Identifiant Vpa`, + vpaIdEmptyText: `L'identifiant Vpa ne peut pas être vide`, + vpaIdInvalidText: `Identifiant Vpa invalide`, + dateofBirthRequiredText: `La date de naissance est requise`, + dateOfBirthInvalidText: `L'âge doit être supérieur ou égal à 18 ans`, + dateOfBirthPlaceholderText: `Entrez la date de naissance`, + formFundsInfoText: `Les fonds seront crédités sur ce compte`, + formFundsCreditInfoText: pmLabel => + `Vos fonds seront crédités sur le ${pmLabel} sélectionné.`, + formEditText: `Modifier`, + formSaveText: `Enregistrer`, + formSubmitText: `Soumettre`, + formSubmittingText: `En cours de soumission`, + formSubheaderBillingDetailsText: `Entrez votre adresse de facturation`, + formSubheaderCardText: `Les détails de votre carte`, + formSubheaderAccountText: pmLabel => `Votre ${pmLabel}`, + formHeaderReviewText: `Réviser`, + formHeaderReviewTabLayoutText: pmLabel => `Révisez les détails de votre ${pmLabel}`, + formHeaderBankText: bankTransferType => `Entrez les détails bancaires ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Entrez les détails du portefeuille ${walletTransferType}`, + formHeaderEnterCardText: `Entrez les détails de la carte`, + formHeaderSelectBankText: `Sélectionnez une méthode bancaire`, + formHeaderSelectWalletText: `Sélectionnez un portefeuille`, + formHeaderSelectAccountText: `Sélectionnez un compte pour les paiements`, + formFieldACHRoutingNumberLabel: `Numéro de routage`, + formFieldSepaIbanLabel: `Numéro de compte bancaire international (IBAN)`, + formFieldSepaBicLabel: `Code d'identification bancaire (facultatif)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numéro de compte bancaire`, + formFieldPhoneNumberLabel: `Numéro de téléphone`, + formFieldCountryCodeLabel: `Code du pays (facultatif)`, + formFieldBankNameLabel: `Nom de la banque (facultatif)`, + formFieldBankCityLabel: `Ville de la banque (facultatif)`, + formFieldCardHoldernamePlaceholder: `Votre nom`, + formFieldBankNamePlaceholder: `Nom de la banque`, + formFieldBankCityPlaceholder: `Ville de la banque`, + formFieldEmailPlaceholder: `Votre e-mail`, + formFieldPhoneNumberPlaceholder: `Votre téléphone`, + formFieldInvalidRoutingNumber: `Le numéro de routage est invalide.`, + infoCardRefId: `ID de référence`, + infoCardErrCode: `Code d'erreur`, + infoCardErrMsg: `Message d'erreur`, + infoCardErrReason: `Raison`, + linkRedirectionText: seconds => `Redirection dans ${seconds->Int.toString} secondes ...`, + linkExpiryInfo: expiry => `Le lien expire le : ${expiry}`, + payoutFromText: merchant => `Paiement de ${merchant}`, + payoutStatusFailedMessage: `Échec du traitement de votre paiement. Veuillez vérifier avec votre fournisseur pour plus de détails.`, + payoutStatusPendingMessage: `Votre paiement devrait être traité sous 2-3 jours ouvrables.`, + payoutStatusSuccessMessage: `Votre paiement a été effectué avec succès. Les fonds ont été déposés dans votre mode de paiement sélectionné.`, + payoutStatusFailedText: `Paiement échoué`, + payoutStatusPendingText: `Paiement en cours`, + payoutStatusSuccessText: `Paiement réussi`, + pixCNPJInvalidText: `CNPJ Pix invalide`, + pixCNPJEmptyText: `Le CNPJ Pix ne peut pas être vide`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Entrez le CNPJ Pix`, + pixCPFInvalidText: `CPF Pix invalide`, + pixCPFEmptyText: `Le CPF Pix ne peut pas être vide`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Entrez le CPF Pix`, + pixKeyEmptyText: `La clé Pix ne peut pas être vide`, + pixKeyPlaceholder: `Entrez la clé Pix`, + pixKeyLabel: `Clé Pix`, + cardDetailsLabel: "Détails de la carte", + firstName: `Prénom`, + lastName: `Nom de famille`, + billingDetails: `Détails de la facturation`, + requiredText: `Requis`, + lastNameRequiredText: `Nom de famille requis`, + cardExpiresText: `expire`, + addPaymentMethodLabel: `Ajouter un nouveau mode de paiement`, + cardHolderNameRequiredText: `Nom du titulaire de la carte requis`, + walletDisclaimer: `Les détails du portefeuille seront enregistrés lors de la sélection`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/FrenchLocale.res b/shared-code/LocaleStrings/FrenchLocale.res new file mode 100644 index 0000000..54a1db1 --- /dev/null +++ b/shared-code/LocaleStrings/FrenchLocale.res @@ -0,0 +1,164 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `fr`, + localeDirection: `ltr`, + cardNumberLabel: `Numéro de carte`, + inValidCardErrorText: `Le numéro de carte n'est pas valide.`, + inCompleteCVCErrorText: `Le code de sécurité de votre carte est incomplet.`, + inCompleteExpiryErrorText: `La date d'expiration de votre carte est incomplète.`, + pastExpiryErrorText: `L'année d'expiration de votre carte est passée.`, + poweredBy: `Propulsé par Hyperswitch`, + validThruText: `Expiration`, + sortCodeText: `Code de tri`, + cvcTextLabel: `Code CVC`, + line1Label: `Adresse - Ligne 1`, + line1Placeholder: `Adresse de rue`, + line1EmptyText: `La ligne d'adresse 1 ne peut pas être vide`, + line2Label: `Adresse - Ligne 2`, + line2Placeholder: `Appartement, numéro d'unité, etc (facultatif)`, + line2EmptyText: `La ligne d'adresse 2 ne peut pas être vide`, + cityLabel: `Ville`, + cityEmptyText: `La ville ne peut pas être vide`, + postalCodeLabel: `Code postal`, + postalCodeEmptyText: `Le code postal ne peut pas être vide`, + postalCodeInvalidText: `Code postal invalide`, + stateLabel: `État`, + stateEmptyText: `L'état ne peut pas être vide`, + accountNumberText: `Numéro de compte`, + emailLabel: `E-mail`, + emailEmptyText: `L'e-mail ne peut pas être vide`, + emailInvalidText: "Adresse e-mail invalide", + fullNameLabel: `Nom complet`, + fullNamePlaceholder: `Prénom et nom de famille`, + countryLabel: `Pays`, + currencyLabel: `Devise`, + bankLabel: `Sélectionnez une banque`, + redirectText: `Après avoir soumis votre commande, vous serez redirigé(e) pour compléter votre achat en toute sécurité.`, + bankDetailsText: `Après avoir soumis ces détails, vous obtiendrez les informations de compte bancaire pour effectuer le paiement. Assurez-vous de les noter.`, + orPayUsing: `Ou payer avec`, + addNewCard: `Ajouter une carte de crédit/débit`, + useExisitingSavedCards: `Utiliser les cartes de débit/crédit enregistrées`, + saveCardDetails: `Enregistrer les détails de la carte`, + addBankAccount: `Ajouter un compte bancaire`, + achBankDebitTerms: str => + `En fournissant votre numéro de compte et en confirmant ce paiement, vous autorisez ${str} et Hyperswitch, notre fournisseur de services de paiement, à envoyer des instructions à votre banque pour débiter votre compte et à débiter votre compte conformément à ces instructions. Vous avez droit à un remboursement de votre banque selon les modalités de votre accord avec votre banque. Une demande de remboursement doit être effectuée dans les 8 semaines à compter de la date à laquelle votre compte a été débité.`, + sepaDebitTerms: str => + `En fournissant vos informations de paiement et en confirmant ce formulaire de mandat, vous autorisez (A) ${str}, le Créancier et/ou nos prestataires de services de paiement à envoyer des instructions à votre banque pour débiter votre compte et (B) votre banque à débiter votre compte conformément aux instructions de ${str}. Dans le cadre de vos droits, vous avez droit à un remboursement de votre banque selon les termes et conditions de votre accord avec votre banque. Un remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité. Vos droits sont expliqués dans une déclaration que vous pouvez obtenir auprès de votre banque.`, + becsDebitTerms: `En fournissant les détails de votre compte bancaire et en confirmant ce paiement, vous acceptez cette demande de prélèvement direct et l'accord de service de demande de prélèvement direct, et autorisez Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 numéro d'identification de l'utilisateur de prélèvement direct 507156 (“Hyperswitch”) à débiter votre compte via le système de compensation électronique en masse (BECS) au nom de Hyperswitch Payment Widget (le "Marchand") pour les montants communiqués séparément par le Marchand. Vous certifiez que vous êtes soit titulaire d'un compte, soit signataire autorisé sur le compte indiqué ci-dessus.`, + cardTerms: str => + `En fournissant les informations de votre carte, vous autorisez ${str} à débiter votre carte pour les paiements futurs conformément à leurs conditions.`, + payNowButton: `Payer maintenant`, + cardNumberEmptyText: `Le numéro de carte ne peut pas être vide`, + cardExpiryDateEmptyText: `La date d'expiration de la carte ne peut pas être vide`, + cvcNumberEmptyText: `Le numéro CVC ne peut pas être vide`, + enterFieldsText: `Veuillez saisir tous les champs`, + enterValidDetailsText: `Veuillez saisir des informations valides`, + selectPaymentMethodText: `Veuillez sélectionner un mode de paiement et réessayer`, + card: `Carte`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un montant supplémentaire d'${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}sera appliqué pour cette transaction`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un montant supplémentaire allant jusqu'à${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}sera appliqué pour cette transaction.`)} + , + surchargeMsgAmountForOneClickWallets: `Frais supplémentaires applicables`, + billingNameLabel: `Nom de facturation`, + billingNamePlaceholder: `Prénom et nom de famille`, + cardHolderName: `Nom du titulaire`, + on: `sur`, + \"and": `et`, + nameEmptyText: str => `Veuillez fournir votre ${str}`, + completeNameEmptyText: str => `Veuillez fournir votre complet ${str}`, + billingDetailsText: `Détails de la facturation`, + socialSecurityNumberLabel: `Numéro de sécurité sociale`, + saveWalletDetails: `Les détails du portefeuille seront enregistrés lors de la sélection`, + morePaymentMethods: `Plus de méthodes de paiement`, + useExistingPaymentMethods: `Utiliser les modes de paiement enregistrés`, + cardNickname: `Pseudonyme de la carte`, + nicknamePlaceholder: `Surnom de la carte (facultatif)`, + cardExpiredText: `Cette carte a expiré`, + cardHeader: `Informations de carte`, + cardBrandConfiguredErrorText: str => `${str} n'est pas pris en charge pour le moment.`, + currencyNetwork: `Réseaux Monétaires`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Date de naissance`, + vpaIdLabel: `Identifiant Vpa`, + vpaIdEmptyText: `L'identifiant Vpa ne peut pas être vide`, + vpaIdInvalidText: `Identifiant Vpa invalide`, + dateofBirthRequiredText: `La date de naissance est requise`, + dateOfBirthInvalidText: `L'âge doit être supérieur ou égal à 18 ans`, + dateOfBirthPlaceholderText: `Entrez la date de naissance`, + formFundsInfoText: `Les fonds seront crédités sur ce compte`, + formFundsCreditInfoText: pmLabel => + `Vos fonds seront crédités sur le ${pmLabel} sélectionné.`, + formEditText: `Modifier`, + formSaveText: `Enregistrer`, + formSubmitText: `Soumettre`, + formSubmittingText: `En cours de soumission`, + formSubheaderBillingDetailsText: `Entrez votre adresse de facturation`, + formSubheaderCardText: `Les détails de votre carte`, + formSubheaderAccountText: pmLabel => `Votre ${pmLabel}`, + formHeaderReviewText: `Réviser`, + formHeaderReviewTabLayoutText: pmLabel => `Révisez les détails de votre ${pmLabel}`, + formHeaderBankText: bankTransferType => `Entrez les détails bancaires ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Entrez les détails du portefeuille ${walletTransferType}`, + formHeaderEnterCardText: `Entrez les détails de la carte`, + formHeaderSelectBankText: `Sélectionnez une méthode bancaire`, + formHeaderSelectWalletText: `Sélectionnez un portefeuille`, + formHeaderSelectAccountText: `Sélectionnez un compte pour les paiements`, + formFieldACHRoutingNumberLabel: `Numéro de routage`, + formFieldSepaIbanLabel: `Numéro de compte bancaire international (IBAN)`, + formFieldSepaBicLabel: `Code d'identification bancaire (facultatif)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numéro de compte bancaire`, + formFieldPhoneNumberLabel: `Numéro de téléphone`, + formFieldCountryCodeLabel: `Code du pays (facultatif)`, + formFieldBankNameLabel: `Nom de la banque (facultatif)`, + formFieldBankCityLabel: `Ville de la banque (facultatif)`, + formFieldCardHoldernamePlaceholder: `Votre nom`, + formFieldBankNamePlaceholder: `Nom de la banque`, + formFieldBankCityPlaceholder: `Ville de la banque`, + formFieldEmailPlaceholder: `Votre e-mail`, + formFieldPhoneNumberPlaceholder: `Votre téléphone`, + formFieldInvalidRoutingNumber: `Le numéro de routage est invalide.`, + infoCardRefId: `ID de référence`, + infoCardErrCode: `Code d'erreur`, + infoCardErrMsg: `Message d'erreur`, + infoCardErrReason: `Raison`, + linkRedirectionText: seconds => `Redirection dans ${seconds->Int.toString} secondes ...`, + linkExpiryInfo: expiry => `Le lien expire le : ${expiry}`, + payoutFromText: merchant => `Paiement de ${merchant}`, + payoutStatusFailedMessage: `Échec du traitement de votre paiement. Veuillez vérifier avec votre fournisseur pour plus de détails.`, + payoutStatusPendingMessage: `Votre paiement devrait être traité sous 2-3 jours ouvrables.`, + payoutStatusSuccessMessage: `Votre paiement a été effectué avec succès. Les fonds ont été déposés dans votre mode de paiement sélectionné.`, + payoutStatusFailedText: `Paiement échoué`, + payoutStatusPendingText: `Paiement en cours`, + payoutStatusSuccessText: `Paiement réussi`, + pixCNPJInvalidText: `CNPJ Pix invalide`, + pixCNPJEmptyText: `Le CNPJ Pix ne peut pas être vide`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Entrez le CNPJ Pix`, + pixCPFInvalidText: `CPF Pix invalide`, + pixCPFEmptyText: `Le CPF Pix ne peut pas être vide`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Entrez le CPF Pix`, + pixKeyEmptyText: `La clé Pix ne peut pas être vide`, + pixKeyPlaceholder: `Entrez la clé Pix`, + pixKeyLabel: `Clé Pix`, + cardDetailsLabel: "Détails de la carte", + firstName: `Prénom`, + lastName: "Nom de famille", + billingDetails: `Détails de la facturation`, + requiredText: `Requis`, + lastNameRequiredText: `Nom de famille requis`, + cardExpiresText: `expire`, + addPaymentMethodLabel: `Ajouter un nouveau mode de paiement`, + cardHolderNameRequiredText: `Nom du titulaire de la carte requis`, + walletDisclaimer: `Les détails du portefeuille seront enregistrés lors de la sélection`, + deletePaymentMethod: "", + +} diff --git a/shared-code/LocaleStrings/GreekLocale.res b/shared-code/LocaleStrings/GreekLocale.res new file mode 100644 index 0000000..5de3a9c --- /dev/null +++ b/shared-code/LocaleStrings/GreekLocale.res @@ -0,0 +1,154 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "el", + localeDirection: "v-p", + cardDetailsLabel: "Λεπτομέρειες Κάρτας", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Η γραμμή διευθύνσεων 1 δεν μπορεί να είναι κενή`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + cityLabel: "Linn", + cityEmptyText: `Η πόλη δεν μπορεί να είναι κενή`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Ο ταχυδρομικός κωδικός δεν μπορεί να είναι άδειος`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `Μη έγκυρη διεύθυνση e-mail`, + emailEmptyText: `Το email δεν μπορεί να είναι κενό`, + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Όνομα κατόχου της κάρτας", + cardNickname: "Παρατσούκλι της κάρτας", + billingNamePlaceholder: "Όνομα και επώνυμο", + firstName: `Ονομα`, + lastName: `Επίθετο`, + billingDetails: `λεπτομέρειες χρέωσης`, + requiredText: `Απαιτείται`, + lastNameRequiredText: `Απαιτείται επώνυμο`, + cardExpiresText: `λήγει`, + addPaymentMethodLabel: `Προσθήκη νέας μεθόδου πληρωμής`, + cardHolderNameRequiredText: `Απαιτείται το όνομα του κατόχου της κάρτας`, + walletDisclaimer: `Τα στοιχεία του πορτοφολιού θα αποθηκευτούν κατά την επιλογή`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel : "", + pixKeyPlaceholder : "", + deletePaymentMethod: "", + +} diff --git a/shared-code/LocaleStrings/HebrewLocale.res b/shared-code/LocaleStrings/HebrewLocale.res new file mode 100644 index 0000000..6d27a9e --- /dev/null +++ b/shared-code/LocaleStrings/HebrewLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "he", + localeDirection: "rtl", + cardNumberLabel: `מספר כרטיס`, + inValidCardErrorText: `אינו תקין`, + inCompleteCVCErrorText: `קוד האבטחה של הכרטיס שלך אינו שלם`, + inCompleteExpiryErrorText: `פרטי תוקף של הכרטיס שלך אינם מלאים`, + pastExpiryErrorText: `שנת תוקף של הכרטיס שלך עברה.`, + poweredBy: `מופעל על ידי Hyperswitch`, + validThruText: `תוקף`, + sortCodeText: `קוד מיון`, + cvcTextLabel: `קוד בגב הכרטיס`, + line1Label: `כתובת - שורה 1`, + line1Placeholder: `כתובת רחוב`, + line1EmptyText: `שורת כתובת 1 לא יכולה להיות ריקה`, + line2Label: `כתובת - שורה 2`, + line2Placeholder: `דירה, יחידה, וכדומה (אופציונלי)`, + line2EmptyText: `שורת כתובת 2 לא יכולה להיות ריקה`, + cityLabel: `עיר`, + cityEmptyText: `עיר לא יכולה להיות ריקה`, + postalCodeLabel: `מיקוד`, + postalCodeEmptyText: `מיקוד לא יכול להיות ריק`, + postalCodeInvalidText: `מיקוד לא חוקי`, + stateLabel: `מדינה`, + stateEmptyText: `המדינה לא יכולה להיות ריקה`, + accountNumberText: `מספר חשבון`, + emailLabel: `אימייל`, + emailEmptyText: `אימייל לא יכול להיות ריק`, + emailInvalidText: `כתובת אימייל לא חוקית`, + fullNameLabel: `שם מלא`, + fullNamePlaceholder: `שם פרטי ושם משפחה`, + countryLabel: `מדינה`, + currencyLabel: `מטבע`, + bankLabel: `בחר בנק`, + redirectText: `לאחר שליחת ההזמנה שלך, תועבר להשלמת הרכישה באופן מאובטח.`, + bankDetailsText: `לאחר הגשת פרטים אלה, תקבל את פרטי החשבון הבנקאי לביצוע התשלום. נא לוודא לשמור את הפרטים.`, + orPayUsing: `או לשלם באמצעות`, + addNewCard: `הוספת כרטיס אשראי/כרטיס חיוב (דביט)`, + useExisitingSavedCards: `שימוש בכרטיסי חיוב/ אשראי שמורים`, + saveCardDetails: `שמירת פרטי הכרטיס`, + addBankAccount: `הוסף חשבון בנק`, + achBankDebitTerms: str => + `על ידי הזנת מספר החשבון שלך ואישור תשלום זה, אתה מאשר את ${str} ואת Hyperswitch, ספק השירותים התשלום שלנו, לשלוח הוראות לבנק שלך לחייב את החשבון שלך ולהפחית את החשבון שלך על פי ההוראות האלה. אתה זכאי לקבל החזר מהבנק שלך על פי תנאי ההסכם שלך עם הבנק. ההחזר יכול להידרש תוך 8 שבועות מהתאריך שבו הוא הופחת מחשבונך.`, + sepaDebitTerms: str => + `על ידי מתן פרטי התשלום שלך ואישור טופס ההרשאה הזה, אתה מסכים (א) ל-${str}, הנושה ו/או ספקי שירותי התשלום שלנו לשלוח הוראות לבנק שלך לחייב את חשבונך ו-(ב) לבנק שלך לחייב את חשבונך בהתאם להוראות מ-${str}. כחלק מהזכויות שלך, אתה זכאי להחזר מהבנק שלך לפי התנאים וההגבלות של ההסכם שלך עם הבנק שלך. עליך לבקש את ההחזר בתוך 8 שבועות מיום חיוב חשבונך. זכויותיך מוסברות בהצהרה אותה תוכל לקבל מהבנק שלך.`, + becsDebitTerms: `על ידי הזנת פרטי החשבון הבנקאי שלך ואישור תשלום זה, אתה מסכים לבקשת החיוב הישיר ולהסכם תשלום בקשת החיוב הישיר ומאשר את Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 מספר זיהוי משתמש בקשת החיוב הישיר 507156 (Hyperswitch) לחייב את החשבון שלך דרך מערכת BECS (Bulk Electronic Clearing System) בשם Hyperswitch Payment Widget (הסוחר) עבור סכומים הודעו לך בנפרד על ידי הסוחר. אתה מאשר שאתה בעל החשבון או חותם מורשה בחשבון שצוין למעלה.`, + cardTerms: str => + `על ידי הזנת פרטי הכרטיס שלך, אתה מאפשר ל${str} לחייב את הכרטיס שלך עבור תשלומים עתידיים על פי תנאיהם.`, + payNowButton: `שלם עכשיו`, + cardNumberEmptyText: `מספר הכרטיס אינו יכול להיות ריק`, + cardExpiryDateEmptyText: `תוקף של הכרטיס אינו יכול להיות ריק`, + cvcNumberEmptyText: `פרטי קוד ה-CVC אינם יכולים להיות ריקים`, + enterFieldsText: `יש להזין את כל השדות`, + enterValidDetailsText: `יש להזין פרטים תקינים`, + selectPaymentMethodText: `אנא בחר אמצעי תשלום ונסה שוב`, + card: `כרטיס`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`סכום היטל של${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}יוחל עבור עסקה זו`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`סכום היטל של עד${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}יחול עבור עסקה זו`)} + , + surchargeMsgAmountForOneClickWallets: `תשלום נוסף חל`, + billingNameLabel: `שם החיוב`, + billingNamePlaceholder: `שם פרטי ושם משפחה`, + cardHolderName: `שם בעל הכרטיס`, + on: `עַל`, + \"and": `ו`, + nameEmptyText: str => `אנא ספק את שלך ${str}`, + completeNameEmptyText: str => `אנא ספק את המלא שלך ${str}`, + billingDetailsText: `פרטי תשלום`, + socialSecurityNumberLabel: `מספר ביטוח לאומי`, + saveWalletDetails: `פרטי הארנק יישמרו בעת בחירה`, + morePaymentMethods: `אמצעי תשלום נוספים`, + useExistingPaymentMethods: `השתמש באמצעי תשלום שמורים`, + cardNickname: `כינוי לכרטיס`, + nicknamePlaceholder: `כינוי לכרטיס (אופציונלי)`, + cardExpiredText: `הכרטיס הזה פג תוקף`, + cardHeader: `מידע כרטיס`, + cardBrandConfiguredErrorText: str => `${str} לא נתמך כרגע.`, + currencyNetwork: `רשתות מטבעות`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `תאריך לידה`, + vpaIdLabel: `מזהה VPA`, + vpaIdEmptyText: `מזהה VPA לא יכול להיות ריק`, + vpaIdInvalidText: `מזהה VPA לא חוקי`, + dateofBirthRequiredText: `תאריך לידה נדרש`, + dateOfBirthInvalidText: `הגיל צריך להיות גדול או שווה ל-18 שנים`, + dateOfBirthPlaceholderText: `הכנס תאריך לידה`, + formFundsInfoText: `הכספים יזוכו בחשבון זה`, + formFundsCreditInfoText: pmLabel => `הכספים שלך יזוכו ב-${pmLabel} הנבחר.`, + formEditText: `ערוך`, + formSaveText: `שמור`, + formSubmitText: `שלח`, + formSubmittingText: `שולח`, + formSubheaderBillingDetailsText: `הזן את כתובת החיוב שלך`, + formSubheaderCardText: `פרטי הכרטיס שלך`, + formSubheaderAccountText: pmLabel => `ה-${pmLabel} שלך`, + formHeaderReviewText: `סקירה`, + formHeaderReviewTabLayoutText: pmLabel => `בדוק את פרטי ה-${pmLabel} שלך`, + formHeaderBankText: bankTransferType => `הכנס פרטי בנק ${bankTransferType}`, + formHeaderWalletText: walletTransferType => `הכנס פרטי ארנק ${walletTransferType}`, + formHeaderEnterCardText: `הכנס פרטי כרטיס`, + formHeaderSelectBankText: `בחר שיטת בנק`, + formHeaderSelectWalletText: `בחר ארנק`, + formHeaderSelectAccountText: `בחר חשבון לתשלומים`, + formFieldACHRoutingNumberLabel: `מספר ניתוב`, + formFieldSepaIbanLabel: `מספר חשבון בנק בינלאומי (IBAN)`, + formFieldSepaBicLabel: `קוד זיהוי בנק (אופציונלי)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `מספר חשבון בנק`, + formFieldPhoneNumberLabel: `מספר טלפון`, + formFieldCountryCodeLabel: `קוד מדינה (אופציונלי)`, + formFieldBankNameLabel: `שם הבנק (אופציונלי)`, + formFieldBankCityLabel: `עיר הבנק (אופציונלי)`, + formFieldCardHoldernamePlaceholder: `השם שלך`, + formFieldBankNamePlaceholder: `שם הבנק`, + formFieldBankCityPlaceholder: `עיר הבנק`, + formFieldEmailPlaceholder: `האימייל שלך`, + formFieldPhoneNumberPlaceholder: `הטלפון שלך`, + formFieldInvalidRoutingNumber: `מספר הניתוב אינו תקף.`, + infoCardRefId: `מזהה הפניה`, + infoCardErrCode: `קוד שגיאה`, + infoCardErrMsg: `הודעת שגיאה`, + infoCardErrReason: `סיבה`, + linkRedirectionText: seconds => + `הפניה מחדש בעוד ${seconds->Int.toString} שניות ...`, + linkExpiryInfo: expiry => `הקישור יפוג ב: ${expiry}`, + payoutFromText: merchant => `תשלום מ-${merchant}`, + payoutStatusFailedMessage: `נכשל בעיבוד התשלום שלך. אנא בדוק עם הספק שלך לפרטים נוספים.`, + payoutStatusPendingMessage: `התשלום שלך אמור להתבצע בתוך 2-3 ימי עסקים.`, + payoutStatusSuccessMessage: `התשלום שלך בוצע בהצלחה. הכספים הופקדו בדרך התשלום שבחרת.`, + payoutStatusFailedText: `תשלום נכשל`, + payoutStatusPendingText: `תשלום בתהליך`, + payoutStatusSuccessText: `תשלום מוצלח`, + pixCNPJInvalidText: `CNPJ של Pix לא תקין`, + pixCNPJEmptyText: `CNPJ של Pix לא יכול להיות ריק`, + pixCNPJLabel: `CNPJ של Pix`, + pixCNPJPlaceholder: `הכנס CNPJ של Pix`, + pixCPFInvalidText: `CPF של Pix לא תקין`, + pixCPFEmptyText: `CPF של Pix לא יכול להיות ריק`, + pixCPFLabel: `CPF של Pix`, + pixCPFPlaceholder: `הכנס CPF של Pix`, + pixKeyEmptyText: `מפתח Pix לא יכול להיות ריק`, + pixKeyPlaceholder: `הכנס מפתח Pix`, + pixKeyLabel: `מפתח Pix`, + cardDetailsLabel: "פרטי כרטיס", + firstName: `שם פרטי`, + lastName: `שם משפחה`, + billingDetails: `פרטי תשלום`, + requiredText: `נדרש`, + lastNameRequiredText: `שם משפחה נדרש`, + cardExpiresText: `פג תוקפו`, + addPaymentMethodLabel: `הוסף שיטת תשלום חדשה`, + cardHolderNameRequiredText: `נדרש שם בעל הכרטיס`, + walletDisclaimer: `פרטי הארנק יישמרו עם הבחירה`, + deletePaymentMethod: "", + +} diff --git a/shared-code/LocaleStrings/IcelandicLocale.res b/shared-code/LocaleStrings/IcelandicLocale.res new file mode 100644 index 0000000..f3f7d31 --- /dev/null +++ b/shared-code/LocaleStrings/IcelandicLocale.res @@ -0,0 +1,151 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "is", + localeDirection: "Vinstri til hægri", + cardDetailsLabel: "Kortagögn", + cardNumberLabel: "Kortanúmer", + inValidCardErrorText: "Kortanúmerið er ekki gilt.", + inCompleteCVCErrorText: "Öryggiskóði kortsins þíns er ófullnægjandi.", + inCompleteExpiryErrorText: "Gildistími kortsins þíns er ófullnægjandi", + pastExpiryErrorText: "Gildistími kortsins þíns er runninn út.", + poweredBy: "Knúið af Hyperswitch", + validThruText: "Gildistími", + sortCodeText: "Röðunarkóði", + cvcTextLabel: "CVC", + line1Label: "Heimilisfang lína 1", + line1Placeholder: "Heimilisfang", + line1EmptyText: `Heimilisfangslína 1 getur ekki verið tóm`, + line2Label: "Heimilisfang - lína 2", + line2Placeholder: "Íbúð, númer eignar o.s.frv. (valfrjálst)", + cityLabel: "Borg", + cityEmptyText: `Borg getur ekki verið tóm`, + postalCodeLabel: "Póstnúmer", + postalCodeEmptyText: `Póstnúmer getur ekki verið tómt`, + stateLabel: "Ríki", + accountNumberText: "Númer reiknings", + emailLabel: "Netfang", + emailInvalidText: `ógilt netfang`, + emailEmptyText: `Tölvupóstur má ekki vera tómur`, + fullNameLabel: "Fullt nafn", + fullNamePlaceholder: "Fullt nafn", + countryLabel: "Land", + currencyLabel: "Gjaldmiðill", + bankLabel: "Veldu banka", + redirectText: "Eftir að þú hefur sent pöntunina inn verður þér vísað áfram til að ganga frá kaupunum með öruggum hætti.", + bankDetailsText: "Eftir að þú hefur sent þessar upplýsingar inn færðu upplýsingar um bankareikning til að ganga frá greiðslu. Mundu að skrá þær hjá þér.", + orPayUsing: "Eða greiddu með", + addNewCard: "Bættu við kredit-/debetkorti", + useExisitingSavedCards: "Nota vistuð debet-/kreditkort", + saveCardDetails: "Vista kortaupplýsingar", + addBankAccount: "Bættu við bankareikningi", + achBankDebitTerms: str => + `Með því að gefa upp reikningsnúmerið þitt og staðfesta greiðsluna ${str} heimilar þú Hyperswitch, greiðsluþjónustuveitanda okkar, að senda leiðbeiningar til bankans þíns um að skuldfæra reikninginn þinn og að bankinn skuldfæri reikninginn þinn í samræmi við þær leiðbeiningar. Þú átt rétt á endurgreiðslu frá bankanum samkvæmt skilmálum og skilyrðum samnings þíns við bankann þinn. Sækja verður um endurgreiðslu innan 8 vikna frá þeim degi sem reikningur þinn var skuldfærður.`, + sepaDebitTerms: str => + `Með því að gefa upp greiðsluupplýsingar þínar og staðfesta greiðsluna heimilar þú (A) ${str} og Hyperswitch, greiðsluþjónustuveitanda okkar og/eða PPRO, þjónustuveitanda hans á staðnum, að senda leiðbeiningar til bankans þíns um að skuldfæra reikninginn þinn og (B) að bankinn skuldfæri reikninginn þinn í samræmi við þær leiðbeiningar. Þú átt rétt á endurgreiðslu frá bankanum samkvæmt skilmálum og skilyrðum samnings þíns við bankann þinn. Sækja verður um endurgreiðslu innan 8 vikna frá þeim degi sem reikningur þinn var skuldfærður. Réttindi þín eru útskýrð í greinargerð sem þú getur fengið frá bankanum þínum. Þú samþykkir að fá tilkynningar um framtíðarskuldbindingar allt að 2 dögum áður en þær eiga sér stað.`, + becsDebitTerms: "Með því að gefa upp upplýsingar um bankareikning þinn og staðfesta greiðsluna samþykkir þú þessa beingreiðslubeiðni og beingreiðslubeiðnisþjónustusamning og heimilar Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 kennitala notanda beingreiðslu 507156 („Hyperswitch“) að skuldfæra reikninginn þinn í gegnum Bulk Electronic Clearing System (BECS) fyrir hönd Hyperswitch Payment Widget („söluaðilinn“) fyrir allar upphæðir sem söluaðilinn hefur tilkynnt þér sérstaklega. Þú staðfestir að þú sért annað hvort reikningshafi eða viðurkenndur undirritunaraðili á reikningnum sem tilgreindur er hér að ofan.", + cardTerms: str => + `Með því að gefa upp kortaupplýsingar þínar heimilar þú ${str} að skuldfæra kortið þitt fyrir síðari greiðslum í samræmi við skilmála þeirra.`, + payNowButton: "Greiða núna", + cardNumberEmptyText: "Kortanúmer má ekki vera autt.", + cardExpiryDateEmptyText: "Gildistími korts má ekki vera auður.", + cvcNumberEmptyText: "CVC-númer má ekki vera autt.", + enterFieldsText: "Vinsamlegast fylltu í alla reiti", + enterValidDetailsText: "Vinsamlegast sláðu inn gildar upplýsingar", + card: "Kort", + billingNameLabel: "Heiti reiknings", + cardHolderName: "Nafn korthafa", + cardNickname: "Kortanafn", + billingNamePlaceholder: "Fornafn og eftirnafn", + firstName: `Fyrsta nafn`, + lastName: `Eftirnafn`, + billingDetails: `Innheimtuupplýsingar`, + requiredText: `Nauðsynlegt`, + lastNameRequiredText: `Eftirnafn krafist`, + cardExpiresText: `rennur út`, + addPaymentMethodLabel: `Bæta við nýrri greiðsluaðferð`, + cardHolderNameRequiredText: `Nafn korthafa krafist`, + walletDisclaimer: `Upplýsingar um veski verða vistaðar við val`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", pixKeyLabel:"", pixKeyPlaceholder:"", + deletePaymentMethod: "" + } \ No newline at end of file diff --git a/shared-code/LocaleStrings/ItalianLocale.res b/shared-code/LocaleStrings/ItalianLocale.res new file mode 100644 index 0000000..e9ae363 --- /dev/null +++ b/shared-code/LocaleStrings/ItalianLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `it`, + localeDirection: `lrt`, + cardNumberLabel: `Numero della carta`, + inValidCardErrorText: `Il numero della carta non è valido.`, + inCompleteCVCErrorText: `Il codice di sicurezza della carta è incompleto.`, + inCompleteExpiryErrorText: `La data di scadenza della carta è incompleta.`, + pastExpiryErrorText: `L'anno di scadenza della tua carta è passato.`, + poweredBy: `Offerto da Hyperswitch`, + validThruText: `Scadenza`, + sortCodeText: `Sort Code`, + cvcTextLabel: `CVC`, + line1Label: `Indirizzo (riga 1)`, + line1Placeholder: `Indirizzo`, + line2Label: `Indirizzo (riga 2)`, + line2Placeholder: `Appartamento, interno, ecc. (facoltativo)`, + cityLabel: `Città`, + postalCodeLabel: `Codice di avviamento postale`, + stateLabel: `Stato`, + accountNumberText: `Numero del conto`, + emailLabel: `E-mail`, + fullNameLabel: `Nome e cognome`, + fullNamePlaceholder: `Nome e cognome`, + countryLabel: `Paese`, + currencyLabel: `Valuta`, + bankLabel: `Seleziona una banca`, + redirectText: `Dopo aver inviato l'ordine, ti reindirizzeremo per completare l'acquisto in totale sicurezza.`, + bankDetailsText: `Dopo aver inviato questi dettagli, riceverai le informazioni sul conto bancario per effettuare il pagamento. Assicurati di annotarli.`, + orPayUsing: `Oppure paga utilizzando`, + addNewCard: `Aggiungi una carta di credito/debito`, + useExisitingSavedCards: `Utilizza carte di debito/credito salvate`, + saveCardDetails: `Salva i dati della carta`, + addBankAccount: `Aggiungi un conto bancario`, + achBankDebitTerms: str => + `Fornendo il tuo numero di conto e confermando questo pagamento, autorizzi ${str} e Hyperswitch, il nostro fornitore di servizi di pagamento, a inviare istruzioni alla tua banca per effettuare l'addebito sul tuo conto e la tua banca a effettuare tale addebito sul conto in conformità alle presenti istruzioni. Hai diritto a un rimborso dalla tua banca secondo i termini e le condizioni del tuo contratto con la stessa. Il rimborso va richiesto entro 8 settimane a partire dalla data di addebito sul conto.`, + sepaDebitTerms: str => + `Fornendo le tue informazioni di pagamento e confermando questo modulo di mandato, autorizzi (A) ${str}, il Creditore e/o i nostri fornitori di servizi di pagamento a inviare istruzioni alla tua banca per addebitare il tuo conto e (B) la tua banca ad addebitare il tuo conto secondo le istruzioni di ${str}. Come parte dei tuoi diritti, hai diritto a un rimborso dalla tua banca secondo i termini e le condizioni del tuo accordo con la tua banca. Il rimborso deve essere richiesto entro 8 settimane dalla data in cui il tuo conto è stato addebitato. I tuoi diritti sono spiegati in una dichiarazione che puoi ottenere dalla tua banca.`, + becsDebitTerms: `Fornendo i dettagli del tuo conto bancario e confermando questo pagamento, accetti la presente Richiesta di addebito diretto e il contratto di servizio per la Richiesta di addebito diretto e autorizzi Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, numero identificativo utente per addebito diretto 507156 ( \"Hyperswitch\") a effettuare l'addebito sul tuo conto tramite il Bulk Electronic Clearing System (BECS) per conto di Hyperswitch Payment Widget (l' Esercente) per qualsiasi importo ti venga comunicato separatamente dall'Esercente. Dichiari di essere titolare o firmatario autorizzato del conto sopra indicato.`, + cardTerms: str => + `Fornendo i dati della tua carta, autorizzi ${str} ad addebitare sulla tua carta pagamenti futuri in conformità con i suoi termini.`, + payNowButton: `Paga ora`, + cardNumberEmptyText: `Il campo Numero della carta non può essere vuoto`, + cardExpiryDateEmptyText: `Il campo Data di scadenza della carta non può essere vuoto`, + cvcNumberEmptyText: `Il campo CVC non può essere vuoto`, + enterFieldsText: `Compila tutti i campi`, + enterValidDetailsText: `Inserisci dati validi`, + card: `Carta`, + billingNameLabel: `Intestatario della fattura`, + cardHolderName: `Nome del titolare della carta`, + cardNickname: `Soprannome della carta`, + billingNamePlaceholder: `Nome e cognome`, + emailEmptyText: `L'e-mail non può essere vuota`, + emailInvalidText: `indirizzo email non valido`, + line1EmptyText: `La riga dell'indirizzo 1 non può essere vuota`, + line2EmptyText: `La riga dell'indirizzo 2 non può essere vuota`, + cityEmptyText: `La città non può essere vuota`, + postalCodeEmptyText: `Il codice postale non può essere vuoto`, + postalCodeInvalidText: `Codice postale non valido`, + stateEmptyText: `Lo stato non può essere vuoto`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un importo aggiuntivo di${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}verrà applicato per questa transazione`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un importo di supplemento fino a${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}verrà applicato per questa transazione`)} + , + surchargeMsgAmountForOneClickWallets: `Supplemento applicabile`, + on: `SU`, + \"and": `E`, + nameEmptyText: str => `Per favore fornisci il tuo ${str}`, + completeNameEmptyText: str => `Si prega di fornire il file completo ${str}`, + billingDetailsText: `Dettagli di fatturazione`, + socialSecurityNumberLabel: `Numero di Social Security`, + saveWalletDetails: `I dettagli dei portafogli verranno salvati al momento della selezione`, + morePaymentMethods: `Più metodi di pagamento`, + useExistingPaymentMethods: `Utilizza i metodi di pagamento salvati`, + nicknamePlaceholder: `Soprannome della carta (facoltativo)`, + selectPaymentMethodText: `Seleziona un metodo di pagamento e riprova`, + cardExpiredText: `Questa carta è scaduta`, + cardHeader: `Informazioni sulla carta`, + cardBrandConfiguredErrorText: str => `${str} non è supportato al momento.`, + currencyNetwork: `Reti Valutarie`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Data di nascita`, + vpaIdLabel: `Codice Vpa`, + vpaIdEmptyText: `L'ID Vpa non può essere vuoto`, + vpaIdInvalidText: `ID Vpa non valido`, + dateofBirthRequiredText: `La data di nascita è obbligatoria`, + dateOfBirthInvalidText: `L'età deve essere maggiore o uguale a 18 anni`, + dateOfBirthPlaceholderText: `Inserisci la data di nascita`, + formFundsInfoText: "I fondi saranno accreditati su questo conto", + formFundsCreditInfoText: pmLabel => + `I tuoi fondi saranno accreditati sul ${pmLabel} selezionato.`, + formEditText: `Modifica`, + formSaveText: `Salva`, + formSubmitText: `Invia`, + formSubmittingText: `Invio in corso`, + formSubheaderBillingDetailsText: `Inserisci il tuo indirizzo di fatturazione`, + formSubheaderCardText: `Dettagli della tua carta`, + formSubheaderAccountText: pmLabel => `Il tuo ${pmLabel}`, + formHeaderReviewText: `Rivedi`, + formHeaderReviewTabLayoutText: pmLabel => `Rivedi i dettagli del tuo ${pmLabel}`, + formHeaderBankText: bankTransferType => `Inserisci i dettagli bancari ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Inserisci i dettagli del portafoglio ${walletTransferType}`, + formHeaderEnterCardText: `Inserisci i dettagli della carta`, + formHeaderSelectBankText: `Seleziona un metodo bancario`, + formHeaderSelectWalletText: `Seleziona un portafoglio`, + formHeaderSelectAccountText: `Seleziona un conto per i pagamenti`, + formFieldACHRoutingNumberLabel: `Numero di instradamento`, + formFieldSepaIbanLabel: `Numero di conto bancario internazionale (IBAN)`, + formFieldSepaBicLabel: `Codice identificativo bancario (facoltativo)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numero di conto bancario`, + formFieldPhoneNumberLabel: `Numero di telefono`, + formFieldCountryCodeLabel: `Prefisso internazionale (facoltativo)`, + formFieldBankNameLabel: `Nome della banca (facoltativo)`, + formFieldBankCityLabel: `Città della banca (facoltativo)`, + formFieldCardHoldernamePlaceholder: `Il tuo nome`, + formFieldBankNamePlaceholder: `Nome della banca`, + formFieldBankCityPlaceholder: `Città della banca`, + formFieldEmailPlaceholder: `La tua email`, + formFieldPhoneNumberPlaceholder: `Il tuo telefono`, + formFieldInvalidRoutingNumber: `Il numero di instradamento non è valido.`, + infoCardRefId: `ID di riferimento`, + infoCardErrCode: `Codice errore`, + infoCardErrMsg: `Messaggio di errore`, + infoCardErrReason: `Motivo`, + linkRedirectionText: seconds => `Reindirizzamento in ${seconds->Int.toString} secondi ...`, + linkExpiryInfo: expiry => `Il link scade il: ${expiry}`, + payoutFromText: merchant => `Pagamento da ${merchant}`, + payoutStatusFailedMessage: `Non è stato possibile elaborare il tuo pagamento. Si prega di verificare con il proprio fornitore per ulteriori dettagli.`, + payoutStatusPendingMessage: `Il tuo pagamento dovrebbe essere elaborato entro 2-3 giorni lavorativi.`, + payoutStatusSuccessMessage: `Il tuo pagamento è stato effettuato con successo. I fondi sono stati depositati nella modalità di pagamento selezionata.`, + payoutStatusFailedText: `Pagamento fallito`, + payoutStatusPendingText: `Pagamento in corso`, + payoutStatusSuccessText: `Pagamento riuscito`, + pixCNPJInvalidText: `CNPJ Pix non valido`, + pixCNPJEmptyText: `Il CNPJ Pix non può essere vuoto`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Inserisci il CNPJ Pix`, + pixCPFInvalidText: `CPF Pix non valido`, + pixCPFEmptyText: `Il CPF Pix non può essere vuoto`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Inserisci il CPF Pix`, + pixKeyEmptyText: `La chiave Pix non può essere vuota`, + pixKeyPlaceholder: `Inserisci la chiave Pix`, + pixKeyLabel: `Chiave Pix`, + cardDetailsLabel: "Dettagli della carta", + firstName: "Nome di battesimo", + lastName: "Cognome", + billingDetails: `Dettagli di fatturazione`, + requiredText: `Obbligatorio`, + lastNameRequiredText: `Cognome richiesto`, + cardExpiresText: `scade`, + addPaymentMethodLabel: `Aggiungi un nuovo metodo di pagamento`, + cardHolderNameRequiredText: `È obbligatorio il nome del titolare della carta`, + walletDisclaimer: `I dettagli del portafoglio verranno salvati al momento della selezione`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/JapaneseLocale.res b/shared-code/LocaleStrings/JapaneseLocale.res new file mode 100644 index 0000000..a2503ab --- /dev/null +++ b/shared-code/LocaleStrings/JapaneseLocale.res @@ -0,0 +1,162 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "ja", + localeDirection: "ltr", + cardNumberLabel: `カード番号`, + inValidCardErrorText: `カード番号が無効です`, + inCompleteCVCErrorText: `カードのセキュリティ コードが不完全です`, + inCompleteExpiryErrorText: `カードの有効期限が不完全です`, + pastExpiryErrorText: `カードの有効期限が過ぎています`, + poweredBy: `ハイパースイッチ搭載`, + validThruText: `を通じて有効`, + sortCodeText: `ソートコード`, + cvcTextLabel: `セキュリティコード`, + accountNumberText: `口座番号`, + emailLabel: `Eメール`, + emailEmptyText: `電子メールを空にすることはできません`, + emailInvalidText: `無効なメールアドレス`, + fullNameLabel: `フルネーム`, + fullNamePlaceholder: `名前と苗字`, + line1Label: `住所1`, + line1Placeholder: `住所`, + line1EmptyText: `住所行 1 を空にすることはできません`, + line2Label: `住所2`, + postalCodeLabel: `郵便番号`, + postalCodeEmptyText: `郵便番号を空白にすることはできません`, + postalCodeInvalidText: `郵便番号が無効です`, + stateLabel: `州`, + stateEmptyText: `状態を空にすることはできません`, + cityLabel: `街`, + line2Placeholder: `アパート、ユニット番号など(任意)`, + line2EmptyText: `住所行 2 を空にすることはできません`, + countryLabel: `国`, + cityEmptyText: `都市を空にすることはできません`, + currencyLabel: `通貨`, + bankLabel: `バンクを選択`, + redirectText: `注文を送信すると、安全に購入を完了するためにリダイレクトされます。`, + bankDetailsText: `これらの詳細を送信すると、支払いを行うための銀行口座情報が表示されます。必ずメモを取ってください。`, + orPayUsing: `またはを使用して支払う`, + addNewCard: `新しいカードを追加`, + useExisitingSavedCards: `既存の保存済みカードを使用する`, + saveCardDetails: `カードの詳細を保存`, + addBankAccount: `銀行口座を追加`, + achBankDebitTerms: str => + `口座番号を提供し、この支払いを確認することにより、${str} および支払いサービス プロバイダーである Hyperswitch が、銀行に口座からの引き落としの指示を送信し、その指示に従って口座からの引き落としの銀行に指示を送信することを承認したことになります。お客様は、銀行との契約条件に基づいて、銀行から返金を受ける権利があります。払い戻しは、アカウントが引き落とされた日から 8 週間以内に請求する必要があります。`, + sepaDebitTerms: str => + `お支払い情報を提供し、この指示書フォームを確認することにより、(A) ${str}(債権者)および/または当社の決済サービス提供者があなたの銀行に指示を送信して口座から引き落とすことを許可し、(B) あなたの銀行が${str}からの指示に従って口座から引き落とすことを許可します。権利の一部として、あなたは銀行の契約条件に従って銀行から返金を受ける権利があります。返金は口座が引き落とされた日から8週間以内に請求する必要があります。権利については、銀行から取得できる声明で説明されています。`, + becsDebitTerms: `銀行口座の詳細を提供し、この支払いを確認することにより、お客様は、この口座振替リクエストおよび口座振替リクエストのサービス契約に同意し、Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 口座振替ユーザー ID 番号 507156 (「ストライプ」) に口座振替を許可することになります。 Hyperswitch Payment Widget (以下「マーチャント」) に代わって、バルク電子決済システム (BECS) を通じて、マーチャントから別途通知された金額についてのアカウントを作成します。あなたは、自分がアカウント所有者であるか、上記のアカウントの承認された署名者のいずれかであることを証明します。`, + cardTerms: str => + `カード情報を提供することにより、${str} が規約に従って将来の支払いをカードに請求できるようになります。`, + payNowButton: `今払う`, + cardNumberEmptyText: `カード番号を空にすることはできません`, + cardExpiryDateEmptyText: `カードの有効期限を空にすることはできません`, + cvcNumberEmptyText: `CVC 番号を空にすることはできません`, + enterFieldsText: `すべてのフィールドに入力してください`, + enterValidDetailsText: `有効な詳細を入力してください`, + selectPaymentMethodText: `支払い方法を選択して、もう一度お試しください`, + card: `カード`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`この取引には${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}の追加料金が適用されます`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`この取引には${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}までの追加料金が適用されます`)} + , + surchargeMsgAmountForOneClickWallets: `追加料金が適用されます`, + billingNameLabel: `課金名`, + billingNamePlaceholder: `名前と苗字`, + cardHolderName: `クレジットカード名義人氏名`, + on: `の上`, + \"and": `そして`, + nameEmptyText: str => `あなたの情報を提供してください ${str}`, + completeNameEmptyText: str => `完全な情報を提供してください ${str}`, + billingDetailsText: `支払明細`, + socialSecurityNumberLabel: `社会保障番号`, + saveWalletDetails: `選択時にウォレットの詳細が保存されます`, + morePaymentMethods: `その他の支払い方法`, + useExistingPaymentMethods: `保存した支払い方法を使用する`, + cardNickname: `カードのニックネーム`, + nicknamePlaceholder: `カードニックネーム(任意)`, + cardExpiredText: `このカードは期限切れです`, + cardHeader: `カード情報`, + cardBrandConfiguredErrorText: str => `${str} は現在サポートされていません。`, + currencyNetwork: `通貨ネットワーク`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `生年月日`, + vpaIdLabel: `VPA ID`, + vpaIdEmptyText: `VPA ID を空にすることはできません`, + vpaIdInvalidText: `無効な VPA ID`, + dateofBirthRequiredText: `生年月日が必要です`, + dateOfBirthInvalidText: `年齢は18歳以上である必要があります`, + dateOfBirthPlaceholderText: `生年月日を入力してください`, + formFundsInfoText: `資金はこのアカウントに振り込まれます`, + formFundsCreditInfoText: pmLabel => `選択した${pmLabel}に資金が振り込まれます。`, + formEditText: `編集`, + formSaveText: `保存`, + formSubmitText: `提出`, + formSubmittingText: `提出中`, + formSubheaderBillingDetailsText: `請輸入您的帳單地址`, + formSubheaderCardText: `カードの詳細`, + formSubheaderAccountText: pmLabel => `あなたの${pmLabel}`, + formHeaderReviewText: `レビュー`, + formHeaderReviewTabLayoutText: pmLabel => `${pmLabel}の詳細を確認`, + formHeaderBankText: bankTransferType => `${bankTransferType}銀行の詳細を入力`, + formHeaderWalletText: walletTransferType => + `${walletTransferType}ウォレットの詳細を入力`, + formHeaderEnterCardText: `カードの詳細を入力`, + formHeaderSelectBankText: `銀行方法を選択`, + formHeaderSelectWalletText: `ウォレットを選択`, + formHeaderSelectAccountText: `支払いのためのアカウントを選択`, + formFieldACHRoutingNumberLabel: `ルーティング番号`, + formFieldSepaIbanLabel: `国際銀行口座番号(IBAN)`, + formFieldSepaBicLabel: `銀行識別コード(オプション)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `銀行口座番号`, + formFieldPhoneNumberLabel: `電話番号`, + formFieldCountryCodeLabel: `国コード(オプション)`, + formFieldBankNameLabel: `銀行名(オプション)`, + formFieldBankCityLabel: `銀行の都市(オプション)`, + formFieldCardHoldernamePlaceholder: `お名前`, + formFieldBankNamePlaceholder: `銀行名`, + formFieldBankCityPlaceholder: `銀行の都市`, + formFieldEmailPlaceholder: `あなたのメール`, + formFieldPhoneNumberPlaceholder: `あなたの電話`, + formFieldInvalidRoutingNumber: `ルーティング番号が無効です。`, + infoCardRefId: `参照ID`, + infoCardErrCode: `エラーコード`, + infoCardErrMsg: `エラーメッセージ`, + infoCardErrReason: `理由`, + linkRedirectionText: seconds => `${seconds->Int.toString}秒でリダイレクトします...`, + linkExpiryInfo: expiry => `リンクの有効期限:${expiry}`, + payoutFromText: merchant => `${merchant}からの支払い`, + payoutStatusFailedMessage: `支払いの処理に失敗しました。詳細については、プロバイダーにお問い合わせください。`, + payoutStatusPendingMessage: `お支払いは2〜3営業日以内に処理される予定です。`, + payoutStatusSuccessMessage: `お支払いが正常に完了しました。選択した支払い方法に資金が入金されました。`, + payoutStatusFailedText: `支払い失敗`, + payoutStatusPendingText: `支払い処理中`, + payoutStatusSuccessText: `支払い成功`, + pixCNPJInvalidText: `無効なPix CNPJ`, + pixCNPJEmptyText: `Pix CNPJは空にできません`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Pix CNPJを入力`, + pixCPFInvalidText: `無効なPix CPF`, + pixCPFEmptyText: `Pix CPFは空にできません`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Pix CPFを入力`, + pixKeyEmptyText: `Pixキーは空にできません`, + pixKeyPlaceholder: `Pixキーを入力`, + pixKeyLabel: `Pixキー`, + cardDetailsLabel: "カードの詳細", + firstName: `ファーストネーム`, + lastName: `苗字`, + billingDetails: `支払明細`, + requiredText: `必須`, + lastNameRequiredText: `姓が必要です`, + cardExpiresText: `期限切れ`, + addPaymentMethodLabel: `新しい支払い方法を追加`, + cardHolderNameRequiredText: `カード所有者の名前が必要です`, + walletDisclaimer: `ウォレットの詳細は選択時に保存されます`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/LithuanianLocale.res b/shared-code/LocaleStrings/LithuanianLocale.res new file mode 100644 index 0000000..44cdaa5 --- /dev/null +++ b/shared-code/LocaleStrings/LithuanianLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "lt", + localeDirection: "ltr", + cardDetailsLabel: "Kortelės detalės", + cardNumberLabel: "Kortelės numeris", + inValidCardErrorText: "Neteisingas kortelės numeris.", + inCompleteCVCErrorText: "Jūsų kortelės saugos kodas neišsamus.", + inCompleteExpiryErrorText: "Jūsų kortelės galiojimo pabaigos data neišsami.", + pastExpiryErrorText: "Jūsų kortelės galiojimo pabaigos metai jau praėjo.", + poweredBy: "Teikėjas „Hyperswitch“", + validThruText: "Galiojimo pabaiga", + sortCodeText: "Rūšiavimo kodas", + cvcTextLabel: "CVC", + line1Label: "1 adreso eilutė", + line1Placeholder: "Adresas", + line1EmptyText: `1 adreso eilutė negali būti tuščia`, + line2Label: "2 adreso eilutė", + line2Placeholder: "Butas, pastato numeris ir kt. (neprivaloma)", + cityLabel: "Miestas", + cityEmptyText: `Miestas negali būti tuščias`, + postalCodeLabel: "Pašto kodas", + postalCodeEmptyText: `Pašto kodas negali būti tuščias`, + stateLabel: "Valstija", + accountNumberText: "Sąskaitos nr.", + emailLabel: "El. paštas", + emailInvalidText: `Neteisingas el. pašto adresas`, + emailEmptyText: `El. pašto adresas negali būti tuščias`, + fullNameLabel: "Vardas ir pavardė", + fullNamePlaceholder: "Vardas ir pavardė", + countryLabel: "Šalis", + currencyLabel: "Valiuta", + bankLabel: "Pasirinkti banką", + redirectText: "Pateikę užsakymą būsite nukreipti saugiai užbaigti pirkimą.", + bankDetailsText: "Pateikę šią informaciją, gausite banko sąskaitos informaciją, kad galėtumėte atlikti mokėjimą. Būtinai tai įsidėmėkite.", + orPayUsing: "Arba mokėkite naudodami", + addNewCard: "Pridėti kredito / debeto kortelę", + useExisitingSavedCards: "Naudoti išsaugotas debeto / kredito korteles", + saveCardDetails: "Išsaugoti kortelės duomenis", + addBankAccount: "Pridėti banko sąskaitą", + achBankDebitTerms: str => + `Nurodydami savo sąskaitos numerį ir patvirtindami šį mokėjimą, leidžiate ${str} ir „Hyperswitch“, mūsų mokėjimo paslaugų teikėjui, siųsti nurodymus jūsų bankui nurašyti lėšas iš jūsų sąskaitos, o jūsų bankui – nurašyti lėšas iš jūsų sąskaitos pagal tuos nurodymus. Turite teisę susigrąžinti pinigus iš savo banko pagal su banku sudarytos sutarties sąlygas. Prašymą grąžinti pinigus reikia pateikti per 8 savaites nuo lėšų iš sąskaitos nurašymo dienos.`, + sepaDebitTerms: str => + `Pateikdami savo mokėjimo informaciją ir patvirtindami šį mokėjimą, leidžiate (A) ${str} ir „Hyperswitch“, mūsų mokėjimo paslaugų teikėjui ir (arba) „PPRO“, jos vietiniam paslaugų teikėjui, siųsti nurodymus jūsų bankui nurašyti lėšas iš jūsų sąskaitos ir (B) bankui nurašyti lėšas iš jūsų sąskaitos pagal tuos nurodymus. Atsižvelgdami į savo teises, turite teisę susigrąžinti pinigus iš savo banko pagal sutarties su banku sąlygas. Prašymą grąžinti pinigus reikia pateikti per 8 savaites nuo lėšų iš sąskaitos nurašymo dienos. Jūsų teisės paaiškintos pareiškime, kurį galite gauti iš savo banko. Sutinkate gauti pranešimus apie būsimus debetus likus ne mažiau kaip 2 dienoms iki jų atsiradimo.`, + becsDebitTerms: "Pateikdami savo banko sąskaitos duomenis ir patvirtindami šį mokėjimą, sutinkate su šia tiesioginio debeto užklausa ir tiesioginio debeto užklausos paslaugų sutartimi ir suteikiate teisę „Hyperswitch Payments Australia Pty Ltd“ ACN 160 180 343 tiesioginio debeto naudotojo ID Nr. 507156 („Hyperswitch“) „Hyperswitch“ mokėjimų valdiklio („Pardavėjo“) vardu debetuoti jūsų sąskaitą per masinę elektroninę kliringo sistemą (BECS) už bet kokias sumas, apie kurias jums atskirai pranešė Pardavėjas. Patvirtinate, kad esate sąskaitos turėtojas arba įgaliotas asmuo, pasirašęs valdyti aukščiau nurodytą sąskaitą.", + cardTerms: str => + `Pateikdami savo kortelės informaciją, leidžiate ${str} iš kortelės išskaičiuoti būsimus mokėjimus pagal jos sąlygas.`, + payNowButton: "Apmokėti dabar", + cardNumberEmptyText: "Kortelės numeris negali būti tuščias", + cardExpiryDateEmptyText: "Kortelės galiojimo pabaigos data negali būti tuščia", + cvcNumberEmptyText: "Kortelės numeris negali būti tuščias", + enterFieldsText: "Užpildykite visus laukus", + enterValidDetailsText: "Įveskite galiojančią informaciją", + card: "Kortelė", + billingNameLabel: "Sąskaitos pavadinimas", + cardHolderName: "Kortelės turėtojo vardas", + cardNickname: "Kortelės slapyvardis", + billingNamePlaceholder: "Vardas ir pavardė", + firstName: `Pirmas vardas`, + lastName: `Pavardė`, + billingDetails: `Atsiskaitymo informacija`, + requiredText: `Būtinas`, + lastNameRequiredText: `Reikalingas pavardė`, + cardExpiresText: `baigiasi`, + addPaymentMethodLabel: `Pridėti naują mokėjimo būdą`, + cardHolderNameRequiredText: `Būtinas kortelės turėtojo vardas`, + walletDisclaimer: `Išsami piniginės informacija bus išsaugota pasirinkus`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel :"", + pixKeyPlaceholder : "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/LocaleStringHelper.res b/shared-code/LocaleStrings/LocaleStringHelper.res new file mode 100644 index 0000000..52533fd --- /dev/null +++ b/shared-code/LocaleStrings/LocaleStringHelper.res @@ -0,0 +1,79 @@ +open LocaleStringTypes +let mapLocalStringToTypeLocale = val => { + switch val { + | "he" => He + | "fr" => Fr + | "en-GB" => En_GB + | "ar" => Ar + | "ja" => Ja + | "de" => De + | "fr-BE" => Fr_BE + | "es" => Es + | "ca" => Ca + | "zh" => Zh + | "pt" => Pt + | "it" => It + | "pl" => Pl + | "nl" => Nl + | "sv" => Sv + | "ru" => Ru + | "ni-be" => Ni_BE + | "lt" => Lt + | "cs" => Cs + | "sk" => Sk + | "ls" => Ls + | "cy" => Cy + | "el" => El + | "et" => Et + | "fi" => Fi + | "nb" => Nb + | "bs" => Bs + | "da" => Da + | "ms" => Ms + | "tr-c" => Tr_C + | "en" + | _ => + En + } +} + +let getLocale = locale => { + try { + switch locale->Option.getOr(En) { + | En => EnglishLocale.localeStrings + | He => HebrewLocale.localeStrings + | Fr => FrenchLocale.localeStrings + | En_GB => EnglishGBLocale.localeStrings + | Ar => ArabicLocale.localeStrings + | Ja => JapaneseLocale.localeStrings + | De => DeutschLocale.localeStrings + | Fr_BE => FrenchBelgiumLocale.localeStrings + | Es => SpanishLocale.localeStrings + | Ca => CatalanLocale.localeStrings + | Zh => ChineseLocale.localeStrings + | Pt => PortugueseLocale.localeStrings + | It => ItalianLocale.localeStrings + | Pl => PolishLocale.localeStrings + | Nl => DutchLocale.localeStrings + | Sv => SwedishLocale.localeStrings + | Ru => RussianLocale.localeStrings + | Ni_BE => DutchBelgiumLocale.localeStrings + | Lt => LithuanianLocale.localeStrings + | Cs => CzechLocale.localeStrings + | Sk => SlovakLocale.localeStrings + | Ls => IcelandicLocale.localeStrings + | Cy => WelshLocale.localeStrings + | El => GreekLocale.localeStrings + | Et => EstonianLocale.localeStrings + | Fi => FinnishLocale.localeStrings + | Nb => NorwegianLocale.localeStrings + | Bs => BosnianLocale.localeStrings + | Da => DanishLocale.localeStrings + | Ms => MalayLocale.localeStrings + | Tr_C => TurkishLocale.localeStrings + } + } catch { + | _ => EnglishLocale.localeStrings + } +} + diff --git a/shared-code/LocaleStrings/LocaleStringTypes.res b/shared-code/LocaleStrings/LocaleStringTypes.res new file mode 100644 index 0000000..8006be5 --- /dev/null +++ b/shared-code/LocaleStrings/LocaleStringTypes.res @@ -0,0 +1,194 @@ +type localeTypes = + | En + | He + | Fr + | En_GB + | Ar + | Ja + | De + | Fr_BE + | Es + | Ca + | Zh + | Pt + | It + | Pl + | Nl + | Ni_BE + | Sv + | Ru + | Lt + | Cs + | Sk + | Ls + | Cy + | El + | Et + | Fi + | Nb + | Bs + | Da + | Ms + | Tr_C + +type localeStrings = { + locale: string, + cardNumberLabel: string, + localeDirection: string, + inValidCardErrorText: string, + inCompleteCVCErrorText: string, + inCompleteExpiryErrorText: string, + pastExpiryErrorText: string, + poweredBy: string, + validThruText: string, + sortCodeText: string, + cvcTextLabel: string, + emailLabel: string, + emailEmptyText: string, + emailInvalidText: string, + accountNumberText: string, + fullNameLabel: string, + line1Label: string, + line1Placeholder: string, + line1EmptyText: string, + line2Label: string, + line2Placeholder: string, + line2EmptyText: string, + cityLabel: string, + cityEmptyText: string, + postalCodeLabel: string, + postalCodeEmptyText: string, + postalCodeInvalidText: string, + stateLabel: string, + stateEmptyText: string, + fullNamePlaceholder: string, + countryLabel: string, + currencyLabel: string, + bankLabel: string, + redirectText: string, + bankDetailsText: string, + orPayUsing: string, + addNewCard: string, + useExisitingSavedCards: string, + saveCardDetails: string, + addBankAccount: string, + achBankDebitTerms: string => string, + sepaDebitTerms: string => string, + becsDebitTerms: string, + cardTerms: string => string, + payNowButton: string, + cardNumberEmptyText: string, + cardExpiryDateEmptyText: string, + cvcNumberEmptyText: string, + enterFieldsText: string, + enterValidDetailsText: string, + selectPaymentMethodText: string, + card: string, + surchargeMsgAmount: (string, string) => React.element, + surchargeMsgAmountForCard: (string, string) => React.element, + surchargeMsgAmountForOneClickWallets: string, + billingNameLabel: string, + billingNamePlaceholder: string, + cardHolderName: string, + on: string, + \"and": string, + nameEmptyText: string => string, + completeNameEmptyText: string => string, + billingDetailsText: string, + socialSecurityNumberLabel: string, + saveWalletDetails: string, + morePaymentMethods: string, + useExistingPaymentMethods: string, + cardNickname: string, + nicknamePlaceholder: string, + cardExpiredText: string, + cardHeader: string, + cardBrandConfiguredErrorText: string => string, + currencyNetwork: string, + expiryPlaceholder: string, + dateOfBirth: string, + vpaIdLabel: string, + vpaIdEmptyText: string, + vpaIdInvalidText: string, + dateofBirthRequiredText: string, + dateOfBirthInvalidText: string, + dateOfBirthPlaceholderText: string, + formFundsInfoText: string, + formFundsCreditInfoText: string => string, + formEditText: string, + formSaveText: string, + formSubmitText: string, + formSubmittingText: string, + formSubheaderBillingDetailsText: string, + formSubheaderCardText: string, + formSubheaderAccountText: string => string, + formHeaderReviewText: string, + formHeaderReviewTabLayoutText: string => string, + formHeaderBankText: string => string, + formHeaderWalletText: string => string, + formHeaderEnterCardText: string, + formHeaderSelectBankText: string, + formHeaderSelectWalletText: string, + formHeaderSelectAccountText: string, + formFieldACHRoutingNumberLabel: string, + formFieldSepaIbanLabel: string, + formFieldSepaBicLabel: string, + formFieldPixIdLabel: string, + formFieldBankAccountNumberLabel: string, + formFieldPhoneNumberLabel: string, + formFieldCountryCodeLabel: string, + formFieldBankNameLabel: string, + formFieldBankCityLabel: string, + formFieldCardHoldernamePlaceholder: string, + formFieldBankNamePlaceholder: string, + formFieldBankCityPlaceholder: string, + formFieldEmailPlaceholder: string, + formFieldPhoneNumberPlaceholder: string, + formFieldInvalidRoutingNumber: string, + infoCardRefId: string, + infoCardErrCode: string, + infoCardErrMsg: string, + infoCardErrReason: string, + linkRedirectionText: int => string, + linkExpiryInfo: string => string, + payoutFromText: string => string, + payoutStatusFailedMessage: string, + payoutStatusPendingMessage: string, + payoutStatusSuccessMessage: string, + payoutStatusFailedText: string, + payoutStatusPendingText: string, + payoutStatusSuccessText: string, + pixCNPJInvalidText: string, + pixCNPJEmptyText: string, + pixCNPJLabel: string, + pixCNPJPlaceholder: string, + pixCPFInvalidText: string, + pixCPFEmptyText: string, + pixCPFLabel: string, + pixCPFPlaceholder: string, + pixKeyEmptyText: string, + pixKeyLabel: string, + pixKeyPlaceholder: string, + cardDetailsLabel: string, + firstName: string, + lastName: string, + billingDetails: string, + requiredText: string, + cardHolderNameRequiredText: string, + lastNameRequiredText: string, + cardExpiresText: string, + addPaymentMethodLabel: string, + walletDisclaimer: string, + deletePaymentMethod: string, +} + +type constantStrings = { + formFieldCardNumberPlaceholder: string, + formFieldACHRoutingNumberPlaceholder: string, + formFieldAccountNumberPlaceholder: string, + formFieldSortCodePlaceholder: string, + formFieldSepaIbanPlaceholder: string, + formFieldSepaBicPlaceholder: string, + formFieldPixIdPlaceholder: string, + formFieldBankAccountNumberPlaceholder: string, +} diff --git a/shared-code/LocaleStrings/LocalehelperWeb.res b/shared-code/LocaleStrings/LocalehelperWeb.res new file mode 100644 index 0000000..59d2696 --- /dev/null +++ b/shared-code/LocaleStrings/LocalehelperWeb.res @@ -0,0 +1,42 @@ +let getLocaleWeb = async locale => { + try { + let promiseLocale = switch locale->LocaleStringHelper.mapLocalStringToTypeLocale { + | En => Js.import(EnglishLocale.localeStrings) + | He => Js.import(HebrewLocale.localeStrings) + | Fr => Js.import(FrenchLocale.localeStrings) + | En_GB => Js.import(EnglishGBLocale.localeStrings) + | Ar => Js.import(ArabicLocale.localeStrings) + | Ja => Js.import(JapaneseLocale.localeStrings) + | De => Js.import(DeutschLocale.localeStrings) + | Fr_BE => Js.import(FrenchBelgiumLocale.localeStrings) + | Es => Js.import(SpanishLocale.localeStrings) + | Ca => Js.import(CatalanLocale.localeStrings) + | Zh => Js.import(ChineseLocale.localeStrings) + | Pt => Js.import(PortugueseLocale.localeStrings) + | It => Js.import(ItalianLocale.localeStrings) + | Pl => Js.import(PolishLocale.localeStrings) + | Nl => Js.import(DutchLocale.localeStrings) + | Sv => Js.import(SwedishLocale.localeStrings) + | Ru => Js.import(RussianLocale.localeStrings) + | Ni_BE => Js.import(DutchBelgiumLocale.localeStrings) + | Lt => Js.import(LithuanianLocale.localeStrings) + | Cs => Js.import(CzechLocale.localeStrings) + | Sk => Js.import(SlovakLocale.localeStrings) + | Ls => Js.import(IcelandicLocale.localeStrings) + | Cy => Js.import(WelshLocale.localeStrings) + | El => Js.import(GreekLocale.localeStrings) + | Et => Js.import(EstonianLocale.localeStrings) + | Fi => Js.import(FinnishLocale.localeStrings) + | Nb => Js.import(NorwegianLocale.localeStrings) + | Bs => Js.import(BosnianLocale.localeStrings) + | Da => Js.import(DanishLocale.localeStrings) + | Ms => Js.import(MalayLocale.localeStrings) + | Tr_C => Js.import(TurkishLocale.localeStrings) + } + + let awaitedLocaleValue = await promiseLocale + awaitedLocaleValue + } catch { + | _ => EnglishLocale.localeStrings + } +} diff --git a/shared-code/LocaleStrings/MalayLocale.res b/shared-code/LocaleStrings/MalayLocale.res new file mode 100644 index 0000000..4532c95 --- /dev/null +++ b/shared-code/LocaleStrings/MalayLocale.res @@ -0,0 +1,152 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "ms", + localeDirection: "ltr", + cardNumberLabel: "Nombor Kad", + cardDetailsLabel: "Butiran Kad", + inValidCardErrorText: "Nombor kad tidak sah.", + inCompleteCVCErrorText: "Kod keselamatan kad anda tidak lengkap.", + inCompleteExpiryErrorText: "Tarikh tamat tempoh kad anda tidak lengkap.", + pastExpiryErrorText: "Tahun tamat tempoh kad anda telah berlalu.", + poweredBy: "Dikuasakan oleh Hyperswitch", + validThruText: "Luput Pada", + sortCodeText: "Kod Isih", + cvcTextLabel: "CVC", + line1Label: "Alamat baris 1", + line1Placeholder: "Alamat jalan", + line1EmptyText: `Alamat Baris 1 tidak boleh kosong`, + line2Label: "Alamat baris 2", + line2Placeholder: "Apartmen, nombor unit, dll (pilihan)", + cityLabel: "Bandar", + cityEmptyText: `Bandar tidak boleh kosong`, + postalCodeLabel: "Poskod", + postalCodeEmptyText: `Kod pos tidak boleh kosong`, + stateLabel: "Negeri", + accountNumberText: "Nombor Akaun", + emailLabel: "E-mel", + emailInvalidText: `alamat email tidak sah`, + emailEmptyText: `E-mel tidak boleh kosong`, + fullNameLabel: "Nama penuh", + fullNamePlaceholder: "Nama pertama dan akhir", + countryLabel: "Negara", + currencyLabel: "Mata Wang", + bankLabel: "Pilih Bank", + redirectText: "Selepas menghantar pesanan anda, anda akan diarahkan untuk menyelesaikan pembelian anda dengan selamat.", + bankDetailsText: "Selepas menghantar butiran ini, anda akan mendapat maklumat akaun bank untuk membuat pembayaran. Sila pastikan anda mencatatnya.", + orPayUsing: "Atau bayar menggunakan", + addNewCard: "Tambah kad kredit/debit", + useExisitingSavedCards: "Gunakan kad debit/kredit yang disimpan", + saveCardDetails: "Simpan butiran kad", + addBankAccount: "Tambah akaun bank", + achBankDebitTerms: str => + `Dengan memberikan nombor akaun anda dan mengesahkan pembayaran ini, anda membenarkan ${str} dan Hyperswitch, penyedia perkhidmatan pembayaran kami, untuk menghantar arahan kepada bank anda untuk mendebitkan akaun anda dan bank anda untuk mendebitkan akaun anda mengikut arahan tersebut. Anda berhak mendapat bayaran balik daripada bank anda di bawah terma dan syarat perjanjian anda dengan bank anda. Bayaran balik mesti dituntut dalam masa 8 minggu bermula dari tarikh akaun anda didebitkan.`, + sepaDebitTerms: str => + `Dengan memberikan maklumat pembayaran anda dan mengesahkan pembayaran ini, anda membenarkan (A) ${str} dan Hyperswitch, penyedia perkhidmatan pembayaran kami dan/atau PPRO, penyedia perkhidmatan tempatannya, untuk menghantar arahan kepada bank anda untuk mendebitkan akaun anda dan (B) bank anda untuk mendebitkan akaun anda mengikut arahan tersebut. Sebagai sebahagian daripada hak anda, anda berhak mendapat bayaran balik daripada bank anda di bawah terma dan syarat perjanjian anda dengan bank anda. Bayaran balik mesti dituntut dalam masa 8 minggu bermula dari tarikh akaun anda didebitkan. Hak anda dijelaskan dalam penyata yang anda boleh dapatkan daripada bank anda. Anda bersetuju untuk menerima pemberitahuan untuk debit akan datang sehingga 2 hari sebelum ia berlaku.`, + becsDebitTerms: "Dengan memberikan butiran akaun bank anda dan mengesahkan pembayaran ini, anda bersetuju dengan Permintaan Debit Langsung ini dan perjanjian perkhidmatan Permintaan Debit Langsung dan membenarkan Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Nombor Pengguna Debit Langsung 507156 ( \"Hyperswitch\") untuk mendebitkan akaun anda melalui Sistem Penjelasan Elektronik Pukal (Becs) bagi pihak Hyperswitch Payment Widget (\"Pedagang\") untuk sebarang jumlah yang disampaikan secara berasingan kepada anda oleh Pedagang. Anda mengesahkan bahawa anda sama ada pemegang akaun atau penandatangan yang dibenarkan pada akaun yang disenaraikan di atas.", + cardTerms: str => + `Dengan memberikan maklumat kad anda, anda membenarkan ${str} untuk mengecaj kad anda untuk pembayaran akan datang mengikut terma mereka.`, + payNowButton: "Bayar Sekarang", + cardNumberEmptyText: "Nombor Kad tidak boleh kosong", + cardExpiryDateEmptyText: "Tarikh luput kad tidak boleh kosong", + cvcNumberEmptyText: "Nombor CVC tidak boleh kosong", + enterFieldsText: "Sila isikan semua medan", + enterValidDetailsText: "Sila isikan butiran yang sah", + card: "Kad", + billingNameLabel: "Nama pengebilan", + cardHolderName: "Nama Pemegang Kad", + cardNickname: "Nama Samaran Kad", + billingNamePlaceholder: "Nama dan Nama Keluarga", + firstName: "Nama pertama", + lastName: "Nama terakhir", + billingDetails: `maklumat Bil`, + requiredText: `Diperlukan`, + lastNameRequiredText: `Nama terakhir diperluka`, + cardExpiresText: `luput`, + addPaymentMethodLabel: `Tambah kaedah pembayaran baru`, + cardHolderNameRequiredText: `Nama Pemegang Kad diperlukan`, + walletDisclaimer: `Butiran dompet akan disimpan semasa pemilihan`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + deletePaymentMethod : "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel:"", pixKeyPlaceholder:"", + } \ No newline at end of file diff --git a/shared-code/LocaleStrings/NorwegianLocale.res b/shared-code/LocaleStrings/NorwegianLocale.res new file mode 100644 index 0000000..99ba678 --- /dev/null +++ b/shared-code/LocaleStrings/NorwegianLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "no", + localeDirection: "ltr", + cardDetailsLabel: "Kortdetaljer", + cardNumberLabel: "Kortnummer", + inValidCardErrorText: "Kortnummeret er ugyldig.", + inCompleteCVCErrorText: "Kortets sikkerhetskode er ufullstendig.", + inCompleteExpiryErrorText: "Kortets utløpsdato er ufullstendig.", + pastExpiryErrorText: "Kortets utløpsår er i fortiden.", + poweredBy: "Levert av Hyperswitch", + validThruText: "Utløp", + sortCodeText: "Clearingkode", + cvcTextLabel: "CVC", + line1Label: "Adresslinje 1", + line1Placeholder: "Gateadresse", + line1EmptyText: `Adresselinje 1 kan ikke være tom`, + line2Label: "Adresselinje 2", + line2Placeholder: "Leil., enhetsnummer osv. (valgfritt)", + cityLabel: "Poststed", + cityEmptyText: `By kan ikke være tom`, + postalCodeLabel: "Postnummer", + postalCodeEmptyText: `Postnummer kan ikke være tomt`, + stateLabel: "Delstat", + accountNumberText: "Kontonummer", + emailLabel: "E-postadresse", + emailInvalidText: `Ugyldig epostadresse`, + emailEmptyText: `E-post kan ikke være tom`, + fullNameLabel: "Fullt navn", + fullNamePlaceholder: "For- og etternavn", + countryLabel: "Land", + currencyLabel: "Valuta", + bankLabel: "Velg bank", + redirectText: "Etter å ha sendt inn bestillingen, omdirigeres du for å fullføre kjøpet på en sikker måte.", + bankDetailsText: "Etter å ha sendt inn disse opplysningene, mottar du informasjon om bankkontoen betaling skal foretas til. Sørg for å notere dette.", + orPayUsing: "Eller betal ved hjelp av", + addNewCard: "Legg til kreditt-/debetkort", + useExisitingSavedCards: "Bruk lagrede debet-/kredittkort", + saveCardDetails: "Lagre kortopplysninger", + addBankAccount: "Legg til bankkonto", + achBankDebitTerms: str => + `Ved å oppgi kontonummeret ditt og bekrefte denne betalingen, autoriserer du ${str} og Hyperswitch (vår leverandør av betalingstjenester) til å sende instruksjoner til banken om å debitere kontoen din, og at banken skal debitere kontoen i henhold til disse instruksjonene. Du har rett til refusjon fra banken i henhold til vilkårene i avtalen du har med banken. En refusjon må kreves innen 8 uker fra den datoen kontoen ble debitert på.`, + sepaDebitTerms: str => + `Ved å oppgi betalingsinformasjonen din og bekrefte denne betalingen, autoriserer du (A) ${str} og Hyperswitch (vår leverandør av betalingstjenester) og/eller PPRO (deres lokale tjenesteleverandør) til å sende instruksjoner til banken om å debitere kontoen din, og (B) at banken debiterer kontoen din i henhold til disse instruksjonene. Som en del av rettighetene dine, har du rett til refusjon fra banken i henhold til vilkårene i avtalen du har med banken. En refusjon må kreves innen 8 uker fra den datoen kontoen ble debitert på. Rettighetene dine forklares i en erklæring du kan få tak i fra banken. Du samtykker i å motta varsler for fremtidige debiteringer opptil 2 dager før de inntreffer.`, + becsDebitTerms: "Ved å oppgi bankkontoopplysningene dine og bekrefte denne betalingen, godtar du denne forespørselen om direkte debitering samt serviceavtalen om forespørsel om direkte debitering, og autoriserer Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 sin Direct Debit-bruker med ID-nummer 507156 («Hyperswitch») til å debitere kontoen via BECS (Bulk Electronic Clearing System) på vegne av Hyperswitch Payment Widget («forhandleren») for eventuelle beløp forhandleren har kommunisert separat til deg. Du bekrefter at du enten er en kontoinnehaver eller en autorisert signatar på kontoen oppført ovenfor.", + cardTerms: str => + `Ved å oppgi kortinformasjonen, tillater du at ${str} belaster kortet for fremtidige betalinger i henhold til vilkårene.`, + payNowButton: "Betal nå", + cardNumberEmptyText: "Kortnummer kan ikke stå tomt", + cardExpiryDateEmptyText: "Kortets utløpsdato kan ikke stå tomt", + cvcNumberEmptyText: "CVC-nummer kan ikke stå tomt", + enterFieldsText: "Fyll ut alle felter.", + enterValidDetailsText: "Oppgi gyldige opplysninger", + card: "Kort", + billingNameLabel: "Fakturamottakerens navn", + cardHolderName: "Navn på kortinnehaver", + cardNickname: "Kortets kallenavn", + billingNamePlaceholder: "Fornavn og etternavn", + firstName: `Fornavn`, + lastName: `Etternavn`, + billingDetails: `Fakturadetaljer`, + requiredText: `Påkrevd`, + lastNameRequiredText: `Etternavn påkrevd`, + cardExpiresText: `utløper`, + addPaymentMethodLabel: `Legg til en ny betalingsmåte`, + cardHolderNameRequiredText: `Kortholders navn kreves`, + walletDisclaimer: `Lommebokdetaljer vil bli lagret ved valg`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/PolishLocale.res b/shared-code/LocaleStrings/PolishLocale.res new file mode 100644 index 0000000..f9b0970 --- /dev/null +++ b/shared-code/LocaleStrings/PolishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `pl`, + localeDirection: `ltr`, + cardNumberLabel: `Numer karty`, + inValidCardErrorText: `Numer karty jest nieprawidłowy.`, + inCompleteCVCErrorText: `Kod zabezpieczający karty jest niekompletny.`, + inCompleteExpiryErrorText: `Data ważności karty jest niepełna.`, + pastExpiryErrorText: `Rok w dacie ważności karty minął.`, + poweredBy: `Na oprogramowaniu Hyperswitch`, + validThruText: `Dada ważności`, + sortCodeText: `Kod sortowania`, + cvcTextLabel: `CVC`, + line1Label: `Adres wiersz 1`, + line1Placeholder: `Adres (ulica, nr budynku)`, + line2Label: `Adres wiersz 2`, + line2Placeholder: `Nr lokalu itp. (opcjonalnie)`, + cityLabel: `Miejscowość`, + postalCodeLabel: `Kod pocztowy`, deletePaymentMethod : "", + stateLabel: `Stan`, + accountNumberText: `Numer rachunku`, + emailLabel: `E-mail`, + fullNameLabel: `Imię i nazwisko`, + fullNamePlaceholder: `Imię i nazwisko`, + countryLabel: `Państwo`, + currencyLabel: `Waluta`, + bankLabel: `Wybierz bank`, + redirectText: `Po złożeniu zamówienia nastąpi przekierowanie na stronę, na której możesz bezpiecznie sfinalizować zakup.`, + bankDetailsText: `Po przesłaniu tych informacji otrzymasz dane konta bankowego do płatności. Pamiętaj, aby je zanotować.`, + orPayUsing: `Lub zapłać za pomocą`, + addNewCard: `Dodaj kartę kredytową lub debetową`, + useExisitingSavedCards: `Użyj zapisanych kart debetowych lub kredytowych`, + saveCardDetails: `Zapisz dane karty`, + addBankAccount: `Dodaj konto bankowe`, + achBankDebitTerms: str => + `Podając numer konta i potwierdzając tę płatność, upoważniasz ${str} i Hyperswitch, naszego dostawcę usług płatniczych, do przekazania Twojemu bankowi dyspozycji obciążenia Twojego konta, a Twój bank – do obciążenia Twojego konta zgodnie z tymi instrukcjami. Przysługuje Ci prawo do zwrotu pieniędzy od banku zgodnie z warunkami umowy zawartej z bankiem. Wniosek o zwrot pieniędzy należy złożyć w ciągu 8 dni od dnia obciążenia konta.`, + sepaDebitTerms: str => + `Podając swoje informacje płatnicze i potwierdzając ten formularz zlecenia, upoważniasz (A) ${str}, wierzyciela i/lub naszych dostawców usług płatniczych do wysłania instrukcji do twojego banku, aby obciążył twoje konto oraz (B) twój bank do obciążenia twojego konta zgodnie z instrukcjami od ${str}. W ramach swoich praw masz prawo do zwrotu od swojego banku zgodnie z warunkami umowy z bankiem. Zwrot należy zgłosić w ciągu 8 tygodni od dnia, w którym twoje konto zostało obciążone. Twoje prawa są opisane w oświadczeniu, które możesz uzyskać w swoim banku.`, + becsDebitTerms: `Podając dane konta bankowego i potwierdzając tę płatność, zgadzasz się na niniejsze polecenie zapłaty i umowę o świadczenie usług polecenia zapłaty oraz upoważniasz Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 numer identyfikacyjny użytkownika polecenia zapłaty 507156 („Hyperswitch”) do obciążenia Twojego konta za pośrednictwem Zbiorczego Elektronicznego Systemu Rozliczeniowego (BECS) w imieniu Hyperswitch Payment Widget („Sprzedawca”) wszelkimi kwotami, o których Sprzedawca poinformował Cię osobno. Oświadczasz, że jesteś posiadaczem konta lub osobą upoważnioną do składania podpisów dla konta wymienionego powyżej.`, + cardTerms: str => + `Podając dane swojej karty, zezwalasz ${str} na obciążenie jej przyszłymi płatnościami zgodnie z jej warunkami.`, + payNowButton: `Zapłać teraz`, + cardNumberEmptyText: `Numer karty nie może być pusty`, + cardExpiryDateEmptyText: `Data ważności karty nie może być pusta`, + cvcNumberEmptyText: `Numer CVC nie może być pusty`, + enterFieldsText: `Uzupełnij wszystkie pola`, + enterValidDetailsText: `Wprowadź prawidłowe dane`, + card: `Karta`, + billingNameLabel: `Nazwisko do faktury`, + cardHolderName: `Imię i nazwisko posiadacza karty`, + cardNickname: `Przezwisko karty`, + billingNamePlaceholder: `Imię i nazwisko`, + emailEmptyText: `Adres e-mail nie może być pusty`, + emailInvalidText: `Niepoprawny adres email`, + line1EmptyText: `Linia adresu 1 nie może być pusta`, + line2EmptyText: `Linia adresu 2 nie może być pusta`, + cityEmptyText: `Miasto nie może być puste`, + postalCodeEmptyText: `Kod pocztowy nie może być pusty`, + postalCodeInvalidText: `Nieprawidłowy kod pocztowy`, + stateEmptyText: `Stan nie może być pusty`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Dopłata w wysokości${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}zostaną zastosowane do tej transakcji`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Dopłata w wysokości do${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}zostaną zastosowane do tej transakcji`)} + , + surchargeMsgAmountForOneClickWallets: `Obowiązuje dodatkowa opłata`, + on: `NA`, + \"and": `I`, + nameEmptyText: str => `Proszę podać swoje ${str}`, + completeNameEmptyText: str => `Proszę podać kompletne ${str}`, + billingDetailsText: `Szczegóły płatności`, + socialSecurityNumberLabel: `Numer ubezpieczenia społecznego`, + saveWalletDetails: `Po dokonaniu wyboru szczegóły portfela zostaną zapisane`, + morePaymentMethods: `Więcej metod płatności`, + useExistingPaymentMethods: `Skorzystaj z zapisanych metod płatności`, + nicknamePlaceholder: `Pseudonim karty (opcjonalnie)`, + selectPaymentMethodText: `Wybierz metodę płatności i spróbuj ponownie`, + cardExpiredText: `Ta karta wygasła`, + cardHeader: `Informacje o karcie`, + cardBrandConfiguredErrorText: str => `${str} nie jest obecnie obsługiwany.`, + currencyNetwork: `Sieci Walutowe`, + expiryPlaceholder: `MM / RR`, + dateOfBirth: `Data urodzenia`, + vpaIdLabel: `Identyfikator Vpa`, + vpaIdEmptyText: `Identyfikator Vpa nie może być pusty`, + vpaIdInvalidText: `Nieprawidłowy identyfikator Vpa`, + dateofBirthRequiredText: `Data urodzenia jest wymagana`, + dateOfBirthInvalidText: `Wiek powinien być większy lub równy 18 lat`, + dateOfBirthPlaceholderText: `Wprowadź datę urodzenia`, + formFundsInfoText: `Środki zostaną zaksięgowane na tym koncie`, + formFundsCreditInfoText: pmLabel => + `Twoje środki zostaną zaksięgowane na wybranym ${pmLabel}.`, + formEditText: `Edytuj`, + formSaveText: `Zapisz`, + formSubmitText: `Zatwierdź`, + formSubmittingText: `Zatwierdzanie`, + formSubheaderBillingDetailsText: `Wprowadź swój adres rozliczeniowy`, + formSubheaderCardText: `Dane twojej karty`, + formSubheaderAccountText: pmLabel => `Twoje ${pmLabel}`, + formHeaderReviewText: `Przegląd`, + formHeaderReviewTabLayoutText: pmLabel => `Przeglądaj szczegóły swojego ${pmLabel}`, + formHeaderBankText: bankTransferType => `Wprowadź dane bankowe ${bankTransferType}`, + formHeaderWalletText: walletTransferType => `Wprowadź dane portfela ${walletTransferType}`, + formHeaderEnterCardText: `Wprowadź dane karty`, + formHeaderSelectBankText: `Wybierz metodę bankową`, + formHeaderSelectWalletText: `Wybierz portfel`, + formHeaderSelectAccountText: `Wybierz konto do wypłat`, + formFieldACHRoutingNumberLabel: `Numer routingu`, + formFieldSepaIbanLabel: `Międzynarodowy numer rachunku bankowego (IBAN)`, + formFieldSepaBicLabel: `Kod identyfikacyjny banku (opcjonalnie)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numer konta bankowego`, + formFieldPhoneNumberLabel: `Numer telefonu`, + formFieldCountryCodeLabel: `Kod kraju (opcjonalnie)`, + formFieldBankNameLabel: `Nazwa banku (opcjonalnie)`, + formFieldBankCityLabel: `Miasto banku (opcjonalnie)`, + formFieldCardHoldernamePlaceholder: `Twoje imię`, + formFieldBankNamePlaceholder: `Nazwa banku`, + formFieldBankCityPlaceholder: `Miasto banku`, + formFieldEmailPlaceholder: `Twój e-mail`, + formFieldPhoneNumberPlaceholder: `Twój telefon`, + formFieldInvalidRoutingNumber: `Numer routingu jest nieprawidłowy.`, + infoCardRefId: `ID referencyjne`, + infoCardErrCode: `Kod błędu`, + infoCardErrMsg: `Komunikat o błędzie`, + infoCardErrReason: `Powód`, + linkRedirectionText: seconds => `Przekierowanie za ${seconds->Int.toString} sekund ...`, + linkExpiryInfo: expiry => `Link wygasa: ${expiry}`, + payoutFromText: merchant => `Wypłata od ${merchant}`, + payoutStatusFailedMessage: `Nie udało się przetworzyć wypłaty. Proszę skontaktować się z dostawcą, aby uzyskać więcej informacji.`, + payoutStatusPendingMessage: `Twoja wypłata powinna zostać przetworzona w ciągu 2-3 dni roboczych.`, + payoutStatusSuccessMessage: `Twoja wypłata zakończyła się sukcesem. Środki zostały zdeponowane w wybranym przez Ciebie trybie płatności.`, + payoutStatusFailedText: `Wypłata nieudana`, + payoutStatusPendingText: `Przetwarzanie wypłaty`, + payoutStatusSuccessText: `Wypłata udana`, + pixCNPJInvalidText: `Nieprawidłowy CNPJ Pix`, + pixCNPJEmptyText: `CNPJ Pix nie może być pusty`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Wprowadź CNPJ Pix`, + pixCPFInvalidText: `Nieprawidłowy CPF Pix`, + pixCPFEmptyText: `CPF Pix nie może być pusty`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Wprowadź CPF Pix`, + pixKeyEmptyText: `Klucz Pix nie może być pusty`, + pixKeyPlaceholder: `Wprowadź klucz Pix`, + pixKeyLabel: `Klucz Pix`, + cardDetailsLabel: "Szczegóły karty", + firstName: `Imię`, + lastName: `Nazwisko`, + billingDetails: `Szczegóły płatności`, + requiredText: `Wymagany`, + lastNameRequiredText: `Wymagane nazwisko`, + cardExpiresText: `wygasa`, + addPaymentMethodLabel: `Dodaj nową metodę płatności`, + cardHolderNameRequiredText: `Wymagane jest podanie imienia i nazwiska posiadacza karty`, + walletDisclaimer: `Szczegóły portfela zostaną zapisane po dokonaniu wyboru`, +} diff --git a/shared-code/LocaleStrings/PortugueseLocale.res b/shared-code/LocaleStrings/PortugueseLocale.res new file mode 100644 index 0000000..4dad081 --- /dev/null +++ b/shared-code/LocaleStrings/PortugueseLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `pt`, + localeDirection: `ltr`, + cardNumberLabel: `Número do cartão`, + inValidCardErrorText: `O número do cartão é inválido.`, + inCompleteCVCErrorText: `O código de segurança do seu cartão está incompleto.`, + inCompleteExpiryErrorText: `A data de validade do seu cartão está incompleta.`, + pastExpiryErrorText: `O ano de validade do seu cartão já passou.`, + poweredBy: `Desenvolvido por Hyperswitch`, + validThruText: `Validade`, + sortCodeText: `Código de agência bancária`, + cvcTextLabel: `CVC`, + line1Label: `Linha de endereço 1`, + line1Placeholder: `Nome de rua`, + line2Label: `Linha de endereço 2`, + line2Placeholder: `Apartamento, número de porta, etc. (opcional)`, + cityLabel: `Localidade`, + postalCodeLabel: `Código postal`, + stateLabel: `Distrito`, + accountNumberText: `Número de conta`, + emailLabel: `E-mail`, + fullNameLabel: `Nome completo`, + fullNamePlaceholder: `Nome e apelido`, + countryLabel: `País`, + currencyLabel: `Moeda`, + bankLabel: `Selecionar banco`, + redirectText: `Depois de fazer a sua encomenda, será redirecionado(a) para concluir a sua compra com segurança.`, + bankDetailsText: `Depois de enviar estes detalhes, receberá as informações da conta bancária para efetuar o pagamento. Assegure-se de que toma nota desses dados.`, + orPayUsing: `Ou pague utilizando`, + addNewCard: `Adicionar cartão de débito/crédito`, + useExisitingSavedCards: `Usar cartões de débito/crédito guardados`, + saveCardDetails: `Guardar dados do cartão`, + addBankAccount: `Adicionar conta bancária`, + achBankDebitTerms: str => + `Ao fornecer o seu número de conta e confirmar este pagamento, está a autorizar ${str} e a Hyperswitch, nossa prestadora de serviços de pagamento, a enviar instruções ao seu banco para debitar a sua conta e ao seu banco para debitar a sua conta de acordo com essas instruções. Tem direito a um reembolso do seu banco de acordo com os termos e condições do seu contrato com o seu banco. Um reembolso tem de ser solicitado dentro de 8 semanas a partir da data em que a sua conta tiver sido debitada.`, + sepaDebitTerms: str => + `Ao fornecer suas informações de pagamento e confirmar este formulário de mandato, você autoriza (A) ${str}, o Credor e/ou nossos prestadores de serviços de pagamento a enviar instruções ao seu banco para debitar sua conta e (B) seu banco a debitar sua conta de acordo com as instruções de ${str}. Como parte dos seus direitos, você tem direito a um reembolso do seu banco de acordo com os termos e condições do seu acordo com o seu banco. O reembolso deve ser solicitado dentro de 8 semanas a partir da data em que sua conta foi debitada. Seus direitos estão explicados em uma declaração que você pode obter no seu banco.`, + becsDebitTerms: `Ao fornecer os seus dados bancários e confirmar este pagamento, concorda com este Pedido de Débito Automático e com o contrato de serviço de Pedido de Débito Automático e autoriza a Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, Número de ID de Utilizador de Débito Automático 507156 ("Hyperswitch"), a debitar a sua conta através do Sistema de Compensação Eletrónica em Massa (BECS) em nome de Hyperswitch Payment Widget (o "Comerciante") por quaisquer valores separadamente comunicados a si pelo Comerciante. Certifica que é titular da conta ou signatário autorizado na conta listada acima.`, + cardTerms: str => + `Ao fornecer as informações do seu cartão, permite ${str} o débito do seu cartão para pagamentos futuros de acordo com as respetivas condições.`, + payNowButton: `Pagar agora`, + cardNumberEmptyText: `O número do cartão não pode ficar em branco`, + cardExpiryDateEmptyText: `A data de validade do cartão não pode ficar em branco`, + cvcNumberEmptyText: `O número CVC não pode ficar em branco`, + enterFieldsText: `Preencha todos os campos`, + enterValidDetailsText: `Introduza dados válidos`, + card: `Cartão`, + billingNameLabel: `Nome de faturação`, + cardHolderName: `Nome do titular do cartão`, + cardNickname: `Apelido do cartão`, + billingNamePlaceholder: `Nome e sobrenome`, + emailEmptyText: `O e-mail não pode ficar vazio`, + emailInvalidText: `Endereço de email invalido`, + line1EmptyText: `A linha de endereço 1 não pode ficar vazia`, + line2EmptyText: `A linha de endereço 2 não pode ficar vazia`, + cityEmptyText: `A cidade não pode ficar vazia`, + postalCodeEmptyText: `O código postal não pode ficar vazio`, + postalCodeInvalidText: `Código postal inválido`, + stateEmptyText: `O estado não pode ficar vazio`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Um valor adicional de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}será aplicado para esta transação`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Um valor adicional de até${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}será aplicado para esta transação`)} + , + surchargeMsgAmountForOneClickWallets: `Taxa adicional aplicável`, + on: `sobre`, + \"and": `e`, + nameEmptyText: str => `Por favor, forneça seu ${str}`, + completeNameEmptyText: str => `Por favor, forneça seu completo ${str}`, + billingDetailsText: `Detalhes de cobrança`, + socialSecurityNumberLabel: `Número da Segurança Social`, + saveWalletDetails: `Os detalhes das carteiras serão salvos após a seleção`, + morePaymentMethods: `Mais métodos de pagamento`, + useExistingPaymentMethods: `Use métodos de pagamento salvos`, + nicknamePlaceholder: `Apelido do cartão (opcional)`, + selectPaymentMethodText: `Selecione uma forma de pagamento e tente novamente`, + cardExpiredText: `Este cartão expirou`, + cardHeader: `Informações do cartão`, + cardBrandConfiguredErrorText: str => `${str} não é suportado no momento.`, + currencyNetwork: `Redes de Moeda`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Data de nascimento`, + vpaIdLabel: `ID VPA`, + vpaIdEmptyText: `O ID Vpa não pode ficar vazio`, + vpaIdInvalidText: `ID Vpa inválido`, + dateofBirthRequiredText: `Data de nascimento é obrigatória`, + dateOfBirthInvalidText: `A idade deve ser maior ou igual a 18 anos`, + dateOfBirthPlaceholderText: `Insira a data de nascimento`, + formFundsInfoText: `Os fundos serão creditados nesta conta`, + formFundsCreditInfoText: pmLabel => `Os seus fundos serão creditados no ${pmLabel} selecionado.`, + formEditText: `Editar`, + formSaveText: `Salvar`, + formSubmitText: `Enviar`, + formSubmittingText: `Enviando`, + formSubheaderBillingDetailsText: `Insira o seu endereço de faturamento`, + formSubheaderCardText: `Detalhes do seu cartão`, + formSubheaderAccountText: pmLabel => `O seu ${pmLabel}`, + formHeaderReviewText: `Revisar`, + formHeaderReviewTabLayoutText: pmLabel => `Revise os detalhes do seu ${pmLabel}`, + formHeaderBankText: bankTransferType => `Insira os detalhes bancários ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Insira os detalhes da carteira ${walletTransferType}`, + formHeaderEnterCardText: `Insira os detalhes do cartão`, + formHeaderSelectBankText: `Selecione um método bancário`, + formHeaderSelectWalletText: `Selecione uma carteira`, + formHeaderSelectAccountText: `Selecione uma conta para pagamentos`, + formFieldACHRoutingNumberLabel: `Número de roteamento`, + formFieldSepaIbanLabel: `Número Internacional de Conta Bancária (IBAN)`, + formFieldSepaBicLabel: `Código de Identificação Bancária (opcional)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Número da conta bancária`, + formFieldPhoneNumberLabel: `Número de telefone`, + formFieldCountryCodeLabel: `Código do país (opcional)`, + formFieldBankNameLabel: `Nome do banco (opcional)`, + formFieldBankCityLabel: `Cidade do banco (opcional)`, + formFieldCardHoldernamePlaceholder: `Seu nome`, + formFieldBankNamePlaceholder: `Nome do banco`, + formFieldBankCityPlaceholder: `Cidade do banco`, + formFieldEmailPlaceholder: `Seu e-mail`, + formFieldPhoneNumberPlaceholder: `Seu telefone`, + formFieldInvalidRoutingNumber: `O número de roteamento é inválido.`, + infoCardRefId: `ID de referência`, + infoCardErrCode: `Código de erro`, + infoCardErrMsg: `Mensagem de erro`, + infoCardErrReason: `Razão`, + linkRedirectionText: seconds => `Redirecionando em ${seconds->Int.toString} segundos ...`, + linkExpiryInfo: expiry => `O link expira em: ${expiry}`, + payoutFromText: merchant => `Pagamento de ${merchant}`, + payoutStatusFailedMessage: `Falha no processamento do seu pagamento. Verifique com o seu fornecedor para mais detalhes.`, + payoutStatusPendingMessage: `O seu pagamento deverá ser processado em 2-3 dias úteis.`, + payoutStatusSuccessMessage: `O seu pagamento foi bem-sucedido. Os fundos foram depositados na forma de pagamento selecionada.`, + payoutStatusFailedText: `Pagamento falhou`, + payoutStatusPendingText: `Pagamento pendente`, + payoutStatusSuccessText: `Pagamento bem-sucedido`, + pixCNPJInvalidText: `CNPJ Pix inválido`, + pixCNPJEmptyText: `CNPJ Pix não pode estar vazio`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Digite o CNPJ Pix`, + pixCPFInvalidText: `CPF Pix inválido`, + pixCPFEmptyText: `CPF Pix não pode estar vazio`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Digite o CPF Pix`, + pixKeyEmptyText: `A chave Pix não pode estar vazia`, + pixKeyPlaceholder: `Digite a chave Pix`, + pixKeyLabel: `Chave Pix`, + cardDetailsLabel: "Detalhes do cartão", + firstName: "Primeiro nome", + lastName: "Sobrenome", + billingDetails: `Detalhes de cobrança`, + requiredText: `obrigatório`, + lastNameRequiredText: `Sobrenome necessário`, + cardExpiresText: `expira`, + addPaymentMethodLabel: `Adicione uma nova forma de pagamento`, + cardHolderNameRequiredText: `Nome do titular do cartão obrigatório`, + deletePaymentMethod : "", walletDisclaimer: `Os detalhes da carteira serão salvos após a seleção`, +} diff --git a/shared-code/LocaleStrings/RussianLocale.res b/shared-code/LocaleStrings/RussianLocale.res new file mode 100644 index 0000000..f9ccc83 --- /dev/null +++ b/shared-code/LocaleStrings/RussianLocale.res @@ -0,0 +1,171 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `ru`, + localeDirection: `ltr`, + cardNumberLabel: `Номер карты`, + inValidCardErrorText: `Номер карты недействителен.`, + inCompleteCVCErrorText: `Неправильно указан код безопасности карты.`, + inCompleteExpiryErrorText: `Неправильно указан срок действия карты.`, + pastExpiryErrorText: `Год истечения срока действия карты в прошлом.`, + poweredBy: `Работает на Hyperswitch`, + validThruText: `Окончание действия`, + sortCodeText: `Номер отделения банка`, + cvcTextLabel: `CVC`, + line1Label: `Адресная строка 1`, + line1Placeholder: `Улица`, + line2Label: `Адресная строка 2`, + line2Placeholder: `Квартира, номер блока и т. д. (необязательно)`, + cityLabel: `Город`, + postalCodeLabel: `Почтовый индекс`, + stateLabel: `Область`, + accountNumberText: `Номер счета`, + emailLabel: `Электронная почта`, + fullNameLabel: `Ф.И.О.`, + fullNamePlaceholder: `Имя и фамилия`, + countryLabel: `Страна`, + currencyLabel: `Валюта`, + bankLabel: `Выберите банк`, + redirectText: `После оформления заказа вы будете перенаправлены на другую страницу для безопасного завершения покупки.`, + bankDetailsText: `После ввода этих данных вы получите банковские реквизиты для совершения платежа. Обязательно запишите их.`, + orPayUsing: `Или оплатить с помощью`, + addNewCard: `Добавить кредитную/дебетовую карту`, + useExisitingSavedCards: `Использовать сохраненные дебетовые/кредитные карты`, + saveCardDetails: `Сохранить данные карты`, + addBankAccount: `Добавить банковский счет`, + achBankDebitTerms: str => + `Предоставляя номер своего счета и подтверждая этот платеж, вы уполномочиваете ${str} и Hyperswitch, нашего поставщика платежных услуг, отправить инструкции в ваш банк для списания средств с вашего счета, а ваш банк — списать средства с вашего счета в соответствии с этими инструкциями. Вы имеете право на возврат средств от своего банка в соответствии с условиями вашего договора с банком. Заявление на возврат средств должно быть подано в течение 8 недель, начиная с даты списания средств с вашего счета.`, + sepaDebitTerms: str => + `Предоставляя вашу платежную информацию и подтверждая эту форму мандата, вы уполномочиваете (А) ${str}, Кредитора и/или наших поставщиков платежных услуг направить инструкции в ваш банк для дебетования вашего счета и (Б) ваш банк дебетовать ваш счет в соответствии с инструкциями от ${str}. В рамках ваших прав вы имеете право на возврат средств от вашего банка в соответствии с условиями соглашения с вашим банком. Запрос на возврат должен быть подан в течение 8 недель с даты дебетования вашего счета. Ваши права объясняются в заявлении, которое вы можете получить в вашем банке.`, + becsDebitTerms: `Предоставляя свои банковские реквизиты и подтверждая этот платеж, вы соглашаетесь с настоящим Запросом на прямое дебетование и соглашением об услуге Запроса на прямое дебетование и уполномочиваете Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 («Hyperswitch») списать средства с вашего счета через Систему массовых электронных расчетов (BECS) от имени Платежного виджета Hyperswitch («Продавец») на любые суммы, отдельно сообщенные вам Продавцом. Вы подтверждаете, что являетесь владельцем счета или уполномоченным лицом с правом подписи по указанному выше счету.`, + cardTerms: str => + `Предоставляя данные своей карты, вы позволяете компании ${str} списать средства с вашей карты для будущих платежей в соответствии с ее условиями.`, + payNowButton: `Оплатить сейчас`, + cardNumberEmptyText: `Необходимо указать номер карты`, + cardExpiryDateEmptyText: `Необходимо указать дату окончания срока действия карты`, + cvcNumberEmptyText: `Необходимо указать номер CVC`, + enterFieldsText: `Заполните все поля`, + enterValidDetailsText: `Введите действительные данные`, + card: `Карта`, + billingNameLabel: `Имя плательщика`, + cardHolderName: `Имя держателя карты`, + cardNickname: `Прозвище карты`, + billingNamePlaceholder: `Имя и фамилия`, + emailEmptyText: `Электронная почта не может быть пустой`, + emailInvalidText: `Неверный адрес электронной почты`, + line1EmptyText: `Адресная строка 1 не может быть пустой.`, + line2EmptyText: `Адресная строка 2 не может быть пустой.`, + cityEmptyText: `Город не может быть пустым`, + postalCodeEmptyText: `Почтовый индекс не может быть пустым`, + postalCodeInvalidText: `Неверный почтовый индекс`, + stateEmptyText: `Штат не может быть пустым`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Дополнительная сумма в размере${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({ + `${SharedUtils.nbsp}будет применено к этой транзакции` + })} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Сумма доплаты до${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string( + `${SharedUtils.nbsp}будет применено к этой транзакции`, + )} + , + surchargeMsgAmountForOneClickWallets: `Возможна дополнительная плата`, + on: `на`, + \"and": `и`, + nameEmptyText: str => `Пожалуйста, предоставьте свой ${str}`, + completeNameEmptyText: str => + `Пожалуйста, предоставьте полную ${str}`, + billingDetailsText: `Платежные реквизиты`, + socialSecurityNumberLabel: `Номер социального страхования`, + saveWalletDetails: `Данные кошельков будут сохранены после выбора.`, + morePaymentMethods: `Больше способов оплаты`, + useExistingPaymentMethods: `Используйте сохраненные способы оплаты`, + nicknamePlaceholder: `Псевдоним карты (необязательно)`, + selectPaymentMethodText: `Пожалуйста, выберите способ оплаты и повторите попытку.`, + cardExpiredText: `Эта карта истекла`, + cardHeader: `Информация о карте`, + cardBrandConfiguredErrorText: str => + `${str} в данный момент не поддерживается.`, + currencyNetwork: `Валютные сети`, + expiryPlaceholder: `MM / ГГ`, + dateOfBirth: `Дата рождения`, + vpaIdLabel: `Идентификатор ВПА`, + vpaIdEmptyText: `Идентификатор VPA не может быть пустым.`, + vpaIdInvalidText: `Неверный идентификатор VPA`, + dateofBirthRequiredText: `Дата рождения обязательна`, + dateOfBirthInvalidText: `Возраст должен быть не меньше 18 лет`, + dateOfBirthPlaceholderText: `Введите дату рождения`, + formFundsInfoText: `Средства будут зачислены на этот счет`, + formFundsCreditInfoText: pmLabel => + `Ваши средства будут зачислены на выбранный ${pmLabel}.`, + formEditText: `Редактировать`, + formSaveText: `Сохранить`, + formSubmitText: `Отправить`, + formSubmittingText: `Отправка`, + formSubheaderBillingDetailsText: `Введите ваш адрес для выставления счета`, + formSubheaderCardText: `Данные вашей карты`, + formSubheaderAccountText: pmLabel => `Ваш ${pmLabel}`, + formHeaderReviewText: `Обзор`, + formHeaderReviewTabLayoutText: pmLabel => + `Просмотрите данные вашего ${pmLabel}`, + formHeaderBankText: bankTransferType => + `Введите банковские данные ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Введите данные кошелька ${walletTransferType}`, + formHeaderEnterCardText: `Введите данные карты`, + formHeaderSelectBankText: `Выберите метод банка`, + formHeaderSelectWalletText: `Выберите кошелек`, + formHeaderSelectAccountText: `Выберите счет для выплат`, + formFieldACHRoutingNumberLabel: `Маршрутный номер`, + formFieldSepaIbanLabel: `Международный номер банковского счета (IBAN)`, + formFieldSepaBicLabel: `Банковский идентификационный код (опционально)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Номер банковского счета`, + formFieldPhoneNumberLabel: `Номер телефона`, + formFieldCountryCodeLabel: `Код страны (опционально)`, + formFieldBankNameLabel: `Название банка (опционально)`, + formFieldBankCityLabel: `Город банка (опционально)`, + formFieldCardHoldernamePlaceholder: `Ваше имя`, + formFieldBankNamePlaceholder: `Название банка`, + formFieldBankCityPlaceholder: `Город банка`, + formFieldEmailPlaceholder: `Ваш e-mail`, + formFieldPhoneNumberPlaceholder: `Ваш телефон`, + formFieldInvalidRoutingNumber: `Неверный маршрутный номер.`, + infoCardRefId: `Идентификатор ссылки`, + infoCardErrCode: `Код ошибки`, + infoCardErrMsg: `Сообщение об ошибке`, + infoCardErrReason: `Причина`, + linkRedirectionText: seconds => + `Перенаправление через ${seconds->Int.toString} секунд ...`, + linkExpiryInfo: expiry => `Ссылка истекает: ${expiry}`, + payoutFromText: merchant => `Выплата от ${merchant}`, + payoutStatusFailedMessage: `Не удалось обработать ваш платеж. Пожалуйста, свяжитесь с вашим поставщиком для получения дополнительной информации.`, + payoutStatusPendingMessage: `Ваш платеж должен быть обработан в течение 2-3 рабочих дней.`, + payoutStatusSuccessMessage: `Ваш платеж был успешно выполнен. Средства были зачислены на выбранный вами способ оплаты.`, + payoutStatusFailedText: `Платеж не удался`, + payoutStatusPendingText: `Платеж в процессе`, + payoutStatusSuccessText: `Платеж успешен`, + pixCNPJInvalidText: `Неверный Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ не может быть пустым`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Введите Pix CNPJ`, + pixCPFInvalidText: `Неверный Pix CPF`, + pixCPFEmptyText: `Pix CPF не может быть пустым`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Введите Pix CPF`, + pixKeyEmptyText: `Ключ Pix не может быть пустым`, + pixKeyPlaceholder: `Введите ключ Pix`, + pixKeyLabel: `Ключ Pix`, + cardDetailsLabel: "Детали карты", + firstName: `Имя`, + lastName: `Фамилия`, + billingDetails: `Платежные реквизиты`, + requiredText: `Необходимый`, + lastNameRequiredText: `Требуется фамилия`, + cardExpiresText: `истекает`, + addPaymentMethodLabel: ` Добавить новый способ оплаты`, + cardHolderNameRequiredText: `Требуется имя держателя карты`, + walletDisclaimer: `Данные кошелька будут сохранены после выбора`, + deletePaymentMethod : ""} diff --git a/shared-code/LocaleStrings/SlovakLocale.res b/shared-code/LocaleStrings/SlovakLocale.res new file mode 100644 index 0000000..c0180b4 --- /dev/null +++ b/shared-code/LocaleStrings/SlovakLocale.res @@ -0,0 +1,150 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "sk", + localeDirection: "ltr", + cardDetailsLabel: "Detaily karty", + cardNumberLabel: "Číslo karty", + inValidCardErrorText: "Číslo karty je neplatné.", + inCompleteCVCErrorText: "Bezpečnostný kód vašej karty je neúplný.", + inCompleteExpiryErrorText: "Dátum vypršania platnosti vašej karty je neúplný.", + pastExpiryErrorText: "Rok vypršania platnosti vašej karty je v minulosti.", + poweredBy: "Využíva službu Hyperswitch", + validThruText: "Ukončenie platnosti", + sortCodeText: "Kód banky", + cvcTextLabel: "CVC", + line1Label: "Adresa, 1. riadok", + line1Placeholder: "Ulica", + line1EmptyText: `Adresa 1 nemôže byť prázdny`, + line2Label: "Adresa, 2. riadok", + line2Placeholder: "Byt, číslo jednotky atď. (nepovinné)", + cityLabel: "Obec", + cityEmptyText: `Mesto nemôže byť prázdne`, + postalCodeLabel: "PSČ", + postalCodeEmptyText: `Poštový kód nemôže byť prázdny`, + stateLabel: "Štát", + accountNumberText: "Číslo účtu", + emailLabel: "E-mail", + emailInvalidText: `neplatná emailová adresa`, + emailEmptyText: `E-mail nemôže byť prázdny`, + fullNameLabel: "Celé meno", + fullNamePlaceholder: "Meno a priezvisko", + countryLabel: "Krajina", + currencyLabel: "Mena", + bankLabel: "Vyberte banku", + redirectText: "Po odoslaní objednávky vás presmerujeme na bezpečné dokončenie nákupu.", + bankDetailsText: "Po odoslaní týchto údajov dostanete údaje o bankovom účte, na ktorý by ste mali poslať platbu. Nezabudnite si ich poznamenať.", + orPayUsing: "Alebo zaplaťte pomocou", + addNewCard: "Pridať kreditnú/debetnú kartu", + useExisitingSavedCards: "Použiť uložené debetné/kreditné karty", + saveCardDetails: "Uložiť údaje o karte", + addBankAccount: "Pridať bankový účet", + achBankDebitTerms: str => + `Poskytnutím čísla účtu a potvrdením tejto platby oprávňujete spoločnosť ${str} a nášho poskytovateľa platobných služieb Hyperswitch poslať vašej banke príkaz na inkaso a banku toto inkaso naúčtovať na váš účet v súlade s týmto príkazom. Máte nárok na vrátenie peňazí od banky podľa podmienok zmluvy, ktorú ste s bankou uzavreli. O vrátenie peňazí musíte požiadať do 8 týždňov od dátumu naúčtovania sumy na váš účet.`, + sepaDebitTerms: str => + `Poskytnutím platobných údajov a potvrdením tejto platby oprávňujete (A) spoločnosť ${str} a nášho poskytovateľa platobných služieb Hyperswitch a/alebo spoločnosť PPRO, jej miestneho poskytovateľa služieb, poslať vašej banke príkaz na inkaso; a (B) banku toto inkaso naúčtovať na váš účet v súlade s týmto príkazom. Ako súčasť svojich práv máte nárok na vrátenie peňazí od banky podľa podmienok zmluvy, ktorú ste s bankou uzavreli. O vrátenie peňazí musíte požiadať do 8 týždňov od dátumu naúčtovania sumy na váš účet. Vaše práva sú vysvetlené vo vyhlásení, ktoré môžete získať od svojej banky. Súhlasíte s tým, že budete dostávať oznámenia o budúcich príkazoch na inkaso až 2 dni pred ich uskutočnením.`, + becsDebitTerms: "Poskytnutím údajov o bankovom účte a potvrdením tejto platby súhlasíte s týmto príkazom na priame inkaso a zmluvou o poskytovaní služieb priameho inkasa. Zároveň povoľujete spoločnosti Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 s identifikátorom používateľa priameho inkasa 507156 (ďalej len „Hyperswitch“) naúčtovať na váš účet prostredníctvom systému hromadného elektronického zúčtovania (BECS) v prospech platobnej miniaplikácie Hyperswitch (ďalej len „obchodník“) ľubovoľnú sumu, ktoré vám obchodník oznámi. Potvrdzujete, že ste vlastníkom alebo oprávneným signatárom účtu uvedeného vyššie.", + cardTerms: str => + `Poskytnutím údajov o karte povoľujete spoločnosti ${str} účtovať budúce platby na kartu v súlade s jej podmienkami.`, + payNowButton: "Zaplatiť teraz", + cardNumberEmptyText: "Číslo karty nemôže byť prázdne", + cardExpiryDateEmptyText: "Dátum vypršania platnosti karty nemôže byť prázdny", + cvcNumberEmptyText: "Číslo CVC nemôže byť prázdne", + enterFieldsText: "Vyplňte všetky polia", + enterValidDetailsText: "Zadajte platné údaje", + card: "Karta", + billingNameLabel: "Fakturačné meno", + cardHolderName: "Meno držiteľa karty", + cardNickname: "Prezývka karty", + billingNamePlaceholder: "Meno a priezvisko", + firstName: `Krstné meno`, + lastName: `Priezvisko`, + billingDetails: `fakturačné údaje`, + requiredText: `Požadovaný`, + lastNameRequiredText: `Vyžadované priezvisko`, + cardExpiresText: `vyprší`, + addPaymentMethodLabel: `Pridať nový spôsob platby`, + cardHolderNameRequiredText: `Vyžaduje sa meno držiteľa karty`, + walletDisclaimer: `Podrobnosti o peňaženke sa po výbere uložia`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "",pixKeyLabel :"",pixKeyPlaceholder:"", deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/SpanishLocale.res b/shared-code/LocaleStrings/SpanishLocale.res new file mode 100644 index 0000000..e7182d4 --- /dev/null +++ b/shared-code/LocaleStrings/SpanishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `es`, + localeDirection: `ltr`, + cardNumberLabel: `Número de tarjeta`, + inValidCardErrorText: `El número de la tarjeta no es válido.`, + inCompleteCVCErrorText: `El código de seguridad de su tarjeta está incompleto.`, + inCompleteExpiryErrorText: `La fecha de vencimiento de su tarjeta está incompleta.`, + pastExpiryErrorText: `El año de vencimiento de su tarjeta ya ha pasado.`, + poweredBy: `Desarrollado por Hyperswitch`, + validThruText: `Vencimiento`, + sortCodeText: `Código Sort`, + cvcTextLabel: `CVV`, + line1Label: `Línea de dirección 1`, + line1Placeholder: `Dirección postal`, + line2Label: `Línea de dirección 2`, + line2Placeholder: `Piso, número de departamento, etc. (opcional)`, + cityLabel: `Ciudad`, + postalCodeLabel: `Código postal`, + stateLabel: `Provincia/estado`, + accountNumberText: `Número de cuenta`, + emailLabel: `Correo electrónico`, + fullNameLabel: `Nombre completo`, + fullNamePlaceholder: `Nombre y apellidos`, + countryLabel: `País`, + currencyLabel: `Moneda`, + bankLabel: `Seleccionar banco`, + redirectText: `Después de enviar su pedido, se le redirigirá para que complete su compra de forma segura.`, + bankDetailsText: `Después de enviar estos datos, obtendrá la información de la cuenta bancaria para realizar el pago. Asegúrese de anotarla.`, + orPayUsing: `O pague con`, + addNewCard: `Añadir tarjeta de crédito/débito`, + useExisitingSavedCards: `Utilizar las tarjetas de débito/crédito guardadas`, + saveCardDetails: `Guardar la información de la tarjeta`, + addBankAccount: `Añadir cuenta bancaria`, + achBankDebitTerms: str => + `Al proporcionar su número de cuenta y confirmar este pago, autoriza a ${str} y Hyperswitch, nuestro proveedor de servicios de pago, a enviar órdenes a su banco para que aplique cargos en su cuenta y para que realice los correspondientes adeudos en la misma de acuerdo con dichas órdenes. Tiene derecho a recibir un reembolso de su banco de acuerdo con las condiciones del contrato suscrito. El reembolso debe reclamarse en un plazo de 8 semanas desde la fecha en la que se aplicó el cargo en su cuenta.`, + sepaDebitTerms: str => + `Al proporcionar su información de pago y confirmar este formulario de mandato, autoriza (A) a ${str}, el Acreedor y/o nuestros proveedores de servicios de pago a enviar instrucciones a su banco para debitar su cuenta y (B) a su banco a debitar su cuenta de acuerdo con las instrucciones de ${str}. Como parte de sus derechos, tiene derecho a un reembolso de su banco según los términos y condiciones de su acuerdo con su banco. El reembolso debe solicitarse dentro de las 8 semanas siguientes a la fecha en que se debitó su cuenta. Sus derechos se explican en un documento que puede obtener en su banco.`, + becsDebitTerms: `Al proporcionar los datos de su cuenta bancaria y confirmar este pago, acepta esta solicitud de domiciliación bancaria y el acuerdo de servicio para la misma. Además, autoriza a Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, número de identificación de usuario de domiciliación bancaria 507156 («Hyperswitch»), a realizar adeudos en su cuenta a través del sistema de compensación electrónica masiva (BECS) en nombre de Hyperswitch Payment Widget (el «comercio») por cualquier importe que el comercio le comunique individualmente. Certifica que es titular de una cuenta o un firmante autorizado en la cuenta indicada anteriormente.`, + cardTerms: str => + `Al proporcionar la información de su tarjeta, permite a ${str} que realice cargos en su tarjeta para futuros pagos de acuerdo con sus términos.`, + payNowButton: `Pagar ahora`, + cardNumberEmptyText: `El número de la tarjeta no puede estar vacío`, + cardExpiryDateEmptyText: `La fecha de vencimiento de la tarjeta no puede estar vacía`, + cvcNumberEmptyText: `El número CVV no puede estar vacío`, + enterFieldsText: `Rellene todos los campos`, + enterValidDetailsText: `Introduzca datos válidos`, + card: `Tarjeta`, + billingNameLabel: `Nombre de facturación`, + cardHolderName: `Nombre del titular de la tarjeta`, + cardNickname: `Apodo de la tarjeta`, + billingNamePlaceholder: `Nombre y apellido`, + emailEmptyText: `El correo electrónico no puede estar vacío.`, + emailInvalidText: `Dirección de correo electrónico no válida`, + line1EmptyText: `La línea de dirección 1 no puede estar vacía`, + line2EmptyText: `La línea de dirección 2 no puede estar vacía`, + cityEmptyText: `La ciudad no puede estar vacía.`, + postalCodeEmptyText: `El código postal no puede estar vacío.`, + postalCodeInvalidText: `código postal no válido`, + stateEmptyText: `El estado no puede estar vacío.`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`un monto de recargo de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}se aplicará para esta transacción`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un monto de recargo de hasta${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}se aplicará para esta transacción`)} + , + surchargeMsgAmountForOneClickWallets: `Tarifa adicional aplicable`, + on: `en`, + \"and": `y`, + nameEmptyText: str => `Por favor proporcione su ${str}`, + completeNameEmptyText: str => `Por favor proporcione su completo ${str}`, + billingDetailsText: `Detalles de facturación`, + socialSecurityNumberLabel: `Número de seguro social`, + saveWalletDetails: `Los detalles de las billeteras se guardarán al realizar la selección.`, + morePaymentMethods: `Más métodos de pago`, + useExistingPaymentMethods: `Utilice métodos de pago guardados`, + nicknamePlaceholder: `Apodo de la tarjeta (opcional)`, + selectPaymentMethodText: `Por favor seleccione un método de pago y vuelva a intentarlo`, + cardExpiredText: `Esta tarjeta ha caducado`, + cardHeader: `Información de la tarjeta`, + cardBrandConfiguredErrorText: str => `${str} no está soportado en este momento.`, + currencyNetwork: `Redes de Divisas`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Fecha de nacimiento`, + vpaIdLabel: `Identificación de Vpa`, + vpaIdEmptyText: `El ID de Vpa no puede estar vacío`, + vpaIdInvalidText: `ID de Vpa no válido`, + dateofBirthRequiredText: `Se requiere la fecha de nacimiento`, + dateOfBirthInvalidText: `La edad debe ser mayor o igual a 18 años`, + dateOfBirthPlaceholderText: `Introduzca la fecha de nacimiento`, + formFundsInfoText: `Los fondos se acreditarán en esta cuenta`, + formFundsCreditInfoText: pmLabel => `Tus fondos se acreditarán en el ${pmLabel} seleccionado.`, + formEditText: `Editar`, + formSaveText: `Guardar`, + formSubmitText: `Enviar`, + formSubmittingText: `Enviando`, + formSubheaderBillingDetailsText: `Ingrese su dirección de facturación`, + formSubheaderCardText: `Detalles de tu tarjeta`, + formSubheaderAccountText: pmLabel => `Tu ${pmLabel}`, + formHeaderReviewText: `Revisar`, + formHeaderReviewTabLayoutText: pmLabel => `Revisa los detalles de tu ${pmLabel}`, + formHeaderBankText: bankTransferType => `Ingresa los detalles bancarios de ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Ingresa los detalles de la billetera ${walletTransferType}`, + formHeaderEnterCardText: `Ingresa los detalles de la tarjeta`, + formHeaderSelectBankText: `Selecciona un método bancario`, + formHeaderSelectWalletText: `Selecciona una billetera`, + formHeaderSelectAccountText: `Selecciona una cuenta para pagos`, + formFieldACHRoutingNumberLabel: `Número de enrutamiento`, + formFieldSepaIbanLabel: `Número Internacional de Cuenta Bancaria (IBAN)`, + formFieldSepaBicLabel: `Código de Identificación Bancaria (opcional)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Número de cuenta bancaria`, + formFieldPhoneNumberLabel: `Número de teléfono`, + formFieldCountryCodeLabel: `Código de país (opcional)`, + formFieldBankNameLabel: `Nombre del banco (opcional)`, + formFieldBankCityLabel: `Ciudad del banco (opcional)`, + formFieldCardHoldernamePlaceholder: `Tu nombre`, + formFieldBankNamePlaceholder: `Nombre del banco`, + formFieldBankCityPlaceholder: `Ciudad del banco`, + formFieldEmailPlaceholder: `Tu correo electrónico`, + formFieldPhoneNumberPlaceholder: `Tu teléfono`, + formFieldInvalidRoutingNumber: `Número de enrutamiento no válido.`, + infoCardRefId: `ID de referencia`, + infoCardErrCode: `Código de error`, + infoCardErrMsg: `Mensaje de error`, + infoCardErrReason: `Razón`, + linkRedirectionText: seconds => `Redireccionando en ${seconds->Int.toString} segundos ...`, + linkExpiryInfo: expiry => `Enlace expira en: ${expiry}`, + payoutFromText: merchant => `Pago de ${merchant}`, + payoutStatusFailedMessage: `No se pudo procesar tu pago. Verifica con tu proveedor para más detalles.`, + payoutStatusPendingMessage: `Tu pago debería ser procesado en 2-3 días hábiles.`, + payoutStatusSuccessMessage: `Tu pago se completó exitosamente. Los fondos se han depositado en el método de pago seleccionado.`, + payoutStatusFailedText: `Pago fallido`, + payoutStatusPendingText: `Pago pendiente`, + payoutStatusSuccessText: `Pago exitoso`, + pixCNPJInvalidText: `CNPJ Pix inválido`, + pixCNPJEmptyText: `El CNPJ Pix no puede estar vacío`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Introduce el CNPJ Pix`, + pixCPFInvalidText: `CPF Pix inválido`, + pixCPFEmptyText: `El CPF Pix no puede estar vacío`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Introduce el CPF Pix`, + pixKeyEmptyText: `La clave Pix no puede estar vacía`, + pixKeyPlaceholder: `Introduce la clave Pix`, + pixKeyLabel: `Clave Pix`, + cardDetailsLabel: "Detalles de la tarjeta", + firstName: "Nom", + lastName: "Cognom", + billingDetails: `Detalls de facturació`, + requiredText: `Requerit`, + lastNameRequiredText: `Cognom necessari`, + cardExpiresText: `caduca`, + addPaymentMethodLabel: `Afegir un nou mètode de pagament`, + cardHolderNameRequiredText: `Cal el nom del titular de la targeta`, + walletDisclaimer: `Els detalls de la cartera es desaran en seleccionar-lo`, + deletePaymentMethod : ""} diff --git a/shared-code/LocaleStrings/SwedishLocale.res b/shared-code/LocaleStrings/SwedishLocale.res new file mode 100644 index 0000000..dfe04d9 --- /dev/null +++ b/shared-code/LocaleStrings/SwedishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `sv`, + localeDirection: `ltr`, + cardNumberLabel: `Kortnummer`, + inValidCardErrorText: `Kortnumret är ogiltigt.`, + inCompleteCVCErrorText: `Kortets säkerhetskod är ofullständig.`, + inCompleteExpiryErrorText: `Kortets utgångsdatum är ofullständigt.`, + pastExpiryErrorText: `Kortets utgångsår är i det förflutna.`, + poweredBy: `Drivs av Hyperswitch`, + validThruText: `Utgångsdatum`, + sortCodeText: `Sorteringskod`, + cvcTextLabel: `CVC`, + line1Label: `Adressrad 1`, + line1Placeholder: `Gatuadress`, + line2Label: `Adressrad 2`, + line2Placeholder: `Lägenhetsnummer osv. (valfritt)`, + cityLabel: `Ort`, + postalCodeLabel: `Postnummer`, + stateLabel: `Region`, + accountNumberText: `Kontonummer`, + emailLabel: `E-postadress`, + fullNameLabel: `Fullständigt namn`, + fullNamePlaceholder: `För- och efternamn`, + countryLabel: `Land`, + currencyLabel: `Valuta`, + bankLabel: `Välj bank`, + redirectText: `När du har skickat in din beställning kommer du att omdirigeras för att säkert slutföra ditt köp.`, + bankDetailsText: `När du har skickat in dessa uppgifter får du bankkontoinformation för att göra betalningen. Se till att komma ihåg den.`, + orPayUsing: `Eller betala med`, + addNewCard: `Lägg till kredit-/betalkort`, + useExisitingSavedCards: `Använd sparade betal-/kreditkort`, + saveCardDetails: `Spara kortuppgifter`, + addBankAccount: `Lägg till bankkonto`, + achBankDebitTerms: str => + `Genom att ange ditt kontonummer och bekräfta denna betalning godkänner du att ${str} och Hyperswitch, vår betaltjänstleverantör, skickar instruktioner till din bank att debitera ditt konto och att din bank debiterar ditt konto i enlighet med dessa instruktioner. Du har rätt till återbetalning från din bank enligt villkoren i ditt avtal med din bank. En återbetalning måste begäras inom 8 veckor från det datum då ditt konto debiterades.`, + sepaDebitTerms: str => + `Genom att lämna din betalningsinformation och bekräfta detta mandatformulär, godkänner du (A) ${str}, borgenären och/eller våra betaltjänstleverantörer att skicka instruktioner till din bank för att debitera ditt konto och (B) din bank att debitera ditt konto enligt instruktioner från ${str}. Som en del av dina rättigheter har du rätt till återbetalning från din bank enligt villkoren i ditt avtal med din bank. Återbetalning måste begäras inom 8 veckor från det datum då ditt konto debiterades. Dina rättigheter förklaras i ett uttalande som du kan få från din bank.`, + becsDebitTerms: "Genom att ange dina bankkontouppgifter och bekräfta denna betalning godkänner du denna autogirering och serviceavtalet för autogirering och godkänner att Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 med användar-ID för direktdebitering 507156 ( \"Hyperswitch\") debiterar ditt konto via Bulk Electronic Clearing System (BECS) på uppdrag av Hyperswitch Payment Widget (\"Handlaren\") för eventuella belopp som separat meddelats dig av Handlaren. Du intygar att du antingen är kontoinnehavare eller behörig undertecknare för kontot som anges ovan.", + cardTerms: str => + `Genom att ange din kortinformation tillåter du att ${str} debiterar ditt kort för framtida betalningar i enlighet med deras villkor.`, + payNowButton: `Betala nu`, + cardNumberEmptyText: `Kortnummer får inte vara tomt`, + cardExpiryDateEmptyText: `Kortets utgångsdatum får inte vara tomt`, + cvcNumberEmptyText: `CVC-nummer får inte vara tomt`, + enterFieldsText: `Fyll i samtliga fält`, + enterValidDetailsText: `Ange giltiga uppgifter`, + card: `Kort`, + billingNameLabel: `Faktureringsnamn`, + cardHolderName: `Korthållarens namn`, + cardNickname: `Kortets smeknamn`, + billingNamePlaceholder: `Förnamn och efternamn`, + emailEmptyText: `E-post får inte vara tom`, + emailInvalidText: `Ogiltig e-postadress`, + line1EmptyText: `Adressrad 1 får inte vara tom`, + line2EmptyText: `Adressrad 2 får inte vara tom`, + cityEmptyText: `Staden får inte vara tom`, + postalCodeEmptyText: `Postnummer får inte vara tomt`, + postalCodeInvalidText: `Ogiltigt postnummer`, + stateEmptyText: `Staten får inte vara tom`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Ett tilläggsbelopp på${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}kommer att tillämpas för denna transaktion`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Ett tilläggsbelopp på upp till${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}kommer att tillämpas för denna transaktion`)} + , + surchargeMsgAmountForOneClickWallets: "Tilläggsavgift tillkommer", + on: `på`, + \"and": "och", + nameEmptyText: str => `Vänligen ange din ${str}`, + completeNameEmptyText: str => `Vänligen ange din fullständiga ${str}`, + billingDetailsText: `Faktureringsuppgifter`, + socialSecurityNumberLabel: `Personnummer`, + saveWalletDetails: `Information om plånböcker kommer att sparas vid val`, + morePaymentMethods: `Fler betalningsmetoder`, + useExistingPaymentMethods: `Använd sparade betalningsmetoder`, + nicknamePlaceholder: `Kortets smeknamn (valfritt)`, + selectPaymentMethodText: `Välj en betalningsmetod och försök igen`, + cardExpiredText: `Detta kort har gått ut`, + cardHeader: `Kortinformation`, + cardBrandConfiguredErrorText: str => `${str} stöds inte för tillfället.`, + currencyNetwork: `Valutanätverk`, + expiryPlaceholder: `MM / ÅÅ`, + dateOfBirth: `Födelsedatum`, + vpaIdLabel: `Vpa-id`, + vpaIdEmptyText: `Vpa-id får inte vara tomt`, + vpaIdInvalidText: `Ogiltigt Vpa-ID`, + dateofBirthRequiredText: `Födelsedatum krävs`, + dateOfBirthInvalidText: `Åldern bör vara större än eller lika med 18 år`, + dateOfBirthPlaceholderText: `Ange födelsedatum`, + formFundsInfoText: `Medlen kommer att sättas in på detta konto`, + formFundsCreditInfoText: pmLabel => `Dina medel kommer att sättas in på det valda ${pmLabel}.`, + formEditText: `Redigera`, + formSaveText: `Spara`, + formSubmitText: `Skicka`, + formSubmittingText: `Skickar`, + formSubheaderBillingDetailsText: `Ange din faktureringsadress`, + formSubheaderCardText: `Dina kortdetaljer`, + formSubheaderAccountText: pmLabel => `Ditt ${pmLabel}`, + formHeaderReviewText: `Granska`, + formHeaderReviewTabLayoutText: pmLabel => `Granska detaljerna för ditt ${pmLabel}`, + formHeaderBankText: bankTransferType => `Ange bankdetaljer för ${bankTransferType}`, + formHeaderWalletText: walletTransferType => `Ange plånboksdetaljer för ${walletTransferType}`, + formHeaderEnterCardText: `Ange kortdetaljer`, + formHeaderSelectBankText: `Välj bankmetod`, + formHeaderSelectWalletText: `Välj plånbok`, + formHeaderSelectAccountText: `Välj ett konto för betalningar`, + formFieldACHRoutingNumberLabel: `Routingnummer`, + formFieldSepaIbanLabel: `Internationellt bankkontonummer (IBAN)`, + formFieldSepaBicLabel: `Bankidentifieringskod (valfritt)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bankkontonummer`, + formFieldPhoneNumberLabel: `Telefonnummer`, + formFieldCountryCodeLabel: `Landskod (valfritt)`, + formFieldBankNameLabel: `Banknamn (valfritt)`, + formFieldBankCityLabel: `Bankstad (valfritt)`, + formFieldCardHoldernamePlaceholder: `Ditt namn`, + formFieldBankNamePlaceholder: `Banknamn`, + formFieldBankCityPlaceholder: `Bankstad`, + formFieldEmailPlaceholder: `Din e-post`, + formFieldPhoneNumberPlaceholder: `Ditt telefonnummer`, + formFieldInvalidRoutingNumber: `Ogiltigt routingnummer.`, + infoCardRefId: `Referens-ID`, + infoCardErrCode: `Felkod`, + infoCardErrMsg: `Felmeddelande`, + infoCardErrReason: `Orsak`, + linkRedirectionText: seconds => `Ompekning om ${seconds->Int.toString} sekunder ...`, + linkExpiryInfo: expiry => `Länken går ut: ${expiry}`, + payoutFromText: merchant => `Utbetalning från ${merchant}`, + payoutStatusFailedMessage: `Det gick inte att behandla din betalning. Kontakta din leverantör för mer information.`, + payoutStatusPendingMessage: `Din betalning bör behandlas inom 2-3 arbetsdagar.`, + payoutStatusSuccessMessage: `Din betalning har slutförts framgångsrikt. Medlen har satts in på den valda betalningsmetoden.`, + payoutStatusFailedText: `Betalning misslyckades`, + payoutStatusPendingText: `Betalning under behandling`, + payoutStatusSuccessText: `Betalning lyckad`, + pixCNPJInvalidText: `Ogiltig Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ kan inte vara tomt`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Ange Pix CNPJ`, + pixCPFInvalidText: `Ogiltig Pix CPF`, + pixCPFEmptyText: `Pix CPF kan inte vara tomt`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Ange Pix CPF`, + pixKeyEmptyText: `Pix-nyckel kan inte vara tom`, + pixKeyPlaceholder: `Ange Pix-nyckel`, + pixKeyLabel: `Pix-nyckel`, + cardDetailsLabel: "Kortdetaljer", + firstName: `Förnamn`, + lastName: "Efternamn", + billingDetails: `Faktureringsuppgifter`, + requiredText: `Nödvändig`, + lastNameRequiredText: `Efternamn krävs`, + cardExpiresText: `går ut`, + addPaymentMethodLabel: `Lägg till ny betalningsmetod`, + cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, + walletDisclaimer: `Information om plånboken sparas vid val`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/TurkishLocale.res b/shared-code/LocaleStrings/TurkishLocale.res new file mode 100644 index 0000000..4023570 --- /dev/null +++ b/shared-code/LocaleStrings/TurkishLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "tr-CY", + localeDirection: "soldan sağa", + cardDetailsLabel: "Kart Detayları", + cardNumberLabel: "Kart Numarası", + inValidCardErrorText: "Kart numarası geçersiz.", + inCompleteCVCErrorText: "Kartınızın güvenlik kodu eksik.", + inCompleteExpiryErrorText: "Kartınızın son kullanma tarihi eksik.", + pastExpiryErrorText: "Kartınızın son kullanma tarihi geçmiş.", + poweredBy: "Hyperswitch Tarafından Desteklenmektedir", + validThruText: "Son kullanma tarihi", + sortCodeText: "Banka Kodu", + cvcTextLabel: "CVC", + line1Label: "Adres satırı 1", + line1Placeholder: "Açık adres", + line1EmptyText: `Adres satırı 1 boş olamaz`, + line2Label: "Adres satırı 2", + line2Placeholder: "Apt., daire numarası vb. (isteğe bağlı)", + cityLabel: "Şehir", + cityEmptyText: `Şehir boş olamaz`, + postalCodeLabel: "Posta Kodu", + postalCodeEmptyText: `Posta kodu boş olamaz`, + stateLabel: "Eyalet", + accountNumberText: "Hesap Numarası", + emailLabel: "E-posta", + emailInvalidText: `Geçersiz e-posta adresi`, + emailEmptyText: `E-posta boş olamaz`, + fullNameLabel: "İsim ve soyisim", + fullNamePlaceholder: "Ad ve soyadı", + countryLabel: "Ülke", + currencyLabel: "Para Birimi", + bankLabel: "Banka Seçin", + redirectText: "Siparişinizi verdikten sonra satın alım işlemini güvenle tamamlayabileceğiniz sayfaya yönlendirileceksiniz.", + bankDetailsText: "Bu bilgileri girdikten sonra ödemeyi yapacağınız banka hesap bilgileri verilecek. Lütfen not almayı unutmayın.", + orPayUsing: "Alternatif ödeme yöntemi:", + addNewCard: "Kredi/banka kartı ekle", + useExisitingSavedCards: "Kayıtlı banka/kredi kartını kullanın", + saveCardDetails: "Kart bilgilerini kaydet", + addBankAccount: "Banka hesabı ekle", + achBankDebitTerms: str => + `Hesap numaranızı vererek ve bu ödemeyi onaylayarak, ${str} ve ödeme hizmeti sağlayıcımız olan Hyperswitch'e hesabınızdan para çekilmesi için bankanıza talimat gönderme ve bankanızın da bu talimata uygun olarak hesabınızdan para çekmesi için yetki vermiş olursunuz. Bankanızla yaptığınız sözleşmenin koşullarına bağlı olarak bankanızdan para iadesi alma hakkınız olabilir. Para iadesi, hesabınızdan tahsilatın yapıldığı tarihten itibaren 8 hafta içinde talep edilmelidir.`, + sepaDebitTerms: str => + `Ödeme bilgilerinizi vererek ve bu ödemeyi onaylayarak, (A) ${str} ve ödeme hizmeti sağlayıcımız olan Hyperswitch'e ve/veya yerel hizmet sağlayıcısı PPRO'ya hesabınızdan para çekilmesi için bankanıza talimat gönderme ve (B) bankanıza bu talimatlara uygun olarak hesabınızdan para çekme için yetki vermiş olursunuz. Haklarınız çerçevesinde bankanızla yaptığınız sözleşmenin koşullarına bağlı olarak bankanızdan para iadesi alma hakkınız olabilir. Para iadesi, hesabınızdan tahsilatın yapıldığı tarihten itibaren 8 hafta içinde talep edilmelidir. Haklarınızla ilgili ayrıntıları bankanızdan temin edebileceğiniz hesap özetinde bulabilirsiniz. Gelecekteki ücretlendirmelerde, ücretlendirmenin yapılmasından 2 gün öncesine kadar bildirim almayı kabul edersiniz.`, + becsDebitTerms: "Banka hesap bilgilerinizi vererek ve bu ödemeyi onaylayarak, bu Otomatik Ödeme Talebini ve Otomatik Ödeme hizmet sözleşmesini kabul etmiş ve ACN 160 180 343 Otomatik Ödeme Kullanıcı Kimliği numarası 507156 bilgilerinin geçerli olduğu Hyperswitch Payments Australia Pty Ltd şirketini ( \"Hyperswitch\"), Hyperswitch Payment Widget (\"Satıcı\") adına Toplu Elektronik Takas Sistemi (BECS) aracılığıyla Satıcı tarafından size ayrıca bildirilen tutarlar için hesabınızdan para çekmesi için yetkilendirmiş olursunuz. Yukarıda adı geçen hesabın hesap sahibi veya imza yetkilisi olduğunuzu onaylıyorsunuz.", + cardTerms: str => + `Kart bilgilerinizi vererek ${str} tarafından kendi şartlarına uygun olarak kartınızdan ücret alınmasına izin vermiş olursunuz.`, + payNowButton: "Şimdi Ödeyin", + cardNumberEmptyText: "Kart Numarası boş olamaz", + cardExpiryDateEmptyText: "Kartın son kullanma tarihi boş olamaz", + cvcNumberEmptyText: "CVC Numarası boş olamaz", + enterFieldsText: "Lütfen tüm alanları doldurun", + enterValidDetailsText: "Lütfen geçerli bilgileri girin", + card: "Kart", + billingNameLabel: "Fatura adı", + cardHolderName: "Kart Sahibinin Adı", + cardNickname: "Kart Takma Adı", + billingNamePlaceholder: "Ad ve Soyad", + firstName: `İlk adı`, + lastName: "Soy isim", + billingDetails: `Fatura Detayları`, + requiredText: `Gerekli`, + lastNameRequiredText: `Soyad gerekli`, + cardExpiresText: `süresi doluyor`, + addPaymentMethodLabel: `Yeni ödeme yöntemi ekle`, + cardHolderNameRequiredText: `Kart Sahibinin adı gereklidir`, + walletDisclaimer: `Cüzdan bilgileri seçim sırasında kaydedilecektir`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/WelshLocale.res b/shared-code/LocaleStrings/WelshLocale.res new file mode 100644 index 0000000..5451071 --- /dev/null +++ b/shared-code/LocaleStrings/WelshLocale.res @@ -0,0 +1,150 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "cy", + localeDirection: "ltr", + cardDetailsLabel: "Manylion y Cerdyn", + cardNumberLabel: "Rhif y Cerdyn", + inValidCardErrorText: "Mae rhif y cerdyn yn annilys.", + inCompleteCVCErrorText: "Mae cod diogelwch eich cerdyn yn anghyflawn.", + inCompleteExpiryErrorText: "Mae dyddiad dod i ben eich cerdyn yn anghyflawn.", + pastExpiryErrorText: "Mae blwyddyn dod i ben eich cerdyn yn y gorffennol.", + poweredBy: "Pwerwyd gan Hyperswitch", + validThruText: "Daw i ben", + sortCodeText: "Cod Didoli", + cvcTextLabel: "CVC", + line1Label: "Cyfeiriad llinell 1", + line1Placeholder: "Cyfeiriad stryd", + line1EmptyText: `Ni all llinell cyfeiriad 1 fod yn wag`, + line2Label: "Cyfeiriad llinell 2", + line2Placeholder: "Rhif y fflat, rhif yr uned, ac ati (dewisol)", + cityLabel: "Dinas", + cityEmptyText: `Ni all y ddinas fod yn wag`, + postalCodeLabel: "Cod post", + postalCodeEmptyText: `Ni all cod post fod yn wag`, + stateLabel: "Talaith", + accountNumberText: "Rhif y Cyfrif", + emailLabel: "E-bost", + emailInvalidText: `Cyfeiriad e -bost annilys`, + emailEmptyText: `Ni all e-bost fod yn wag`, + fullNameLabel: "Enw llawn", + fullNamePlaceholder: "Enw cyntaf ac olaf", + countryLabel: "Gwlad", + currencyLabel: "Arian", + bankLabel: "Dewiswch Fanc", + redirectText: "Ar ôl cyflwyno eich archeb, byddwch yn cael eich ailgyfeirio i gwblhau eich pryniant yn ddiogel.", + bankDetailsText: "Ar ôl cyflwyno'r manylion hyn, byddwch yn cael gwybodaeth cyfrif banc i wneud taliad. Gwnewch yn siŵr eich bod yn gwneud nodyn o'r wybodaeth.", + orPayUsing: "Neu talwch gan ddefnyddio", + addNewCard: "Ychwanegwch gerdyn credyd neu ddebyd", + useExisitingSavedCards: "Defnyddiwch gardiau debyd/credyd a gadwyd", + saveCardDetails: "Cadw manylion y cerdyn", + addBankAccount: "Ychwanegwch gyfrif banc", + achBankDebitTerms: str => + `Trwy ddarparu rhif eich cyfrif a chadarnhau'r taliad hwn, rydych yn awdurdodi ${str} a Hyperswitch, ein darparwr gwasanaeth talu, i anfon cyfarwyddiadau i'ch banc i ddebydu eich cyfrif a'ch banc i ddebydu eich cyfrif yn unol â'r cyfarwyddiadau hynny. Mae gennych hawl i ad-daliad gan eich banc o dan delerau ac amodau eich cytundeb â'ch banc. Rhaid hawlio ad-daliad o fewn 8 wythnos gan ddechrau o'r dyddiad y cafodd eich cyfrif ei ddebydu.`, + sepaDebitTerms: str => + `Trwy ddarparu eich gwybodaeth talu a chadarnhau'r taliad hwn, rydych yn awdurdodi (A) ${str} a Hyperswitch, ein darparwr gwasanaeth talu a/neu PPRO, ei ddarparwr gwasanaeth lleol, i anfon cyfarwyddiadau i'ch banc i ddebydu eich cyfrif a (B) eich banc i ddebydu eich cyfrif yn unol â'r cyfarwyddiadau hynny. Mae gennych hawl i ad-daliad gan eich banc o dan delerau ac amodau eich cytundeb â'ch banc. Rhaid hawlio ad-daliad o fewn 8 wythnos gan ddechrau o'r dyddiad y cafodd eich cyfrif ei ddebydu. Mae eich hawliau'n cael eu hesbonio mewn cyfriflen y gallwch ei chael gan eich banc. Rydych yn cytuno i dderbyn hysbysiadau ar gyfer debydau yn y dyfodol hyd at 2 ddiwrnod cyn iddynt ddigwydd.`, + becsDebitTerms: "Trwy ddarparu eich manylion cyfrif banc a chadarnhau'r taliad hwn, rydych yn cytuno i'r Cais Debyd Uniongyrchol hwn a chytundeb gwasanaeth Cais Debyd Uniongyrchol ac yn awdurdodi Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Rhif ID Defnyddiwr Debyd Uniongyrchol 507156 (“Hyperswitch”) i ddebydu eich cyfrif trwy'r System Glirio Electronig Swmp (BECS) ar ran Hyperswitch Payment Widget (y \"Masnachwr\") ar gyfer unrhyw symiau a gyfathrebir ar wahân i chi gan y Masnachwr. Rydych yn ardystio eich bod naill ai'n ddeiliad cyfrif neu'n lofnodwr awdurdodedig ar y cyfrif a restrir uchod.", + cardTerms: str => + `Trwy ddarparu gwybodaeth eich cerdyn, rydych yn caniatáu ${str} i godi tâl ar eich cerdyn am daliadau yn y dyfodol yn unol â'u telerau.`, + payNowButton: "Talu Nawr", + cardNumberEmptyText: "Ni all Rhif y Cerdyn fod yn wag", + cardExpiryDateEmptyText: "Ni all dyddiad dod i ben y cerdyn fod yn wag", + cvcNumberEmptyText: "Ni all y Rhif CVC fod yn wag", + enterFieldsText: "Rhowch bob maes", + enterValidDetailsText: "Rhowch fanylion dilys", + card: "Cerdyn", + billingNameLabel: "Enw bilio", + cardHolderName: "Enw deiliad y card", + cardNickname: "Enw byr y card", + billingNamePlaceholder: "Enw cyntaf a lleddiad", + firstName: `Enw cyntaf`, + lastName: `Enw olaf`, + billingDetails: `Manylion Bilio`, + requiredText: `Yn ofynnol`, + lastNameRequiredText: `Enw olaf Angenrheidiol`, + cardExpiresText: `yn dod i ben`, + addPaymentMethodLabel: ` Ychwanegu dull talu newydd`, + cardHolderNameRequiredText: `Angen enw Deiliad y Cerdyn`, + walletDisclaimer: `Bydd manylion waled yn cael eu cadw wrth ddewis`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "",pixKeyLabel:"", pixKeyPlaceholder:"",deletePaymentMethod : "" +} diff --git a/shared-code/Utils/SharedUtils.res b/shared-code/Utils/SharedUtils.res new file mode 100644 index 0000000..bce4bbd --- /dev/null +++ b/shared-code/Utils/SharedUtils.res @@ -0,0 +1 @@ +let nbsp = "\u00A0"; \ No newline at end of file diff --git a/src/hooks/GetLocale.res b/src/hooks/GetLocale.res index 90d9fb9..56f4b64 100644 --- a/src/hooks/GetLocale.res +++ b/src/hooks/GetLocale.res @@ -1,36 +1,5 @@ let useGetLocalObj = () => { let (nativeProp, _) = React.useContext(NativePropContext.nativePropContext) - switch nativeProp.configuration.appearance.locale->Option.getOr(En) { - | En => EnglishLocale.localeStrings - | He => HebrewLocale.localeStrings - | Fr => FrenchLocale.localeStrings - | En_GB => EnglishGBLocale.localeStrings - | Ar => ArabicLocale.localeStrings - | Ja => JapaneseLocale.localeStrings - | De => DeutschLocale.localeStrings - | Fr_BE => FrenchBelgiumLocale.localeStrings - | Es => EstonianLocale.localeStrings - | Ca => CatalanLocale.localeStrings - | Zh => ChineseLocale.localeStrings - | Pt => PortugueseLocale.localeStrings - | It => ItalianLocale.localeStrings - | Pl => PolishLocale.localeStrings - | Nl => DutchLocale.localeStrings - | Sv => SwedishLocale.localeStrings - | Ru => RussianLocale.localeStrings - | NI_BE => DutchBelgiumLocale.localeStrings - | Lt => LithuanianLocale.localeStrings - | Cs => CzechLocale.localeStrings - | Sk => SlovakLocale.localeStrings - | Ls => IcelandicLocale.localeStrings - | Cy => WelshLocale.localeStrings - | El => GreekLocale.localeStrings - | Et => EstonianLocale.localeStrings - | Fi => FinnishLocale.localeStrings - | Nb => NorwegianLocale.localeStrings - | Bs => BosnianLocale.localeStrings - | Da => DanishLocale.localeStrings - | Ms => MalayLocale.localeStrings - | Tr_CY => TurkishLocale.localeStrings - } + let locale = LocaleStringHelper.getLocale(nativeProp.configuration.appearance.locale) + locale } diff --git a/src/hooks/ThemebasedStyle.res b/src/hooks/ThemebasedStyle.res index d5dd5c3..1fbb9e3 100644 --- a/src/hooks/ThemebasedStyle.res +++ b/src/hooks/ThemebasedStyle.res @@ -148,7 +148,7 @@ type themeBasedStyleObj = { buttonBorderRadius: float, buttonBorderWidth: float, component: componentConfig, - locale: SdkTypes.localeTypes, + locale: LocaleStringTypes.localeTypes, fontFamily: SdkTypes.fontFamilyTypes, headingTextSizeAdjust: float, subHeadingTextSizeAdjust: float, diff --git a/src/types/PaymentMethodListType.res b/src/types/PaymentMethodListType.res index 846e44c..8d7a86e 100644 --- a/src/types/PaymentMethodListType.res +++ b/src/types/PaymentMethodListType.res @@ -75,7 +75,7 @@ type online = { ip_address?: string, user_agent?: string, accept_header?: string, - language?: SdkTypes.localeTypes, + language?: LocaleStringTypes.localeTypes, color_depth?: int, java_enabled?: bool, java_script_enabled?: bool, diff --git a/src/types/SdkTypes.res b/src/types/SdkTypes.res index 0c92bcf..5bb077f 100644 --- a/src/types/SdkTypes.res +++ b/src/types/SdkTypes.res @@ -1,36 +1,5 @@ open Utils -type localeTypes = - | En - | He - | Fr - | En_GB - | Ar - | Ja - | De - | Fr_BE - | Es - | Ca - | Pt - | It - | Pl - | Nl - | NI_BE - | Sv - | Ru - | Lt - | Cs - | Sk - | Ls - | Cy - | El - | Et - | Fi - | Nb - | Bs - | Da - | Ms - | Tr_CY type fontFamilyTypes = DefaultIOS | DefaultAndroid | CustomFont(string) | DefaultWeb @@ -189,7 +158,7 @@ type applePayConfiguration = { type themeType = Default | Light | Dark | Minimal | FlatMinimal type appearance = { - locale: option, + locale: option, colors: option, shapes: option, font: option, @@ -471,7 +440,7 @@ let getAppearanceObj = ( | "it" => Some(It) | "pl" => Some(Pl) | "nl" => Some(Nl) - | "nI-BE" => Some(NI_BE) + | "nI-BE" => Some(Ni_BE) | "sv" => Some(Sv) | "ru" => Some(Ru) | "lt" => Some(Lt) @@ -486,7 +455,7 @@ let getAppearanceObj = ( | "bs" => Some(Bs) | "da" => Some(Da) | "ms" => Some(Ms) - | "tr-CY" => Some(Tr_CY) + | "tr-CY" => Some(Tr_C) | _ => Some(En) } | _ => Some(En) From 4726dfc92d93b7024025b5562ef6b0608b7f19a8 Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Mon, 30 Sep 2024 16:57:53 +0530 Subject: [PATCH 7/9] refactor:shared-code --- shared-code/LocaleStrings/ArabicLocale.res | 164 +++++++++++++++ shared-code/LocaleStrings/BosnianLocale.res | 150 ++++++++++++++ shared-code/LocaleStrings/CatalanLocale.res | 157 ++++++++++++++ shared-code/LocaleStrings/ChineseLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/ConstantStrings.res | 10 + shared-code/LocaleStrings/CzechLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/DanishLocale.res | 151 ++++++++++++++ shared-code/LocaleStrings/DeutschLocale.res | 163 +++++++++++++++ .../LocaleStrings/DutchBelgiumLocale.res | 160 +++++++++++++++ shared-code/LocaleStrings/DutchLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/EnglishGBLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/EnglishLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/EstonianLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/FinnishLocale.res | 153 ++++++++++++++ .../LocaleStrings/FrenchBelgiumLocale.res | 163 +++++++++++++++ shared-code/LocaleStrings/FrenchLocale.res | 164 +++++++++++++++ shared-code/LocaleStrings/GreekLocale.res | 154 ++++++++++++++ shared-code/LocaleStrings/HebrewLocale.res | 163 +++++++++++++++ shared-code/LocaleStrings/IcelandicLocale.res | 151 ++++++++++++++ shared-code/LocaleStrings/ItalianLocale.res | 163 +++++++++++++++ shared-code/LocaleStrings/JapaneseLocale.res | 162 +++++++++++++++ .../LocaleStrings/LithuanianLocale.res | 153 ++++++++++++++ .../LocaleStrings/LocaleStringHelper.res | 79 +++++++ .../LocaleStrings/LocaleStringTypes.res | 194 ++++++++++++++++++ shared-code/LocaleStrings/LocalehelperWeb.res | 42 ++++ shared-code/LocaleStrings/MalayLocale.res | 152 ++++++++++++++ shared-code/LocaleStrings/NorwegianLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/PolishLocale.res | 161 +++++++++++++++ .../LocaleStrings/PortugueseLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/RussianLocale.res | 171 +++++++++++++++ shared-code/LocaleStrings/SlovakLocale.res | 150 ++++++++++++++ shared-code/LocaleStrings/SpanishLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/SwedishLocale.res | 161 +++++++++++++++ shared-code/LocaleStrings/TurkishLocale.res | 153 ++++++++++++++ shared-code/LocaleStrings/WelshLocale.res | 150 ++++++++++++++ shared-code/Utils/SharedUtils.res | 1 + src/hooks/GetLocale.res | 35 +--- src/hooks/ThemebasedStyle.res | 2 +- src/types/PaymentMethodListType.res | 2 +- src/types/SdkTypes.res | 37 +--- 40 files changed, 5227 insertions(+), 69 deletions(-) create mode 100644 shared-code/LocaleStrings/ArabicLocale.res create mode 100644 shared-code/LocaleStrings/BosnianLocale.res create mode 100644 shared-code/LocaleStrings/CatalanLocale.res create mode 100644 shared-code/LocaleStrings/ChineseLocale.res create mode 100644 shared-code/LocaleStrings/ConstantStrings.res create mode 100644 shared-code/LocaleStrings/CzechLocale.res create mode 100644 shared-code/LocaleStrings/DanishLocale.res create mode 100644 shared-code/LocaleStrings/DeutschLocale.res create mode 100644 shared-code/LocaleStrings/DutchBelgiumLocale.res create mode 100644 shared-code/LocaleStrings/DutchLocale.res create mode 100644 shared-code/LocaleStrings/EnglishGBLocale.res create mode 100644 shared-code/LocaleStrings/EnglishLocale.res create mode 100644 shared-code/LocaleStrings/EstonianLocale.res create mode 100644 shared-code/LocaleStrings/FinnishLocale.res create mode 100644 shared-code/LocaleStrings/FrenchBelgiumLocale.res create mode 100644 shared-code/LocaleStrings/FrenchLocale.res create mode 100644 shared-code/LocaleStrings/GreekLocale.res create mode 100644 shared-code/LocaleStrings/HebrewLocale.res create mode 100644 shared-code/LocaleStrings/IcelandicLocale.res create mode 100644 shared-code/LocaleStrings/ItalianLocale.res create mode 100644 shared-code/LocaleStrings/JapaneseLocale.res create mode 100644 shared-code/LocaleStrings/LithuanianLocale.res create mode 100644 shared-code/LocaleStrings/LocaleStringHelper.res create mode 100644 shared-code/LocaleStrings/LocaleStringTypes.res create mode 100644 shared-code/LocaleStrings/LocalehelperWeb.res create mode 100644 shared-code/LocaleStrings/MalayLocale.res create mode 100644 shared-code/LocaleStrings/NorwegianLocale.res create mode 100644 shared-code/LocaleStrings/PolishLocale.res create mode 100644 shared-code/LocaleStrings/PortugueseLocale.res create mode 100644 shared-code/LocaleStrings/RussianLocale.res create mode 100644 shared-code/LocaleStrings/SlovakLocale.res create mode 100644 shared-code/LocaleStrings/SpanishLocale.res create mode 100644 shared-code/LocaleStrings/SwedishLocale.res create mode 100644 shared-code/LocaleStrings/TurkishLocale.res create mode 100644 shared-code/LocaleStrings/WelshLocale.res create mode 100644 shared-code/Utils/SharedUtils.res diff --git a/shared-code/LocaleStrings/ArabicLocale.res b/shared-code/LocaleStrings/ArabicLocale.res new file mode 100644 index 0000000..8f29a55 --- /dev/null +++ b/shared-code/LocaleStrings/ArabicLocale.res @@ -0,0 +1,164 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "ar", + localeDirection: "rtl", + cardNumberLabel: `رقم البطاقة`, + inValidCardErrorText: `رقم البطاقة غير صالحة`, + inCompleteCVCErrorText: `رمز أمان بطاقتك غير مكتمل`, + inCompleteExpiryErrorText: `تاريخ انتهاء صلاحية بطاقتك غير مكتمل`, + pastExpiryErrorText: `انقضت سنة انتهاء صلاحية بطاقتك`, + poweredBy: `مدعوم من هيبيرسويتش`, + validThruText: `صالحة من خلال`, + sortCodeText: `الكود البنكى`, + accountNumberText: `رقم حساب`, + cvcTextLabel: `رمز الحماية`, + emailLabel: `البريد الإلكتروني`, + emailEmptyText: `لا يمكن أن يكون البريد الإلكتروني فارغًا`, + emailInvalidText: `عنوان البريد الإلكتروني غير صالح`, + fullNameLabel: `الاسم الكامل`, + line1Label: `العنوان سطر 1`, + line1Placeholder: `.عنوان الشارع`, + line1EmptyText: `لا يمكن أن يكون سطر العنوان 1 فارغًا`, + line2Label: `سطر العنوان 2`, + line2Placeholder: `مناسب ، رقم الوحدة ، إلخ (اختياري)`, + line2EmptyText: `لا يمكن أن يكون سطر العنوان 2 فارغًا`, + postalCodeLabel: `رمز بريدي`, + postalCodeEmptyText: `لا يمكن أن يكون الرمز البريدي فارغًا`, + postalCodeInvalidText: `الرمز البريدي غير صالح`, + stateLabel: `ولاية`, + stateEmptyText: `لا يمكن أن تكون الحالة فارغة`, + cityLabel: `مدينة`, + cityEmptyText: `لا يمكن أن تكون المدينة فارغة`, + fullNamePlaceholder: `الاسم الأول والاسم الأخير`, + countryLabel: `دولة`, + currencyLabel: `عملة`, + bankLabel: `حدد البنك`, + redirectText: `بعد تقديم طلبك ، ستتم إعادة توجيهك لإكمال عملية الشراء بشكل آمن.`, + bankDetailsText: `بعد إرسال هذه التفاصيل ، ستحصل على معلومات الحساب المصرفي لإجراء الدفع. يُرجى التأكد من تدوين ذلك.`, + orPayUsing: `أو الدفع باستخدام`, + addNewCard: `أضف بطاقة جديدة`, + useExisitingSavedCards: `استخدم البطاقات المحفوظة الموجودة`, + saveCardDetails: `حفظ تفاصيل البطاقة`, + addBankAccount: `إضافة حساب مصرفي`, + achBankDebitTerms: str => + `من خلال تقديم رقم حسابك وتأكيد هذا الدفع ، فإنك تفوض ${str} و Hyperswitch ، مزود خدمة الدفع ، لإرسال تعليمات إلى البنك الذي تتعامل معه للخصم من حسابك والبنك الخاص بك للخصم من حسابك وفقًا لهذه التعليمات. يحق لك استرداد الأموال من البنك الذي تتعامل معه بموجب شروط وأحكام اتفاقيتك مع البنك الذي تتعامل معه. يجب المطالبة باسترداد الأموال في غضون 8 أسابيع بدءًا من تاريخ الخصم من حسابك.`, + sepaDebitTerms: str => + `من خلال تقديم معلومات الدفع الخاصة بك وتأكيد هذا النموذج، فإنك تفوض (أ) ${str}، الدائن و/أو مقدمي خدمات الدفع لدينا لإرسال تعليمات إلى بنكك لسحب المبلغ من حسابك و(ب) بنكك لسحب المبلغ من حسابك وفقًا لتعليمات ${str}. كجزء من حقوقك، يحق لك استرداد من بنكك وفقًا للشروط والأحكام في اتفاقيتك مع بنكك. يجب تقديم طلب الاسترداد خلال 8 أسابيع من تاريخ خصم المبلغ من حسابك. حقوقك موضحة في بيان يمكنك الحصول عليه من بنكك.`, + becsDebitTerms: `من خلال تقديم تفاصيل حسابك المصرفي وتأكيد هذه الدفعة ، فإنك توافق على طلب الخصم المباشر هذا واتفاقية خدمة طلب الخصم المباشر وتفوض Hyperswitch Payments Australia Pty Ltd ACN 160180343 رقم معرف مستخدم الخصم المباشر 507156 ("Hyperswitch") للخصم من حسابك حساب من خلال نظام المقاصة الإلكترونية المجمعة (BECS) نيابة عن Hyperswitch Payment Widget ("التاجر") لأي مبالغ يرسلها التاجر لك بشكل منفصل. أنت تقر بأنك إما صاحب حساب أو مفوض بالتوقيع على الحساب المذكور أعلاه.`, + cardTerms: str => + `من خلال تقديم معلومات بطاقتك ، فإنك تسمح لـ ${str} بشحن بطاقتك للمدفوعات المستقبلية وفقًا لشروطها.`, + payNowButton: `ادفع الآن`, + cardNumberEmptyText: `لا يمكن أن يكون رقم البطاقة فارغاً`, + cardExpiryDateEmptyText: `لا يمكن أن يكون تاريخ انتهاء البطاقة فارغاً`, + cvcNumberEmptyText: `لا يمكن أن يكون رقم التحقق من البطاقة (CVC) فارغًا`, + enterFieldsText: `الرجاء إدخال كافة الحقول`, + enterValidDetailsText: `الرجاء إدخال تفاصيل صالحة`, + selectPaymentMethodText: `الرجاء تحديد طريقة الدفع والمحاولة مرة أخرى`, + card: `بطاقة`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`سيتم تطبيق مبلغ إضافي من${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}على هذه المعاملة`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`سيتم تطبيق مبلغ إضافي يصل إلى${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}على هذه المعاملة`)} + , + surchargeMsgAmountForOneClickWallets: `رسوم إضافية قابلة للتطبيق`, + billingNameLabel: `اسم الفواتير`, + billingNamePlaceholder: `الاسم الأول والاسم الأخير`, + cardHolderName: `إسم صاحب البطاقة`, + on: `على`, + \"and": `و`, + nameEmptyText: str => `يرجى تقديم الخاص بك ${str}`, + completeNameEmptyText: str => `يرجى تقديم كامل الخاص بك ${str}`, + billingDetailsText: `تفاصيل الفاتورة`, + socialSecurityNumberLabel: `رقم الضمان الاجتماعي`, + saveWalletDetails: `سيتم حفظ تفاصيل المحفظة عند الاختيار`, + morePaymentMethods: `المزيد من طرق الدفع`, + useExistingPaymentMethods: `استخدم طرق الدفع المحفوظة`, + cardNickname: `الاسم علي الكارت`, + nicknamePlaceholder: `اسم البطاقة (اختياري)`, + cardExpiredText: `انتهت صلاحية هذه البطاقة`, + cardHeader: `معلومات البطاقة`, + cardBrandConfiguredErrorText: str => `${str} غير مدعوم في الوقت الحالي.`, + currencyNetwork: `شبكات العملات`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `تاريخ الميلاد`, + vpaIdLabel: `معرف VPA`, + vpaIdEmptyText: `لا يمكن أن يكون معرف Vpa فارغًا`, + vpaIdInvalidText: `معرف Vpa غير صالح`, + dateofBirthRequiredText: `تاريخ الميلاد مطلوب`, + dateOfBirthInvalidText: `يجب أن يكون العمر أكبر من أو يساوي 18 عامًا`, + dateOfBirthPlaceholderText: `أدخل تاريخ الميلاد`, + formFundsInfoText: `سيتم إضافة الأموال إلى هذا الحساب`, + formFundsCreditInfoText: pmLabel => + `ستتم إضافة أموالك في ${pmLabel} المحدد.`, + formEditText: `تعديل`, + formSaveText: `حفظ`, + formSubmitText: `إرسال`, + formSubmittingText: `جاري الإرسال`, + formSubheaderBillingDetailsText: `أدخل عنوان الفوترة الخاص بك`, + formSubheaderCardText: `تفاصيل بطاقتك`, + formSubheaderAccountText: pmLabel => ` ${pmLabel} الخاصة بك`, + formHeaderReviewText: `مراجعة`, + formHeaderReviewTabLayoutText: pmLabel => `راجع تفاصيل ${pmLabel} الخاصة بك`, + formHeaderBankText: bankTransferType => `أدخل تفاصيل البنك ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `أدخل تفاصيل المحفظة ${walletTransferType}`, + formHeaderEnterCardText: `أدخل تفاصيل البطاقة`, + formHeaderSelectBankText: `اختر طريقة البنك`, + formHeaderSelectWalletText: `اختر محفظة`, + formHeaderSelectAccountText: `اختر حسابًا للدفع`, + formFieldACHRoutingNumberLabel: `رقم التوجيه`, + formFieldSepaIbanLabel: `رقم الحساب المصرفي الدولي (IBAN)`, + formFieldSepaBicLabel: `رمز تعريف البنك (اختياري)`, + formFieldPixIdLabel: `معرف Pix`, + formFieldBankAccountNumberLabel: `رقم الحساب البنكي`, + formFieldPhoneNumberLabel: `رقم الهاتف`, + formFieldCountryCodeLabel: `رمز البلد (اختياري)`, + formFieldBankNameLabel: `اسم البنك (اختياري)`, + formFieldBankCityLabel: `مدينة البنك (اختياري)`, + formFieldCardHoldernamePlaceholder: `اسمك`, + formFieldBankNamePlaceholder: `اسم البنك`, + formFieldBankCityPlaceholder: `مدينة البنك`, + formFieldEmailPlaceholder: `بريدك الإلكتروني`, + formFieldPhoneNumberPlaceholder: `هاتفك`, + formFieldInvalidRoutingNumber: `رقم التوجيه غير صالح.`, + infoCardRefId: `معرف المرجع`, + infoCardErrCode: `رمز الخطأ`, + infoCardErrMsg: `رسالة الخطأ`, + infoCardErrReason: `السبب`, + linkRedirectionText: seconds => + `إعادة التوجيه خلال ${seconds->Int.toString} ثوان ...`, + linkExpiryInfo: expiry => `تنتهي صلاحية الرابط في: ${expiry}`, + payoutFromText: merchant => `الدفع من ${merchant}`, + payoutStatusFailedMessage: `فشل في معالجة الدفع. يرجى التحقق مع مزود الخدمة للحصول على المزيد من التفاصيل.`, + payoutStatusPendingMessage: `يجب معالجة الدفع الخاص بك في غضون 2-3 أيام عمل.`, + payoutStatusSuccessMessage: `تم الدفع بنجاح. تم إيداع الأموال في طريقة الدفع المختارة.`, + payoutStatusFailedText: `فشل الدفع`, + payoutStatusPendingText: `جاري معالجة الدفع`, + payoutStatusSuccessText: `الدفع ناجح`, + pixCNPJInvalidText: `CNPJ الخاص بـ Pix غير صحيح`, + pixCNPJEmptyText: `لا يمكن أن يكون CNPJ الخاص بـ Pix فارغًا`, + pixCNPJLabel: `CNPJ الخاص بـ Pix`, + pixCNPJPlaceholder: `أدخل CNPJ الخاص بـ Pix`, + pixCPFInvalidText: `CPF الخاص بـ Pix غير صحيح`, + pixCPFEmptyText: `لا يمكن أن يكون CPF الخاص بـ Pix فارغًا`, + pixCPFLabel: `CPF الخاص بـ Pix`, + pixCPFPlaceholder: `أدخل CPF الخاص بـ Pix`, + pixKeyEmptyText: `مفتاح Pix لا يمكن أن يكون فارغًا`, + pixKeyPlaceholder: `أدخل مفتاح Pix`, + pixKeyLabel: `مفتاح Pix`, + firstName: `الاسم الأول`, + lastName: `اسم العائلة`, + billingDetails: `تفاصيل الفاتورة`, + requiredText: `مطلوب`, + lastNameRequiredText: `نشاط اسم مطلوب`, + cardExpiresText: `تنتهي`, + addPaymentMethodLabel: `أضف طريقة دفع جديدة`, + cardHolderNameRequiredText: `اسم حامل البطاقة مطلوب`, + walletDisclaimer: `سيتم حفظ تفاصيل المحفظة عند الاختيار`, + deletePaymentMethod: "", + cardDetailsLabel: "تفاصيل البطاقة", +} diff --git a/shared-code/LocaleStrings/BosnianLocale.res b/shared-code/LocaleStrings/BosnianLocale.res new file mode 100644 index 0000000..6af4d67 --- /dev/null +++ b/shared-code/LocaleStrings/BosnianLocale.res @@ -0,0 +1,150 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "bs", + localeDirection: "ltr", + cardNumberLabel: "Broj kartice", + cardDetailsLabel: "Detalji kartice", + inValidCardErrorText: "Broj kartice je nevažeći.", + inCompleteCVCErrorText: "Sigurnosni kod vaše kartice je nepotpun.", + inCompleteExpiryErrorText: "Datum isteka vaše kartice je nepotpun.", + pastExpiryErrorText: "Godina isteka vaše kartice je u prošlosti.", + poweredBy: "Pokreće Hyperswitch", + validThruText: "Istek", + sortCodeText: "Šifra za sortiranje", + cvcTextLabel: "CVC", + line1Label: "Adresa 1. red", + line1Placeholder: "Ulica i broj", + line1EmptyText: `Linija adrese 1 ne može biti prazna`, + line2Label: "Adresa 2. red", + line2Placeholder: "Stan, broj jedinice itd. (nije obavezno)", + cityLabel: "Grad", + cityEmptyText: `Grad ne može biti prazan`, + postalCodeLabel: "Poštanski broj", + postalCodeEmptyText: `Poštanski broj ne može biti prazan`, + stateLabel: "Država", + accountNumberText: "Broj računa", + emailLabel: "E-mail", + emailInvalidText: `pogrešna email adresa`, + emailEmptyText: `Email ne može biti prazan`, + fullNameLabel: "Ime i prezime", + fullNamePlaceholder: "Ime i prezime", + countryLabel: "Država", + currencyLabel: "Valuta", + bankLabel: "Odaberite banku", + redirectText: "Nakon slanja narudžbe, bit ćete preusmjereni kako biste sigurno dovršili kupovinu.", + bankDetailsText: "Nakon što pošaljete ove podatke, dobit ćete podatke o bankovnom računu kako biste izvršili plaćanje. Obavezno ih zabilježite.", + orPayUsing: "Ili platite koristeći", + addNewCard: "Dodajte kreditnu/debitnu karticu", + useExisitingSavedCards: "Koristite sačuvane debitne/kreditne kartice", + saveCardDetails: "Sačuvajte podatke o kartici", + addBankAccount: "Dodajte bankovni račun", + achBankDebitTerms: str => + `Pružanjem broja vašeg računa i potvrdom ove uplate, ovlašćujete ${str} i Hyperswitch, našeg pružatelja platnih usluga, da pošalje upute vašoj banci da tereti vaš račun i vašoj banci da tereti vaš račun u skladu s tim uputstvima. Imate pravo na povrat novca od svoje banke u skladu s uslovima i odredbama vašeg ugovora s bankom. Povrat novca morate zatražiti u roku od 8 sedmica od datuma terećenja vašeg računa.`, + sepaDebitTerms: str => + `Pružanjem vaših podataka o plaćanju i potvrdom ove uplate, ovlašćujete (A) ${str} i Hyperswitch, našeg pružatelja platnih usluga i/ili PPRO, njihovog lokalnog pružatelja usluga, da pošalje upute vašoj banci da tereti vaš račun i (B) vašu banku da tereti vaš račun u skladu s tim uputstvima. U okviru vaših prava, imate pravo na povrat novca od svoje banke u skladu s uslovima i odredbama vašeg ugovora s bankom. Povrat novca morate zatražiti u roku od 8 sedmica od datuma terećenja vašeg računa. Vaša prava su objašnjena u izjavi koju možete dobiti od svoje banke. Pristajete na primanje obavještenja o budućim terećenjima do 2 dana prije nego što se ona dogode.`, + becsDebitTerms: "Pružanjem podataka o vašem bankovnom računu i potvrdom ove uplate, pristajete na ovaj Zahtjev za direktno terećenje i Ugovor o pružanju usluga Zahtjeva za direktno terećenje i ovlašćujete Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 ID korisnika direktnog terećenja 507156 („Hyperswitch”) da tereti vaš račun putem Bulk Electronic Clearing System (BECS) u ime Hyperswitch Payment Widget („Trgovac”) za sve iznose koje vam je Trgovac odvojeno saopštio. Potvrđujete da ste vlasnik računa ili ovlašteni potpisnik na gore navedenom računu.", + cardTerms: str => + `Pružanjem podataka o kartici dopuštate da ${str} tereti karticu za buduća plaćanja u skladu s njihovim uslovima.`, + payNowButton: "Plati odmah", + cardNumberEmptyText: "Polje za broj kartice ne može biti prazno", + cardExpiryDateEmptyText: "Polje za datum isteka kartice ne može biti prazno", + cvcNumberEmptyText: "Polje za CVC broj ne može biti prazno", + enterFieldsText: "Unesite sva polja", + enterValidDetailsText: "Unesite važeće podatke", + card: "Kartica", + billingNameLabel: "Ime za naplatu", + cardHolderName: "Ime nosioca kartice", + cardNickname: "Nadimak kartice", + billingNamePlaceholder: "Ime i prezime", + firstName: "Ime", + lastName: "Prezime", + billingDetails: `Detalji naplate`, + requiredText: `Potreban`, + lastNameRequiredText: `Potrebno je prezime`, + cardExpiresText: `ističe`, + addPaymentMethodLabel: `Dodajte novi način plaćanja`, + cardHolderNameRequiredText: `Potrebno je ime vlasnika kartice`, + walletDisclaimer: `Detalji novčanika će biti sačuvani nakon odabira`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", pixKeyLabel:"", pixKeyPlaceholder:"", + deletePaymentMethod : "", } \ No newline at end of file diff --git a/shared-code/LocaleStrings/CatalanLocale.res b/shared-code/LocaleStrings/CatalanLocale.res new file mode 100644 index 0000000..35fb622 --- /dev/null +++ b/shared-code/LocaleStrings/CatalanLocale.res @@ -0,0 +1,157 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `ca`, + localeDirection: `ltr`, + cardNumberLabel: `Número de targeta`, + inValidCardErrorText: `El número de targeta no és vàlid.`, + inCompleteCVCErrorText: `El codi de seguretat de la targeta està incomplet.`, + inCompleteExpiryErrorText: `La data de venciment de la targeta està incompleta.`, + pastExpiryErrorText: `La data de venciment de la targeta ja ha passat.`, + poweredBy: `Amb tecnologia de Hyperswitch`, + validThruText: `Venciment`, + sortCodeText: `Codi de sucursal`, + cvcTextLabel: `CVC`, + line1Label: `Línia d'adreça 1`, + line1Placeholder: `Adreça postal`, + line2Label: `Línia d'adreça 2`, + line2Placeholder: `Pis, número d'apartament, etc. (opcional)`, + cityLabel: `Ciutat`, + postalCodeLabel: `Codi postal`, + stateLabel: `Estat`, + accountNumberText: `Número de compte`, + emailLabel: `Adreça electrònica`, + fullNameLabel: `Nom complet`, + fullNamePlaceholder: `Nom i cognoms`, + countryLabel: `País`, + currencyLabel: `Moneda`, + bankLabel: `Seleccioni un banc`, + redirectText: `En fer la comanda, se li redirigirà perquè completi la compra de manera segura.`, + bankDetailsText: `Després d'enviar aquestes dades, rebrà la informació del compte bancari per fer el pagament. Recordi prendre'n nota.`, + orPayUsing: `O faci el pagament mitjançant`, + addNewCard: `Afegeixi una targeta de crèdit o dèbit`, + useExisitingSavedCards: `Faci servir les targetes de dèbit o crèdit desades`, + saveCardDetails: `Desi les dades de la targeta`, + addBankAccount: `Afegeixi un compte bancari`, + achBankDebitTerms: str => + `En facilitar el número de compte i confirmar el pagament, autoritza ${str} i Hyperswitch, el nostre proveïdor de serveis de pagament, a enviar ordres al seu banc perquè apliqui els càrrecs corresponents al compte. Tindrà dret a rebre un reembossament del banc d'acord amb els termes i condicions del contracte que hi hagi subscrit. El reembossament s'ha de sol·licitar en un termini de 8 setmanes des de la data en què es va aplicar el càrrec al compte.`, + sepaDebitTerms: str => + `En proporcionar la seva informació de pagament i confirmar aquest formulari de mandat, autoritza (A) ${str}, el Creditor i/o els nostres proveïdors de serveis de pagament a enviar instruccions al seu banc per carregar el seu compte i (B) al seu banc a carregar el seu compte d’acord amb les instruccions de ${str}. Com a part dels seus drets, té dret a un reemborsament del seu banc segons els termes i condicions del seu acord amb el seu banc. El reemborsament ha de ser sol·licitat dins de les 8 setmanes següents a la data en què el seu compte va ser carregat. Els seus drets es descriuen en un document que pot obtenir al seu banc.`, + becsDebitTerms: `En facilitar les dades del compte bancari i confirmar el pagament, accepta aquesta sol·licitud de domiciliació bancària i l'acord de servei corresponent. A més, autoritza Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, amb número d'identificació d'usuari de domiciliació bancària 507156, («Hyperswitch») a aplicar càrrecs al compte a través del sistema de compensació electrònica massiva (BECS) en nom de Hyperswitch Payment Widget (el «comerç») per a qualsevol import que el comerç li comuniqui individualment. Certifica que és titular d'un compte o signatari autoritzat del compte que s'indica anteriorment.`, + cardTerms: str => + `En facilitar la informació de la targeta, permet a ${str} que faci càrrecs a la targeta per a pagaments futurs d'acord amb les seves condicions.`, + payNowButton: `Pagui ara`, + cardNumberEmptyText: `Cal indicar el número de la targeta`, + cardExpiryDateEmptyText: `Cal indicar la data de venciment de la targeta`, + cvcNumberEmptyText: `Cal indicar el número CVC`, + enterFieldsText: `Empleni tots els camps`, + enterValidDetailsText: `Introdueixi dades vàlides`, + card: `Targeta`, + billingNameLabel: `Nom de facturació`, + cardHolderName: `Nom del titular de la targeta`, + cardNickname: `Sobrenom de la targeta`, + billingNamePlaceholder: `Nom i cognom`, + emailEmptyText: `El correu electrònic no pot estar buit`, + emailInvalidText: `adressa de correu invàlida`, + line1EmptyText: `La línia d'adreça 1 no pot estar buida`, + line2EmptyText: `La línia d'adreça 2 no pot estar buida`, + cityEmptyText: `La ciutat no pot estar buida`, + postalCodeEmptyText: `El codi postal no pot estar buit`, + postalCodeInvalidText: `Codi postal no vàlid`, + stateEmptyText: `L'estat no pot estar buit`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un import de recàrrec de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}s'aplicarà per a aquesta transacció`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un recàrrec de fins a${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}s'aplicarà per a aquesta transacció`)} + , + surchargeMsgAmountForOneClickWallets: `Taxa addicional aplicable`, + on: `activat`, + \"and": `i`, + nameEmptyText: str => `Si us plau, proporcioneu el vostre${str}`, + completeNameEmptyText: str => `Si us plau, proporcioneu el vostre complet ${str}`, + billingDetailsText: `Detalls de facturació`, + socialSecurityNumberLabel: `Número de la Seguretat Social`, + saveWalletDetails: `Els detalls de les carteres es desaran en seleccionar-los`, + morePaymentMethods: `més mètodes de pagament`, + useExistingPaymentMethods: `Utilitzeu formes de pagament desades`, + nicknamePlaceholder: `Àlies de la targeta (opcional)`, + selectPaymentMethodText: `Seleccioneu una forma de pagament i torneu-ho a provar`, + cardExpiredText: `Aquesta targeta ha caducat`, + cardHeader: `Informació de la targeta`, + cardBrandConfiguredErrorText: str => `${str} no està suportat en aquest moment.`, + currencyNetwork: `Xarxes de Monedes`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Data de naixement`, + vpaIdLabel: `Vpa Id`, + vpaIdEmptyText: `L'identificador de Vpa no pot estar buit`, + vpaIdInvalidText: `Identificador de VPA no vàlid`, + dateofBirthRequiredText: `Es requereix la data de naixement`, + dateOfBirthInvalidText: `L'edat ha de ser igual o superior a 18 anys`, + dateOfBirthPlaceholderText: `Introdueix la data de naixement`, + formFundsInfoText: "Els fons seran acreditats a aquest compte", + formFundsCreditInfoText: pmLabel => + `Els teus fons seran acreditats en el ${pmLabel} seleccionat.`, + formEditText: `Editar`, + formSaveText: `Desar`, + formSubmitText: `Enviar`, + formSubmittingText: `Enviant`, + formSubheaderBillingDetailsText: `Introdueix la teva adreça de facturació`, + formSubheaderCardText: `Detalls de la teva targeta`, + formSubheaderAccountText: pmLabel => `El teu ${pmLabel}`, + formHeaderReviewText: `Revisar`, + formHeaderReviewTabLayoutText: pmLabel => `Revisa els detalls del teu ${pmLabel}`, + formHeaderBankText: bankTransferType => `Introdueix els detalls bancaris de ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Introdueix els detalls de la cartera ${walletTransferType}`, + formHeaderEnterCardText: `Introdueix els detalls de la targeta`, + formHeaderSelectBankText: `Selecciona un mètode bancari`, + formHeaderSelectWalletText: `Selecciona una cartera`, + formHeaderSelectAccountText: `Selecciona un compte per a pagaments`, + formFieldACHRoutingNumberLabel: `Número de ruta`, + formFieldSepaIbanLabel: `Número de Compte Bancari Internacional (IBAN)`, + formFieldSepaBicLabel: `Codi d'Identificació Bancària (Opcional)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Número de compte bancari`, + formFieldPhoneNumberLabel: `Número de telèfon`, + formFieldCountryCodeLabel: `Codi de país (Opcional)`, + formFieldBankNameLabel: `Nom del banc (Opcional)`, + formFieldBankCityLabel: `Ciutat del banc (Opcional)`, + formFieldCardHoldernamePlaceholder: `El teu nom`, + formFieldBankNamePlaceholder: `Nom del banc`, + formFieldBankCityPlaceholder: `Ciutat del banc`, + formFieldEmailPlaceholder: `El teu correu electrònic`, + formFieldPhoneNumberPlaceholder: `El teu telèfon`, + formFieldInvalidRoutingNumber: `El número de ruta és invàlid.`, + infoCardRefId: `ID de referència`, + infoCardErrCode: `Codi d'error`, + infoCardErrMsg: `Missatge d'error`, + infoCardErrReason: `Raó`, + linkRedirectionText: seconds => `Redirigint en ${seconds->Int.toString} segons ...`, + linkExpiryInfo: expiry => `L'enllaç caduca el: ${expiry}`, + payoutFromText: merchant => `Pagament de ${merchant}`, + payoutStatusFailedMessage: `No s'ha pogut processar el teu pagament. Comprova amb el teu proveïdor per a més detalls.`, + payoutStatusPendingMessage: `El teu pagament s'ha de processar en 2-3 dies hàbils.`, + payoutStatusSuccessMessage: `El teu pagament s'ha realitzat amb èxit. Els fons han estat ingressats en la teva modalitat de pagament seleccionada.`, + payoutStatusFailedText: `Pagament fallit`, + payoutStatusPendingText: `Processant el pagament`, + payoutStatusSuccessText: `Pagament realitzat`, + pixCNPJInvalidText: `CNPJ Pix no vàlid`, + pixCNPJEmptyText: `El CNPJ Pix no pot estar buit`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Introdueix el CNPJ Pix`, + pixCPFInvalidText: `CPF Pix no vàlid`, + pixCPFEmptyText: `El CPF Pix no pot estar buit`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Introdueix el CPF Pix`, + pixKeyEmptyText: `La clau Pix no pot estar buida`, + pixKeyPlaceholder: `Introdueix la clau Pix`, + pixKeyLabel: `Clau Pix`, + cardDetailsLabel: "", firstName: "", + lastName : "",billingDetails: "", requiredText: "", cardHolderNameRequiredText: "", + lastNameRequiredText: "", cardExpiresText: "", addPaymentMethodLabel: "", + walletDisclaimer: "", + deletePaymentMethod : "", +} diff --git a/shared-code/LocaleStrings/ChineseLocale.res b/shared-code/LocaleStrings/ChineseLocale.res new file mode 100644 index 0000000..121cd4b --- /dev/null +++ b/shared-code/LocaleStrings/ChineseLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `zh`, + localeDirection: `ltr`, + cardNumberLabel: `卡号`, + inValidCardErrorText: `卡号无效。`, + inCompleteCVCErrorText: `您的卡片安全码不完整。`, + inCompleteExpiryErrorText: `您的卡片到期日期不完整。`, + pastExpiryErrorText: `您的卡片到期年份已过期。`, + poweredBy: `由 Hyperswitch 提供技术支持`, + validThruText: `有效期`, + sortCodeText: `排序代码`, + cvcTextLabel: `CVC`, + line1Label: `地址行 1`, + line1Placeholder: `街道地址`, + line1EmptyText: `地址行 1 不能为空`, + line2Label: `地址行 2`, + line2Placeholder: `公寓、单元号等(可选)`, + line2EmptyText: `地址行 2 不能为空`, + cityLabel: `城市`, + cityEmptyText: `城市不能为空`, + postalCodeLabel: `邮政编码`, + postalCodeEmptyText: `邮政编码不能为空`, + postalCodeInvalidText: `无效的邮政编码`, + stateLabel: `省/州`, + stateEmptyText: `省/州不能为空`, + accountNumberText: `账户号码`, + emailLabel: `电子邮箱`, + emailEmptyText: `电子邮箱不能为空`, + emailInvalidText: `无效的电子邮箱地址`, + fullNameLabel: `全名`, + fullNamePlaceholder: `名字和姓氏`, + countryLabel: `国家`, + currencyLabel: `货币`, + bankLabel: `选择银行`, + redirectText: `提交订单后,您将被重定向到安全的页面完成购买。`, + bankDetailsText: `提交这些信息后,您将获得银行账户信息以进行付款。请确保记录下来。`, + orPayUsing: `或使用`, + addNewCard: `添加信用卡/借记卡`, + useExisitingSavedCards: `使用保存的信用卡/借记卡`, + saveCardDetails: `保存卡片信息`, + addBankAccount: `添加银行账户`, + achBankDebitTerms: _ => + `您的 ACH 扣款授权将立即设置,但我们会确认金额并在未来的付款前通知您。`, + sepaDebitTerms: str => + `通过提供您的支付信息并确认此授权书表格,您授权 (A) ${str},债权人和/或我们的支付服务提供商向您的银行发送指令以从您的账户中扣款,以及 (B) 您的银行按照 ${str} 的指示从您的账户中扣款。作为您权利的一部分,您有权根据与银行的协议条款和条件从您的银行获得退款。退款请求必须在从您的账户被扣款之日起的 8 周内提出。您的权利在您可以从银行获取的声明中有详细说明。`, + becsDebitTerms: `通过提供您的银行账户详细信息并确认此付款,您同意此直接借记请求和直接借记请求服务协议,并授权 Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 直接借记用户 ID 号码 507156(“Hyperswitch”)通过批量电子清算系统(BECS)从您的账户中扣款,代表 Hyperswitch Payment Widget(“商户”)处理任何商户单独通知您的金额。您确认您是上述账户的账户持有人或授权签署人。`, + cardTerms: str => + `通过提供您的卡片信息,您允许 ${str} 根据其条款向您的卡片收费。`, + payNowButton: `立即支付`, + cardNumberEmptyText: `卡号不能为空`, + cardExpiryDateEmptyText: `卡片到期日期不能为空`, + cvcNumberEmptyText: `CVC 号码不能为空`, + enterFieldsText: `请输入所有字段`, + enterValidDetailsText: `请输入有效的详细信息`, + selectPaymentMethodText: `请选择付款方式然后重试`, + card: `卡片`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`此交易将收取${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}的附加费用`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`此交易将收取最高${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}的附加费用`)} + , + surchargeMsgAmountForOneClickWallets: `适用额外费用`, + billingNameLabel: `适用额外费用`, + billingNamePlaceholder: `名字和姓氏`, + cardHolderName: `持卡人姓名`, + on: `在`, + \"and": `和`, + nameEmptyText: str => `请提供您的 ${str}`, + completeNameEmptyText: str => `请提供您的完整 ${str}`, + billingDetailsText: `账单详情`, + socialSecurityNumberLabel: `社会安全号码`, + saveWalletDetails: `选择后将保存钱包信息`, + morePaymentMethods: `更多支付方式`, + useExistingPaymentMethods: `使用保存的支付方式`, + cardNickname: `卡片昵称`, + nicknamePlaceholder: `卡片昵称(可选)`, + cardExpiredText: `此卡已过期`, + cardHeader: `卡片信息`, + cardBrandConfiguredErrorText: str => `${str} 目前不支持。`, + currencyNetwork: `货币网络`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `出生日期`, + vpaIdLabel: `VPA ID`, + vpaIdEmptyText: `VPA ID 不能为空`, + vpaIdInvalidText: `无效的 VPA ID 地址`, + dateofBirthRequiredText: `出生日期是必填项`, + dateOfBirthInvalidText: `年龄应大于或等于 18 岁`, + dateOfBirthPlaceholderText: `输入出生日期`, + formFundsInfoText: `资金将记入此账户`, + formFundsCreditInfoText: pmLabel => `您的资金将以所选的${pmLabel}记入。`, + formEditText: `编辑`, + formSaveText: `保存`, + formSubmitText: `提交`, + formSubmittingText: `提交中`, + formSubheaderBillingDetailsText: `输入您的账单地址`, + formSubheaderCardText: `您的卡信息`, + formSubheaderAccountText: pmLabel => `您的${pmLabel}`, + formHeaderReviewText: `审核`, + formHeaderReviewTabLayoutText: pmLabel => `审核您的${pmLabel}详细信息`, + formHeaderBankText: bankTransferType => `输入${bankTransferType}银行详细信息`, + formHeaderWalletText: walletTransferType => `输入${walletTransferType}钱包详细信息`, + formHeaderEnterCardText: `输入卡信息`, + formHeaderSelectBankText: `选择一种银行方法`, + formHeaderSelectWalletText: `选择一个钱包`, + formHeaderSelectAccountText: `选择一个账户进行付款`, + formFieldACHRoutingNumberLabel: `路由号码`, + formFieldSepaIbanLabel: `国际银行账户号码 (IBAN)`, + formFieldSepaBicLabel: `银行标识码 (可选)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `银行账户号码`, + formFieldPhoneNumberLabel: `电话号码`, + formFieldCountryCodeLabel: `国家代码 (可选)`, + formFieldBankNameLabel: `银行名称 (可选)`, + formFieldBankCityLabel: `银行城市 (可选)`, + formFieldCardHoldernamePlaceholder: `您的姓名`, + formFieldBankNamePlaceholder: `银行名称`, + formFieldBankCityPlaceholder: `银行城市`, + formFieldEmailPlaceholder: `您的电子邮件`, + formFieldPhoneNumberPlaceholder: `您的电话`, + formFieldInvalidRoutingNumber: `路由号码无效。`, + infoCardRefId: `参考编号`, + infoCardErrCode: `错误代码`, + infoCardErrMsg: `错误信息`, + infoCardErrReason: `原因`, + linkRedirectionText: seconds => `${seconds->Int.toString}秒后重定向...`, + linkExpiryInfo: expiry => `链接到期日期:${expiry}`, + payoutFromText: merchant => `来自${merchant}的付款`, + payoutStatusFailedMessage: `处理您的付款失败。请与您的提供商联系以获取更多详细信息。`, + payoutStatusPendingMessage: `您的付款应在2-3个工作日内处理。`, + payoutStatusSuccessMessage: `您的付款已成功。资金已存入您选择的支付方式。`, + payoutStatusFailedText: `付款失败`, + payoutStatusPendingText: `付款处理中`, + payoutStatusSuccessText: `付款成功`, + pixCNPJInvalidText: `无效的 Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ 不能为空`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `输入 Pix CNPJ`, + pixCPFInvalidText: `无效的 Pix CPF`, + pixCPFEmptyText: `Pix CPF 不能为空`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `输入 Pix CPF`, + pixKeyEmptyText: `Pix 密钥不能为空`, + pixKeyPlaceholder: `输入 Pix 密钥`, + pixKeyLabel: `Pix 密钥`, + cardDetailsLabel: "", + firstName: "", + lastName: "", + billingDetails: "", + requiredText: "", + cardHolderNameRequiredText: "", + lastNameRequiredText: "", + cardExpiresText: "", + addPaymentMethodLabel: "", + walletDisclaimer: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/ConstantStrings.res b/shared-code/LocaleStrings/ConstantStrings.res new file mode 100644 index 0000000..54b23b0 --- /dev/null +++ b/shared-code/LocaleStrings/ConstantStrings.res @@ -0,0 +1,10 @@ +let constantStrings: LocaleStringTypes.constantStrings = { + formFieldCardNumberPlaceholder: `****** 4242`, + formFieldACHRoutingNumberPlaceholder: `110000000`, + formFieldAccountNumberPlaceholder: `**** 6789`, + formFieldSortCodePlaceholder: `11000`, + formFieldSepaIbanPlaceholder: `NL **** 6789`, + formFieldSepaBicPlaceholder: `ABNANL2A`, + formFieldPixIdPlaceholder: `**** 3251`, + formFieldBankAccountNumberPlaceholder: `**** 1232`, +} diff --git a/shared-code/LocaleStrings/CzechLocale.res b/shared-code/LocaleStrings/CzechLocale.res new file mode 100644 index 0000000..3238f86 --- /dev/null +++ b/shared-code/LocaleStrings/CzechLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "cs", + localeDirection: "ltr", + cardDetailsLabel: "Detaily karty", + cardNumberLabel: "Číslo karty", + inValidCardErrorText: "Číslo karty je neplatné.", + inCompleteCVCErrorText: "Bezpečnostní kód karty je neúplný.", + inCompleteExpiryErrorText: "Datum vypršení platnosti karty je neúplné.", + pastExpiryErrorText: "Rok vypršení platnosti karty je v minulosti.", + poweredBy: "Využívá technologii Hyperswitch", + validThruText: "Datum ukončení platnosti", + sortCodeText: "Variabilní symbol", + cvcTextLabel: "CVC", + line1Label: "Adresa, řádek 1", + line1Placeholder: "Ulice", + line1EmptyText: `Adresový řádek 1 nemůže být prázdný`, + line2Label: "Adresa, řádek 2", + line2Placeholder: "Byt, číslo jednotky atd. (nepovinné)", + cityLabel: "Město", + cityEmptyText: `Město nemůže být prázdné`, + postalCodeLabel: "PSČ", + postalCodeEmptyText: `Poštovní kód nemůže být prázdný`, + stateLabel: "Stát", + accountNumberText: "Číslo účtu", + emailLabel: "E-mail", + emailInvalidText: `neplatná emailová adresa`, + emailEmptyText: `E-mail nesmí být prázdný`, + fullNameLabel: "Celé jméno", + fullNamePlaceholder: "Jméno a příjmení", + countryLabel: "Země", + currencyLabel: "Měna", + bankLabel: "Vybrat banku", + redirectText: "Po odeslání objednávky budete přesměrováni za účelem bezpečného dokončení nákupu.", + bankDetailsText: "Po odeslání těchto údajů obdržíte údaje o bankovním účtu, na který pošlete platbu. Nezapomeňte si je prosím poznamenat.", + orPayUsing: "Nebo zaplaťte pomocí", + addNewCard: "Přidat novou kreditní/debetní kartu", + useExisitingSavedCards: "Použít uložené debetní/kreditní karty", + saveCardDetails: "Uložit údaje o kartě", + addBankAccount: "Přidat bankovní účet", + achBankDebitTerms: str => + `Poskytnutím čísla účtu a potvrzením této platby opravňujete společnost ${str} a Hyperswitch, našeho poskytovatele platebních služeb, k odeslání pokynů vaší bance ohledně odepsání částky z vašeho účtu a také opravňujete vaši banku k odepsání částky z vašeho účtu v souladu s těmito pokyny. V souladu s podmínkami vaší smlouvy s bankou máte nárok na vrácení peněz od své banky. O vrácení je třeba požádat do 8 týdnů od data odepsání z vašeho účtu.`, + sepaDebitTerms: str => + `Poskytnutím platebních údajů a potvrzením této platby opravňujete (A) ${str} a Hyperswitch, našeho poskytovatele platebních služeb, a/nebo společnost PPRO, jejího místního poskytovatele služeb, aby vaší bance zaslali pokyny k odepsání částky z vašeho účtu a (B) svoji banku opravňujete k tomu, aby odepsala částku z vašeho účtu v souladu s těmito pokyny. Jako součást svých práv máte na základě vaší smlouvy s bankou nárok na vrácení peněz od banky. O vrácení peněz je třeba požádat do 8 týdnů od data odepsání z vašeho účtu. Vaše práva jsou vysvětlena v prohlášení, které můžete získat od své banky. Souhlasíte s tím, že budete dostávat oznámení o budoucích debetech do 2 dnů před jejich provedením.`, + becsDebitTerms: "Poskytnutím údajů o bankovním účtu a potvrzením této platby souhlasíte s touto žádostí o inkaso a smlouvou o poskytování služeb pro žádost o inkaso a opravňujete společnost Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, ID uživatele pro inkaso 507156 (dále jen „Hyperswitch“) k odepsání všech částek, které vám obchodník zvlášť sdělí, z vašeho účtu prostřednictvím systému hromadného elektronického zúčtování (BECS). Potvrzujete, že jste buď majitelem výše uvedeného účtu, nebo jeho autorizovaným signatářem.", + cardTerms: str => + `Poskytnutím údajů o kartě povolujete společnosti ${str} účtování budoucích plateb v souladu s jejími podmínkami.`, + payNowButton: "Zaplatit nyní", + cardNumberEmptyText: "Číslo karty nesmí být prázdné", + cardExpiryDateEmptyText: "Datum vypršení platnosti karty nesmí být prázdné", + cvcNumberEmptyText: "Číslo CVC nesmí být prázdné", + enterFieldsText: "Vyplňte všechna pole", + enterValidDetailsText: "Zadejte platné údaje", + card: "Karta", + billingNameLabel: "Fakturační jméno", + cardHolderName: "Jméno držitele karty", + cardNickname: "Přezdívka karty", + billingNamePlaceholder: "Jméno a příjmení", + firstName: `Jméno`, + lastName: `Příjmení`, + billingDetails: `Fakturační údaje`, + requiredText: `Požadované`, + lastNameRequiredText: `Požadováno příjmení`, + cardExpiresText: `vyprší`, + addPaymentMethodLabel: `Přidat nový způsob platby`, + cardHolderNameRequiredText: `Je vyžadováno jméno držitele karty`, + walletDisclaimer: `Podrobnosti o peněžence se po výběru uloží`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/DanishLocale.res b/shared-code/LocaleStrings/DanishLocale.res new file mode 100644 index 0000000..4a68001 --- /dev/null +++ b/shared-code/LocaleStrings/DanishLocale.res @@ -0,0 +1,151 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "da", + localeDirection: "ltr", + cardDetailsLabel: "Kortoplysninger", + cardNumberLabel: "Kortnummer", + inValidCardErrorText: "Kortnummeret er ugyldigt.", + inCompleteCVCErrorText: "Dit korts sikkerhedskode er ufuldstændig.", + inCompleteExpiryErrorText: "Dit korts udløbsdato er ufuldstændig.", + pastExpiryErrorText: "Dit korts udløbsår er i fortiden", + poweredBy: "Drevet af Hyperswitch", + validThruText: "Udløbsdato", + sortCodeText: "Registreringsnummer", + cvcTextLabel: "CVC", + line1Label: "Adresselinje 1", + line1Placeholder: "Gadenavn", + line1EmptyText: `Adresselinie 1 kan ikke være tom`, + line2Label: "Adresselinje 2", + line2Placeholder: "Lejl., enhedsnummer osv. (valgfrit)", + cityLabel: "By", + cityEmptyText: `Byen kan ikke være tom`, + postalCodeLabel: "Postnummer", + postalCodeEmptyText: `Postkode kan ikke være tom`, + stateLabel: "Region", + accountNumberText: "Kontonummer", + emailLabel: "E-mail", + emailInvalidText: `ugyldig emailadresse`, + emailEmptyText: `E-mail må ikke være tom`, + fullNameLabel: "Fulde navn", + fullNamePlaceholder: "For- og efternavn", + countryLabel: "Land", + currencyLabel: "Valuta", + bankLabel: "Vælg bank", + redirectText: "Når du har indsendt din bestilling, bliver du omdirigeret for at gennemføre dit køb på en sikker måde.", + bankDetailsText: "Når du har indsendt disse oplysninger, vil du få oplysninger om den bankkonto, du skal betale til. Sørg for at notede dem.", + orPayUsing: "Eller betal ved hjælp af", + addNewCard: "Kredit/debetkort", + useExisitingSavedCards: "Brug gemte debet-/kreditkort", + saveCardDetails: "Gem kortoplysninger", + addBankAccount: "Tilføj bankkonto", + achBankDebitTerms: str => + `Ved at angive dit kontonummer og bekræfte denne betaling giver du ${str} og Hyperswitch, vores betalingstjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og din bank om at debitere din konto i overensstemmelse med disse instruktioner. Du har ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret.`, + sepaDebitTerms: str => + `Ved at angive dine betalingsoplysninger og bekræfte denne betaling giver du (A) ${str} og Hyperswitch, vores betalingstjenesteudbyder og/eller PPRO, dens lokale tjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og (B) din bank om at debitere din konto i overensstemmelse med disse instruktioner. Som en del af dine rettigheder har du ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret. Dine rettigheder er forklaret i en erklæring, som du kan få fra din bank. Du accepterer at modtage meddelelser om fremtidige debiteringer op til to dage, før de finder sted.`, + becsDebitTerms: "Ved at angive dine bankkontooplysninger og bekræfte denne betaling accepterer du denne anmodning om direkte debitering og serviceaftalen om anmodning om direkte debitering og giver Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID-nummer 507156 ( \"Hyperswitch\") tilladelse til at debitere din konto via Bulk Electronic Clearing System (BECS) på vegne af Hyperswitch Payment Widget (\"Forhandleren\") for eventuelle beløb, som Forhandleren har meddelt dig separat. Du bekræfter, at du enten er en kontoindehaver eller en autoriseret underskriver på den konto, der er angivet ovenfor.", + cardTerms: str => + `Ved at angive dine kortoplysninger giver du tilladelse ${str} til at debitere dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.`, + payNowButton: "Betal nu", + cardNumberEmptyText: "Kortnummeret kan ikke være tomt", + cardExpiryDateEmptyText: "Kortets udløbsdato kan ikke være tom", + cvcNumberEmptyText: "CVC-nummeret kan ikke være tomt", + enterFieldsText: "Udfyld venligst alle dato felter", + enterValidDetailsText: "Indtast gyldige oplysninger", + card: "Kort", + billingNameLabel: "Faktureringsnavn", + cardHolderName: "Navn på kortindehaver", + cardNickname: "Kortets kaldenavn", + billingNamePlaceholder: "Fornavn og efternavn", + firstName: "Fornavn", + lastName: "Efternavn", + billingDetails: `Faktureringsdetaljer`, + requiredText: `Krævet`, + lastNameRequiredText: `Efternavn krævet`, + cardExpiresText: `udløber`, + addPaymentMethodLabel: `Tilføj ny betalingsmetode`, + cardHolderNameRequiredText: `Kortholders navn påkrævet`, + walletDisclaimer: `Tegnebogsoplysninger gemmes ved valg`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", deletePaymentMethod : "", + pixKeyLabel : "", pixKeyPlaceholder : "", + } \ No newline at end of file diff --git a/shared-code/LocaleStrings/DeutschLocale.res b/shared-code/LocaleStrings/DeutschLocale.res new file mode 100644 index 0000000..60132cd --- /dev/null +++ b/shared-code/LocaleStrings/DeutschLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `de`, + localeDirection: `ltr`, + cardNumberLabel: `Kartennummer`, + inValidCardErrorText: `Kartennummer ist ungültig.`, + inCompleteCVCErrorText: `Der Sicherheitscode Ihrer Karte ist unvollständig.`, + inCompleteExpiryErrorText: `Das Ablaufdatum Ihrer Karte ist unvollständig.`, + pastExpiryErrorText: `Das Ablaufjahr Ihrer Karte liegt in der Vergangenheit.`, + poweredBy: `Unterstützt von Hyperswitch`, + validThruText: `Ablauf`, + sortCodeText: `Bankleitzahl`, + cvcTextLabel: `CVC`, + line1Label: `Adresszeile 1`, + line1Placeholder: `Adresse`, + line1EmptyText: `Adresszeile 1 darf nicht leer sein`, + line2Label: `Adresszeile 2`, + line2Placeholder: `Wohnung, Einheitennummer usw. (optional)`, + line2EmptyText: `Adresszeile 2 darf nicht leer sein`, + cityLabel: `Stadt`, + cityEmptyText: `Die Stadt darf nicht leer sein`, + postalCodeLabel: `Postleitzahl`, + postalCodeEmptyText: `Die Postleitzahl darf nicht leer sein`, + postalCodeInvalidText: `Ungültige Postleitzahl`, + stateLabel: `Zustand`, + stateEmptyText: `Der Status darf nicht leer sein`, + accountNumberText: `Accountnummer`, + emailLabel: `Email`, + emailEmptyText: `E-Mail darf nicht leer sein`, + emailInvalidText: `Ungültige E-Mail-Adresse`, + fullNameLabel: `Vollständiger Name`, + fullNamePlaceholder: `Vor-und Nachname`, + countryLabel: `Land`, + currencyLabel: `Währung`, + bankLabel: `Wählen Sie Bank`, + redirectText: `Nach dem Absenden Ihrer Bestellung werden Sie weitergeleitet, um Ihren Kauf sicher abzuschließen.`, + bankDetailsText: `Nach Übermittlung dieser Daten erhalten Sie die Bankverbindung, um die Zahlung durchführen zu können. Bitte notieren Sie sich dies unbedingt.`, + orPayUsing: `Oder zahlen Sie mit`, + addNewCard: `Kredit-/Debitkarte hinzufügen`, + useExisitingSavedCards: `Verwenden Sie gespeicherte Debit-/Kreditkarten`, + saveCardDetails: `Kartendetails speichern`, + addBankAccount: `Bankkonto hinzufügen`, + achBankDebitTerms: str => + `Indem Sie Ihre Kontonummer angeben und diese Zahlung bestätigen, autorisieren Sie diese ${str} und Hyperswitch, unser Zahlungsdienstleister, um Anweisungen an Ihre Bank zu senden, um Ihr Konto zu belasten, und Ihre Bank, um Ihr Konto gemäß diesen Anweisungen zu belasten. Sie haben gemäß den Bedingungen Ihrer Vereinbarung mit Ihrer Bank Anspruch auf eine Rückerstattung von Ihrer Bank. Eine Rückerstattung muss innerhalb von 8 Wochen ab dem Datum der Belastung Ihres Kontos beantragt werden.`, + sepaDebitTerms: str => + `Durch die Angabe Ihrer Zahlungsinformationen und die Bestätigung dieses Mandatsformulars ermächtigen Sie (A) ${str}, den Gläubiger und/oder unsere Zahlungsdienstleister, Ihrer Bank Anweisungen zu erteilen, um Ihr Konto zu belasten, und (B) Ihre Bank, Ihr Konto gemäß den Anweisungen von ${str} zu belasten. Im Rahmen Ihrer Rechte haben Sie Anspruch auf eine Rückerstattung von Ihrer Bank gemäß den Bedingungen und Konditionen Ihrer Vereinbarung mit Ihrer Bank. Eine Rückerstattung muss innerhalb von 8 Wochen ab dem Datum, an dem Ihr Konto belastet wurde, beantragt werden. Ihre Rechte sind in einem von Ihrer Bank erhältlichen Dokument erläutert.`, + becsDebitTerms: `Indem Sie Ihre Bankkontodaten angeben und diese Zahlung bestätigen, stimmen Sie dieser Lastschriftanforderung und der Servicevereinbarung für Lastschriftanträge zu und ermächtigen Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Lastschriftbenutzer-ID-Nummer 507156 („Hyperswitch“), Ihr Konto zu belasten Konto über das Bulk Electronic Clearing System (BECS) im Namen von Hyperswitch Payment Widget (der „Händler“) für alle Beträge, die Ihnen vom Händler gesondert mitgeteilt werden. Sie bestätigen, dass Sie entweder Kontoinhaber oder Zeichnungsberechtigter des oben aufgeführten Kontos sind.`, + cardTerms: str => + `Durch die Angabe Ihrer Karteninformationen stimmen Sie zu ${str} Ihre Karte gemäß deren Bedingungen für zukünftige Zahlungen zu belasten.`, + payNowButton: `Zahlen Sie jetzt`, + cardNumberEmptyText: `Die Kartennummer darf nicht leer sein`, + cardExpiryDateEmptyText: `Das Ablaufdatum der Karte darf nicht leer sein`, + cvcNumberEmptyText: `Die CVC-Nummer darf nicht leer sein`, + enterFieldsText: `Bitte füllen Sie alle Felder aus`, + enterValidDetailsText: `Bitte geben Sie gültige Daten ein`, + selectPaymentMethodText: `Bitte wählen Sie eine Zahlungsmethode aus und versuchen Sie es erneut`, + card: `Karte`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Für diese Transaktion wird ein Zuschlag in Höhe von${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}erhoben`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Für diese Transaktion wird ein Zuschlagsbetrag von bis zu${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}erhoben`)} + , + surchargeMsgAmountForOneClickWallets: `Es fällt eine zusätzliche Gebühr an`, + billingNameLabel: `Abrechnungsname`, + billingNamePlaceholder: `Vor-und Nachname`, + cardHolderName: `Name des Karteninhabers`, + on: `An`, + \"and": `Und`, + nameEmptyText: str => `Bitte geben Sie Ihre an ${str}`, + completeNameEmptyText: str => `Bitte geben Sie Ihr vollständiges Formular an ${str}`, + billingDetailsText: `Rechnungsdetails`, + socialSecurityNumberLabel: `Sozialversicherungsnummer`, + saveWalletDetails: `Wallet-Details werden beim Auswählen gespeichert`, + morePaymentMethods: `Mehr Zahlungsmethoden`, + useExistingPaymentMethods: `Gespeicherte Zahlungsarten nutzen`, + cardNickname: `Spitzname der Karte`, + nicknamePlaceholder: `Kartenname (optional)`, + cardExpiredText: `Diese Karte ist abgelaufen`, + cardHeader: `Kartendaten`, + cardBrandConfiguredErrorText: str => `${str} wird derzeit nicht unterstützt.`, + currencyNetwork: `Währungsnetzwerke`, + expiryPlaceholder: `MM / JJ`, + dateOfBirth: `Geburtsdatum`, + vpaIdLabel: `Vpa-ID`, + vpaIdEmptyText: `Die VPA-ID darf nicht leer sein`, + vpaIdInvalidText: `Ungültige VPA-ID`, + dateofBirthRequiredText: `Geburtsdatum ist erforderlich`, + dateOfBirthInvalidText: `Das Alter sollte 18 Jahre oder älter sein`, + dateOfBirthPlaceholderText: `Geben Sie das Geburtsdatum ein`, + formFundsInfoText: `Gelder werden auf dieses Konto gutgeschrieben`, + formFundsCreditInfoText: pmLabel => + `Ihre Gelder werden auf das ausgewählte ${pmLabel} gutgeschrieben.`, + formEditText: `Bearbeiten`, + formSaveText: `Speichern`, + formSubmitText: `Absenden`, + formSubmittingText: `Wird gesendet`, + formSubheaderBillingDetailsText: `Geben Sie Ihre Rechnungsadresse ein`, + formSubheaderCardText: `Ihre Kartendetails`, + formSubheaderAccountText: pmLabel => `Ihr ${pmLabel}`, + formHeaderReviewText: `Überprüfen`, + formHeaderReviewTabLayoutText: pmLabel => `Überprüfen Sie Ihre ${pmLabel} Details`, + formHeaderBankText: bankTransferType => `Geben Sie ${bankTransferType} Bankdaten ein`, + formHeaderWalletText: walletTransferType => `Geben Sie ${walletTransferType} Wallet-Daten ein`, + formHeaderEnterCardText: `Kartendetails eingeben`, + formHeaderSelectBankText: `Wählen Sie eine Bankmethode`, + formHeaderSelectWalletText: `Wählen Sie ein Wallet`, + formHeaderSelectAccountText: `Wählen Sie ein Konto für Auszahlungen`, + formFieldACHRoutingNumberLabel: `Routing-Nummer`, + formFieldSepaIbanLabel: `Internationale Bankkontonummer (IBAN)`, + formFieldSepaBicLabel: `Bank-Identifikationscode (optional)`, + formFieldPixIdLabel: `Pix-ID`, + formFieldBankAccountNumberLabel: `Bankkontonummer`, + formFieldPhoneNumberLabel: `Telefonnummer`, + formFieldCountryCodeLabel: `Ländercode (optional)`, + formFieldBankNameLabel: `Bankname (optional)`, + formFieldBankCityLabel: `Bankstadt (optional)`, + formFieldCardHoldernamePlaceholder: `Ihr Name`, + formFieldBankNamePlaceholder: `Bankname`, + formFieldBankCityPlaceholder: `Bankstadt`, + formFieldEmailPlaceholder: `Ihre E-Mail`, + formFieldPhoneNumberPlaceholder: `Ihr Telefon`, + formFieldInvalidRoutingNumber: `Die Routing-Nummer ist ungültig.`, + infoCardRefId: `Ref-ID`, + infoCardErrCode: `Fehlercode`, + infoCardErrMsg: `Fehlermeldung`, + infoCardErrReason: `Grund`, + linkRedirectionText: seconds => `Weiterleitung in ${seconds->Int.toString} Sekunden ...`, + linkExpiryInfo: expiry => `Link läuft ab am: ${expiry}`, + payoutFromText: merchant => `Auszahlung von ${merchant}`, + payoutStatusFailedMessage: `Ihre Auszahlung konnte nicht bearbeitet werden. Bitte wenden Sie sich für weitere Details an Ihren Anbieter.`, + payoutStatusPendingMessage: `Ihre Auszahlung wird innerhalb von 2-3 Werktagen bearbeitet.`, + payoutStatusSuccessMessage: `Ihre Auszahlung war erfolgreich. Gelder wurden in Ihrer ausgewählten Zahlungsmethode gutgeschrieben.`, + payoutStatusFailedText: `Auszahlung fehlgeschlagen`, + payoutStatusPendingText: `Auszahlung in Bearbeitung`, + payoutStatusSuccessText: `Auszahlung erfolgreich`, + pixCNPJInvalidText: `Ungültiger Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ darf nicht leer sein`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Geben Sie Pix CNPJ ein`, + pixCPFInvalidText: `Ungültiger Pix CPF`, + pixCPFEmptyText: `Pix CPF darf nicht leer sein`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Geben Sie Pix CPF ein`, + pixKeyEmptyText: `Pix-Schlüssel darf nicht leer sein`, + pixKeyPlaceholder: `Geben Sie den Pix-Schlüssel ein`, + pixKeyLabel: `Pix-Schlüssel`, + cardDetailsLabel: "Kartendetails", + firstName: `Vorname`, + lastName: `Familienname, Nachname`, + billingDetails: `Rechnungsdetails`, + requiredText: `Erforderlich`, + lastNameRequiredText: `Nachname erforderlich`, + cardExpiresText: `läuft ab`, + addPaymentMethodLabel: `Neue Zahlungsmethode hinzufügen`, + cardHolderNameRequiredText: `Name des Karteninhabers erforderlich`, + walletDisclaimer: `Wallet-Details werden bei Auswahl gespeichert`, + deletePaymentMethod :"" + +} diff --git a/shared-code/LocaleStrings/DutchBelgiumLocale.res b/shared-code/LocaleStrings/DutchBelgiumLocale.res new file mode 100644 index 0000000..03afb92 --- /dev/null +++ b/shared-code/LocaleStrings/DutchBelgiumLocale.res @@ -0,0 +1,160 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "nl-BE", + localeDirection: "v-p", + cardDetailsLabel: "Kaartgegevens", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Adresregel 1 mag niet leeg zijn`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + line2EmptyText: `Adresregel 2 mag niet leeg zijn`, + cityLabel: "Linn", + cityEmptyText: `De stad kan niet leeg zijn`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Postcode mag niet leeg zijn`, + postalCodeInvalidText: `Ongeldige postcode`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `Ongeldig e-mailadres`, + emailEmptyText: `Het e-mailadres mag niet leeg zijn`, + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Naam van de kaarthouder", + cardNickname: "Bijnaam van de kaart", + billingNamePlaceholder: "Voornaam en achternaam", + firstName: `Voornaam`, + lastName: `Achternaam`, + billingDetails: `Factureringsgegevens`, + requiredText: `Vereist`, + lastNameRequiredText: `Achternaam vereist`, + cardExpiresText: `verloopt`, + addPaymentMethodLabel: `Nieuwe betaalmethode toevoegen`, + cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, + walletDisclaimer: `Portemonneegegevens worden opgeslagen bij selectie`, + stateEmptyText: `De staat kan niet leeg zijn`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Een toeslagbedrag van${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Een toeslagbedrag van maximaal${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`)} + , + surchargeMsgAmountForOneClickWallets: `Extra kosten van toepassing`, + on: `op`, + \"and": `En`, + nameEmptyText: str => `Geef alstublieft uw ${str}`, + completeNameEmptyText: str => `Geef uw volledige ${str}`, + billingDetailsText: `Factureringsgegevens`, + socialSecurityNumberLabel: `Burgerservicenummer`, + saveWalletDetails: `Portefeuillegegevens worden bij selectie opgeslagen`, + morePaymentMethods: `Meer betaalmethoden`, + useExistingPaymentMethods: `Gebruik opgeslagen betaalmethoden`, + nicknamePlaceholder: `Bijnaam kaart (optioneel)`, + selectPaymentMethodText: `Selecteer een betaalmethode en probeer het opnieuw`, + cardExpiredText: `Deze kaart is verlopen`, + cardHeader: `Kaartinformatie`, + cardBrandConfiguredErrorText: str => `${str} wordt op dit moment niet ondersteund.`, + currencyNetwork: `Valutanetwerken`, + expiryPlaceholder: `MM / JJ`, + dateOfBirth: `Geboortedatum`, + vpaIdLabel: `Vpa-id`, + vpaIdEmptyText: `Vpa-ID mag niet leeg zijn`, + vpaIdInvalidText: `Ongeldige Vpa-ID`, + dateofBirthRequiredText: `Geboortedatum is vereist`, + dateOfBirthInvalidText: `De leeftijd moet groter of gelijk zijn aan 18 jaar`, + dateOfBirthPlaceholderText: `Voer geboortedatum in`, + formFundsInfoText: `Gelden worden op deze rekening gestort`, + formFundsCreditInfoText: pmLabel => `Uw geld wordt bijgeschreven in de geselecteerde ${pmLabel}.`, + formEditText: `Bewerken`, + formSaveText: `Opslaan`, + formSubmitText: `Indienen`, + formSubmittingText: `Indienen`, + formSubheaderBillingDetailsText: `Voer uw factuuradres in`, + formSubheaderCardText: `Uw kaartgegevens`, + formSubheaderAccountText: pmLabel => `Uw ${pmLabel}`, + formHeaderReviewText: `Beoordelen`, + formHeaderReviewTabLayoutText: pmLabel => `Bekijk uw ${pmLabel} gegevens`, + formHeaderBankText: bankTransferType => `Voer ${bankTransferType} bankgegevens in`, + formHeaderWalletText: walletTransferType => `Voer ${walletTransferType} portemonneegegevens in`, + formHeaderEnterCardText: `Voer kaartgegevens in`, + formHeaderSelectBankText: `Selecteer een bankmethode`, + formHeaderSelectWalletText: `Selecteer een portemonnee`, + formHeaderSelectAccountText: `Selecteer een account voor uitbetalingen`, + formFieldACHRoutingNumberLabel: `Routingnummer`, + formFieldSepaIbanLabel: `Internationaal Bankrekeningnummer (IBAN)`, + formFieldSepaBicLabel: `Bankidentificatiecode (Optioneel)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bankrekeningnummer`, + formFieldPhoneNumberLabel: `Telefoonnummer`, + formFieldCountryCodeLabel: `Landcode (Optioneel)`, + formFieldBankNameLabel: `Banknaam (Optioneel)`, + formFieldBankCityLabel: `Bankstad (Optioneel)`, + formFieldCardHoldernamePlaceholder: `Uw naam`, + formFieldBankNamePlaceholder: `Banknaam`, + formFieldBankCityPlaceholder: `Bankstad`, + formFieldEmailPlaceholder: `Uw e-mail`, + formFieldPhoneNumberPlaceholder: `Uw telefoon`, + formFieldInvalidRoutingNumber: `Routingnummer is ongeldig.`, + infoCardRefId: `Uw referentie`, + infoCardErrCode: `Foutcode`, + infoCardErrMsg: `Foutbericht`, + infoCardErrReason: `Reden`, + linkRedirectionText: seconds => `Doorverwijzen in ${seconds->Int.toString} seconden ...`, + linkExpiryInfo: expiry => `Link verloopt op: ${expiry}`, + payoutFromText: merchant => `Uitbetaling van ${merchant}`, + payoutStatusFailedMessage: `Uitbetaling kon niet worden verwerkt. Neem contact op met uw provider voor meer details.`, + payoutStatusPendingMessage: `Uw uitbetaling wordt binnen 2-3 werkdagen verwerkt.`, + payoutStatusSuccessMessage: `Uw uitbetaling was succesvol. Geld is bijgeschreven in de door u geselecteerde betalingsmethode.`, + payoutStatusFailedText: `Uitbetaling mislukt`, + payoutStatusPendingText: `Uitbetaling verwerken`, + payoutStatusSuccessText: `Uitbetaling geslaagd`, + pixCNPJInvalidText: `Ongeldige Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ mag niet leeg zijn`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Voer Pix CNPJ in`, + pixCPFInvalidText: `Ongeldige Pix CPF`, + pixCPFEmptyText: `Pix CPF mag niet leeg zijn`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Voer Pix CPF in`, + pixKeyEmptyText: `Pix-sleutel mag niet leeg zijn`, + pixKeyPlaceholder: `Voer Pix-sleutel in`, + pixKeyLabel: `Pix-sleutel`, deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/DutchLocale.res b/shared-code/LocaleStrings/DutchLocale.res new file mode 100644 index 0000000..f09b90c --- /dev/null +++ b/shared-code/LocaleStrings/DutchLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `nl`, + localeDirection: `ltr`, + cardNumberLabel: `Kortnummer`, + inValidCardErrorText: `Kortnummeret er ugyldigt.`, + inCompleteCVCErrorText: `Dit korts sikkerhedskode er ufuldstændig.`, + inCompleteExpiryErrorText: `Dit korts udløbsdato er ufuldstændig.`, + pastExpiryErrorText: `Dit korts udløbsår er i fortiden`, + poweredBy: `Drevet af Hyperswitch`, + validThruText: `Udløbsdato`, + sortCodeText: `Registreringsnummer`, + cvcTextLabel: `CVC`, + line1Label: `Adresselinje 1`, + line1Placeholder: `Gadenavn`, + line2Label: "Adresselinje 2", + line2Placeholder: `Lejl., enhedsnummer osv. (valgfrit)`, + cityLabel: `By`, + postalCodeLabel: `Postnummer`, + stateLabel: `Region`, + accountNumberText: `Kontonummer`, + emailLabel: `E-mail`, + fullNameLabel: `Fulde navn`, + fullNamePlaceholder: `For- og efternavn`, + countryLabel: `Land`, + currencyLabel: `Valuta`, + bankLabel: `Vælg bank`, + redirectText: `Når du har indsendt din bestilling, bliver du omdirigeret for at gennemføre dit køb på en sikker måde.`, + bankDetailsText: `Når du har indsendt disse oplysninger, vil du få oplysninger om den bankkonto, du skal betale til. Sørg for at notede dem.`, + orPayUsing: `Eller betal ved hjælp af`, + addNewCard: `Kredit/debetkort`, + useExisitingSavedCards: `Brug gemte debet-/kreditkort`, + saveCardDetails: `Gem kortoplysninger`, + addBankAccount: `Tilføj bankkonto`, + achBankDebitTerms: str => + `Ved at angive dit kontonummer og bekræfte denne betaling giver du ${str} og Hyperswitch, vores betalingstjenesteudbyder, tilladelse til at sende instruktioner til din bank om at debitere din konto og din bank om at debitere din konto i overensstemmelse med disse instruktioner. Du har ret til en refusion fra din bank i henhold til vilkårene og betingelserne i din aftale med din bank. Der skal anmodes om en refusion inden for otte uger fra den dato, hvor din konto blev debiteret.`, + sepaDebitTerms: str => + `Door uw betalingsinformatie te verstrekken en dit machtigingsformulier te bevestigen, machtigt u (A) ${str}, de schuldeiser en/of onze betalingsdienstverleners om instructies naar uw bank te sturen om uw rekening te debiteren en (B) uw bank om uw rekening te debiteren volgens de instructies van ${str}. Als onderdeel van uw rechten heeft u recht op een terugbetaling van uw bank volgens de voorwaarden van uw overeenkomst met uw bank. Een terugbetaling moet binnen 8 weken na de datum waarop uw rekening is gedebiteerd, worden aangevraagd. Uw rechten worden uitgelegd in een verklaring die u bij uw bank kunt verkrijgen.`, + becsDebitTerms: `Ved at angive dine bankkontooplysninger og bekræfte denne betaling accepterer du denne anmodning om direkte debitering og serviceaftalen om anmodning om direkte debitering og giver Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID-nummer 507156 ( \"Hyperswitch\") tilladelse til at debitere din konto via Bulk Electronic Clearing System (BECS) på vegne af Hyperswitch Payment Widget (\"Forhandleren\") for eventuelle beløb, som Forhandleren har meddelt dig separat. Du bekræfter, at du enten er en kontoindehaver eller en autoriseret underskriver på den konto, der er angivet ovenfor.`, + cardTerms: str => + `Ved at angive dine kortoplysninger giver du tilladelse ${str} til at debitere dit kort for fremtidige betalinger i overensstemmelse med deres vilkår.`, + payNowButton: `Betal nu`, + cardNumberEmptyText: `Kortnummeret kan ikke være tomt`, + cardExpiryDateEmptyText: `Kortets udløbsdato kan ikke være tom`, + cvcNumberEmptyText: `CVC-nummeret kan ikke være tomt`, + enterFieldsText: `Udfyld venligst alle dato felter`, + enterValidDetailsText: `Indtast gyldige oplysninger`, + card: `Kort`, + billingNameLabel: `Faktureringsnavn`, + cardHolderName: `Naam van de kaarthouder`, + cardNickname: `Kaartbijnaam`, + billingNamePlaceholder: `Voornaam en achternaam`, + emailEmptyText: `E-mail mag niet leeg zijn`, + emailInvalidText: `Ongeldig e-mailadres`, + line1EmptyText: `Adresregel 1 mag niet leeg zijn`, + line2EmptyText: `Adresregel 2 mag niet leeg zijn`, + cityEmptyText: `De stad kan niet leeg zijn`, + postalCodeEmptyText: `Postcode mag niet leeg zijn`, + postalCodeInvalidText: `Ongeldige postcode`, + stateEmptyText: `De staat kan niet leeg zijn`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Een toeslagbedrag van${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Een toeslagbedrag van maximaal${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}zal voor deze transactie worden toegepast`)} + , + surchargeMsgAmountForOneClickWallets: `Extra kosten van toepassing`, + on: `op`, + \"and": `En`, + nameEmptyText: str => `Geef alstublieft uw ${str}`, + completeNameEmptyText: str => `Geef uw volledige ${str}`, + billingDetailsText: `Factureringsgegevens`, + socialSecurityNumberLabel: `Burgerservicenummer`, + saveWalletDetails: `Portefeuillegegevens worden bij selectie opgeslagen`, + morePaymentMethods: `Meer betaalmethoden`, + useExistingPaymentMethods: `Gebruik opgeslagen betaalmethoden`, + nicknamePlaceholder: `Bijnaam kaart (optioneel)`, + selectPaymentMethodText: `Selecteer een betaalmethode en probeer het opnieuw`, + cardExpiredText: `Deze kaart is verlopen`, + cardHeader: `Kaartinformatie`, + cardBrandConfiguredErrorText: str => `${str} wordt op dit moment niet ondersteund.`, + currencyNetwork: `Valutanetwerken`, + expiryPlaceholder: `MM / JJ`, + dateOfBirth: `Geboortedatum`, + vpaIdLabel: `Vpa-id`, + vpaIdEmptyText: `Vpa-ID mag niet leeg zijn`, + vpaIdInvalidText: `Ongeldige Vpa-ID`, + dateofBirthRequiredText: `Geboortedatum is vereist`, + dateOfBirthInvalidText: `De leeftijd moet groter of gelijk zijn aan 18 jaar`, + dateOfBirthPlaceholderText: `Voer geboortedatum in`, + formFundsInfoText: `Gelden worden op deze rekening gestort`, + formFundsCreditInfoText: pmLabel => `Uw geld wordt bijgeschreven in de geselecteerde ${pmLabel}.`, + formEditText: `Bewerken`, + formSaveText: `Opslaan`, + formSubmitText: `Indienen`, + formSubmittingText: `Indienen`, + formSubheaderBillingDetailsText: `Voer uw factuuradres in`, + formSubheaderCardText: `Uw kaartgegevens`, + formSubheaderAccountText: pmLabel => `Uw ${pmLabel}`, + formHeaderReviewText: `Beoordelen`, + formHeaderReviewTabLayoutText: pmLabel => `Bekijk uw ${pmLabel} gegevens`, + formHeaderBankText: bankTransferType => `Voer ${bankTransferType} bankgegevens in`, + formHeaderWalletText: walletTransferType => `Voer ${walletTransferType} portemonneegegevens in`, + formHeaderEnterCardText: `Voer kaartgegevens in`, + formHeaderSelectBankText: `Selecteer een bankmethode`, + formHeaderSelectWalletText: `Selecteer een portemonnee`, + formHeaderSelectAccountText: `Selecteer een account voor uitbetalingen`, + formFieldACHRoutingNumberLabel: `Routingnummer`, + formFieldSepaIbanLabel: `Internationaal Bankrekeningnummer (IBAN)`, + formFieldSepaBicLabel: `Bankidentificatiecode (Optioneel)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bankrekeningnummer`, + formFieldPhoneNumberLabel: `Telefoonnummer`, + formFieldCountryCodeLabel: `Landcode (Optioneel)`, + formFieldBankNameLabel: `Banknaam (Optioneel)`, + formFieldBankCityLabel: `Bankstad (Optioneel)`, + formFieldCardHoldernamePlaceholder: `Uw naam`, + formFieldBankNamePlaceholder: `Banknaam`, + formFieldBankCityPlaceholder: `Bankstad`, + formFieldEmailPlaceholder: `Uw e-mail`, + formFieldPhoneNumberPlaceholder: `Uw telefoon`, + formFieldInvalidRoutingNumber: `Routingnummer is ongeldig.`, + infoCardRefId: `Uw referentie`, + infoCardErrCode: `Foutcode`, + infoCardErrMsg: `Foutbericht`, + infoCardErrReason: `Reden`, + linkRedirectionText: seconds => `Doorverwijzen in ${seconds->Int.toString} seconden ...`, + linkExpiryInfo: expiry => `Link verloopt op: ${expiry}`, + payoutFromText: merchant => `Uitbetaling van ${merchant}`, + payoutStatusFailedMessage: `Uitbetaling kon niet worden verwerkt. Neem contact op met uw provider voor meer details.`, + payoutStatusPendingMessage: `Uw uitbetaling wordt binnen 2-3 werkdagen verwerkt.`, + payoutStatusSuccessMessage: `Uw uitbetaling was succesvol. Geld is bijgeschreven in de door u geselecteerde betalingsmethode.`, + payoutStatusFailedText: `Uitbetaling mislukt`, + payoutStatusPendingText: `Uitbetaling verwerken`, + payoutStatusSuccessText: `Uitbetaling geslaagd`, + pixCNPJInvalidText: `Ongeldige Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ mag niet leeg zijn`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Voer Pix CNPJ in`, + pixCPFInvalidText: `Ongeldige Pix CPF`, + pixCPFEmptyText: `Pix CPF mag niet leeg zijn`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Voer Pix CPF in`, + pixKeyEmptyText: `Pix-sleutel mag niet leeg zijn`, + pixKeyPlaceholder: `Voer Pix-sleutel in`, + pixKeyLabel: `Pix-sleutel`, + cardDetailsLabel: "Kaartdetails", + firstName: `Voornaam`, + lastName: `Achternaam`, + billingDetails: `Factureringsgegevens`, + requiredText: `Vereist`, + lastNameRequiredText: `Achternaam vereist`, + cardExpiresText: `verloopt`, + addPaymentMethodLabel: `Nieuwe betaalmethode toevoegen`, + cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, + walletDisclaimer: `Portemonneegegevens worden opgeslagen bij selectie`, + deletePaymentMethod : "", +} diff --git a/shared-code/LocaleStrings/EnglishGBLocale.res b/shared-code/LocaleStrings/EnglishGBLocale.res new file mode 100644 index 0000000..dd273f2 --- /dev/null +++ b/shared-code/LocaleStrings/EnglishGBLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "en-GB", + localeDirection: "ltr", + cardNumberLabel: "Card Number", + inValidCardErrorText: "Card number is invalid.", + inCompleteCVCErrorText: "Your card's security code is incomplete.", + inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", + pastExpiryErrorText: "Your card's expiration year is in the past.", + poweredBy: "Powered By Hyperswitch", + validThruText: "Expiry", + sortCodeText: "Sort Code", + cvcTextLabel: "CVC", + emailLabel: "Email", + emailEmptyText: "Email cannot be empty", + emailInvalidText: "Invalid email address", + line1Label: "Address line 1", + line1Placeholder: "Street address", + line1EmptyText: "Address line 1 cannot be empty", + line2Label: "Address line 2", + line2Placeholder: "Apt., unit number, etc (optional)", + line2EmptyText: "Address line 2 cannot be empty", + cityLabel: "City", + cityEmptyText: "City cannot be empty", + postalCodeLabel: "Postal Code", + postalCodeEmptyText: "Postal code cannot be empty", + postalCodeInvalidText: "Invalid postal code", + stateLabel: "State", + stateEmptyText: "State cannot be empty", + accountNumberText: "Account Number", + fullNameLabel: "Full name", + fullNamePlaceholder: "First and last name", + countryLabel: "Country", + currencyLabel: "Currency", + bankLabel: "Select Bank", + redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", + bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", + orPayUsing: "Or pay using", + addNewCard: "Add credit/debit card", + useExisitingSavedCards: "Use saved debit/credit cards", + saveCardDetails: "Save card details", + addBankAccount: "Add bank account", + achBankDebitTerms: _ => + `Your ACH Debit Authorization will be set up now, but we'll confirm the amount and let you know before future payments are taken.`, + sepaDebitTerms: str => + `By providing your payment information and confirming to this mandate form, you authorise (A) ${str}, the Creditor and/or our payment service provider(s) to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instructions from ${str}. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank.`, + becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, + cardTerms: str => + `By providing your card information, you allow ${str} to charge your card for future payments in accordance with their terms.`, + payNowButton: "Pay Now", + cardNumberEmptyText: "Card Number cannot be empty", + cardExpiryDateEmptyText: "Card expiry date cannot be empty", + cvcNumberEmptyText: "CVC Number cannot be empty", + enterFieldsText: "Please enter all fields", + enterValidDetailsText: "Please enter valid details", + selectPaymentMethodText: `Please select a payment method and try again`, + card: "Card", + surchargeMsgAmount: (currency, str) => <> + {React.string(`A surcharge amount of${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}will be applied for this transaction`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`A surcharge amount of upto${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}will be applied for this transaction`)} + , + surchargeMsgAmountForOneClickWallets: "Additional fee applicable", + billingNameLabel: "Billing name", + billingNamePlaceholder: "First and last name", + cardHolderName: "Card Holder Name", + on: "on", + \"and": "and", + nameEmptyText: str => `Please provide your ${str}`, + completeNameEmptyText: str => `Please provide your complete ${str}`, + billingDetailsText: "Billing Details", + socialSecurityNumberLabel: "Social Security Number", + saveWalletDetails: "Wallets details will be saved upon selection", + morePaymentMethods: "More payment methods", + useExistingPaymentMethods: "Use saved payment methods", + cardNickname: "Card Nickname", + nicknamePlaceholder: "Card Nickname (Optional)", + cardExpiredText: `This card has expired`, + cardHeader: `Card information`, + cardBrandConfiguredErrorText: str => `${str} is not supported at the moment.`, + currencyNetwork: `Currency Networks`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `Date of Birth`, + vpaIdLabel: `Vpa Id`, + vpaIdEmptyText: `Vpa Id cannot be empty`, + vpaIdInvalidText: `Invalid Vpa Id address`, + dateofBirthRequiredText: `Date of birth is required`, + dateOfBirthInvalidText: `Age should be greater than or equal to 18 years`, + dateOfBirthPlaceholderText: `Enter Date of Birth`, + formFundsInfoText: `Funds will be credited to this account`, + formFundsCreditInfoText: pmLabel => `Your funds will be credited in the selected ${pmLabel}.`, + formEditText: `Edit`, + formSaveText: `Save`, + formSubmitText: `Submit`, + formSubmittingText: `Submitting`, + formSubheaderBillingDetailsText: `Enter your billing address`, + formSubheaderCardText: `Your card details`, + formSubheaderAccountText: pmLabel => `Your ${pmLabel}`, + formHeaderReviewText: `Review`, + formHeaderReviewTabLayoutText: pmLabel => `Review your ${pmLabel} details`, + formHeaderBankText: bankTransferType => `Enter ${bankTransferType} bank details`, + formHeaderWalletText: walletTransferType => `Enter ${walletTransferType} wallet details`, + formHeaderEnterCardText: `Enter card details`, + formHeaderSelectBankText: `Select a bank method`, + formHeaderSelectWalletText: `Select a wallet`, + formHeaderSelectAccountText: `Select an account for payouts`, + formFieldACHRoutingNumberLabel: `Routing Number`, + formFieldSepaIbanLabel: `International Bank Account Number (IBAN)`, + formFieldSepaBicLabel: `Bank Identifier Code (Optional)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bank Account Number`, + formFieldPhoneNumberLabel: `Phone Number`, + formFieldCountryCodeLabel: `Country Code (Optional)`, + formFieldBankNameLabel: `Bank Name (Optional)`, + formFieldBankCityLabel: `Bank City (Optional)`, + formFieldCardHoldernamePlaceholder: `Your Name`, + formFieldBankNamePlaceholder: `Bank Name`, + formFieldBankCityPlaceholder: `Bank City`, + formFieldEmailPlaceholder: `Your Email`, + formFieldPhoneNumberPlaceholder: `Your Phone`, + formFieldInvalidRoutingNumber: `Routing number is invalid.`, + infoCardRefId: `Ref Id`, + infoCardErrCode: `Error Code`, + infoCardErrMsg: `Error Message`, + infoCardErrReason: `Reason`, + linkRedirectionText: seconds => `Redirecting in ${seconds->Int.toString} seconds ...`, + linkExpiryInfo: expiry => `Link expires on: ${expiry}`, + payoutFromText: merchant => `Payout from ${merchant}`, + payoutStatusFailedMessage: `Failed to process your payout. Please check with your provider for more details.`, + payoutStatusPendingMessage: `Your payout should be processed within 2-3 business days.`, + payoutStatusSuccessMessage: `Your payout was successful. Funds were deposited in your selected payment mode.`, + payoutStatusFailedText: `Payout Failed`, + payoutStatusPendingText: `Payout Processing`, + payoutStatusSuccessText: `Payout Successful`, + pixCNPJInvalidText: `Invalid Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ cannot be empty`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Enter Pix CNPJ`, + pixCPFInvalidText: `Invalid Pix CPF`, + pixCPFEmptyText: `Pix CPF cannot be empty`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Enter Pix CPF`, + pixKeyEmptyText: `Pix key cannot be empty`, + pixKeyPlaceholder: `Enter Pix key`, + pixKeyLabel: `Pix key`, + firstName: "First name", + lastName: "Last name", + billingDetails: "Billing Details", + requiredText: "Required", + lastNameRequiredText: "Last Name Required", + cardExpiresText: `expires`, + addPaymentMethodLabel: `Add new payment method`, + cardHolderNameRequiredText: `Card Holder's name required`, + walletDisclaimer: `Wallet details will be saved upon selection`, + cardDetailsLabel: "Card Details", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/EnglishLocale.res b/shared-code/LocaleStrings/EnglishLocale.res new file mode 100644 index 0000000..0a372dc --- /dev/null +++ b/shared-code/LocaleStrings/EnglishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "en", + localeDirection: "ltr", + cardNumberLabel: "Card Number", + cardDetailsLabel: "Card Details", + inValidCardErrorText: "Card number is invalid.", + inCompleteCVCErrorText: "Your card's security code is incomplete.", + inCompleteExpiryErrorText: "Your card's expiration date is incomplete.", + pastExpiryErrorText: "Your card's expiration year is in the past.", + poweredBy: "Powered By Hyperswitch", + validThruText: "Expiry", + sortCodeText: "Sort Code", + accountNumberText: "Account Number", + cvcTextLabel: "CVC", + emailLabel: "Email", + emailInvalidText: "Invalid email address", + emailEmptyText: "Email cannot be empty", + line1Label: "Address line 1", + line1Placeholder: "Street address", + line1EmptyText: "Address line 1 cannot be empty", + line2Label: "Address line 2", + line2Placeholder: "Apt., unit number, etc (optional)", + line2EmptyText: "Address line 2 cannot be empty", + cityLabel: "City", + cityEmptyText: "City cannot be empty", + postalCodeLabel: "Postal Code", + postalCodeEmptyText: "Postal code cannot be empty", + postalCodeInvalidText: "Invalid postal code", + stateLabel: "State", + stateEmptyText: "State cannot be empty", + fullNameLabel: "Full name", + fullNamePlaceholder: "First and last name", + countryLabel: "Country", + currencyLabel: "Currency", + bankLabel: "Select Bank", + redirectText: "After submitting your order, you will be redirected to securely complete your purchase.", + bankDetailsText: "After submitting these details, you will get bank account information to make payment. Please make sure to take a note of it.", + orPayUsing: "Or pay using", + addNewCard: "Add credit/debit card", + useExisitingSavedCards: "Use saved debit/credit cards", + saveCardDetails: "Save card details", + addBankAccount: "Add bank account", + sepaDebitTerms: str => + `By providing your payment information and confirming to this mandate form, you authorise (A) ${str}, the Creditor and/or our payment service provider(s) to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instructions from ${str}. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank.`, + becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, + cardTerms: str => + `By providing your card information, you allow ${str} to charge your card for future payments in accordance with their terms.`, + payNowButton: "Pay Now", + cardNumberEmptyText: "Card Number cannot be empty", + cardExpiryDateEmptyText: "Card expiry date cannot be empty", + cvcNumberEmptyText: "CVC Number cannot be empty", + enterFieldsText: "Please enter all fields", + enterValidDetailsText: "Please enter valid details", + selectPaymentMethodText: "Please select a payment method and try again", + card: "Card", + surchargeMsgAmount: (currency, str) => <> + {React.string(`A surcharge amount of${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}will be applied for this transaction`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`A surcharge amount of upto${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}will be applied for this transaction`)} + , + surchargeMsgAmountForOneClickWallets: "Additional fee applicable", + billingNameLabel: "Billing name", + billingNamePlaceholder: "First and last name", + cardHolderName: "Card Holder Name", + on: "on", + \"and": "and", + nameEmptyText: str => `Please provide your ${str}`, + completeNameEmptyText: str => `Please provide your complete ${str}`, + billingDetailsText: "Billing Details", + socialSecurityNumberLabel: "Social Security Number", + saveWalletDetails: "Wallets details will be saved upon selection", + morePaymentMethods: "More payment methods", + useExistingPaymentMethods: "Use saved payment methods", + cardNickname: "Card Nickname", + nicknamePlaceholder: "Card Nickname (Optional)", + cardExpiredText: `This card has expired`, + cardHeader: `Card information`, + cardBrandConfiguredErrorText: str => `${str} is not supported at the moment.`, + currencyNetwork: `Currency Networks`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `Date of Birth`, + vpaIdLabel: "Vpa Id", + vpaIdEmptyText: "Vpa Id cannot be empty", + vpaIdInvalidText: "Invalid Vpa Id address", + dateofBirthRequiredText: `Date of birth is required`, + dateOfBirthInvalidText: `Age should be greater than or equal to 18 years`, + dateOfBirthPlaceholderText: `Enter Date of Birth`, + formFundsInfoText: `Funds will be credited to this account`, + formFundsCreditInfoText: pmLabel => `Your funds will be credited in the selected ${pmLabel}.`, + formEditText: `Edit`, + formSaveText: `Save`, + formSubmitText: `Submit`, + formSubmittingText: `Submitting`, + formSubheaderBillingDetailsText: `Enter your billing address`, + formSubheaderCardText: `Your card details`, + formSubheaderAccountText: pmLabel => `Your ${pmLabel}`, + formHeaderReviewText: `Review`, + formHeaderReviewTabLayoutText: pmLabel => `Review your ${pmLabel} details`, + formHeaderBankText: bankTransferType => `Enter ${bankTransferType} bank details`, + formHeaderWalletText: walletTransferType => `Enter ${walletTransferType} wallet details`, + formHeaderEnterCardText: `Enter card details`, + formHeaderSelectBankText: `Select a bank method`, + formHeaderSelectWalletText: `Select a wallet`, + formHeaderSelectAccountText: `Select an account for payouts`, + formFieldACHRoutingNumberLabel: `Routing Number`, + formFieldSepaIbanLabel: `International Bank Account Number (IBAN)`, + formFieldSepaBicLabel: `Bank Identifier Code (Optional)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bank Account Number`, + formFieldPhoneNumberLabel: `Phone Number`, + formFieldCountryCodeLabel: `Country Code (Optional)`, + formFieldBankNameLabel: `Bank Name (Optional)`, + formFieldBankCityLabel: `Bank City (Optional)`, + formFieldCardHoldernamePlaceholder: `Your Name`, + formFieldBankNamePlaceholder: `Bank Name`, + formFieldBankCityPlaceholder: `Bank City`, + formFieldEmailPlaceholder: `Your Email`, + formFieldPhoneNumberPlaceholder: `Your Phone`, + formFieldInvalidRoutingNumber: `Routing number is invalid.`, + infoCardRefId: `Ref Id`, + infoCardErrCode: `Error Code`, + infoCardErrMsg: `Error Message`, + infoCardErrReason: `Reason`, + linkRedirectionText: seconds => `Redirecting in ${seconds->Int.toString} seconds ...`, + linkExpiryInfo: expiry => `Link expires on: ${expiry}`, + payoutFromText: merchant => `Payout from ${merchant}`, + payoutStatusFailedMessage: `Failed to process your payout. Please check with your provider for more details.`, + payoutStatusPendingMessage: `Your payout should be processed within 2-3 business days.`, + payoutStatusSuccessMessage: `Your payout was successful. Funds were deposited in your selected payment mode.`, + payoutStatusFailedText: `Payout Failed`, + payoutStatusPendingText: `Payout Processing`, + payoutStatusSuccessText: `Payout Successful`, + pixCNPJInvalidText: `Invalid Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ cannot be empty`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Enter Pix CNPJ`, + pixCPFInvalidText: `Invalid Pix CPF`, + pixCPFEmptyText: `Pix CPF cannot be empty`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Enter Pix CPF`, + pixKeyEmptyText: `Pix key cannot be empty`, + pixKeyPlaceholder: `Enter Pix key`, + pixKeyLabel: `Pix key`, + achBankDebitTerms: str => + `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.`, + firstName: "First name", + lastName: "Last name", + billingDetails: "Billing Details", + requiredText: "Required", + lastNameRequiredText: "Last Name Required", + cardExpiresText: "expires", + addPaymentMethodLabel: "Add new payment method", + cardHolderNameRequiredText: "Card Holder's name required", + walletDisclaimer: "Wallet details will be saved upon selection", + deletePaymentMethod: "Delete", +} diff --git a/shared-code/LocaleStrings/EstonianLocale.res b/shared-code/LocaleStrings/EstonianLocale.res new file mode 100644 index 0000000..1655b55 --- /dev/null +++ b/shared-code/LocaleStrings/EstonianLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "et", + localeDirection: "v-p", + cardDetailsLabel: "Kaardiandmed", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Aadressi rida 1 ei saa olla tühi`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + cityLabel: "Linn", + cityEmptyText: `Linn ei saa olla tühi`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Postikood ei saa olla tühi`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `vale emaili aadress`, + emailEmptyText: `E-posti aadress ei tohi olla tühi`, + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Kaardi omaniku nimi", + cardNickname: "Kaardi hellitusnimi", + billingNamePlaceholder: "Ees- ja perekonnanimi", + firstName: `Eesnimi`, + lastName: `Perekonnanimi`, + billingDetails: `Arvelduse üksikasjad`, + requiredText: `Nõutud`, + lastNameRequiredText: `Vajalik perekonnanimi`, + cardExpiresText: `aegub`, + addPaymentMethodLabel: `Lisa uus makseviis`, + cardHolderNameRequiredText: `Vajalik on kaardi omaniku nimi`, + walletDisclaimer: `Rahakoti andmed salvestatakse valimisel`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel:"", + pixKeyPlaceholder : "", + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/FinnishLocale.res b/shared-code/LocaleStrings/FinnishLocale.res new file mode 100644 index 0000000..9d32366 --- /dev/null +++ b/shared-code/LocaleStrings/FinnishLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "fi", + localeDirection: "v-p", + cardDetailsLabel: "Kortin tiedot", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Osoitekieli 1 ei voi olla tyhjä`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + cityLabel: "Linn", + cityEmptyText: `Kaupunki ei voi olla tyhjä`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Pos koodi ei voi olla tyhjä`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `Virheellinen sähköpostiosoite`, + emailEmptyText: "Sähköposti ei voi olla tyhjä", + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Kortinhaltijan nimi", + cardNickname: "Kortin lempinimi", + billingNamePlaceholder: "Etunimi ja sukunimi", + firstName: `Etunimi`, + lastName: `Sukunimi`, + billingDetails: `laskutustiedot`, + requiredText: `Edellytetään`, + lastNameRequiredText: `Sukunimi vaaditaan`, + cardExpiresText: `umpeutuu`, + addPaymentMethodLabel: `Lisää uusi maksutapa`, + cardHolderNameRequiredText: `Kortinhaltijan nimi vaaditaan`, + walletDisclaimer: `Lompakon tiedot tallennetaan valinnan yhteydessä`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/FrenchBelgiumLocale.res b/shared-code/LocaleStrings/FrenchBelgiumLocale.res new file mode 100644 index 0000000..ea397ff --- /dev/null +++ b/shared-code/LocaleStrings/FrenchBelgiumLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `fr-BE`, + localeDirection: `ltr`, + cardNumberLabel: `Numéro de carte`, + inValidCardErrorText: `Le numéro de carte n'est pas valide.`, + inCompleteCVCErrorText: `Le code de sécurité de votre carte est incomplet.`, + inCompleteExpiryErrorText: `La date d'expiration de votre carte est incomplète.`, + pastExpiryErrorText: `L'année d'expiration de votre carte est passée.`, + poweredBy: `Alimenté par Hyperswitch`, + validThruText: `Expiration`, + sortCodeText: `Code guichet`, + cvcTextLabel: `CVC`, + line1Label: `Adresse ligne 1`, + line1Placeholder: `Rue`, + line2Label: `Adresse ligne 2`, + line2Placeholder: `Appartement, numéro d'unité, etc. (facultatif)`, + cityLabel: `Ville`, + postalCodeLabel: `Code postal`, + stateLabel: `État`, + accountNumberText: `Numéro dAccount Number`, + emailLabel: `E-mail`, + fullNameLabel: `Nom cFull name`, + fullNamePlaceholder: `Nom et prénom`, + countryLabel: `Pays`, + currencyLabel: `Devise`, + bankLabel: `Sélectionner une banque`, + redirectText: `Après avoir passé votre commande, vous serez redirigé pour effectuer votre achat en toute sécurité.`, + bankDetailsText: `Après avoir envoyé ces informations, vous obtiendrez les informations de votre compte bancaire pour effectuer le paiement. Veillez à en prendre note.`, + orPayUsing: `Ou payer en utilisant`, + addNewCard: `Ajouter une carte de crédit/débit`, + useExisitingSavedCards: `Utiliser les cartes de débit/crédit enregistrées`, + saveCardDetails: `Enregistrer les détails de la carte`, + addBankAccount: `Ajouter un compte bancaire`, + achBankDebitTerms: str => + `En fournissant votre numéro de compte et en confirmant ce paiement, vous autorisez ${str} et Hyperswitch, notre prestataire de services de paiement, à envoyer des instructions à votre banque pour débiter votre compte et votre banque à débiter votre compte conformément à ces instructions. Vous avez droit à un remboursement de la part de votre banque selon les termes et conditions de l'accord que vous avez conclu avec elle. Le remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité.`, + sepaDebitTerms: str => + `En fournissant vos informations de paiement et en confirmant ce formulaire de mandat, vous autorisez (A) ${str}, le Créancier et/ou nos prestataires de services de paiement à envoyer des instructions à votre banque pour débiter votre compte et (B) votre banque à débiter votre compte conformément aux instructions de ${str}. Dans le cadre de vos droits, vous avez droit à un remboursement de votre banque selon les termes et conditions de votre accord avec votre banque. Un remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité. Vos droits sont expliqués dans une déclaration que vous pouvez obtenir auprès de votre banque.`, + becsDebitTerms: `En fournissant vos coordonnées bancaires et en confirmant ce paiement, vous acceptez la présente demande de prélèvement automatique et l'accord de service de demande de prélèvement automatique et autorisez Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Numéro d'identification d'utilisateur de prélèvement automatique 507156 (« Hyperswitch ») à débiter votre compte via le système de compensation électronique en bloc (BECS) au nom de Hyperswitch Payment Widget (le « Marchand ») pour tout montant qui vous est communiqué séparément par le Marchand. Vous certifiez que vous êtes soit le titulaire du compte, soit un signataire autorisé du compte mentionné ci-dessus.`, + cardTerms: str => + `En fournissant les informations relatives à votre carte, vous autorisez ${str} à débiter votre carte pour les paiements futurs conformément à leurs conditions.`, + payNowButton: `Payer maintenant`, + cardNumberEmptyText: `Le numéro de carte ne peut pas être vide`, + cardExpiryDateEmptyText: `La date d'expiration de la carte ne peut pas être vide`, + cvcNumberEmptyText: `Le numéro CVC ne peut pas être vide`, + enterFieldsText: `Veuillez saisir tous les champs`, + enterValidDetailsText: `Veuillez saisir des détails valides`, + card: `Carte`, + billingNameLabel: `Nom de facturation`, + cardHolderName: `Nom du titulaire`, + cardNickname: `Pseudonyme de la carte`, + billingNamePlaceholder: `Nom et prénom`, + emailEmptyText: `L'e-mail ne peut pas être vide`, + emailInvalidText: `Adresse e-mail invalide`, + line1EmptyText: `La ligne d'adresse 1 ne peut pas être vide`, + line2EmptyText: `La ligne d'adresse 2 ne peut pas être vide`, + cityEmptyText: `La ville ne peut pas être vide`, + postalCodeEmptyText: `Le code postal ne peut pas être vide`, + postalCodeInvalidText: `Code postal invalide`, + stateEmptyText: `L'état ne peut pas être vide`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un montant supplémentaire de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}sera appliqué pour cette transaction`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un montant supplémentaire pouvant aller jusqu'à${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}sera appliqué pour cette transaction`)} + , + surchargeMsgAmountForOneClickWallets: `Frais supplémentaires applicables`, + on: `sur`, + \"and": `et`, + nameEmptyText: str => `Veuillez fournir votre ${str}`, + completeNameEmptyText: str => `Veuillez fournir votre complet ${str}`, + billingDetailsText: `Détails de la facturation`, + socialSecurityNumberLabel: `Numéro de sécurité sociale`, + saveWalletDetails: `Les détails des portefeuilles seront enregistrés lors de la sélection`, + morePaymentMethods: `Plus de méthodes de paiement`, + useExistingPaymentMethods: `Utiliser les modes de paiement enregistrés`, + nicknamePlaceholder: `Surnom de la carte (facultatif)`, + selectPaymentMethodText: `Veuillez sélectionner un mode de paiement et réessayer`, + cardExpiredText: `Cette carte a expiré`, + cardHeader: `Informations de carte`, + cardBrandConfiguredErrorText: str => `${str} n'est pas pris en charge pour le moment.`, + currencyNetwork: `Réseaux Monétaires`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Date de naissance`, + vpaIdLabel: `Identifiant Vpa`, + vpaIdEmptyText: `L'identifiant Vpa ne peut pas être vide`, + vpaIdInvalidText: `Identifiant Vpa invalide`, + dateofBirthRequiredText: `La date de naissance est requise`, + dateOfBirthInvalidText: `L'âge doit être supérieur ou égal à 18 ans`, + dateOfBirthPlaceholderText: `Entrez la date de naissance`, + formFundsInfoText: `Les fonds seront crédités sur ce compte`, + formFundsCreditInfoText: pmLabel => + `Vos fonds seront crédités sur le ${pmLabel} sélectionné.`, + formEditText: `Modifier`, + formSaveText: `Enregistrer`, + formSubmitText: `Soumettre`, + formSubmittingText: `En cours de soumission`, + formSubheaderBillingDetailsText: `Entrez votre adresse de facturation`, + formSubheaderCardText: `Les détails de votre carte`, + formSubheaderAccountText: pmLabel => `Votre ${pmLabel}`, + formHeaderReviewText: `Réviser`, + formHeaderReviewTabLayoutText: pmLabel => `Révisez les détails de votre ${pmLabel}`, + formHeaderBankText: bankTransferType => `Entrez les détails bancaires ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Entrez les détails du portefeuille ${walletTransferType}`, + formHeaderEnterCardText: `Entrez les détails de la carte`, + formHeaderSelectBankText: `Sélectionnez une méthode bancaire`, + formHeaderSelectWalletText: `Sélectionnez un portefeuille`, + formHeaderSelectAccountText: `Sélectionnez un compte pour les paiements`, + formFieldACHRoutingNumberLabel: `Numéro de routage`, + formFieldSepaIbanLabel: `Numéro de compte bancaire international (IBAN)`, + formFieldSepaBicLabel: `Code d'identification bancaire (facultatif)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numéro de compte bancaire`, + formFieldPhoneNumberLabel: `Numéro de téléphone`, + formFieldCountryCodeLabel: `Code du pays (facultatif)`, + formFieldBankNameLabel: `Nom de la banque (facultatif)`, + formFieldBankCityLabel: `Ville de la banque (facultatif)`, + formFieldCardHoldernamePlaceholder: `Votre nom`, + formFieldBankNamePlaceholder: `Nom de la banque`, + formFieldBankCityPlaceholder: `Ville de la banque`, + formFieldEmailPlaceholder: `Votre e-mail`, + formFieldPhoneNumberPlaceholder: `Votre téléphone`, + formFieldInvalidRoutingNumber: `Le numéro de routage est invalide.`, + infoCardRefId: `ID de référence`, + infoCardErrCode: `Code d'erreur`, + infoCardErrMsg: `Message d'erreur`, + infoCardErrReason: `Raison`, + linkRedirectionText: seconds => `Redirection dans ${seconds->Int.toString} secondes ...`, + linkExpiryInfo: expiry => `Le lien expire le : ${expiry}`, + payoutFromText: merchant => `Paiement de ${merchant}`, + payoutStatusFailedMessage: `Échec du traitement de votre paiement. Veuillez vérifier avec votre fournisseur pour plus de détails.`, + payoutStatusPendingMessage: `Votre paiement devrait être traité sous 2-3 jours ouvrables.`, + payoutStatusSuccessMessage: `Votre paiement a été effectué avec succès. Les fonds ont été déposés dans votre mode de paiement sélectionné.`, + payoutStatusFailedText: `Paiement échoué`, + payoutStatusPendingText: `Paiement en cours`, + payoutStatusSuccessText: `Paiement réussi`, + pixCNPJInvalidText: `CNPJ Pix invalide`, + pixCNPJEmptyText: `Le CNPJ Pix ne peut pas être vide`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Entrez le CNPJ Pix`, + pixCPFInvalidText: `CPF Pix invalide`, + pixCPFEmptyText: `Le CPF Pix ne peut pas être vide`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Entrez le CPF Pix`, + pixKeyEmptyText: `La clé Pix ne peut pas être vide`, + pixKeyPlaceholder: `Entrez la clé Pix`, + pixKeyLabel: `Clé Pix`, + cardDetailsLabel: "Détails de la carte", + firstName: `Prénom`, + lastName: `Nom de famille`, + billingDetails: `Détails de la facturation`, + requiredText: `Requis`, + lastNameRequiredText: `Nom de famille requis`, + cardExpiresText: `expire`, + addPaymentMethodLabel: `Ajouter un nouveau mode de paiement`, + cardHolderNameRequiredText: `Nom du titulaire de la carte requis`, + walletDisclaimer: `Les détails du portefeuille seront enregistrés lors de la sélection`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/FrenchLocale.res b/shared-code/LocaleStrings/FrenchLocale.res new file mode 100644 index 0000000..54a1db1 --- /dev/null +++ b/shared-code/LocaleStrings/FrenchLocale.res @@ -0,0 +1,164 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `fr`, + localeDirection: `ltr`, + cardNumberLabel: `Numéro de carte`, + inValidCardErrorText: `Le numéro de carte n'est pas valide.`, + inCompleteCVCErrorText: `Le code de sécurité de votre carte est incomplet.`, + inCompleteExpiryErrorText: `La date d'expiration de votre carte est incomplète.`, + pastExpiryErrorText: `L'année d'expiration de votre carte est passée.`, + poweredBy: `Propulsé par Hyperswitch`, + validThruText: `Expiration`, + sortCodeText: `Code de tri`, + cvcTextLabel: `Code CVC`, + line1Label: `Adresse - Ligne 1`, + line1Placeholder: `Adresse de rue`, + line1EmptyText: `La ligne d'adresse 1 ne peut pas être vide`, + line2Label: `Adresse - Ligne 2`, + line2Placeholder: `Appartement, numéro d'unité, etc (facultatif)`, + line2EmptyText: `La ligne d'adresse 2 ne peut pas être vide`, + cityLabel: `Ville`, + cityEmptyText: `La ville ne peut pas être vide`, + postalCodeLabel: `Code postal`, + postalCodeEmptyText: `Le code postal ne peut pas être vide`, + postalCodeInvalidText: `Code postal invalide`, + stateLabel: `État`, + stateEmptyText: `L'état ne peut pas être vide`, + accountNumberText: `Numéro de compte`, + emailLabel: `E-mail`, + emailEmptyText: `L'e-mail ne peut pas être vide`, + emailInvalidText: "Adresse e-mail invalide", + fullNameLabel: `Nom complet`, + fullNamePlaceholder: `Prénom et nom de famille`, + countryLabel: `Pays`, + currencyLabel: `Devise`, + bankLabel: `Sélectionnez une banque`, + redirectText: `Après avoir soumis votre commande, vous serez redirigé(e) pour compléter votre achat en toute sécurité.`, + bankDetailsText: `Après avoir soumis ces détails, vous obtiendrez les informations de compte bancaire pour effectuer le paiement. Assurez-vous de les noter.`, + orPayUsing: `Ou payer avec`, + addNewCard: `Ajouter une carte de crédit/débit`, + useExisitingSavedCards: `Utiliser les cartes de débit/crédit enregistrées`, + saveCardDetails: `Enregistrer les détails de la carte`, + addBankAccount: `Ajouter un compte bancaire`, + achBankDebitTerms: str => + `En fournissant votre numéro de compte et en confirmant ce paiement, vous autorisez ${str} et Hyperswitch, notre fournisseur de services de paiement, à envoyer des instructions à votre banque pour débiter votre compte et à débiter votre compte conformément à ces instructions. Vous avez droit à un remboursement de votre banque selon les modalités de votre accord avec votre banque. Une demande de remboursement doit être effectuée dans les 8 semaines à compter de la date à laquelle votre compte a été débité.`, + sepaDebitTerms: str => + `En fournissant vos informations de paiement et en confirmant ce formulaire de mandat, vous autorisez (A) ${str}, le Créancier et/ou nos prestataires de services de paiement à envoyer des instructions à votre banque pour débiter votre compte et (B) votre banque à débiter votre compte conformément aux instructions de ${str}. Dans le cadre de vos droits, vous avez droit à un remboursement de votre banque selon les termes et conditions de votre accord avec votre banque. Un remboursement doit être demandé dans un délai de 8 semaines à compter de la date à laquelle votre compte a été débité. Vos droits sont expliqués dans une déclaration que vous pouvez obtenir auprès de votre banque.`, + becsDebitTerms: `En fournissant les détails de votre compte bancaire et en confirmant ce paiement, vous acceptez cette demande de prélèvement direct et l'accord de service de demande de prélèvement direct, et autorisez Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 numéro d'identification de l'utilisateur de prélèvement direct 507156 (“Hyperswitch”) à débiter votre compte via le système de compensation électronique en masse (BECS) au nom de Hyperswitch Payment Widget (le "Marchand") pour les montants communiqués séparément par le Marchand. Vous certifiez que vous êtes soit titulaire d'un compte, soit signataire autorisé sur le compte indiqué ci-dessus.`, + cardTerms: str => + `En fournissant les informations de votre carte, vous autorisez ${str} à débiter votre carte pour les paiements futurs conformément à leurs conditions.`, + payNowButton: `Payer maintenant`, + cardNumberEmptyText: `Le numéro de carte ne peut pas être vide`, + cardExpiryDateEmptyText: `La date d'expiration de la carte ne peut pas être vide`, + cvcNumberEmptyText: `Le numéro CVC ne peut pas être vide`, + enterFieldsText: `Veuillez saisir tous les champs`, + enterValidDetailsText: `Veuillez saisir des informations valides`, + selectPaymentMethodText: `Veuillez sélectionner un mode de paiement et réessayer`, + card: `Carte`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un montant supplémentaire d'${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}sera appliqué pour cette transaction`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un montant supplémentaire allant jusqu'à${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}sera appliqué pour cette transaction.`)} + , + surchargeMsgAmountForOneClickWallets: `Frais supplémentaires applicables`, + billingNameLabel: `Nom de facturation`, + billingNamePlaceholder: `Prénom et nom de famille`, + cardHolderName: `Nom du titulaire`, + on: `sur`, + \"and": `et`, + nameEmptyText: str => `Veuillez fournir votre ${str}`, + completeNameEmptyText: str => `Veuillez fournir votre complet ${str}`, + billingDetailsText: `Détails de la facturation`, + socialSecurityNumberLabel: `Numéro de sécurité sociale`, + saveWalletDetails: `Les détails du portefeuille seront enregistrés lors de la sélection`, + morePaymentMethods: `Plus de méthodes de paiement`, + useExistingPaymentMethods: `Utiliser les modes de paiement enregistrés`, + cardNickname: `Pseudonyme de la carte`, + nicknamePlaceholder: `Surnom de la carte (facultatif)`, + cardExpiredText: `Cette carte a expiré`, + cardHeader: `Informations de carte`, + cardBrandConfiguredErrorText: str => `${str} n'est pas pris en charge pour le moment.`, + currencyNetwork: `Réseaux Monétaires`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Date de naissance`, + vpaIdLabel: `Identifiant Vpa`, + vpaIdEmptyText: `L'identifiant Vpa ne peut pas être vide`, + vpaIdInvalidText: `Identifiant Vpa invalide`, + dateofBirthRequiredText: `La date de naissance est requise`, + dateOfBirthInvalidText: `L'âge doit être supérieur ou égal à 18 ans`, + dateOfBirthPlaceholderText: `Entrez la date de naissance`, + formFundsInfoText: `Les fonds seront crédités sur ce compte`, + formFundsCreditInfoText: pmLabel => + `Vos fonds seront crédités sur le ${pmLabel} sélectionné.`, + formEditText: `Modifier`, + formSaveText: `Enregistrer`, + formSubmitText: `Soumettre`, + formSubmittingText: `En cours de soumission`, + formSubheaderBillingDetailsText: `Entrez votre adresse de facturation`, + formSubheaderCardText: `Les détails de votre carte`, + formSubheaderAccountText: pmLabel => `Votre ${pmLabel}`, + formHeaderReviewText: `Réviser`, + formHeaderReviewTabLayoutText: pmLabel => `Révisez les détails de votre ${pmLabel}`, + formHeaderBankText: bankTransferType => `Entrez les détails bancaires ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Entrez les détails du portefeuille ${walletTransferType}`, + formHeaderEnterCardText: `Entrez les détails de la carte`, + formHeaderSelectBankText: `Sélectionnez une méthode bancaire`, + formHeaderSelectWalletText: `Sélectionnez un portefeuille`, + formHeaderSelectAccountText: `Sélectionnez un compte pour les paiements`, + formFieldACHRoutingNumberLabel: `Numéro de routage`, + formFieldSepaIbanLabel: `Numéro de compte bancaire international (IBAN)`, + formFieldSepaBicLabel: `Code d'identification bancaire (facultatif)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numéro de compte bancaire`, + formFieldPhoneNumberLabel: `Numéro de téléphone`, + formFieldCountryCodeLabel: `Code du pays (facultatif)`, + formFieldBankNameLabel: `Nom de la banque (facultatif)`, + formFieldBankCityLabel: `Ville de la banque (facultatif)`, + formFieldCardHoldernamePlaceholder: `Votre nom`, + formFieldBankNamePlaceholder: `Nom de la banque`, + formFieldBankCityPlaceholder: `Ville de la banque`, + formFieldEmailPlaceholder: `Votre e-mail`, + formFieldPhoneNumberPlaceholder: `Votre téléphone`, + formFieldInvalidRoutingNumber: `Le numéro de routage est invalide.`, + infoCardRefId: `ID de référence`, + infoCardErrCode: `Code d'erreur`, + infoCardErrMsg: `Message d'erreur`, + infoCardErrReason: `Raison`, + linkRedirectionText: seconds => `Redirection dans ${seconds->Int.toString} secondes ...`, + linkExpiryInfo: expiry => `Le lien expire le : ${expiry}`, + payoutFromText: merchant => `Paiement de ${merchant}`, + payoutStatusFailedMessage: `Échec du traitement de votre paiement. Veuillez vérifier avec votre fournisseur pour plus de détails.`, + payoutStatusPendingMessage: `Votre paiement devrait être traité sous 2-3 jours ouvrables.`, + payoutStatusSuccessMessage: `Votre paiement a été effectué avec succès. Les fonds ont été déposés dans votre mode de paiement sélectionné.`, + payoutStatusFailedText: `Paiement échoué`, + payoutStatusPendingText: `Paiement en cours`, + payoutStatusSuccessText: `Paiement réussi`, + pixCNPJInvalidText: `CNPJ Pix invalide`, + pixCNPJEmptyText: `Le CNPJ Pix ne peut pas être vide`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Entrez le CNPJ Pix`, + pixCPFInvalidText: `CPF Pix invalide`, + pixCPFEmptyText: `Le CPF Pix ne peut pas être vide`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Entrez le CPF Pix`, + pixKeyEmptyText: `La clé Pix ne peut pas être vide`, + pixKeyPlaceholder: `Entrez la clé Pix`, + pixKeyLabel: `Clé Pix`, + cardDetailsLabel: "Détails de la carte", + firstName: `Prénom`, + lastName: "Nom de famille", + billingDetails: `Détails de la facturation`, + requiredText: `Requis`, + lastNameRequiredText: `Nom de famille requis`, + cardExpiresText: `expire`, + addPaymentMethodLabel: `Ajouter un nouveau mode de paiement`, + cardHolderNameRequiredText: `Nom du titulaire de la carte requis`, + walletDisclaimer: `Les détails du portefeuille seront enregistrés lors de la sélection`, + deletePaymentMethod: "", + +} diff --git a/shared-code/LocaleStrings/GreekLocale.res b/shared-code/LocaleStrings/GreekLocale.res new file mode 100644 index 0000000..5de3a9c --- /dev/null +++ b/shared-code/LocaleStrings/GreekLocale.res @@ -0,0 +1,154 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "el", + localeDirection: "v-p", + cardDetailsLabel: "Λεπτομέρειες Κάρτας", + cardNumberLabel: "Kaardi number", + inValidCardErrorText: "Kaardi number on vale.", + inCompleteCVCErrorText: "Kaardi turvakood on poolikult sisestatud.", + inCompleteExpiryErrorText: "Kaardi aegumiskuupäev on poolikult sisestatud.", + pastExpiryErrorText: "Kaardi aegumisaasta on möödas.", + poweredBy: "Teenust pakub: Hyperswitch", + validThruText: "Kehtivus", + sortCodeText: "Tunnuskood", + cvcTextLabel: "CVC", + line1Label: "1. aadressi rida", + line1Placeholder: "Tänav ja maja number", + line1EmptyText: `Η γραμμή διευθύνσεων 1 δεν μπορεί να είναι κενή`, + line2Label: "2. aadressi rida", + line2Placeholder: "Korter, toa number jne (vabatahtlik)", + cityLabel: "Linn", + cityEmptyText: `Η πόλη δεν μπορεί να είναι κενή`, + postalCodeLabel: "Sihtnumber", + postalCodeEmptyText: `Ο ταχυδρομικός κωδικός δεν μπορεί να είναι άδειος`, + stateLabel: "Maakond", + accountNumberText: "Kontonumber", + emailLabel: "E-post", + emailInvalidText: `Μη έγκυρη διεύθυνση e-mail`, + emailEmptyText: `Το email δεν μπορεί να είναι κενό`, + fullNameLabel: "Täisnimi", + fullNamePlaceholder: "Ees- ja perekonnanimi", + countryLabel: "Riik", + currencyLabel: "Valuuta", + bankLabel: "Vali pank", + redirectText: "Pärast tellimuse esitamist suunatakse sind ostu turvaliseks vormistamiseks ümber.", + bankDetailsText: "Pärast andmete esitamist saadame sulle makse sooritamiseks pangarekvisiidid. Märgi need kindlasti üles.", + orPayUsing: "Või tasu makse, kasutades selleks", + addNewCard: "Lisa krediit-/deebetkaart", + useExisitingSavedCards: "Kasuta salvestatud deebet-/krediitkaarte", + saveCardDetails: "Salvesta kaardi andmed", + addBankAccount: "Lisa kontonumber", + achBankDebitTerms: str => + `Oma kontonumbrit esitades ja seda makset kinnitades lubad ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil saata oma pangale maksekorraldus sinu konto debiteerimiseks ja pangal oma kontot debiteerida vastavalt käesolevatele juhistele. Sul on õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti.`, + sepaDebitTerms: str => + `Oma makseandmeid esitades ja seda makset kinnitades lubad a) ettevõttel ${str} ja meie makseteenuse pakkujal Hyperswitchil ja/või ettevõttel PPRO (viimase kohalikul teenusepakkujal) saata oma pangale maksekorraldus sinu konto debiteerimiseks ja b) pangal debiteerida oma kontot vastavalt käesolevatele juhistele. Muuhulgas on sul õigus saada oma pangalt raha tagasi vastavalt panga ja sinu vahel sõlmitud lepingu tingimustele. Pead taotlema tagasimakset 8 nädala jooksul alates kuupäevast, mil sinu kontolt raha võeti. Sinu õigusi selgitatakse väljavõttes, mida võid oma pangalt küsida. Nõustud saama teateid tulevastest debiteerimistest kuni 2 päeva enne nende toimumist.`, + becsDebitTerms: "Oma pangakonto andmeid esitades ja seda makset kinnitades nõustud käesoleva otsekorralduse taotluse ja otsekorralduse taotluse teenuselepinguga ning lubad ettevõttel Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, otsekorralduse kasutajatunnus 507156 („Hyperswitch“) debiteerida oma kontot elektroonilise hulgimakse süsteemi (BECS) kaudu Hyperswitchi makse vidina („Kaupmees“) nimel mis tahes summades, millest Kaupmees on sulle eraldi teatanud. Kinnitad, et oled ülaltoodud konto omanik või volitatud kasutaja.", + cardTerms: str => + `Oma kaardi andmeid esitades lubad ettevõttel ${str} võtta oma kaardilt makseid ka tulevikus vastavalt nende tingimustele.`, + payNowButton: "Maksa kohe", + cardNumberEmptyText: "Kaardi numbri väli peab olema täidetud", + cardExpiryDateEmptyText: "Kaardi aegumiskuupäeva väli peab olema täidetud", + cvcNumberEmptyText: "CVC-numbri väli peab olema täidetud", + enterFieldsText: "Täida kõik kohustuslikud väljad", + enterValidDetailsText: "Sisesta kehtivad andmed", + card: "Kaart", + billingNameLabel: "Maksja nimi", + cardHolderName: "Όνομα κατόχου της κάρτας", + cardNickname: "Παρατσούκλι της κάρτας", + billingNamePlaceholder: "Όνομα και επώνυμο", + firstName: `Ονομα`, + lastName: `Επίθετο`, + billingDetails: `λεπτομέρειες χρέωσης`, + requiredText: `Απαιτείται`, + lastNameRequiredText: `Απαιτείται επώνυμο`, + cardExpiresText: `λήγει`, + addPaymentMethodLabel: `Προσθήκη νέας μεθόδου πληρωμής`, + cardHolderNameRequiredText: `Απαιτείται το όνομα του κατόχου της κάρτας`, + walletDisclaimer: `Τα στοιχεία του πορτοφολιού θα αποθηκευτούν κατά την επιλογή`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel : "", + pixKeyPlaceholder : "", + deletePaymentMethod: "", + +} diff --git a/shared-code/LocaleStrings/HebrewLocale.res b/shared-code/LocaleStrings/HebrewLocale.res new file mode 100644 index 0000000..6d27a9e --- /dev/null +++ b/shared-code/LocaleStrings/HebrewLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "he", + localeDirection: "rtl", + cardNumberLabel: `מספר כרטיס`, + inValidCardErrorText: `אינו תקין`, + inCompleteCVCErrorText: `קוד האבטחה של הכרטיס שלך אינו שלם`, + inCompleteExpiryErrorText: `פרטי תוקף של הכרטיס שלך אינם מלאים`, + pastExpiryErrorText: `שנת תוקף של הכרטיס שלך עברה.`, + poweredBy: `מופעל על ידי Hyperswitch`, + validThruText: `תוקף`, + sortCodeText: `קוד מיון`, + cvcTextLabel: `קוד בגב הכרטיס`, + line1Label: `כתובת - שורה 1`, + line1Placeholder: `כתובת רחוב`, + line1EmptyText: `שורת כתובת 1 לא יכולה להיות ריקה`, + line2Label: `כתובת - שורה 2`, + line2Placeholder: `דירה, יחידה, וכדומה (אופציונלי)`, + line2EmptyText: `שורת כתובת 2 לא יכולה להיות ריקה`, + cityLabel: `עיר`, + cityEmptyText: `עיר לא יכולה להיות ריקה`, + postalCodeLabel: `מיקוד`, + postalCodeEmptyText: `מיקוד לא יכול להיות ריק`, + postalCodeInvalidText: `מיקוד לא חוקי`, + stateLabel: `מדינה`, + stateEmptyText: `המדינה לא יכולה להיות ריקה`, + accountNumberText: `מספר חשבון`, + emailLabel: `אימייל`, + emailEmptyText: `אימייל לא יכול להיות ריק`, + emailInvalidText: `כתובת אימייל לא חוקית`, + fullNameLabel: `שם מלא`, + fullNamePlaceholder: `שם פרטי ושם משפחה`, + countryLabel: `מדינה`, + currencyLabel: `מטבע`, + bankLabel: `בחר בנק`, + redirectText: `לאחר שליחת ההזמנה שלך, תועבר להשלמת הרכישה באופן מאובטח.`, + bankDetailsText: `לאחר הגשת פרטים אלה, תקבל את פרטי החשבון הבנקאי לביצוע התשלום. נא לוודא לשמור את הפרטים.`, + orPayUsing: `או לשלם באמצעות`, + addNewCard: `הוספת כרטיס אשראי/כרטיס חיוב (דביט)`, + useExisitingSavedCards: `שימוש בכרטיסי חיוב/ אשראי שמורים`, + saveCardDetails: `שמירת פרטי הכרטיס`, + addBankAccount: `הוסף חשבון בנק`, + achBankDebitTerms: str => + `על ידי הזנת מספר החשבון שלך ואישור תשלום זה, אתה מאשר את ${str} ואת Hyperswitch, ספק השירותים התשלום שלנו, לשלוח הוראות לבנק שלך לחייב את החשבון שלך ולהפחית את החשבון שלך על פי ההוראות האלה. אתה זכאי לקבל החזר מהבנק שלך על פי תנאי ההסכם שלך עם הבנק. ההחזר יכול להידרש תוך 8 שבועות מהתאריך שבו הוא הופחת מחשבונך.`, + sepaDebitTerms: str => + `על ידי מתן פרטי התשלום שלך ואישור טופס ההרשאה הזה, אתה מסכים (א) ל-${str}, הנושה ו/או ספקי שירותי התשלום שלנו לשלוח הוראות לבנק שלך לחייב את חשבונך ו-(ב) לבנק שלך לחייב את חשבונך בהתאם להוראות מ-${str}. כחלק מהזכויות שלך, אתה זכאי להחזר מהבנק שלך לפי התנאים וההגבלות של ההסכם שלך עם הבנק שלך. עליך לבקש את ההחזר בתוך 8 שבועות מיום חיוב חשבונך. זכויותיך מוסברות בהצהרה אותה תוכל לקבל מהבנק שלך.`, + becsDebitTerms: `על ידי הזנת פרטי החשבון הבנקאי שלך ואישור תשלום זה, אתה מסכים לבקשת החיוב הישיר ולהסכם תשלום בקשת החיוב הישיר ומאשר את Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 מספר זיהוי משתמש בקשת החיוב הישיר 507156 (Hyperswitch) לחייב את החשבון שלך דרך מערכת BECS (Bulk Electronic Clearing System) בשם Hyperswitch Payment Widget (הסוחר) עבור סכומים הודעו לך בנפרד על ידי הסוחר. אתה מאשר שאתה בעל החשבון או חותם מורשה בחשבון שצוין למעלה.`, + cardTerms: str => + `על ידי הזנת פרטי הכרטיס שלך, אתה מאפשר ל${str} לחייב את הכרטיס שלך עבור תשלומים עתידיים על פי תנאיהם.`, + payNowButton: `שלם עכשיו`, + cardNumberEmptyText: `מספר הכרטיס אינו יכול להיות ריק`, + cardExpiryDateEmptyText: `תוקף של הכרטיס אינו יכול להיות ריק`, + cvcNumberEmptyText: `פרטי קוד ה-CVC אינם יכולים להיות ריקים`, + enterFieldsText: `יש להזין את כל השדות`, + enterValidDetailsText: `יש להזין פרטים תקינים`, + selectPaymentMethodText: `אנא בחר אמצעי תשלום ונסה שוב`, + card: `כרטיס`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`סכום היטל של${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}יוחל עבור עסקה זו`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`סכום היטל של עד${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}יחול עבור עסקה זו`)} + , + surchargeMsgAmountForOneClickWallets: `תשלום נוסף חל`, + billingNameLabel: `שם החיוב`, + billingNamePlaceholder: `שם פרטי ושם משפחה`, + cardHolderName: `שם בעל הכרטיס`, + on: `עַל`, + \"and": `ו`, + nameEmptyText: str => `אנא ספק את שלך ${str}`, + completeNameEmptyText: str => `אנא ספק את המלא שלך ${str}`, + billingDetailsText: `פרטי תשלום`, + socialSecurityNumberLabel: `מספר ביטוח לאומי`, + saveWalletDetails: `פרטי הארנק יישמרו בעת בחירה`, + morePaymentMethods: `אמצעי תשלום נוספים`, + useExistingPaymentMethods: `השתמש באמצעי תשלום שמורים`, + cardNickname: `כינוי לכרטיס`, + nicknamePlaceholder: `כינוי לכרטיס (אופציונלי)`, + cardExpiredText: `הכרטיס הזה פג תוקף`, + cardHeader: `מידע כרטיס`, + cardBrandConfiguredErrorText: str => `${str} לא נתמך כרגע.`, + currencyNetwork: `רשתות מטבעות`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `תאריך לידה`, + vpaIdLabel: `מזהה VPA`, + vpaIdEmptyText: `מזהה VPA לא יכול להיות ריק`, + vpaIdInvalidText: `מזהה VPA לא חוקי`, + dateofBirthRequiredText: `תאריך לידה נדרש`, + dateOfBirthInvalidText: `הגיל צריך להיות גדול או שווה ל-18 שנים`, + dateOfBirthPlaceholderText: `הכנס תאריך לידה`, + formFundsInfoText: `הכספים יזוכו בחשבון זה`, + formFundsCreditInfoText: pmLabel => `הכספים שלך יזוכו ב-${pmLabel} הנבחר.`, + formEditText: `ערוך`, + formSaveText: `שמור`, + formSubmitText: `שלח`, + formSubmittingText: `שולח`, + formSubheaderBillingDetailsText: `הזן את כתובת החיוב שלך`, + formSubheaderCardText: `פרטי הכרטיס שלך`, + formSubheaderAccountText: pmLabel => `ה-${pmLabel} שלך`, + formHeaderReviewText: `סקירה`, + formHeaderReviewTabLayoutText: pmLabel => `בדוק את פרטי ה-${pmLabel} שלך`, + formHeaderBankText: bankTransferType => `הכנס פרטי בנק ${bankTransferType}`, + formHeaderWalletText: walletTransferType => `הכנס פרטי ארנק ${walletTransferType}`, + formHeaderEnterCardText: `הכנס פרטי כרטיס`, + formHeaderSelectBankText: `בחר שיטת בנק`, + formHeaderSelectWalletText: `בחר ארנק`, + formHeaderSelectAccountText: `בחר חשבון לתשלומים`, + formFieldACHRoutingNumberLabel: `מספר ניתוב`, + formFieldSepaIbanLabel: `מספר חשבון בנק בינלאומי (IBAN)`, + formFieldSepaBicLabel: `קוד זיהוי בנק (אופציונלי)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `מספר חשבון בנק`, + formFieldPhoneNumberLabel: `מספר טלפון`, + formFieldCountryCodeLabel: `קוד מדינה (אופציונלי)`, + formFieldBankNameLabel: `שם הבנק (אופציונלי)`, + formFieldBankCityLabel: `עיר הבנק (אופציונלי)`, + formFieldCardHoldernamePlaceholder: `השם שלך`, + formFieldBankNamePlaceholder: `שם הבנק`, + formFieldBankCityPlaceholder: `עיר הבנק`, + formFieldEmailPlaceholder: `האימייל שלך`, + formFieldPhoneNumberPlaceholder: `הטלפון שלך`, + formFieldInvalidRoutingNumber: `מספר הניתוב אינו תקף.`, + infoCardRefId: `מזהה הפניה`, + infoCardErrCode: `קוד שגיאה`, + infoCardErrMsg: `הודעת שגיאה`, + infoCardErrReason: `סיבה`, + linkRedirectionText: seconds => + `הפניה מחדש בעוד ${seconds->Int.toString} שניות ...`, + linkExpiryInfo: expiry => `הקישור יפוג ב: ${expiry}`, + payoutFromText: merchant => `תשלום מ-${merchant}`, + payoutStatusFailedMessage: `נכשל בעיבוד התשלום שלך. אנא בדוק עם הספק שלך לפרטים נוספים.`, + payoutStatusPendingMessage: `התשלום שלך אמור להתבצע בתוך 2-3 ימי עסקים.`, + payoutStatusSuccessMessage: `התשלום שלך בוצע בהצלחה. הכספים הופקדו בדרך התשלום שבחרת.`, + payoutStatusFailedText: `תשלום נכשל`, + payoutStatusPendingText: `תשלום בתהליך`, + payoutStatusSuccessText: `תשלום מוצלח`, + pixCNPJInvalidText: `CNPJ של Pix לא תקין`, + pixCNPJEmptyText: `CNPJ של Pix לא יכול להיות ריק`, + pixCNPJLabel: `CNPJ של Pix`, + pixCNPJPlaceholder: `הכנס CNPJ של Pix`, + pixCPFInvalidText: `CPF של Pix לא תקין`, + pixCPFEmptyText: `CPF של Pix לא יכול להיות ריק`, + pixCPFLabel: `CPF של Pix`, + pixCPFPlaceholder: `הכנס CPF של Pix`, + pixKeyEmptyText: `מפתח Pix לא יכול להיות ריק`, + pixKeyPlaceholder: `הכנס מפתח Pix`, + pixKeyLabel: `מפתח Pix`, + cardDetailsLabel: "פרטי כרטיס", + firstName: `שם פרטי`, + lastName: `שם משפחה`, + billingDetails: `פרטי תשלום`, + requiredText: `נדרש`, + lastNameRequiredText: `שם משפחה נדרש`, + cardExpiresText: `פג תוקפו`, + addPaymentMethodLabel: `הוסף שיטת תשלום חדשה`, + cardHolderNameRequiredText: `נדרש שם בעל הכרטיס`, + walletDisclaimer: `פרטי הארנק יישמרו עם הבחירה`, + deletePaymentMethod: "", + +} diff --git a/shared-code/LocaleStrings/IcelandicLocale.res b/shared-code/LocaleStrings/IcelandicLocale.res new file mode 100644 index 0000000..f3f7d31 --- /dev/null +++ b/shared-code/LocaleStrings/IcelandicLocale.res @@ -0,0 +1,151 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "is", + localeDirection: "Vinstri til hægri", + cardDetailsLabel: "Kortagögn", + cardNumberLabel: "Kortanúmer", + inValidCardErrorText: "Kortanúmerið er ekki gilt.", + inCompleteCVCErrorText: "Öryggiskóði kortsins þíns er ófullnægjandi.", + inCompleteExpiryErrorText: "Gildistími kortsins þíns er ófullnægjandi", + pastExpiryErrorText: "Gildistími kortsins þíns er runninn út.", + poweredBy: "Knúið af Hyperswitch", + validThruText: "Gildistími", + sortCodeText: "Röðunarkóði", + cvcTextLabel: "CVC", + line1Label: "Heimilisfang lína 1", + line1Placeholder: "Heimilisfang", + line1EmptyText: `Heimilisfangslína 1 getur ekki verið tóm`, + line2Label: "Heimilisfang - lína 2", + line2Placeholder: "Íbúð, númer eignar o.s.frv. (valfrjálst)", + cityLabel: "Borg", + cityEmptyText: `Borg getur ekki verið tóm`, + postalCodeLabel: "Póstnúmer", + postalCodeEmptyText: `Póstnúmer getur ekki verið tómt`, + stateLabel: "Ríki", + accountNumberText: "Númer reiknings", + emailLabel: "Netfang", + emailInvalidText: `ógilt netfang`, + emailEmptyText: `Tölvupóstur má ekki vera tómur`, + fullNameLabel: "Fullt nafn", + fullNamePlaceholder: "Fullt nafn", + countryLabel: "Land", + currencyLabel: "Gjaldmiðill", + bankLabel: "Veldu banka", + redirectText: "Eftir að þú hefur sent pöntunina inn verður þér vísað áfram til að ganga frá kaupunum með öruggum hætti.", + bankDetailsText: "Eftir að þú hefur sent þessar upplýsingar inn færðu upplýsingar um bankareikning til að ganga frá greiðslu. Mundu að skrá þær hjá þér.", + orPayUsing: "Eða greiddu með", + addNewCard: "Bættu við kredit-/debetkorti", + useExisitingSavedCards: "Nota vistuð debet-/kreditkort", + saveCardDetails: "Vista kortaupplýsingar", + addBankAccount: "Bættu við bankareikningi", + achBankDebitTerms: str => + `Með því að gefa upp reikningsnúmerið þitt og staðfesta greiðsluna ${str} heimilar þú Hyperswitch, greiðsluþjónustuveitanda okkar, að senda leiðbeiningar til bankans þíns um að skuldfæra reikninginn þinn og að bankinn skuldfæri reikninginn þinn í samræmi við þær leiðbeiningar. Þú átt rétt á endurgreiðslu frá bankanum samkvæmt skilmálum og skilyrðum samnings þíns við bankann þinn. Sækja verður um endurgreiðslu innan 8 vikna frá þeim degi sem reikningur þinn var skuldfærður.`, + sepaDebitTerms: str => + `Með því að gefa upp greiðsluupplýsingar þínar og staðfesta greiðsluna heimilar þú (A) ${str} og Hyperswitch, greiðsluþjónustuveitanda okkar og/eða PPRO, þjónustuveitanda hans á staðnum, að senda leiðbeiningar til bankans þíns um að skuldfæra reikninginn þinn og (B) að bankinn skuldfæri reikninginn þinn í samræmi við þær leiðbeiningar. Þú átt rétt á endurgreiðslu frá bankanum samkvæmt skilmálum og skilyrðum samnings þíns við bankann þinn. Sækja verður um endurgreiðslu innan 8 vikna frá þeim degi sem reikningur þinn var skuldfærður. Réttindi þín eru útskýrð í greinargerð sem þú getur fengið frá bankanum þínum. Þú samþykkir að fá tilkynningar um framtíðarskuldbindingar allt að 2 dögum áður en þær eiga sér stað.`, + becsDebitTerms: "Með því að gefa upp upplýsingar um bankareikning þinn og staðfesta greiðsluna samþykkir þú þessa beingreiðslubeiðni og beingreiðslubeiðnisþjónustusamning og heimilar Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 kennitala notanda beingreiðslu 507156 („Hyperswitch“) að skuldfæra reikninginn þinn í gegnum Bulk Electronic Clearing System (BECS) fyrir hönd Hyperswitch Payment Widget („söluaðilinn“) fyrir allar upphæðir sem söluaðilinn hefur tilkynnt þér sérstaklega. Þú staðfestir að þú sért annað hvort reikningshafi eða viðurkenndur undirritunaraðili á reikningnum sem tilgreindur er hér að ofan.", + cardTerms: str => + `Með því að gefa upp kortaupplýsingar þínar heimilar þú ${str} að skuldfæra kortið þitt fyrir síðari greiðslum í samræmi við skilmála þeirra.`, + payNowButton: "Greiða núna", + cardNumberEmptyText: "Kortanúmer má ekki vera autt.", + cardExpiryDateEmptyText: "Gildistími korts má ekki vera auður.", + cvcNumberEmptyText: "CVC-númer má ekki vera autt.", + enterFieldsText: "Vinsamlegast fylltu í alla reiti", + enterValidDetailsText: "Vinsamlegast sláðu inn gildar upplýsingar", + card: "Kort", + billingNameLabel: "Heiti reiknings", + cardHolderName: "Nafn korthafa", + cardNickname: "Kortanafn", + billingNamePlaceholder: "Fornafn og eftirnafn", + firstName: `Fyrsta nafn`, + lastName: `Eftirnafn`, + billingDetails: `Innheimtuupplýsingar`, + requiredText: `Nauðsynlegt`, + lastNameRequiredText: `Eftirnafn krafist`, + cardExpiresText: `rennur út`, + addPaymentMethodLabel: `Bæta við nýrri greiðsluaðferð`, + cardHolderNameRequiredText: `Nafn korthafa krafist`, + walletDisclaimer: `Upplýsingar um veski verða vistaðar við val`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", pixKeyLabel:"", pixKeyPlaceholder:"", + deletePaymentMethod: "" + } \ No newline at end of file diff --git a/shared-code/LocaleStrings/ItalianLocale.res b/shared-code/LocaleStrings/ItalianLocale.res new file mode 100644 index 0000000..e9ae363 --- /dev/null +++ b/shared-code/LocaleStrings/ItalianLocale.res @@ -0,0 +1,163 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `it`, + localeDirection: `lrt`, + cardNumberLabel: `Numero della carta`, + inValidCardErrorText: `Il numero della carta non è valido.`, + inCompleteCVCErrorText: `Il codice di sicurezza della carta è incompleto.`, + inCompleteExpiryErrorText: `La data di scadenza della carta è incompleta.`, + pastExpiryErrorText: `L'anno di scadenza della tua carta è passato.`, + poweredBy: `Offerto da Hyperswitch`, + validThruText: `Scadenza`, + sortCodeText: `Sort Code`, + cvcTextLabel: `CVC`, + line1Label: `Indirizzo (riga 1)`, + line1Placeholder: `Indirizzo`, + line2Label: `Indirizzo (riga 2)`, + line2Placeholder: `Appartamento, interno, ecc. (facoltativo)`, + cityLabel: `Città`, + postalCodeLabel: `Codice di avviamento postale`, + stateLabel: `Stato`, + accountNumberText: `Numero del conto`, + emailLabel: `E-mail`, + fullNameLabel: `Nome e cognome`, + fullNamePlaceholder: `Nome e cognome`, + countryLabel: `Paese`, + currencyLabel: `Valuta`, + bankLabel: `Seleziona una banca`, + redirectText: `Dopo aver inviato l'ordine, ti reindirizzeremo per completare l'acquisto in totale sicurezza.`, + bankDetailsText: `Dopo aver inviato questi dettagli, riceverai le informazioni sul conto bancario per effettuare il pagamento. Assicurati di annotarli.`, + orPayUsing: `Oppure paga utilizzando`, + addNewCard: `Aggiungi una carta di credito/debito`, + useExisitingSavedCards: `Utilizza carte di debito/credito salvate`, + saveCardDetails: `Salva i dati della carta`, + addBankAccount: `Aggiungi un conto bancario`, + achBankDebitTerms: str => + `Fornendo il tuo numero di conto e confermando questo pagamento, autorizzi ${str} e Hyperswitch, il nostro fornitore di servizi di pagamento, a inviare istruzioni alla tua banca per effettuare l'addebito sul tuo conto e la tua banca a effettuare tale addebito sul conto in conformità alle presenti istruzioni. Hai diritto a un rimborso dalla tua banca secondo i termini e le condizioni del tuo contratto con la stessa. Il rimborso va richiesto entro 8 settimane a partire dalla data di addebito sul conto.`, + sepaDebitTerms: str => + `Fornendo le tue informazioni di pagamento e confermando questo modulo di mandato, autorizzi (A) ${str}, il Creditore e/o i nostri fornitori di servizi di pagamento a inviare istruzioni alla tua banca per addebitare il tuo conto e (B) la tua banca ad addebitare il tuo conto secondo le istruzioni di ${str}. Come parte dei tuoi diritti, hai diritto a un rimborso dalla tua banca secondo i termini e le condizioni del tuo accordo con la tua banca. Il rimborso deve essere richiesto entro 8 settimane dalla data in cui il tuo conto è stato addebitato. I tuoi diritti sono spiegati in una dichiarazione che puoi ottenere dalla tua banca.`, + becsDebitTerms: `Fornendo i dettagli del tuo conto bancario e confermando questo pagamento, accetti la presente Richiesta di addebito diretto e il contratto di servizio per la Richiesta di addebito diretto e autorizzi Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, numero identificativo utente per addebito diretto 507156 ( \"Hyperswitch\") a effettuare l'addebito sul tuo conto tramite il Bulk Electronic Clearing System (BECS) per conto di Hyperswitch Payment Widget (l' Esercente) per qualsiasi importo ti venga comunicato separatamente dall'Esercente. Dichiari di essere titolare o firmatario autorizzato del conto sopra indicato.`, + cardTerms: str => + `Fornendo i dati della tua carta, autorizzi ${str} ad addebitare sulla tua carta pagamenti futuri in conformità con i suoi termini.`, + payNowButton: `Paga ora`, + cardNumberEmptyText: `Il campo Numero della carta non può essere vuoto`, + cardExpiryDateEmptyText: `Il campo Data di scadenza della carta non può essere vuoto`, + cvcNumberEmptyText: `Il campo CVC non può essere vuoto`, + enterFieldsText: `Compila tutti i campi`, + enterValidDetailsText: `Inserisci dati validi`, + card: `Carta`, + billingNameLabel: `Intestatario della fattura`, + cardHolderName: `Nome del titolare della carta`, + cardNickname: `Soprannome della carta`, + billingNamePlaceholder: `Nome e cognome`, + emailEmptyText: `L'e-mail non può essere vuota`, + emailInvalidText: `indirizzo email non valido`, + line1EmptyText: `La riga dell'indirizzo 1 non può essere vuota`, + line2EmptyText: `La riga dell'indirizzo 2 non può essere vuota`, + cityEmptyText: `La città non può essere vuota`, + postalCodeEmptyText: `Il codice postale non può essere vuoto`, + postalCodeInvalidText: `Codice postale non valido`, + stateEmptyText: `Lo stato non può essere vuoto`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Un importo aggiuntivo di${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}verrà applicato per questa transazione`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un importo di supplemento fino a${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}verrà applicato per questa transazione`)} + , + surchargeMsgAmountForOneClickWallets: `Supplemento applicabile`, + on: `SU`, + \"and": `E`, + nameEmptyText: str => `Per favore fornisci il tuo ${str}`, + completeNameEmptyText: str => `Si prega di fornire il file completo ${str}`, + billingDetailsText: `Dettagli di fatturazione`, + socialSecurityNumberLabel: `Numero di Social Security`, + saveWalletDetails: `I dettagli dei portafogli verranno salvati al momento della selezione`, + morePaymentMethods: `Più metodi di pagamento`, + useExistingPaymentMethods: `Utilizza i metodi di pagamento salvati`, + nicknamePlaceholder: `Soprannome della carta (facoltativo)`, + selectPaymentMethodText: `Seleziona un metodo di pagamento e riprova`, + cardExpiredText: `Questa carta è scaduta`, + cardHeader: `Informazioni sulla carta`, + cardBrandConfiguredErrorText: str => `${str} non è supportato al momento.`, + currencyNetwork: `Reti Valutarie`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Data di nascita`, + vpaIdLabel: `Codice Vpa`, + vpaIdEmptyText: `L'ID Vpa non può essere vuoto`, + vpaIdInvalidText: `ID Vpa non valido`, + dateofBirthRequiredText: `La data di nascita è obbligatoria`, + dateOfBirthInvalidText: `L'età deve essere maggiore o uguale a 18 anni`, + dateOfBirthPlaceholderText: `Inserisci la data di nascita`, + formFundsInfoText: "I fondi saranno accreditati su questo conto", + formFundsCreditInfoText: pmLabel => + `I tuoi fondi saranno accreditati sul ${pmLabel} selezionato.`, + formEditText: `Modifica`, + formSaveText: `Salva`, + formSubmitText: `Invia`, + formSubmittingText: `Invio in corso`, + formSubheaderBillingDetailsText: `Inserisci il tuo indirizzo di fatturazione`, + formSubheaderCardText: `Dettagli della tua carta`, + formSubheaderAccountText: pmLabel => `Il tuo ${pmLabel}`, + formHeaderReviewText: `Rivedi`, + formHeaderReviewTabLayoutText: pmLabel => `Rivedi i dettagli del tuo ${pmLabel}`, + formHeaderBankText: bankTransferType => `Inserisci i dettagli bancari ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Inserisci i dettagli del portafoglio ${walletTransferType}`, + formHeaderEnterCardText: `Inserisci i dettagli della carta`, + formHeaderSelectBankText: `Seleziona un metodo bancario`, + formHeaderSelectWalletText: `Seleziona un portafoglio`, + formHeaderSelectAccountText: `Seleziona un conto per i pagamenti`, + formFieldACHRoutingNumberLabel: `Numero di instradamento`, + formFieldSepaIbanLabel: `Numero di conto bancario internazionale (IBAN)`, + formFieldSepaBicLabel: `Codice identificativo bancario (facoltativo)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numero di conto bancario`, + formFieldPhoneNumberLabel: `Numero di telefono`, + formFieldCountryCodeLabel: `Prefisso internazionale (facoltativo)`, + formFieldBankNameLabel: `Nome della banca (facoltativo)`, + formFieldBankCityLabel: `Città della banca (facoltativo)`, + formFieldCardHoldernamePlaceholder: `Il tuo nome`, + formFieldBankNamePlaceholder: `Nome della banca`, + formFieldBankCityPlaceholder: `Città della banca`, + formFieldEmailPlaceholder: `La tua email`, + formFieldPhoneNumberPlaceholder: `Il tuo telefono`, + formFieldInvalidRoutingNumber: `Il numero di instradamento non è valido.`, + infoCardRefId: `ID di riferimento`, + infoCardErrCode: `Codice errore`, + infoCardErrMsg: `Messaggio di errore`, + infoCardErrReason: `Motivo`, + linkRedirectionText: seconds => `Reindirizzamento in ${seconds->Int.toString} secondi ...`, + linkExpiryInfo: expiry => `Il link scade il: ${expiry}`, + payoutFromText: merchant => `Pagamento da ${merchant}`, + payoutStatusFailedMessage: `Non è stato possibile elaborare il tuo pagamento. Si prega di verificare con il proprio fornitore per ulteriori dettagli.`, + payoutStatusPendingMessage: `Il tuo pagamento dovrebbe essere elaborato entro 2-3 giorni lavorativi.`, + payoutStatusSuccessMessage: `Il tuo pagamento è stato effettuato con successo. I fondi sono stati depositati nella modalità di pagamento selezionata.`, + payoutStatusFailedText: `Pagamento fallito`, + payoutStatusPendingText: `Pagamento in corso`, + payoutStatusSuccessText: `Pagamento riuscito`, + pixCNPJInvalidText: `CNPJ Pix non valido`, + pixCNPJEmptyText: `Il CNPJ Pix non può essere vuoto`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Inserisci il CNPJ Pix`, + pixCPFInvalidText: `CPF Pix non valido`, + pixCPFEmptyText: `Il CPF Pix non può essere vuoto`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Inserisci il CPF Pix`, + pixKeyEmptyText: `La chiave Pix non può essere vuota`, + pixKeyPlaceholder: `Inserisci la chiave Pix`, + pixKeyLabel: `Chiave Pix`, + cardDetailsLabel: "Dettagli della carta", + firstName: "Nome di battesimo", + lastName: "Cognome", + billingDetails: `Dettagli di fatturazione`, + requiredText: `Obbligatorio`, + lastNameRequiredText: `Cognome richiesto`, + cardExpiresText: `scade`, + addPaymentMethodLabel: `Aggiungi un nuovo metodo di pagamento`, + cardHolderNameRequiredText: `È obbligatorio il nome del titolare della carta`, + walletDisclaimer: `I dettagli del portafoglio verranno salvati al momento della selezione`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/JapaneseLocale.res b/shared-code/LocaleStrings/JapaneseLocale.res new file mode 100644 index 0000000..a2503ab --- /dev/null +++ b/shared-code/LocaleStrings/JapaneseLocale.res @@ -0,0 +1,162 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "ja", + localeDirection: "ltr", + cardNumberLabel: `カード番号`, + inValidCardErrorText: `カード番号が無効です`, + inCompleteCVCErrorText: `カードのセキュリティ コードが不完全です`, + inCompleteExpiryErrorText: `カードの有効期限が不完全です`, + pastExpiryErrorText: `カードの有効期限が過ぎています`, + poweredBy: `ハイパースイッチ搭載`, + validThruText: `を通じて有効`, + sortCodeText: `ソートコード`, + cvcTextLabel: `セキュリティコード`, + accountNumberText: `口座番号`, + emailLabel: `Eメール`, + emailEmptyText: `電子メールを空にすることはできません`, + emailInvalidText: `無効なメールアドレス`, + fullNameLabel: `フルネーム`, + fullNamePlaceholder: `名前と苗字`, + line1Label: `住所1`, + line1Placeholder: `住所`, + line1EmptyText: `住所行 1 を空にすることはできません`, + line2Label: `住所2`, + postalCodeLabel: `郵便番号`, + postalCodeEmptyText: `郵便番号を空白にすることはできません`, + postalCodeInvalidText: `郵便番号が無効です`, + stateLabel: `州`, + stateEmptyText: `状態を空にすることはできません`, + cityLabel: `街`, + line2Placeholder: `アパート、ユニット番号など(任意)`, + line2EmptyText: `住所行 2 を空にすることはできません`, + countryLabel: `国`, + cityEmptyText: `都市を空にすることはできません`, + currencyLabel: `通貨`, + bankLabel: `バンクを選択`, + redirectText: `注文を送信すると、安全に購入を完了するためにリダイレクトされます。`, + bankDetailsText: `これらの詳細を送信すると、支払いを行うための銀行口座情報が表示されます。必ずメモを取ってください。`, + orPayUsing: `またはを使用して支払う`, + addNewCard: `新しいカードを追加`, + useExisitingSavedCards: `既存の保存済みカードを使用する`, + saveCardDetails: `カードの詳細を保存`, + addBankAccount: `銀行口座を追加`, + achBankDebitTerms: str => + `口座番号を提供し、この支払いを確認することにより、${str} および支払いサービス プロバイダーである Hyperswitch が、銀行に口座からの引き落としの指示を送信し、その指示に従って口座からの引き落としの銀行に指示を送信することを承認したことになります。お客様は、銀行との契約条件に基づいて、銀行から返金を受ける権利があります。払い戻しは、アカウントが引き落とされた日から 8 週間以内に請求する必要があります。`, + sepaDebitTerms: str => + `お支払い情報を提供し、この指示書フォームを確認することにより、(A) ${str}(債権者)および/または当社の決済サービス提供者があなたの銀行に指示を送信して口座から引き落とすことを許可し、(B) あなたの銀行が${str}からの指示に従って口座から引き落とすことを許可します。権利の一部として、あなたは銀行の契約条件に従って銀行から返金を受ける権利があります。返金は口座が引き落とされた日から8週間以内に請求する必要があります。権利については、銀行から取得できる声明で説明されています。`, + becsDebitTerms: `銀行口座の詳細を提供し、この支払いを確認することにより、お客様は、この口座振替リクエストおよび口座振替リクエストのサービス契約に同意し、Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 口座振替ユーザー ID 番号 507156 (「ストライプ」) に口座振替を許可することになります。 Hyperswitch Payment Widget (以下「マーチャント」) に代わって、バルク電子決済システム (BECS) を通じて、マーチャントから別途通知された金額についてのアカウントを作成します。あなたは、自分がアカウント所有者であるか、上記のアカウントの承認された署名者のいずれかであることを証明します。`, + cardTerms: str => + `カード情報を提供することにより、${str} が規約に従って将来の支払いをカードに請求できるようになります。`, + payNowButton: `今払う`, + cardNumberEmptyText: `カード番号を空にすることはできません`, + cardExpiryDateEmptyText: `カードの有効期限を空にすることはできません`, + cvcNumberEmptyText: `CVC 番号を空にすることはできません`, + enterFieldsText: `すべてのフィールドに入力してください`, + enterValidDetailsText: `有効な詳細を入力してください`, + selectPaymentMethodText: `支払い方法を選択して、もう一度お試しください`, + card: `カード`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`この取引には${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}の追加料金が適用されます`)} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`この取引には${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}までの追加料金が適用されます`)} + , + surchargeMsgAmountForOneClickWallets: `追加料金が適用されます`, + billingNameLabel: `課金名`, + billingNamePlaceholder: `名前と苗字`, + cardHolderName: `クレジットカード名義人氏名`, + on: `の上`, + \"and": `そして`, + nameEmptyText: str => `あなたの情報を提供してください ${str}`, + completeNameEmptyText: str => `完全な情報を提供してください ${str}`, + billingDetailsText: `支払明細`, + socialSecurityNumberLabel: `社会保障番号`, + saveWalletDetails: `選択時にウォレットの詳細が保存されます`, + morePaymentMethods: `その他の支払い方法`, + useExistingPaymentMethods: `保存した支払い方法を使用する`, + cardNickname: `カードのニックネーム`, + nicknamePlaceholder: `カードニックネーム(任意)`, + cardExpiredText: `このカードは期限切れです`, + cardHeader: `カード情報`, + cardBrandConfiguredErrorText: str => `${str} は現在サポートされていません。`, + currencyNetwork: `通貨ネットワーク`, + expiryPlaceholder: `MM / YY`, + dateOfBirth: `生年月日`, + vpaIdLabel: `VPA ID`, + vpaIdEmptyText: `VPA ID を空にすることはできません`, + vpaIdInvalidText: `無効な VPA ID`, + dateofBirthRequiredText: `生年月日が必要です`, + dateOfBirthInvalidText: `年齢は18歳以上である必要があります`, + dateOfBirthPlaceholderText: `生年月日を入力してください`, + formFundsInfoText: `資金はこのアカウントに振り込まれます`, + formFundsCreditInfoText: pmLabel => `選択した${pmLabel}に資金が振り込まれます。`, + formEditText: `編集`, + formSaveText: `保存`, + formSubmitText: `提出`, + formSubmittingText: `提出中`, + formSubheaderBillingDetailsText: `請輸入您的帳單地址`, + formSubheaderCardText: `カードの詳細`, + formSubheaderAccountText: pmLabel => `あなたの${pmLabel}`, + formHeaderReviewText: `レビュー`, + formHeaderReviewTabLayoutText: pmLabel => `${pmLabel}の詳細を確認`, + formHeaderBankText: bankTransferType => `${bankTransferType}銀行の詳細を入力`, + formHeaderWalletText: walletTransferType => + `${walletTransferType}ウォレットの詳細を入力`, + formHeaderEnterCardText: `カードの詳細を入力`, + formHeaderSelectBankText: `銀行方法を選択`, + formHeaderSelectWalletText: `ウォレットを選択`, + formHeaderSelectAccountText: `支払いのためのアカウントを選択`, + formFieldACHRoutingNumberLabel: `ルーティング番号`, + formFieldSepaIbanLabel: `国際銀行口座番号(IBAN)`, + formFieldSepaBicLabel: `銀行識別コード(オプション)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `銀行口座番号`, + formFieldPhoneNumberLabel: `電話番号`, + formFieldCountryCodeLabel: `国コード(オプション)`, + formFieldBankNameLabel: `銀行名(オプション)`, + formFieldBankCityLabel: `銀行の都市(オプション)`, + formFieldCardHoldernamePlaceholder: `お名前`, + formFieldBankNamePlaceholder: `銀行名`, + formFieldBankCityPlaceholder: `銀行の都市`, + formFieldEmailPlaceholder: `あなたのメール`, + formFieldPhoneNumberPlaceholder: `あなたの電話`, + formFieldInvalidRoutingNumber: `ルーティング番号が無効です。`, + infoCardRefId: `参照ID`, + infoCardErrCode: `エラーコード`, + infoCardErrMsg: `エラーメッセージ`, + infoCardErrReason: `理由`, + linkRedirectionText: seconds => `${seconds->Int.toString}秒でリダイレクトします...`, + linkExpiryInfo: expiry => `リンクの有効期限:${expiry}`, + payoutFromText: merchant => `${merchant}からの支払い`, + payoutStatusFailedMessage: `支払いの処理に失敗しました。詳細については、プロバイダーにお問い合わせください。`, + payoutStatusPendingMessage: `お支払いは2〜3営業日以内に処理される予定です。`, + payoutStatusSuccessMessage: `お支払いが正常に完了しました。選択した支払い方法に資金が入金されました。`, + payoutStatusFailedText: `支払い失敗`, + payoutStatusPendingText: `支払い処理中`, + payoutStatusSuccessText: `支払い成功`, + pixCNPJInvalidText: `無効なPix CNPJ`, + pixCNPJEmptyText: `Pix CNPJは空にできません`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Pix CNPJを入力`, + pixCPFInvalidText: `無効なPix CPF`, + pixCPFEmptyText: `Pix CPFは空にできません`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Pix CPFを入力`, + pixKeyEmptyText: `Pixキーは空にできません`, + pixKeyPlaceholder: `Pixキーを入力`, + pixKeyLabel: `Pixキー`, + cardDetailsLabel: "カードの詳細", + firstName: `ファーストネーム`, + lastName: `苗字`, + billingDetails: `支払明細`, + requiredText: `必須`, + lastNameRequiredText: `姓が必要です`, + cardExpiresText: `期限切れ`, + addPaymentMethodLabel: `新しい支払い方法を追加`, + cardHolderNameRequiredText: `カード所有者の名前が必要です`, + walletDisclaimer: `ウォレットの詳細は選択時に保存されます`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/LithuanianLocale.res b/shared-code/LocaleStrings/LithuanianLocale.res new file mode 100644 index 0000000..44cdaa5 --- /dev/null +++ b/shared-code/LocaleStrings/LithuanianLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "lt", + localeDirection: "ltr", + cardDetailsLabel: "Kortelės detalės", + cardNumberLabel: "Kortelės numeris", + inValidCardErrorText: "Neteisingas kortelės numeris.", + inCompleteCVCErrorText: "Jūsų kortelės saugos kodas neišsamus.", + inCompleteExpiryErrorText: "Jūsų kortelės galiojimo pabaigos data neišsami.", + pastExpiryErrorText: "Jūsų kortelės galiojimo pabaigos metai jau praėjo.", + poweredBy: "Teikėjas „Hyperswitch“", + validThruText: "Galiojimo pabaiga", + sortCodeText: "Rūšiavimo kodas", + cvcTextLabel: "CVC", + line1Label: "1 adreso eilutė", + line1Placeholder: "Adresas", + line1EmptyText: `1 adreso eilutė negali būti tuščia`, + line2Label: "2 adreso eilutė", + line2Placeholder: "Butas, pastato numeris ir kt. (neprivaloma)", + cityLabel: "Miestas", + cityEmptyText: `Miestas negali būti tuščias`, + postalCodeLabel: "Pašto kodas", + postalCodeEmptyText: `Pašto kodas negali būti tuščias`, + stateLabel: "Valstija", + accountNumberText: "Sąskaitos nr.", + emailLabel: "El. paštas", + emailInvalidText: `Neteisingas el. pašto adresas`, + emailEmptyText: `El. pašto adresas negali būti tuščias`, + fullNameLabel: "Vardas ir pavardė", + fullNamePlaceholder: "Vardas ir pavardė", + countryLabel: "Šalis", + currencyLabel: "Valiuta", + bankLabel: "Pasirinkti banką", + redirectText: "Pateikę užsakymą būsite nukreipti saugiai užbaigti pirkimą.", + bankDetailsText: "Pateikę šią informaciją, gausite banko sąskaitos informaciją, kad galėtumėte atlikti mokėjimą. Būtinai tai įsidėmėkite.", + orPayUsing: "Arba mokėkite naudodami", + addNewCard: "Pridėti kredito / debeto kortelę", + useExisitingSavedCards: "Naudoti išsaugotas debeto / kredito korteles", + saveCardDetails: "Išsaugoti kortelės duomenis", + addBankAccount: "Pridėti banko sąskaitą", + achBankDebitTerms: str => + `Nurodydami savo sąskaitos numerį ir patvirtindami šį mokėjimą, leidžiate ${str} ir „Hyperswitch“, mūsų mokėjimo paslaugų teikėjui, siųsti nurodymus jūsų bankui nurašyti lėšas iš jūsų sąskaitos, o jūsų bankui – nurašyti lėšas iš jūsų sąskaitos pagal tuos nurodymus. Turite teisę susigrąžinti pinigus iš savo banko pagal su banku sudarytos sutarties sąlygas. Prašymą grąžinti pinigus reikia pateikti per 8 savaites nuo lėšų iš sąskaitos nurašymo dienos.`, + sepaDebitTerms: str => + `Pateikdami savo mokėjimo informaciją ir patvirtindami šį mokėjimą, leidžiate (A) ${str} ir „Hyperswitch“, mūsų mokėjimo paslaugų teikėjui ir (arba) „PPRO“, jos vietiniam paslaugų teikėjui, siųsti nurodymus jūsų bankui nurašyti lėšas iš jūsų sąskaitos ir (B) bankui nurašyti lėšas iš jūsų sąskaitos pagal tuos nurodymus. Atsižvelgdami į savo teises, turite teisę susigrąžinti pinigus iš savo banko pagal sutarties su banku sąlygas. Prašymą grąžinti pinigus reikia pateikti per 8 savaites nuo lėšų iš sąskaitos nurašymo dienos. Jūsų teisės paaiškintos pareiškime, kurį galite gauti iš savo banko. Sutinkate gauti pranešimus apie būsimus debetus likus ne mažiau kaip 2 dienoms iki jų atsiradimo.`, + becsDebitTerms: "Pateikdami savo banko sąskaitos duomenis ir patvirtindami šį mokėjimą, sutinkate su šia tiesioginio debeto užklausa ir tiesioginio debeto užklausos paslaugų sutartimi ir suteikiate teisę „Hyperswitch Payments Australia Pty Ltd“ ACN 160 180 343 tiesioginio debeto naudotojo ID Nr. 507156 („Hyperswitch“) „Hyperswitch“ mokėjimų valdiklio („Pardavėjo“) vardu debetuoti jūsų sąskaitą per masinę elektroninę kliringo sistemą (BECS) už bet kokias sumas, apie kurias jums atskirai pranešė Pardavėjas. Patvirtinate, kad esate sąskaitos turėtojas arba įgaliotas asmuo, pasirašęs valdyti aukščiau nurodytą sąskaitą.", + cardTerms: str => + `Pateikdami savo kortelės informaciją, leidžiate ${str} iš kortelės išskaičiuoti būsimus mokėjimus pagal jos sąlygas.`, + payNowButton: "Apmokėti dabar", + cardNumberEmptyText: "Kortelės numeris negali būti tuščias", + cardExpiryDateEmptyText: "Kortelės galiojimo pabaigos data negali būti tuščia", + cvcNumberEmptyText: "Kortelės numeris negali būti tuščias", + enterFieldsText: "Užpildykite visus laukus", + enterValidDetailsText: "Įveskite galiojančią informaciją", + card: "Kortelė", + billingNameLabel: "Sąskaitos pavadinimas", + cardHolderName: "Kortelės turėtojo vardas", + cardNickname: "Kortelės slapyvardis", + billingNamePlaceholder: "Vardas ir pavardė", + firstName: `Pirmas vardas`, + lastName: `Pavardė`, + billingDetails: `Atsiskaitymo informacija`, + requiredText: `Būtinas`, + lastNameRequiredText: `Reikalingas pavardė`, + cardExpiresText: `baigiasi`, + addPaymentMethodLabel: `Pridėti naują mokėjimo būdą`, + cardHolderNameRequiredText: `Būtinas kortelės turėtojo vardas`, + walletDisclaimer: `Išsami piniginės informacija bus išsaugota pasirinkus`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel :"", + pixKeyPlaceholder : "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/LocaleStringHelper.res b/shared-code/LocaleStrings/LocaleStringHelper.res new file mode 100644 index 0000000..52533fd --- /dev/null +++ b/shared-code/LocaleStrings/LocaleStringHelper.res @@ -0,0 +1,79 @@ +open LocaleStringTypes +let mapLocalStringToTypeLocale = val => { + switch val { + | "he" => He + | "fr" => Fr + | "en-GB" => En_GB + | "ar" => Ar + | "ja" => Ja + | "de" => De + | "fr-BE" => Fr_BE + | "es" => Es + | "ca" => Ca + | "zh" => Zh + | "pt" => Pt + | "it" => It + | "pl" => Pl + | "nl" => Nl + | "sv" => Sv + | "ru" => Ru + | "ni-be" => Ni_BE + | "lt" => Lt + | "cs" => Cs + | "sk" => Sk + | "ls" => Ls + | "cy" => Cy + | "el" => El + | "et" => Et + | "fi" => Fi + | "nb" => Nb + | "bs" => Bs + | "da" => Da + | "ms" => Ms + | "tr-c" => Tr_C + | "en" + | _ => + En + } +} + +let getLocale = locale => { + try { + switch locale->Option.getOr(En) { + | En => EnglishLocale.localeStrings + | He => HebrewLocale.localeStrings + | Fr => FrenchLocale.localeStrings + | En_GB => EnglishGBLocale.localeStrings + | Ar => ArabicLocale.localeStrings + | Ja => JapaneseLocale.localeStrings + | De => DeutschLocale.localeStrings + | Fr_BE => FrenchBelgiumLocale.localeStrings + | Es => SpanishLocale.localeStrings + | Ca => CatalanLocale.localeStrings + | Zh => ChineseLocale.localeStrings + | Pt => PortugueseLocale.localeStrings + | It => ItalianLocale.localeStrings + | Pl => PolishLocale.localeStrings + | Nl => DutchLocale.localeStrings + | Sv => SwedishLocale.localeStrings + | Ru => RussianLocale.localeStrings + | Ni_BE => DutchBelgiumLocale.localeStrings + | Lt => LithuanianLocale.localeStrings + | Cs => CzechLocale.localeStrings + | Sk => SlovakLocale.localeStrings + | Ls => IcelandicLocale.localeStrings + | Cy => WelshLocale.localeStrings + | El => GreekLocale.localeStrings + | Et => EstonianLocale.localeStrings + | Fi => FinnishLocale.localeStrings + | Nb => NorwegianLocale.localeStrings + | Bs => BosnianLocale.localeStrings + | Da => DanishLocale.localeStrings + | Ms => MalayLocale.localeStrings + | Tr_C => TurkishLocale.localeStrings + } + } catch { + | _ => EnglishLocale.localeStrings + } +} + diff --git a/shared-code/LocaleStrings/LocaleStringTypes.res b/shared-code/LocaleStrings/LocaleStringTypes.res new file mode 100644 index 0000000..8006be5 --- /dev/null +++ b/shared-code/LocaleStrings/LocaleStringTypes.res @@ -0,0 +1,194 @@ +type localeTypes = + | En + | He + | Fr + | En_GB + | Ar + | Ja + | De + | Fr_BE + | Es + | Ca + | Zh + | Pt + | It + | Pl + | Nl + | Ni_BE + | Sv + | Ru + | Lt + | Cs + | Sk + | Ls + | Cy + | El + | Et + | Fi + | Nb + | Bs + | Da + | Ms + | Tr_C + +type localeStrings = { + locale: string, + cardNumberLabel: string, + localeDirection: string, + inValidCardErrorText: string, + inCompleteCVCErrorText: string, + inCompleteExpiryErrorText: string, + pastExpiryErrorText: string, + poweredBy: string, + validThruText: string, + sortCodeText: string, + cvcTextLabel: string, + emailLabel: string, + emailEmptyText: string, + emailInvalidText: string, + accountNumberText: string, + fullNameLabel: string, + line1Label: string, + line1Placeholder: string, + line1EmptyText: string, + line2Label: string, + line2Placeholder: string, + line2EmptyText: string, + cityLabel: string, + cityEmptyText: string, + postalCodeLabel: string, + postalCodeEmptyText: string, + postalCodeInvalidText: string, + stateLabel: string, + stateEmptyText: string, + fullNamePlaceholder: string, + countryLabel: string, + currencyLabel: string, + bankLabel: string, + redirectText: string, + bankDetailsText: string, + orPayUsing: string, + addNewCard: string, + useExisitingSavedCards: string, + saveCardDetails: string, + addBankAccount: string, + achBankDebitTerms: string => string, + sepaDebitTerms: string => string, + becsDebitTerms: string, + cardTerms: string => string, + payNowButton: string, + cardNumberEmptyText: string, + cardExpiryDateEmptyText: string, + cvcNumberEmptyText: string, + enterFieldsText: string, + enterValidDetailsText: string, + selectPaymentMethodText: string, + card: string, + surchargeMsgAmount: (string, string) => React.element, + surchargeMsgAmountForCard: (string, string) => React.element, + surchargeMsgAmountForOneClickWallets: string, + billingNameLabel: string, + billingNamePlaceholder: string, + cardHolderName: string, + on: string, + \"and": string, + nameEmptyText: string => string, + completeNameEmptyText: string => string, + billingDetailsText: string, + socialSecurityNumberLabel: string, + saveWalletDetails: string, + morePaymentMethods: string, + useExistingPaymentMethods: string, + cardNickname: string, + nicknamePlaceholder: string, + cardExpiredText: string, + cardHeader: string, + cardBrandConfiguredErrorText: string => string, + currencyNetwork: string, + expiryPlaceholder: string, + dateOfBirth: string, + vpaIdLabel: string, + vpaIdEmptyText: string, + vpaIdInvalidText: string, + dateofBirthRequiredText: string, + dateOfBirthInvalidText: string, + dateOfBirthPlaceholderText: string, + formFundsInfoText: string, + formFundsCreditInfoText: string => string, + formEditText: string, + formSaveText: string, + formSubmitText: string, + formSubmittingText: string, + formSubheaderBillingDetailsText: string, + formSubheaderCardText: string, + formSubheaderAccountText: string => string, + formHeaderReviewText: string, + formHeaderReviewTabLayoutText: string => string, + formHeaderBankText: string => string, + formHeaderWalletText: string => string, + formHeaderEnterCardText: string, + formHeaderSelectBankText: string, + formHeaderSelectWalletText: string, + formHeaderSelectAccountText: string, + formFieldACHRoutingNumberLabel: string, + formFieldSepaIbanLabel: string, + formFieldSepaBicLabel: string, + formFieldPixIdLabel: string, + formFieldBankAccountNumberLabel: string, + formFieldPhoneNumberLabel: string, + formFieldCountryCodeLabel: string, + formFieldBankNameLabel: string, + formFieldBankCityLabel: string, + formFieldCardHoldernamePlaceholder: string, + formFieldBankNamePlaceholder: string, + formFieldBankCityPlaceholder: string, + formFieldEmailPlaceholder: string, + formFieldPhoneNumberPlaceholder: string, + formFieldInvalidRoutingNumber: string, + infoCardRefId: string, + infoCardErrCode: string, + infoCardErrMsg: string, + infoCardErrReason: string, + linkRedirectionText: int => string, + linkExpiryInfo: string => string, + payoutFromText: string => string, + payoutStatusFailedMessage: string, + payoutStatusPendingMessage: string, + payoutStatusSuccessMessage: string, + payoutStatusFailedText: string, + payoutStatusPendingText: string, + payoutStatusSuccessText: string, + pixCNPJInvalidText: string, + pixCNPJEmptyText: string, + pixCNPJLabel: string, + pixCNPJPlaceholder: string, + pixCPFInvalidText: string, + pixCPFEmptyText: string, + pixCPFLabel: string, + pixCPFPlaceholder: string, + pixKeyEmptyText: string, + pixKeyLabel: string, + pixKeyPlaceholder: string, + cardDetailsLabel: string, + firstName: string, + lastName: string, + billingDetails: string, + requiredText: string, + cardHolderNameRequiredText: string, + lastNameRequiredText: string, + cardExpiresText: string, + addPaymentMethodLabel: string, + walletDisclaimer: string, + deletePaymentMethod: string, +} + +type constantStrings = { + formFieldCardNumberPlaceholder: string, + formFieldACHRoutingNumberPlaceholder: string, + formFieldAccountNumberPlaceholder: string, + formFieldSortCodePlaceholder: string, + formFieldSepaIbanPlaceholder: string, + formFieldSepaBicPlaceholder: string, + formFieldPixIdPlaceholder: string, + formFieldBankAccountNumberPlaceholder: string, +} diff --git a/shared-code/LocaleStrings/LocalehelperWeb.res b/shared-code/LocaleStrings/LocalehelperWeb.res new file mode 100644 index 0000000..59d2696 --- /dev/null +++ b/shared-code/LocaleStrings/LocalehelperWeb.res @@ -0,0 +1,42 @@ +let getLocaleWeb = async locale => { + try { + let promiseLocale = switch locale->LocaleStringHelper.mapLocalStringToTypeLocale { + | En => Js.import(EnglishLocale.localeStrings) + | He => Js.import(HebrewLocale.localeStrings) + | Fr => Js.import(FrenchLocale.localeStrings) + | En_GB => Js.import(EnglishGBLocale.localeStrings) + | Ar => Js.import(ArabicLocale.localeStrings) + | Ja => Js.import(JapaneseLocale.localeStrings) + | De => Js.import(DeutschLocale.localeStrings) + | Fr_BE => Js.import(FrenchBelgiumLocale.localeStrings) + | Es => Js.import(SpanishLocale.localeStrings) + | Ca => Js.import(CatalanLocale.localeStrings) + | Zh => Js.import(ChineseLocale.localeStrings) + | Pt => Js.import(PortugueseLocale.localeStrings) + | It => Js.import(ItalianLocale.localeStrings) + | Pl => Js.import(PolishLocale.localeStrings) + | Nl => Js.import(DutchLocale.localeStrings) + | Sv => Js.import(SwedishLocale.localeStrings) + | Ru => Js.import(RussianLocale.localeStrings) + | Ni_BE => Js.import(DutchBelgiumLocale.localeStrings) + | Lt => Js.import(LithuanianLocale.localeStrings) + | Cs => Js.import(CzechLocale.localeStrings) + | Sk => Js.import(SlovakLocale.localeStrings) + | Ls => Js.import(IcelandicLocale.localeStrings) + | Cy => Js.import(WelshLocale.localeStrings) + | El => Js.import(GreekLocale.localeStrings) + | Et => Js.import(EstonianLocale.localeStrings) + | Fi => Js.import(FinnishLocale.localeStrings) + | Nb => Js.import(NorwegianLocale.localeStrings) + | Bs => Js.import(BosnianLocale.localeStrings) + | Da => Js.import(DanishLocale.localeStrings) + | Ms => Js.import(MalayLocale.localeStrings) + | Tr_C => Js.import(TurkishLocale.localeStrings) + } + + let awaitedLocaleValue = await promiseLocale + awaitedLocaleValue + } catch { + | _ => EnglishLocale.localeStrings + } +} diff --git a/shared-code/LocaleStrings/MalayLocale.res b/shared-code/LocaleStrings/MalayLocale.res new file mode 100644 index 0000000..4532c95 --- /dev/null +++ b/shared-code/LocaleStrings/MalayLocale.res @@ -0,0 +1,152 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "ms", + localeDirection: "ltr", + cardNumberLabel: "Nombor Kad", + cardDetailsLabel: "Butiran Kad", + inValidCardErrorText: "Nombor kad tidak sah.", + inCompleteCVCErrorText: "Kod keselamatan kad anda tidak lengkap.", + inCompleteExpiryErrorText: "Tarikh tamat tempoh kad anda tidak lengkap.", + pastExpiryErrorText: "Tahun tamat tempoh kad anda telah berlalu.", + poweredBy: "Dikuasakan oleh Hyperswitch", + validThruText: "Luput Pada", + sortCodeText: "Kod Isih", + cvcTextLabel: "CVC", + line1Label: "Alamat baris 1", + line1Placeholder: "Alamat jalan", + line1EmptyText: `Alamat Baris 1 tidak boleh kosong`, + line2Label: "Alamat baris 2", + line2Placeholder: "Apartmen, nombor unit, dll (pilihan)", + cityLabel: "Bandar", + cityEmptyText: `Bandar tidak boleh kosong`, + postalCodeLabel: "Poskod", + postalCodeEmptyText: `Kod pos tidak boleh kosong`, + stateLabel: "Negeri", + accountNumberText: "Nombor Akaun", + emailLabel: "E-mel", + emailInvalidText: `alamat email tidak sah`, + emailEmptyText: `E-mel tidak boleh kosong`, + fullNameLabel: "Nama penuh", + fullNamePlaceholder: "Nama pertama dan akhir", + countryLabel: "Negara", + currencyLabel: "Mata Wang", + bankLabel: "Pilih Bank", + redirectText: "Selepas menghantar pesanan anda, anda akan diarahkan untuk menyelesaikan pembelian anda dengan selamat.", + bankDetailsText: "Selepas menghantar butiran ini, anda akan mendapat maklumat akaun bank untuk membuat pembayaran. Sila pastikan anda mencatatnya.", + orPayUsing: "Atau bayar menggunakan", + addNewCard: "Tambah kad kredit/debit", + useExisitingSavedCards: "Gunakan kad debit/kredit yang disimpan", + saveCardDetails: "Simpan butiran kad", + addBankAccount: "Tambah akaun bank", + achBankDebitTerms: str => + `Dengan memberikan nombor akaun anda dan mengesahkan pembayaran ini, anda membenarkan ${str} dan Hyperswitch, penyedia perkhidmatan pembayaran kami, untuk menghantar arahan kepada bank anda untuk mendebitkan akaun anda dan bank anda untuk mendebitkan akaun anda mengikut arahan tersebut. Anda berhak mendapat bayaran balik daripada bank anda di bawah terma dan syarat perjanjian anda dengan bank anda. Bayaran balik mesti dituntut dalam masa 8 minggu bermula dari tarikh akaun anda didebitkan.`, + sepaDebitTerms: str => + `Dengan memberikan maklumat pembayaran anda dan mengesahkan pembayaran ini, anda membenarkan (A) ${str} dan Hyperswitch, penyedia perkhidmatan pembayaran kami dan/atau PPRO, penyedia perkhidmatan tempatannya, untuk menghantar arahan kepada bank anda untuk mendebitkan akaun anda dan (B) bank anda untuk mendebitkan akaun anda mengikut arahan tersebut. Sebagai sebahagian daripada hak anda, anda berhak mendapat bayaran balik daripada bank anda di bawah terma dan syarat perjanjian anda dengan bank anda. Bayaran balik mesti dituntut dalam masa 8 minggu bermula dari tarikh akaun anda didebitkan. Hak anda dijelaskan dalam penyata yang anda boleh dapatkan daripada bank anda. Anda bersetuju untuk menerima pemberitahuan untuk debit akan datang sehingga 2 hari sebelum ia berlaku.`, + becsDebitTerms: "Dengan memberikan butiran akaun bank anda dan mengesahkan pembayaran ini, anda bersetuju dengan Permintaan Debit Langsung ini dan perjanjian perkhidmatan Permintaan Debit Langsung dan membenarkan Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Nombor Pengguna Debit Langsung 507156 ( \"Hyperswitch\") untuk mendebitkan akaun anda melalui Sistem Penjelasan Elektronik Pukal (Becs) bagi pihak Hyperswitch Payment Widget (\"Pedagang\") untuk sebarang jumlah yang disampaikan secara berasingan kepada anda oleh Pedagang. Anda mengesahkan bahawa anda sama ada pemegang akaun atau penandatangan yang dibenarkan pada akaun yang disenaraikan di atas.", + cardTerms: str => + `Dengan memberikan maklumat kad anda, anda membenarkan ${str} untuk mengecaj kad anda untuk pembayaran akan datang mengikut terma mereka.`, + payNowButton: "Bayar Sekarang", + cardNumberEmptyText: "Nombor Kad tidak boleh kosong", + cardExpiryDateEmptyText: "Tarikh luput kad tidak boleh kosong", + cvcNumberEmptyText: "Nombor CVC tidak boleh kosong", + enterFieldsText: "Sila isikan semua medan", + enterValidDetailsText: "Sila isikan butiran yang sah", + card: "Kad", + billingNameLabel: "Nama pengebilan", + cardHolderName: "Nama Pemegang Kad", + cardNickname: "Nama Samaran Kad", + billingNamePlaceholder: "Nama dan Nama Keluarga", + firstName: "Nama pertama", + lastName: "Nama terakhir", + billingDetails: `maklumat Bil`, + requiredText: `Diperlukan`, + lastNameRequiredText: `Nama terakhir diperluka`, + cardExpiresText: `luput`, + addPaymentMethodLabel: `Tambah kaedah pembayaran baru`, + cardHolderNameRequiredText: `Nama Pemegang Kad diperlukan`, + walletDisclaimer: `Butiran dompet akan disimpan semasa pemilihan`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + deletePaymentMethod : "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel:"", pixKeyPlaceholder:"", + } \ No newline at end of file diff --git a/shared-code/LocaleStrings/NorwegianLocale.res b/shared-code/LocaleStrings/NorwegianLocale.res new file mode 100644 index 0000000..99ba678 --- /dev/null +++ b/shared-code/LocaleStrings/NorwegianLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "no", + localeDirection: "ltr", + cardDetailsLabel: "Kortdetaljer", + cardNumberLabel: "Kortnummer", + inValidCardErrorText: "Kortnummeret er ugyldig.", + inCompleteCVCErrorText: "Kortets sikkerhetskode er ufullstendig.", + inCompleteExpiryErrorText: "Kortets utløpsdato er ufullstendig.", + pastExpiryErrorText: "Kortets utløpsår er i fortiden.", + poweredBy: "Levert av Hyperswitch", + validThruText: "Utløp", + sortCodeText: "Clearingkode", + cvcTextLabel: "CVC", + line1Label: "Adresslinje 1", + line1Placeholder: "Gateadresse", + line1EmptyText: `Adresselinje 1 kan ikke være tom`, + line2Label: "Adresselinje 2", + line2Placeholder: "Leil., enhetsnummer osv. (valgfritt)", + cityLabel: "Poststed", + cityEmptyText: `By kan ikke være tom`, + postalCodeLabel: "Postnummer", + postalCodeEmptyText: `Postnummer kan ikke være tomt`, + stateLabel: "Delstat", + accountNumberText: "Kontonummer", + emailLabel: "E-postadresse", + emailInvalidText: `Ugyldig epostadresse`, + emailEmptyText: `E-post kan ikke være tom`, + fullNameLabel: "Fullt navn", + fullNamePlaceholder: "For- og etternavn", + countryLabel: "Land", + currencyLabel: "Valuta", + bankLabel: "Velg bank", + redirectText: "Etter å ha sendt inn bestillingen, omdirigeres du for å fullføre kjøpet på en sikker måte.", + bankDetailsText: "Etter å ha sendt inn disse opplysningene, mottar du informasjon om bankkontoen betaling skal foretas til. Sørg for å notere dette.", + orPayUsing: "Eller betal ved hjelp av", + addNewCard: "Legg til kreditt-/debetkort", + useExisitingSavedCards: "Bruk lagrede debet-/kredittkort", + saveCardDetails: "Lagre kortopplysninger", + addBankAccount: "Legg til bankkonto", + achBankDebitTerms: str => + `Ved å oppgi kontonummeret ditt og bekrefte denne betalingen, autoriserer du ${str} og Hyperswitch (vår leverandør av betalingstjenester) til å sende instruksjoner til banken om å debitere kontoen din, og at banken skal debitere kontoen i henhold til disse instruksjonene. Du har rett til refusjon fra banken i henhold til vilkårene i avtalen du har med banken. En refusjon må kreves innen 8 uker fra den datoen kontoen ble debitert på.`, + sepaDebitTerms: str => + `Ved å oppgi betalingsinformasjonen din og bekrefte denne betalingen, autoriserer du (A) ${str} og Hyperswitch (vår leverandør av betalingstjenester) og/eller PPRO (deres lokale tjenesteleverandør) til å sende instruksjoner til banken om å debitere kontoen din, og (B) at banken debiterer kontoen din i henhold til disse instruksjonene. Som en del av rettighetene dine, har du rett til refusjon fra banken i henhold til vilkårene i avtalen du har med banken. En refusjon må kreves innen 8 uker fra den datoen kontoen ble debitert på. Rettighetene dine forklares i en erklæring du kan få tak i fra banken. Du samtykker i å motta varsler for fremtidige debiteringer opptil 2 dager før de inntreffer.`, + becsDebitTerms: "Ved å oppgi bankkontoopplysningene dine og bekrefte denne betalingen, godtar du denne forespørselen om direkte debitering samt serviceavtalen om forespørsel om direkte debitering, og autoriserer Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 sin Direct Debit-bruker med ID-nummer 507156 («Hyperswitch») til å debitere kontoen via BECS (Bulk Electronic Clearing System) på vegne av Hyperswitch Payment Widget («forhandleren») for eventuelle beløp forhandleren har kommunisert separat til deg. Du bekrefter at du enten er en kontoinnehaver eller en autorisert signatar på kontoen oppført ovenfor.", + cardTerms: str => + `Ved å oppgi kortinformasjonen, tillater du at ${str} belaster kortet for fremtidige betalinger i henhold til vilkårene.`, + payNowButton: "Betal nå", + cardNumberEmptyText: "Kortnummer kan ikke stå tomt", + cardExpiryDateEmptyText: "Kortets utløpsdato kan ikke stå tomt", + cvcNumberEmptyText: "CVC-nummer kan ikke stå tomt", + enterFieldsText: "Fyll ut alle felter.", + enterValidDetailsText: "Oppgi gyldige opplysninger", + card: "Kort", + billingNameLabel: "Fakturamottakerens navn", + cardHolderName: "Navn på kortinnehaver", + cardNickname: "Kortets kallenavn", + billingNamePlaceholder: "Fornavn og etternavn", + firstName: `Fornavn`, + lastName: `Etternavn`, + billingDetails: `Fakturadetaljer`, + requiredText: `Påkrevd`, + lastNameRequiredText: `Etternavn påkrevd`, + cardExpiresText: `utløper`, + addPaymentMethodLabel: `Legg til en ny betalingsmåte`, + cardHolderNameRequiredText: `Kortholders navn kreves`, + walletDisclaimer: `Lommebokdetaljer vil bli lagret ved valg`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/PolishLocale.res b/shared-code/LocaleStrings/PolishLocale.res new file mode 100644 index 0000000..f9b0970 --- /dev/null +++ b/shared-code/LocaleStrings/PolishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `pl`, + localeDirection: `ltr`, + cardNumberLabel: `Numer karty`, + inValidCardErrorText: `Numer karty jest nieprawidłowy.`, + inCompleteCVCErrorText: `Kod zabezpieczający karty jest niekompletny.`, + inCompleteExpiryErrorText: `Data ważności karty jest niepełna.`, + pastExpiryErrorText: `Rok w dacie ważności karty minął.`, + poweredBy: `Na oprogramowaniu Hyperswitch`, + validThruText: `Dada ważności`, + sortCodeText: `Kod sortowania`, + cvcTextLabel: `CVC`, + line1Label: `Adres wiersz 1`, + line1Placeholder: `Adres (ulica, nr budynku)`, + line2Label: `Adres wiersz 2`, + line2Placeholder: `Nr lokalu itp. (opcjonalnie)`, + cityLabel: `Miejscowość`, + postalCodeLabel: `Kod pocztowy`, deletePaymentMethod : "", + stateLabel: `Stan`, + accountNumberText: `Numer rachunku`, + emailLabel: `E-mail`, + fullNameLabel: `Imię i nazwisko`, + fullNamePlaceholder: `Imię i nazwisko`, + countryLabel: `Państwo`, + currencyLabel: `Waluta`, + bankLabel: `Wybierz bank`, + redirectText: `Po złożeniu zamówienia nastąpi przekierowanie na stronę, na której możesz bezpiecznie sfinalizować zakup.`, + bankDetailsText: `Po przesłaniu tych informacji otrzymasz dane konta bankowego do płatności. Pamiętaj, aby je zanotować.`, + orPayUsing: `Lub zapłać za pomocą`, + addNewCard: `Dodaj kartę kredytową lub debetową`, + useExisitingSavedCards: `Użyj zapisanych kart debetowych lub kredytowych`, + saveCardDetails: `Zapisz dane karty`, + addBankAccount: `Dodaj konto bankowe`, + achBankDebitTerms: str => + `Podając numer konta i potwierdzając tę płatność, upoważniasz ${str} i Hyperswitch, naszego dostawcę usług płatniczych, do przekazania Twojemu bankowi dyspozycji obciążenia Twojego konta, a Twój bank – do obciążenia Twojego konta zgodnie z tymi instrukcjami. Przysługuje Ci prawo do zwrotu pieniędzy od banku zgodnie z warunkami umowy zawartej z bankiem. Wniosek o zwrot pieniędzy należy złożyć w ciągu 8 dni od dnia obciążenia konta.`, + sepaDebitTerms: str => + `Podając swoje informacje płatnicze i potwierdzając ten formularz zlecenia, upoważniasz (A) ${str}, wierzyciela i/lub naszych dostawców usług płatniczych do wysłania instrukcji do twojego banku, aby obciążył twoje konto oraz (B) twój bank do obciążenia twojego konta zgodnie z instrukcjami od ${str}. W ramach swoich praw masz prawo do zwrotu od swojego banku zgodnie z warunkami umowy z bankiem. Zwrot należy zgłosić w ciągu 8 tygodni od dnia, w którym twoje konto zostało obciążone. Twoje prawa są opisane w oświadczeniu, które możesz uzyskać w swoim banku.`, + becsDebitTerms: `Podając dane konta bankowego i potwierdzając tę płatność, zgadzasz się na niniejsze polecenie zapłaty i umowę o świadczenie usług polecenia zapłaty oraz upoważniasz Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 numer identyfikacyjny użytkownika polecenia zapłaty 507156 („Hyperswitch”) do obciążenia Twojego konta za pośrednictwem Zbiorczego Elektronicznego Systemu Rozliczeniowego (BECS) w imieniu Hyperswitch Payment Widget („Sprzedawca”) wszelkimi kwotami, o których Sprzedawca poinformował Cię osobno. Oświadczasz, że jesteś posiadaczem konta lub osobą upoważnioną do składania podpisów dla konta wymienionego powyżej.`, + cardTerms: str => + `Podając dane swojej karty, zezwalasz ${str} na obciążenie jej przyszłymi płatnościami zgodnie z jej warunkami.`, + payNowButton: `Zapłać teraz`, + cardNumberEmptyText: `Numer karty nie może być pusty`, + cardExpiryDateEmptyText: `Data ważności karty nie może być pusta`, + cvcNumberEmptyText: `Numer CVC nie może być pusty`, + enterFieldsText: `Uzupełnij wszystkie pola`, + enterValidDetailsText: `Wprowadź prawidłowe dane`, + card: `Karta`, + billingNameLabel: `Nazwisko do faktury`, + cardHolderName: `Imię i nazwisko posiadacza karty`, + cardNickname: `Przezwisko karty`, + billingNamePlaceholder: `Imię i nazwisko`, + emailEmptyText: `Adres e-mail nie może być pusty`, + emailInvalidText: `Niepoprawny adres email`, + line1EmptyText: `Linia adresu 1 nie może być pusta`, + line2EmptyText: `Linia adresu 2 nie może być pusta`, + cityEmptyText: `Miasto nie może być puste`, + postalCodeEmptyText: `Kod pocztowy nie może być pusty`, + postalCodeInvalidText: `Nieprawidłowy kod pocztowy`, + stateEmptyText: `Stan nie może być pusty`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Dopłata w wysokości${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}zostaną zastosowane do tej transakcji`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Dopłata w wysokości do${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}zostaną zastosowane do tej transakcji`)} + , + surchargeMsgAmountForOneClickWallets: `Obowiązuje dodatkowa opłata`, + on: `NA`, + \"and": `I`, + nameEmptyText: str => `Proszę podać swoje ${str}`, + completeNameEmptyText: str => `Proszę podać kompletne ${str}`, + billingDetailsText: `Szczegóły płatności`, + socialSecurityNumberLabel: `Numer ubezpieczenia społecznego`, + saveWalletDetails: `Po dokonaniu wyboru szczegóły portfela zostaną zapisane`, + morePaymentMethods: `Więcej metod płatności`, + useExistingPaymentMethods: `Skorzystaj z zapisanych metod płatności`, + nicknamePlaceholder: `Pseudonim karty (opcjonalnie)`, + selectPaymentMethodText: `Wybierz metodę płatności i spróbuj ponownie`, + cardExpiredText: `Ta karta wygasła`, + cardHeader: `Informacje o karcie`, + cardBrandConfiguredErrorText: str => `${str} nie jest obecnie obsługiwany.`, + currencyNetwork: `Sieci Walutowe`, + expiryPlaceholder: `MM / RR`, + dateOfBirth: `Data urodzenia`, + vpaIdLabel: `Identyfikator Vpa`, + vpaIdEmptyText: `Identyfikator Vpa nie może być pusty`, + vpaIdInvalidText: `Nieprawidłowy identyfikator Vpa`, + dateofBirthRequiredText: `Data urodzenia jest wymagana`, + dateOfBirthInvalidText: `Wiek powinien być większy lub równy 18 lat`, + dateOfBirthPlaceholderText: `Wprowadź datę urodzenia`, + formFundsInfoText: `Środki zostaną zaksięgowane na tym koncie`, + formFundsCreditInfoText: pmLabel => + `Twoje środki zostaną zaksięgowane na wybranym ${pmLabel}.`, + formEditText: `Edytuj`, + formSaveText: `Zapisz`, + formSubmitText: `Zatwierdź`, + formSubmittingText: `Zatwierdzanie`, + formSubheaderBillingDetailsText: `Wprowadź swój adres rozliczeniowy`, + formSubheaderCardText: `Dane twojej karty`, + formSubheaderAccountText: pmLabel => `Twoje ${pmLabel}`, + formHeaderReviewText: `Przegląd`, + formHeaderReviewTabLayoutText: pmLabel => `Przeglądaj szczegóły swojego ${pmLabel}`, + formHeaderBankText: bankTransferType => `Wprowadź dane bankowe ${bankTransferType}`, + formHeaderWalletText: walletTransferType => `Wprowadź dane portfela ${walletTransferType}`, + formHeaderEnterCardText: `Wprowadź dane karty`, + formHeaderSelectBankText: `Wybierz metodę bankową`, + formHeaderSelectWalletText: `Wybierz portfel`, + formHeaderSelectAccountText: `Wybierz konto do wypłat`, + formFieldACHRoutingNumberLabel: `Numer routingu`, + formFieldSepaIbanLabel: `Międzynarodowy numer rachunku bankowego (IBAN)`, + formFieldSepaBicLabel: `Kod identyfikacyjny banku (opcjonalnie)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Numer konta bankowego`, + formFieldPhoneNumberLabel: `Numer telefonu`, + formFieldCountryCodeLabel: `Kod kraju (opcjonalnie)`, + formFieldBankNameLabel: `Nazwa banku (opcjonalnie)`, + formFieldBankCityLabel: `Miasto banku (opcjonalnie)`, + formFieldCardHoldernamePlaceholder: `Twoje imię`, + formFieldBankNamePlaceholder: `Nazwa banku`, + formFieldBankCityPlaceholder: `Miasto banku`, + formFieldEmailPlaceholder: `Twój e-mail`, + formFieldPhoneNumberPlaceholder: `Twój telefon`, + formFieldInvalidRoutingNumber: `Numer routingu jest nieprawidłowy.`, + infoCardRefId: `ID referencyjne`, + infoCardErrCode: `Kod błędu`, + infoCardErrMsg: `Komunikat o błędzie`, + infoCardErrReason: `Powód`, + linkRedirectionText: seconds => `Przekierowanie za ${seconds->Int.toString} sekund ...`, + linkExpiryInfo: expiry => `Link wygasa: ${expiry}`, + payoutFromText: merchant => `Wypłata od ${merchant}`, + payoutStatusFailedMessage: `Nie udało się przetworzyć wypłaty. Proszę skontaktować się z dostawcą, aby uzyskać więcej informacji.`, + payoutStatusPendingMessage: `Twoja wypłata powinna zostać przetworzona w ciągu 2-3 dni roboczych.`, + payoutStatusSuccessMessage: `Twoja wypłata zakończyła się sukcesem. Środki zostały zdeponowane w wybranym przez Ciebie trybie płatności.`, + payoutStatusFailedText: `Wypłata nieudana`, + payoutStatusPendingText: `Przetwarzanie wypłaty`, + payoutStatusSuccessText: `Wypłata udana`, + pixCNPJInvalidText: `Nieprawidłowy CNPJ Pix`, + pixCNPJEmptyText: `CNPJ Pix nie może być pusty`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Wprowadź CNPJ Pix`, + pixCPFInvalidText: `Nieprawidłowy CPF Pix`, + pixCPFEmptyText: `CPF Pix nie może być pusty`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Wprowadź CPF Pix`, + pixKeyEmptyText: `Klucz Pix nie może być pusty`, + pixKeyPlaceholder: `Wprowadź klucz Pix`, + pixKeyLabel: `Klucz Pix`, + cardDetailsLabel: "Szczegóły karty", + firstName: `Imię`, + lastName: `Nazwisko`, + billingDetails: `Szczegóły płatności`, + requiredText: `Wymagany`, + lastNameRequiredText: `Wymagane nazwisko`, + cardExpiresText: `wygasa`, + addPaymentMethodLabel: `Dodaj nową metodę płatności`, + cardHolderNameRequiredText: `Wymagane jest podanie imienia i nazwiska posiadacza karty`, + walletDisclaimer: `Szczegóły portfela zostaną zapisane po dokonaniu wyboru`, +} diff --git a/shared-code/LocaleStrings/PortugueseLocale.res b/shared-code/LocaleStrings/PortugueseLocale.res new file mode 100644 index 0000000..4dad081 --- /dev/null +++ b/shared-code/LocaleStrings/PortugueseLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `pt`, + localeDirection: `ltr`, + cardNumberLabel: `Número do cartão`, + inValidCardErrorText: `O número do cartão é inválido.`, + inCompleteCVCErrorText: `O código de segurança do seu cartão está incompleto.`, + inCompleteExpiryErrorText: `A data de validade do seu cartão está incompleta.`, + pastExpiryErrorText: `O ano de validade do seu cartão já passou.`, + poweredBy: `Desenvolvido por Hyperswitch`, + validThruText: `Validade`, + sortCodeText: `Código de agência bancária`, + cvcTextLabel: `CVC`, + line1Label: `Linha de endereço 1`, + line1Placeholder: `Nome de rua`, + line2Label: `Linha de endereço 2`, + line2Placeholder: `Apartamento, número de porta, etc. (opcional)`, + cityLabel: `Localidade`, + postalCodeLabel: `Código postal`, + stateLabel: `Distrito`, + accountNumberText: `Número de conta`, + emailLabel: `E-mail`, + fullNameLabel: `Nome completo`, + fullNamePlaceholder: `Nome e apelido`, + countryLabel: `País`, + currencyLabel: `Moeda`, + bankLabel: `Selecionar banco`, + redirectText: `Depois de fazer a sua encomenda, será redirecionado(a) para concluir a sua compra com segurança.`, + bankDetailsText: `Depois de enviar estes detalhes, receberá as informações da conta bancária para efetuar o pagamento. Assegure-se de que toma nota desses dados.`, + orPayUsing: `Ou pague utilizando`, + addNewCard: `Adicionar cartão de débito/crédito`, + useExisitingSavedCards: `Usar cartões de débito/crédito guardados`, + saveCardDetails: `Guardar dados do cartão`, + addBankAccount: `Adicionar conta bancária`, + achBankDebitTerms: str => + `Ao fornecer o seu número de conta e confirmar este pagamento, está a autorizar ${str} e a Hyperswitch, nossa prestadora de serviços de pagamento, a enviar instruções ao seu banco para debitar a sua conta e ao seu banco para debitar a sua conta de acordo com essas instruções. Tem direito a um reembolso do seu banco de acordo com os termos e condições do seu contrato com o seu banco. Um reembolso tem de ser solicitado dentro de 8 semanas a partir da data em que a sua conta tiver sido debitada.`, + sepaDebitTerms: str => + `Ao fornecer suas informações de pagamento e confirmar este formulário de mandato, você autoriza (A) ${str}, o Credor e/ou nossos prestadores de serviços de pagamento a enviar instruções ao seu banco para debitar sua conta e (B) seu banco a debitar sua conta de acordo com as instruções de ${str}. Como parte dos seus direitos, você tem direito a um reembolso do seu banco de acordo com os termos e condições do seu acordo com o seu banco. O reembolso deve ser solicitado dentro de 8 semanas a partir da data em que sua conta foi debitada. Seus direitos estão explicados em uma declaração que você pode obter no seu banco.`, + becsDebitTerms: `Ao fornecer os seus dados bancários e confirmar este pagamento, concorda com este Pedido de Débito Automático e com o contrato de serviço de Pedido de Débito Automático e autoriza a Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, Número de ID de Utilizador de Débito Automático 507156 ("Hyperswitch"), a debitar a sua conta através do Sistema de Compensação Eletrónica em Massa (BECS) em nome de Hyperswitch Payment Widget (o "Comerciante") por quaisquer valores separadamente comunicados a si pelo Comerciante. Certifica que é titular da conta ou signatário autorizado na conta listada acima.`, + cardTerms: str => + `Ao fornecer as informações do seu cartão, permite ${str} o débito do seu cartão para pagamentos futuros de acordo com as respetivas condições.`, + payNowButton: `Pagar agora`, + cardNumberEmptyText: `O número do cartão não pode ficar em branco`, + cardExpiryDateEmptyText: `A data de validade do cartão não pode ficar em branco`, + cvcNumberEmptyText: `O número CVC não pode ficar em branco`, + enterFieldsText: `Preencha todos os campos`, + enterValidDetailsText: `Introduza dados válidos`, + card: `Cartão`, + billingNameLabel: `Nome de faturação`, + cardHolderName: `Nome do titular do cartão`, + cardNickname: `Apelido do cartão`, + billingNamePlaceholder: `Nome e sobrenome`, + emailEmptyText: `O e-mail não pode ficar vazio`, + emailInvalidText: `Endereço de email invalido`, + line1EmptyText: `A linha de endereço 1 não pode ficar vazia`, + line2EmptyText: `A linha de endereço 2 não pode ficar vazia`, + cityEmptyText: `A cidade não pode ficar vazia`, + postalCodeEmptyText: `O código postal não pode ficar vazio`, + postalCodeInvalidText: `Código postal inválido`, + stateEmptyText: `O estado não pode ficar vazio`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Um valor adicional de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}será aplicado para esta transação`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Um valor adicional de até${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}será aplicado para esta transação`)} + , + surchargeMsgAmountForOneClickWallets: `Taxa adicional aplicável`, + on: `sobre`, + \"and": `e`, + nameEmptyText: str => `Por favor, forneça seu ${str}`, + completeNameEmptyText: str => `Por favor, forneça seu completo ${str}`, + billingDetailsText: `Detalhes de cobrança`, + socialSecurityNumberLabel: `Número da Segurança Social`, + saveWalletDetails: `Os detalhes das carteiras serão salvos após a seleção`, + morePaymentMethods: `Mais métodos de pagamento`, + useExistingPaymentMethods: `Use métodos de pagamento salvos`, + nicknamePlaceholder: `Apelido do cartão (opcional)`, + selectPaymentMethodText: `Selecione uma forma de pagamento e tente novamente`, + cardExpiredText: `Este cartão expirou`, + cardHeader: `Informações do cartão`, + cardBrandConfiguredErrorText: str => `${str} não é suportado no momento.`, + currencyNetwork: `Redes de Moeda`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Data de nascimento`, + vpaIdLabel: `ID VPA`, + vpaIdEmptyText: `O ID Vpa não pode ficar vazio`, + vpaIdInvalidText: `ID Vpa inválido`, + dateofBirthRequiredText: `Data de nascimento é obrigatória`, + dateOfBirthInvalidText: `A idade deve ser maior ou igual a 18 anos`, + dateOfBirthPlaceholderText: `Insira a data de nascimento`, + formFundsInfoText: `Os fundos serão creditados nesta conta`, + formFundsCreditInfoText: pmLabel => `Os seus fundos serão creditados no ${pmLabel} selecionado.`, + formEditText: `Editar`, + formSaveText: `Salvar`, + formSubmitText: `Enviar`, + formSubmittingText: `Enviando`, + formSubheaderBillingDetailsText: `Insira o seu endereço de faturamento`, + formSubheaderCardText: `Detalhes do seu cartão`, + formSubheaderAccountText: pmLabel => `O seu ${pmLabel}`, + formHeaderReviewText: `Revisar`, + formHeaderReviewTabLayoutText: pmLabel => `Revise os detalhes do seu ${pmLabel}`, + formHeaderBankText: bankTransferType => `Insira os detalhes bancários ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Insira os detalhes da carteira ${walletTransferType}`, + formHeaderEnterCardText: `Insira os detalhes do cartão`, + formHeaderSelectBankText: `Selecione um método bancário`, + formHeaderSelectWalletText: `Selecione uma carteira`, + formHeaderSelectAccountText: `Selecione uma conta para pagamentos`, + formFieldACHRoutingNumberLabel: `Número de roteamento`, + formFieldSepaIbanLabel: `Número Internacional de Conta Bancária (IBAN)`, + formFieldSepaBicLabel: `Código de Identificação Bancária (opcional)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Número da conta bancária`, + formFieldPhoneNumberLabel: `Número de telefone`, + formFieldCountryCodeLabel: `Código do país (opcional)`, + formFieldBankNameLabel: `Nome do banco (opcional)`, + formFieldBankCityLabel: `Cidade do banco (opcional)`, + formFieldCardHoldernamePlaceholder: `Seu nome`, + formFieldBankNamePlaceholder: `Nome do banco`, + formFieldBankCityPlaceholder: `Cidade do banco`, + formFieldEmailPlaceholder: `Seu e-mail`, + formFieldPhoneNumberPlaceholder: `Seu telefone`, + formFieldInvalidRoutingNumber: `O número de roteamento é inválido.`, + infoCardRefId: `ID de referência`, + infoCardErrCode: `Código de erro`, + infoCardErrMsg: `Mensagem de erro`, + infoCardErrReason: `Razão`, + linkRedirectionText: seconds => `Redirecionando em ${seconds->Int.toString} segundos ...`, + linkExpiryInfo: expiry => `O link expira em: ${expiry}`, + payoutFromText: merchant => `Pagamento de ${merchant}`, + payoutStatusFailedMessage: `Falha no processamento do seu pagamento. Verifique com o seu fornecedor para mais detalhes.`, + payoutStatusPendingMessage: `O seu pagamento deverá ser processado em 2-3 dias úteis.`, + payoutStatusSuccessMessage: `O seu pagamento foi bem-sucedido. Os fundos foram depositados na forma de pagamento selecionada.`, + payoutStatusFailedText: `Pagamento falhou`, + payoutStatusPendingText: `Pagamento pendente`, + payoutStatusSuccessText: `Pagamento bem-sucedido`, + pixCNPJInvalidText: `CNPJ Pix inválido`, + pixCNPJEmptyText: `CNPJ Pix não pode estar vazio`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Digite o CNPJ Pix`, + pixCPFInvalidText: `CPF Pix inválido`, + pixCPFEmptyText: `CPF Pix não pode estar vazio`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Digite o CPF Pix`, + pixKeyEmptyText: `A chave Pix não pode estar vazia`, + pixKeyPlaceholder: `Digite a chave Pix`, + pixKeyLabel: `Chave Pix`, + cardDetailsLabel: "Detalhes do cartão", + firstName: "Primeiro nome", + lastName: "Sobrenome", + billingDetails: `Detalhes de cobrança`, + requiredText: `obrigatório`, + lastNameRequiredText: `Sobrenome necessário`, + cardExpiresText: `expira`, + addPaymentMethodLabel: `Adicione uma nova forma de pagamento`, + cardHolderNameRequiredText: `Nome do titular do cartão obrigatório`, + deletePaymentMethod : "", walletDisclaimer: `Os detalhes da carteira serão salvos após a seleção`, +} diff --git a/shared-code/LocaleStrings/RussianLocale.res b/shared-code/LocaleStrings/RussianLocale.res new file mode 100644 index 0000000..f9ccc83 --- /dev/null +++ b/shared-code/LocaleStrings/RussianLocale.res @@ -0,0 +1,171 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `ru`, + localeDirection: `ltr`, + cardNumberLabel: `Номер карты`, + inValidCardErrorText: `Номер карты недействителен.`, + inCompleteCVCErrorText: `Неправильно указан код безопасности карты.`, + inCompleteExpiryErrorText: `Неправильно указан срок действия карты.`, + pastExpiryErrorText: `Год истечения срока действия карты в прошлом.`, + poweredBy: `Работает на Hyperswitch`, + validThruText: `Окончание действия`, + sortCodeText: `Номер отделения банка`, + cvcTextLabel: `CVC`, + line1Label: `Адресная строка 1`, + line1Placeholder: `Улица`, + line2Label: `Адресная строка 2`, + line2Placeholder: `Квартира, номер блока и т. д. (необязательно)`, + cityLabel: `Город`, + postalCodeLabel: `Почтовый индекс`, + stateLabel: `Область`, + accountNumberText: `Номер счета`, + emailLabel: `Электронная почта`, + fullNameLabel: `Ф.И.О.`, + fullNamePlaceholder: `Имя и фамилия`, + countryLabel: `Страна`, + currencyLabel: `Валюта`, + bankLabel: `Выберите банк`, + redirectText: `После оформления заказа вы будете перенаправлены на другую страницу для безопасного завершения покупки.`, + bankDetailsText: `После ввода этих данных вы получите банковские реквизиты для совершения платежа. Обязательно запишите их.`, + orPayUsing: `Или оплатить с помощью`, + addNewCard: `Добавить кредитную/дебетовую карту`, + useExisitingSavedCards: `Использовать сохраненные дебетовые/кредитные карты`, + saveCardDetails: `Сохранить данные карты`, + addBankAccount: `Добавить банковский счет`, + achBankDebitTerms: str => + `Предоставляя номер своего счета и подтверждая этот платеж, вы уполномочиваете ${str} и Hyperswitch, нашего поставщика платежных услуг, отправить инструкции в ваш банк для списания средств с вашего счета, а ваш банк — списать средства с вашего счета в соответствии с этими инструкциями. Вы имеете право на возврат средств от своего банка в соответствии с условиями вашего договора с банком. Заявление на возврат средств должно быть подано в течение 8 недель, начиная с даты списания средств с вашего счета.`, + sepaDebitTerms: str => + `Предоставляя вашу платежную информацию и подтверждая эту форму мандата, вы уполномочиваете (А) ${str}, Кредитора и/или наших поставщиков платежных услуг направить инструкции в ваш банк для дебетования вашего счета и (Б) ваш банк дебетовать ваш счет в соответствии с инструкциями от ${str}. В рамках ваших прав вы имеете право на возврат средств от вашего банка в соответствии с условиями соглашения с вашим банком. Запрос на возврат должен быть подан в течение 8 недель с даты дебетования вашего счета. Ваши права объясняются в заявлении, которое вы можете получить в вашем банке.`, + becsDebitTerms: `Предоставляя свои банковские реквизиты и подтверждая этот платеж, вы соглашаетесь с настоящим Запросом на прямое дебетование и соглашением об услуге Запроса на прямое дебетование и уполномочиваете Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 («Hyperswitch») списать средства с вашего счета через Систему массовых электронных расчетов (BECS) от имени Платежного виджета Hyperswitch («Продавец») на любые суммы, отдельно сообщенные вам Продавцом. Вы подтверждаете, что являетесь владельцем счета или уполномоченным лицом с правом подписи по указанному выше счету.`, + cardTerms: str => + `Предоставляя данные своей карты, вы позволяете компании ${str} списать средства с вашей карты для будущих платежей в соответствии с ее условиями.`, + payNowButton: `Оплатить сейчас`, + cardNumberEmptyText: `Необходимо указать номер карты`, + cardExpiryDateEmptyText: `Необходимо указать дату окончания срока действия карты`, + cvcNumberEmptyText: `Необходимо указать номер CVC`, + enterFieldsText: `Заполните все поля`, + enterValidDetailsText: `Введите действительные данные`, + card: `Карта`, + billingNameLabel: `Имя плательщика`, + cardHolderName: `Имя держателя карты`, + cardNickname: `Прозвище карты`, + billingNamePlaceholder: `Имя и фамилия`, + emailEmptyText: `Электронная почта не может быть пустой`, + emailInvalidText: `Неверный адрес электронной почты`, + line1EmptyText: `Адресная строка 1 не может быть пустой.`, + line2EmptyText: `Адресная строка 2 не может быть пустой.`, + cityEmptyText: `Город не может быть пустым`, + postalCodeEmptyText: `Почтовый индекс не может быть пустым`, + postalCodeInvalidText: `Неверный почтовый индекс`, + stateEmptyText: `Штат не может быть пустым`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Дополнительная сумма в размере${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({ + `${SharedUtils.nbsp}будет применено к этой транзакции` + })} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Сумма доплаты до${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string( + `${SharedUtils.nbsp}будет применено к этой транзакции`, + )} + , + surchargeMsgAmountForOneClickWallets: `Возможна дополнительная плата`, + on: `на`, + \"and": `и`, + nameEmptyText: str => `Пожалуйста, предоставьте свой ${str}`, + completeNameEmptyText: str => + `Пожалуйста, предоставьте полную ${str}`, + billingDetailsText: `Платежные реквизиты`, + socialSecurityNumberLabel: `Номер социального страхования`, + saveWalletDetails: `Данные кошельков будут сохранены после выбора.`, + morePaymentMethods: `Больше способов оплаты`, + useExistingPaymentMethods: `Используйте сохраненные способы оплаты`, + nicknamePlaceholder: `Псевдоним карты (необязательно)`, + selectPaymentMethodText: `Пожалуйста, выберите способ оплаты и повторите попытку.`, + cardExpiredText: `Эта карта истекла`, + cardHeader: `Информация о карте`, + cardBrandConfiguredErrorText: str => + `${str} в данный момент не поддерживается.`, + currencyNetwork: `Валютные сети`, + expiryPlaceholder: `MM / ГГ`, + dateOfBirth: `Дата рождения`, + vpaIdLabel: `Идентификатор ВПА`, + vpaIdEmptyText: `Идентификатор VPA не может быть пустым.`, + vpaIdInvalidText: `Неверный идентификатор VPA`, + dateofBirthRequiredText: `Дата рождения обязательна`, + dateOfBirthInvalidText: `Возраст должен быть не меньше 18 лет`, + dateOfBirthPlaceholderText: `Введите дату рождения`, + formFundsInfoText: `Средства будут зачислены на этот счет`, + formFundsCreditInfoText: pmLabel => + `Ваши средства будут зачислены на выбранный ${pmLabel}.`, + formEditText: `Редактировать`, + formSaveText: `Сохранить`, + formSubmitText: `Отправить`, + formSubmittingText: `Отправка`, + formSubheaderBillingDetailsText: `Введите ваш адрес для выставления счета`, + formSubheaderCardText: `Данные вашей карты`, + formSubheaderAccountText: pmLabel => `Ваш ${pmLabel}`, + formHeaderReviewText: `Обзор`, + formHeaderReviewTabLayoutText: pmLabel => + `Просмотрите данные вашего ${pmLabel}`, + formHeaderBankText: bankTransferType => + `Введите банковские данные ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Введите данные кошелька ${walletTransferType}`, + formHeaderEnterCardText: `Введите данные карты`, + formHeaderSelectBankText: `Выберите метод банка`, + formHeaderSelectWalletText: `Выберите кошелек`, + formHeaderSelectAccountText: `Выберите счет для выплат`, + formFieldACHRoutingNumberLabel: `Маршрутный номер`, + formFieldSepaIbanLabel: `Международный номер банковского счета (IBAN)`, + formFieldSepaBicLabel: `Банковский идентификационный код (опционально)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Номер банковского счета`, + formFieldPhoneNumberLabel: `Номер телефона`, + formFieldCountryCodeLabel: `Код страны (опционально)`, + formFieldBankNameLabel: `Название банка (опционально)`, + formFieldBankCityLabel: `Город банка (опционально)`, + formFieldCardHoldernamePlaceholder: `Ваше имя`, + formFieldBankNamePlaceholder: `Название банка`, + formFieldBankCityPlaceholder: `Город банка`, + formFieldEmailPlaceholder: `Ваш e-mail`, + formFieldPhoneNumberPlaceholder: `Ваш телефон`, + formFieldInvalidRoutingNumber: `Неверный маршрутный номер.`, + infoCardRefId: `Идентификатор ссылки`, + infoCardErrCode: `Код ошибки`, + infoCardErrMsg: `Сообщение об ошибке`, + infoCardErrReason: `Причина`, + linkRedirectionText: seconds => + `Перенаправление через ${seconds->Int.toString} секунд ...`, + linkExpiryInfo: expiry => `Ссылка истекает: ${expiry}`, + payoutFromText: merchant => `Выплата от ${merchant}`, + payoutStatusFailedMessage: `Не удалось обработать ваш платеж. Пожалуйста, свяжитесь с вашим поставщиком для получения дополнительной информации.`, + payoutStatusPendingMessage: `Ваш платеж должен быть обработан в течение 2-3 рабочих дней.`, + payoutStatusSuccessMessage: `Ваш платеж был успешно выполнен. Средства были зачислены на выбранный вами способ оплаты.`, + payoutStatusFailedText: `Платеж не удался`, + payoutStatusPendingText: `Платеж в процессе`, + payoutStatusSuccessText: `Платеж успешен`, + pixCNPJInvalidText: `Неверный Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ не может быть пустым`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Введите Pix CNPJ`, + pixCPFInvalidText: `Неверный Pix CPF`, + pixCPFEmptyText: `Pix CPF не может быть пустым`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Введите Pix CPF`, + pixKeyEmptyText: `Ключ Pix не может быть пустым`, + pixKeyPlaceholder: `Введите ключ Pix`, + pixKeyLabel: `Ключ Pix`, + cardDetailsLabel: "Детали карты", + firstName: `Имя`, + lastName: `Фамилия`, + billingDetails: `Платежные реквизиты`, + requiredText: `Необходимый`, + lastNameRequiredText: `Требуется фамилия`, + cardExpiresText: `истекает`, + addPaymentMethodLabel: ` Добавить новый способ оплаты`, + cardHolderNameRequiredText: `Требуется имя держателя карты`, + walletDisclaimer: `Данные кошелька будут сохранены после выбора`, + deletePaymentMethod : ""} diff --git a/shared-code/LocaleStrings/SlovakLocale.res b/shared-code/LocaleStrings/SlovakLocale.res new file mode 100644 index 0000000..c0180b4 --- /dev/null +++ b/shared-code/LocaleStrings/SlovakLocale.res @@ -0,0 +1,150 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "sk", + localeDirection: "ltr", + cardDetailsLabel: "Detaily karty", + cardNumberLabel: "Číslo karty", + inValidCardErrorText: "Číslo karty je neplatné.", + inCompleteCVCErrorText: "Bezpečnostný kód vašej karty je neúplný.", + inCompleteExpiryErrorText: "Dátum vypršania platnosti vašej karty je neúplný.", + pastExpiryErrorText: "Rok vypršania platnosti vašej karty je v minulosti.", + poweredBy: "Využíva službu Hyperswitch", + validThruText: "Ukončenie platnosti", + sortCodeText: "Kód banky", + cvcTextLabel: "CVC", + line1Label: "Adresa, 1. riadok", + line1Placeholder: "Ulica", + line1EmptyText: `Adresa 1 nemôže byť prázdny`, + line2Label: "Adresa, 2. riadok", + line2Placeholder: "Byt, číslo jednotky atď. (nepovinné)", + cityLabel: "Obec", + cityEmptyText: `Mesto nemôže byť prázdne`, + postalCodeLabel: "PSČ", + postalCodeEmptyText: `Poštový kód nemôže byť prázdny`, + stateLabel: "Štát", + accountNumberText: "Číslo účtu", + emailLabel: "E-mail", + emailInvalidText: `neplatná emailová adresa`, + emailEmptyText: `E-mail nemôže byť prázdny`, + fullNameLabel: "Celé meno", + fullNamePlaceholder: "Meno a priezvisko", + countryLabel: "Krajina", + currencyLabel: "Mena", + bankLabel: "Vyberte banku", + redirectText: "Po odoslaní objednávky vás presmerujeme na bezpečné dokončenie nákupu.", + bankDetailsText: "Po odoslaní týchto údajov dostanete údaje o bankovom účte, na ktorý by ste mali poslať platbu. Nezabudnite si ich poznamenať.", + orPayUsing: "Alebo zaplaťte pomocou", + addNewCard: "Pridať kreditnú/debetnú kartu", + useExisitingSavedCards: "Použiť uložené debetné/kreditné karty", + saveCardDetails: "Uložiť údaje o karte", + addBankAccount: "Pridať bankový účet", + achBankDebitTerms: str => + `Poskytnutím čísla účtu a potvrdením tejto platby oprávňujete spoločnosť ${str} a nášho poskytovateľa platobných služieb Hyperswitch poslať vašej banke príkaz na inkaso a banku toto inkaso naúčtovať na váš účet v súlade s týmto príkazom. Máte nárok na vrátenie peňazí od banky podľa podmienok zmluvy, ktorú ste s bankou uzavreli. O vrátenie peňazí musíte požiadať do 8 týždňov od dátumu naúčtovania sumy na váš účet.`, + sepaDebitTerms: str => + `Poskytnutím platobných údajov a potvrdením tejto platby oprávňujete (A) spoločnosť ${str} a nášho poskytovateľa platobných služieb Hyperswitch a/alebo spoločnosť PPRO, jej miestneho poskytovateľa služieb, poslať vašej banke príkaz na inkaso; a (B) banku toto inkaso naúčtovať na váš účet v súlade s týmto príkazom. Ako súčasť svojich práv máte nárok na vrátenie peňazí od banky podľa podmienok zmluvy, ktorú ste s bankou uzavreli. O vrátenie peňazí musíte požiadať do 8 týždňov od dátumu naúčtovania sumy na váš účet. Vaše práva sú vysvetlené vo vyhlásení, ktoré môžete získať od svojej banky. Súhlasíte s tým, že budete dostávať oznámenia o budúcich príkazoch na inkaso až 2 dni pred ich uskutočnením.`, + becsDebitTerms: "Poskytnutím údajov o bankovom účte a potvrdením tejto platby súhlasíte s týmto príkazom na priame inkaso a zmluvou o poskytovaní služieb priameho inkasa. Zároveň povoľujete spoločnosti Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 s identifikátorom používateľa priameho inkasa 507156 (ďalej len „Hyperswitch“) naúčtovať na váš účet prostredníctvom systému hromadného elektronického zúčtovania (BECS) v prospech platobnej miniaplikácie Hyperswitch (ďalej len „obchodník“) ľubovoľnú sumu, ktoré vám obchodník oznámi. Potvrdzujete, že ste vlastníkom alebo oprávneným signatárom účtu uvedeného vyššie.", + cardTerms: str => + `Poskytnutím údajov o karte povoľujete spoločnosti ${str} účtovať budúce platby na kartu v súlade s jej podmienkami.`, + payNowButton: "Zaplatiť teraz", + cardNumberEmptyText: "Číslo karty nemôže byť prázdne", + cardExpiryDateEmptyText: "Dátum vypršania platnosti karty nemôže byť prázdny", + cvcNumberEmptyText: "Číslo CVC nemôže byť prázdne", + enterFieldsText: "Vyplňte všetky polia", + enterValidDetailsText: "Zadajte platné údaje", + card: "Karta", + billingNameLabel: "Fakturačné meno", + cardHolderName: "Meno držiteľa karty", + cardNickname: "Prezývka karty", + billingNamePlaceholder: "Meno a priezvisko", + firstName: `Krstné meno`, + lastName: `Priezvisko`, + billingDetails: `fakturačné údaje`, + requiredText: `Požadovaný`, + lastNameRequiredText: `Vyžadované priezvisko`, + cardExpiresText: `vyprší`, + addPaymentMethodLabel: `Pridať nový spôsob platby`, + cardHolderNameRequiredText: `Vyžaduje sa meno držiteľa karty`, + walletDisclaimer: `Podrobnosti o peňaženke sa po výbere uložia`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "",pixKeyLabel :"",pixKeyPlaceholder:"", deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/SpanishLocale.res b/shared-code/LocaleStrings/SpanishLocale.res new file mode 100644 index 0000000..e7182d4 --- /dev/null +++ b/shared-code/LocaleStrings/SpanishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `es`, + localeDirection: `ltr`, + cardNumberLabel: `Número de tarjeta`, + inValidCardErrorText: `El número de la tarjeta no es válido.`, + inCompleteCVCErrorText: `El código de seguridad de su tarjeta está incompleto.`, + inCompleteExpiryErrorText: `La fecha de vencimiento de su tarjeta está incompleta.`, + pastExpiryErrorText: `El año de vencimiento de su tarjeta ya ha pasado.`, + poweredBy: `Desarrollado por Hyperswitch`, + validThruText: `Vencimiento`, + sortCodeText: `Código Sort`, + cvcTextLabel: `CVV`, + line1Label: `Línea de dirección 1`, + line1Placeholder: `Dirección postal`, + line2Label: `Línea de dirección 2`, + line2Placeholder: `Piso, número de departamento, etc. (opcional)`, + cityLabel: `Ciudad`, + postalCodeLabel: `Código postal`, + stateLabel: `Provincia/estado`, + accountNumberText: `Número de cuenta`, + emailLabel: `Correo electrónico`, + fullNameLabel: `Nombre completo`, + fullNamePlaceholder: `Nombre y apellidos`, + countryLabel: `País`, + currencyLabel: `Moneda`, + bankLabel: `Seleccionar banco`, + redirectText: `Después de enviar su pedido, se le redirigirá para que complete su compra de forma segura.`, + bankDetailsText: `Después de enviar estos datos, obtendrá la información de la cuenta bancaria para realizar el pago. Asegúrese de anotarla.`, + orPayUsing: `O pague con`, + addNewCard: `Añadir tarjeta de crédito/débito`, + useExisitingSavedCards: `Utilizar las tarjetas de débito/crédito guardadas`, + saveCardDetails: `Guardar la información de la tarjeta`, + addBankAccount: `Añadir cuenta bancaria`, + achBankDebitTerms: str => + `Al proporcionar su número de cuenta y confirmar este pago, autoriza a ${str} y Hyperswitch, nuestro proveedor de servicios de pago, a enviar órdenes a su banco para que aplique cargos en su cuenta y para que realice los correspondientes adeudos en la misma de acuerdo con dichas órdenes. Tiene derecho a recibir un reembolso de su banco de acuerdo con las condiciones del contrato suscrito. El reembolso debe reclamarse en un plazo de 8 semanas desde la fecha en la que se aplicó el cargo en su cuenta.`, + sepaDebitTerms: str => + `Al proporcionar su información de pago y confirmar este formulario de mandato, autoriza (A) a ${str}, el Acreedor y/o nuestros proveedores de servicios de pago a enviar instrucciones a su banco para debitar su cuenta y (B) a su banco a debitar su cuenta de acuerdo con las instrucciones de ${str}. Como parte de sus derechos, tiene derecho a un reembolso de su banco según los términos y condiciones de su acuerdo con su banco. El reembolso debe solicitarse dentro de las 8 semanas siguientes a la fecha en que se debitó su cuenta. Sus derechos se explican en un documento que puede obtener en su banco.`, + becsDebitTerms: `Al proporcionar los datos de su cuenta bancaria y confirmar este pago, acepta esta solicitud de domiciliación bancaria y el acuerdo de servicio para la misma. Además, autoriza a Hyperswitch Payments Australia Pty Ltd ACN 160 180 343, número de identificación de usuario de domiciliación bancaria 507156 («Hyperswitch»), a realizar adeudos en su cuenta a través del sistema de compensación electrónica masiva (BECS) en nombre de Hyperswitch Payment Widget (el «comercio») por cualquier importe que el comercio le comunique individualmente. Certifica que es titular de una cuenta o un firmante autorizado en la cuenta indicada anteriormente.`, + cardTerms: str => + `Al proporcionar la información de su tarjeta, permite a ${str} que realice cargos en su tarjeta para futuros pagos de acuerdo con sus términos.`, + payNowButton: `Pagar ahora`, + cardNumberEmptyText: `El número de la tarjeta no puede estar vacío`, + cardExpiryDateEmptyText: `La fecha de vencimiento de la tarjeta no puede estar vacía`, + cvcNumberEmptyText: `El número CVV no puede estar vacío`, + enterFieldsText: `Rellene todos los campos`, + enterValidDetailsText: `Introduzca datos válidos`, + card: `Tarjeta`, + billingNameLabel: `Nombre de facturación`, + cardHolderName: `Nombre del titular de la tarjeta`, + cardNickname: `Apodo de la tarjeta`, + billingNamePlaceholder: `Nombre y apellido`, + emailEmptyText: `El correo electrónico no puede estar vacío.`, + emailInvalidText: `Dirección de correo electrónico no válida`, + line1EmptyText: `La línea de dirección 1 no puede estar vacía`, + line2EmptyText: `La línea de dirección 2 no puede estar vacía`, + cityEmptyText: `La ciudad no puede estar vacía.`, + postalCodeEmptyText: `El código postal no puede estar vacío.`, + postalCodeInvalidText: `código postal no válido`, + stateEmptyText: `El estado no puede estar vacío.`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`un monto de recargo de${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}se aplicará para esta transacción`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Un monto de recargo de hasta${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}se aplicará para esta transacción`)} + , + surchargeMsgAmountForOneClickWallets: `Tarifa adicional aplicable`, + on: `en`, + \"and": `y`, + nameEmptyText: str => `Por favor proporcione su ${str}`, + completeNameEmptyText: str => `Por favor proporcione su completo ${str}`, + billingDetailsText: `Detalles de facturación`, + socialSecurityNumberLabel: `Número de seguro social`, + saveWalletDetails: `Los detalles de las billeteras se guardarán al realizar la selección.`, + morePaymentMethods: `Más métodos de pago`, + useExistingPaymentMethods: `Utilice métodos de pago guardados`, + nicknamePlaceholder: `Apodo de la tarjeta (opcional)`, + selectPaymentMethodText: `Por favor seleccione un método de pago y vuelva a intentarlo`, + cardExpiredText: `Esta tarjeta ha caducado`, + cardHeader: `Información de la tarjeta`, + cardBrandConfiguredErrorText: str => `${str} no está soportado en este momento.`, + currencyNetwork: `Redes de Divisas`, + expiryPlaceholder: `MM / AA`, + dateOfBirth: `Fecha de nacimiento`, + vpaIdLabel: `Identificación de Vpa`, + vpaIdEmptyText: `El ID de Vpa no puede estar vacío`, + vpaIdInvalidText: `ID de Vpa no válido`, + dateofBirthRequiredText: `Se requiere la fecha de nacimiento`, + dateOfBirthInvalidText: `La edad debe ser mayor o igual a 18 años`, + dateOfBirthPlaceholderText: `Introduzca la fecha de nacimiento`, + formFundsInfoText: `Los fondos se acreditarán en esta cuenta`, + formFundsCreditInfoText: pmLabel => `Tus fondos se acreditarán en el ${pmLabel} seleccionado.`, + formEditText: `Editar`, + formSaveText: `Guardar`, + formSubmitText: `Enviar`, + formSubmittingText: `Enviando`, + formSubheaderBillingDetailsText: `Ingrese su dirección de facturación`, + formSubheaderCardText: `Detalles de tu tarjeta`, + formSubheaderAccountText: pmLabel => `Tu ${pmLabel}`, + formHeaderReviewText: `Revisar`, + formHeaderReviewTabLayoutText: pmLabel => `Revisa los detalles de tu ${pmLabel}`, + formHeaderBankText: bankTransferType => `Ingresa los detalles bancarios de ${bankTransferType}`, + formHeaderWalletText: walletTransferType => + `Ingresa los detalles de la billetera ${walletTransferType}`, + formHeaderEnterCardText: `Ingresa los detalles de la tarjeta`, + formHeaderSelectBankText: `Selecciona un método bancario`, + formHeaderSelectWalletText: `Selecciona una billetera`, + formHeaderSelectAccountText: `Selecciona una cuenta para pagos`, + formFieldACHRoutingNumberLabel: `Número de enrutamiento`, + formFieldSepaIbanLabel: `Número Internacional de Cuenta Bancaria (IBAN)`, + formFieldSepaBicLabel: `Código de Identificación Bancaria (opcional)`, + formFieldPixIdLabel: `ID Pix`, + formFieldBankAccountNumberLabel: `Número de cuenta bancaria`, + formFieldPhoneNumberLabel: `Número de teléfono`, + formFieldCountryCodeLabel: `Código de país (opcional)`, + formFieldBankNameLabel: `Nombre del banco (opcional)`, + formFieldBankCityLabel: `Ciudad del banco (opcional)`, + formFieldCardHoldernamePlaceholder: `Tu nombre`, + formFieldBankNamePlaceholder: `Nombre del banco`, + formFieldBankCityPlaceholder: `Ciudad del banco`, + formFieldEmailPlaceholder: `Tu correo electrónico`, + formFieldPhoneNumberPlaceholder: `Tu teléfono`, + formFieldInvalidRoutingNumber: `Número de enrutamiento no válido.`, + infoCardRefId: `ID de referencia`, + infoCardErrCode: `Código de error`, + infoCardErrMsg: `Mensaje de error`, + infoCardErrReason: `Razón`, + linkRedirectionText: seconds => `Redireccionando en ${seconds->Int.toString} segundos ...`, + linkExpiryInfo: expiry => `Enlace expira en: ${expiry}`, + payoutFromText: merchant => `Pago de ${merchant}`, + payoutStatusFailedMessage: `No se pudo procesar tu pago. Verifica con tu proveedor para más detalles.`, + payoutStatusPendingMessage: `Tu pago debería ser procesado en 2-3 días hábiles.`, + payoutStatusSuccessMessage: `Tu pago se completó exitosamente. Los fondos se han depositado en el método de pago seleccionado.`, + payoutStatusFailedText: `Pago fallido`, + payoutStatusPendingText: `Pago pendiente`, + payoutStatusSuccessText: `Pago exitoso`, + pixCNPJInvalidText: `CNPJ Pix inválido`, + pixCNPJEmptyText: `El CNPJ Pix no puede estar vacío`, + pixCNPJLabel: `CNPJ Pix`, + pixCNPJPlaceholder: `Introduce el CNPJ Pix`, + pixCPFInvalidText: `CPF Pix inválido`, + pixCPFEmptyText: `El CPF Pix no puede estar vacío`, + pixCPFLabel: `CPF Pix`, + pixCPFPlaceholder: `Introduce el CPF Pix`, + pixKeyEmptyText: `La clave Pix no puede estar vacía`, + pixKeyPlaceholder: `Introduce la clave Pix`, + pixKeyLabel: `Clave Pix`, + cardDetailsLabel: "Detalles de la tarjeta", + firstName: "Nom", + lastName: "Cognom", + billingDetails: `Detalls de facturació`, + requiredText: `Requerit`, + lastNameRequiredText: `Cognom necessari`, + cardExpiresText: `caduca`, + addPaymentMethodLabel: `Afegir un nou mètode de pagament`, + cardHolderNameRequiredText: `Cal el nom del titular de la targeta`, + walletDisclaimer: `Els detalls de la cartera es desaran en seleccionar-lo`, + deletePaymentMethod : ""} diff --git a/shared-code/LocaleStrings/SwedishLocale.res b/shared-code/LocaleStrings/SwedishLocale.res new file mode 100644 index 0000000..dfe04d9 --- /dev/null +++ b/shared-code/LocaleStrings/SwedishLocale.res @@ -0,0 +1,161 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: `sv`, + localeDirection: `ltr`, + cardNumberLabel: `Kortnummer`, + inValidCardErrorText: `Kortnumret är ogiltigt.`, + inCompleteCVCErrorText: `Kortets säkerhetskod är ofullständig.`, + inCompleteExpiryErrorText: `Kortets utgångsdatum är ofullständigt.`, + pastExpiryErrorText: `Kortets utgångsår är i det förflutna.`, + poweredBy: `Drivs av Hyperswitch`, + validThruText: `Utgångsdatum`, + sortCodeText: `Sorteringskod`, + cvcTextLabel: `CVC`, + line1Label: `Adressrad 1`, + line1Placeholder: `Gatuadress`, + line2Label: `Adressrad 2`, + line2Placeholder: `Lägenhetsnummer osv. (valfritt)`, + cityLabel: `Ort`, + postalCodeLabel: `Postnummer`, + stateLabel: `Region`, + accountNumberText: `Kontonummer`, + emailLabel: `E-postadress`, + fullNameLabel: `Fullständigt namn`, + fullNamePlaceholder: `För- och efternamn`, + countryLabel: `Land`, + currencyLabel: `Valuta`, + bankLabel: `Välj bank`, + redirectText: `När du har skickat in din beställning kommer du att omdirigeras för att säkert slutföra ditt köp.`, + bankDetailsText: `När du har skickat in dessa uppgifter får du bankkontoinformation för att göra betalningen. Se till att komma ihåg den.`, + orPayUsing: `Eller betala med`, + addNewCard: `Lägg till kredit-/betalkort`, + useExisitingSavedCards: `Använd sparade betal-/kreditkort`, + saveCardDetails: `Spara kortuppgifter`, + addBankAccount: `Lägg till bankkonto`, + achBankDebitTerms: str => + `Genom att ange ditt kontonummer och bekräfta denna betalning godkänner du att ${str} och Hyperswitch, vår betaltjänstleverantör, skickar instruktioner till din bank att debitera ditt konto och att din bank debiterar ditt konto i enlighet med dessa instruktioner. Du har rätt till återbetalning från din bank enligt villkoren i ditt avtal med din bank. En återbetalning måste begäras inom 8 veckor från det datum då ditt konto debiterades.`, + sepaDebitTerms: str => + `Genom att lämna din betalningsinformation och bekräfta detta mandatformulär, godkänner du (A) ${str}, borgenären och/eller våra betaltjänstleverantörer att skicka instruktioner till din bank för att debitera ditt konto och (B) din bank att debitera ditt konto enligt instruktioner från ${str}. Som en del av dina rättigheter har du rätt till återbetalning från din bank enligt villkoren i ditt avtal med din bank. Återbetalning måste begäras inom 8 veckor från det datum då ditt konto debiterades. Dina rättigheter förklaras i ett uttalande som du kan få från din bank.`, + becsDebitTerms: "Genom att ange dina bankkontouppgifter och bekräfta denna betalning godkänner du denna autogirering och serviceavtalet för autogirering och godkänner att Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 med användar-ID för direktdebitering 507156 ( \"Hyperswitch\") debiterar ditt konto via Bulk Electronic Clearing System (BECS) på uppdrag av Hyperswitch Payment Widget (\"Handlaren\") för eventuella belopp som separat meddelats dig av Handlaren. Du intygar att du antingen är kontoinnehavare eller behörig undertecknare för kontot som anges ovan.", + cardTerms: str => + `Genom att ange din kortinformation tillåter du att ${str} debiterar ditt kort för framtida betalningar i enlighet med deras villkor.`, + payNowButton: `Betala nu`, + cardNumberEmptyText: `Kortnummer får inte vara tomt`, + cardExpiryDateEmptyText: `Kortets utgångsdatum får inte vara tomt`, + cvcNumberEmptyText: `CVC-nummer får inte vara tomt`, + enterFieldsText: `Fyll i samtliga fält`, + enterValidDetailsText: `Ange giltiga uppgifter`, + card: `Kort`, + billingNameLabel: `Faktureringsnamn`, + cardHolderName: `Korthållarens namn`, + cardNickname: `Kortets smeknamn`, + billingNamePlaceholder: `Förnamn och efternamn`, + emailEmptyText: `E-post får inte vara tom`, + emailInvalidText: `Ogiltig e-postadress`, + line1EmptyText: `Adressrad 1 får inte vara tom`, + line2EmptyText: `Adressrad 2 får inte vara tom`, + cityEmptyText: `Staden får inte vara tom`, + postalCodeEmptyText: `Postnummer får inte vara tomt`, + postalCodeInvalidText: `Ogiltigt postnummer`, + stateEmptyText: `Staten får inte vara tom`, + surchargeMsgAmount: (currency, str) => <> + {React.string(`Ett tilläggsbelopp på${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string({`${SharedUtils.nbsp}kommer att tillämpas för denna transaktion`})} + , + surchargeMsgAmountForCard: (currency, str) => <> + {React.string(`Ett tilläggsbelopp på upp till${SharedUtils.nbsp}`)} + {React.string(`${currency} ${str}`)} + {React.string(`${SharedUtils.nbsp}kommer att tillämpas för denna transaktion`)} + , + surchargeMsgAmountForOneClickWallets: "Tilläggsavgift tillkommer", + on: `på`, + \"and": "och", + nameEmptyText: str => `Vänligen ange din ${str}`, + completeNameEmptyText: str => `Vänligen ange din fullständiga ${str}`, + billingDetailsText: `Faktureringsuppgifter`, + socialSecurityNumberLabel: `Personnummer`, + saveWalletDetails: `Information om plånböcker kommer att sparas vid val`, + morePaymentMethods: `Fler betalningsmetoder`, + useExistingPaymentMethods: `Använd sparade betalningsmetoder`, + nicknamePlaceholder: `Kortets smeknamn (valfritt)`, + selectPaymentMethodText: `Välj en betalningsmetod och försök igen`, + cardExpiredText: `Detta kort har gått ut`, + cardHeader: `Kortinformation`, + cardBrandConfiguredErrorText: str => `${str} stöds inte för tillfället.`, + currencyNetwork: `Valutanätverk`, + expiryPlaceholder: `MM / ÅÅ`, + dateOfBirth: `Födelsedatum`, + vpaIdLabel: `Vpa-id`, + vpaIdEmptyText: `Vpa-id får inte vara tomt`, + vpaIdInvalidText: `Ogiltigt Vpa-ID`, + dateofBirthRequiredText: `Födelsedatum krävs`, + dateOfBirthInvalidText: `Åldern bör vara större än eller lika med 18 år`, + dateOfBirthPlaceholderText: `Ange födelsedatum`, + formFundsInfoText: `Medlen kommer att sättas in på detta konto`, + formFundsCreditInfoText: pmLabel => `Dina medel kommer att sättas in på det valda ${pmLabel}.`, + formEditText: `Redigera`, + formSaveText: `Spara`, + formSubmitText: `Skicka`, + formSubmittingText: `Skickar`, + formSubheaderBillingDetailsText: `Ange din faktureringsadress`, + formSubheaderCardText: `Dina kortdetaljer`, + formSubheaderAccountText: pmLabel => `Ditt ${pmLabel}`, + formHeaderReviewText: `Granska`, + formHeaderReviewTabLayoutText: pmLabel => `Granska detaljerna för ditt ${pmLabel}`, + formHeaderBankText: bankTransferType => `Ange bankdetaljer för ${bankTransferType}`, + formHeaderWalletText: walletTransferType => `Ange plånboksdetaljer för ${walletTransferType}`, + formHeaderEnterCardText: `Ange kortdetaljer`, + formHeaderSelectBankText: `Välj bankmetod`, + formHeaderSelectWalletText: `Välj plånbok`, + formHeaderSelectAccountText: `Välj ett konto för betalningar`, + formFieldACHRoutingNumberLabel: `Routingnummer`, + formFieldSepaIbanLabel: `Internationellt bankkontonummer (IBAN)`, + formFieldSepaBicLabel: `Bankidentifieringskod (valfritt)`, + formFieldPixIdLabel: `Pix ID`, + formFieldBankAccountNumberLabel: `Bankkontonummer`, + formFieldPhoneNumberLabel: `Telefonnummer`, + formFieldCountryCodeLabel: `Landskod (valfritt)`, + formFieldBankNameLabel: `Banknamn (valfritt)`, + formFieldBankCityLabel: `Bankstad (valfritt)`, + formFieldCardHoldernamePlaceholder: `Ditt namn`, + formFieldBankNamePlaceholder: `Banknamn`, + formFieldBankCityPlaceholder: `Bankstad`, + formFieldEmailPlaceholder: `Din e-post`, + formFieldPhoneNumberPlaceholder: `Ditt telefonnummer`, + formFieldInvalidRoutingNumber: `Ogiltigt routingnummer.`, + infoCardRefId: `Referens-ID`, + infoCardErrCode: `Felkod`, + infoCardErrMsg: `Felmeddelande`, + infoCardErrReason: `Orsak`, + linkRedirectionText: seconds => `Ompekning om ${seconds->Int.toString} sekunder ...`, + linkExpiryInfo: expiry => `Länken går ut: ${expiry}`, + payoutFromText: merchant => `Utbetalning från ${merchant}`, + payoutStatusFailedMessage: `Det gick inte att behandla din betalning. Kontakta din leverantör för mer information.`, + payoutStatusPendingMessage: `Din betalning bör behandlas inom 2-3 arbetsdagar.`, + payoutStatusSuccessMessage: `Din betalning har slutförts framgångsrikt. Medlen har satts in på den valda betalningsmetoden.`, + payoutStatusFailedText: `Betalning misslyckades`, + payoutStatusPendingText: `Betalning under behandling`, + payoutStatusSuccessText: `Betalning lyckad`, + pixCNPJInvalidText: `Ogiltig Pix CNPJ`, + pixCNPJEmptyText: `Pix CNPJ kan inte vara tomt`, + pixCNPJLabel: `Pix CNPJ`, + pixCNPJPlaceholder: `Ange Pix CNPJ`, + pixCPFInvalidText: `Ogiltig Pix CPF`, + pixCPFEmptyText: `Pix CPF kan inte vara tomt`, + pixCPFLabel: `Pix CPF`, + pixCPFPlaceholder: `Ange Pix CPF`, + pixKeyEmptyText: `Pix-nyckel kan inte vara tom`, + pixKeyPlaceholder: `Ange Pix-nyckel`, + pixKeyLabel: `Pix-nyckel`, + cardDetailsLabel: "Kortdetaljer", + firstName: `Förnamn`, + lastName: "Efternamn", + billingDetails: `Faktureringsuppgifter`, + requiredText: `Nödvändig`, + lastNameRequiredText: `Efternamn krävs`, + cardExpiresText: `går ut`, + addPaymentMethodLabel: `Lägg till ny betalningsmetod`, + cardHolderNameRequiredText: `Naam van de kaarthouder vereist`, + walletDisclaimer: `Information om plånboken sparas vid val`, + deletePaymentMethod : "" +} diff --git a/shared-code/LocaleStrings/TurkishLocale.res b/shared-code/LocaleStrings/TurkishLocale.res new file mode 100644 index 0000000..4023570 --- /dev/null +++ b/shared-code/LocaleStrings/TurkishLocale.res @@ -0,0 +1,153 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "tr-CY", + localeDirection: "soldan sağa", + cardDetailsLabel: "Kart Detayları", + cardNumberLabel: "Kart Numarası", + inValidCardErrorText: "Kart numarası geçersiz.", + inCompleteCVCErrorText: "Kartınızın güvenlik kodu eksik.", + inCompleteExpiryErrorText: "Kartınızın son kullanma tarihi eksik.", + pastExpiryErrorText: "Kartınızın son kullanma tarihi geçmiş.", + poweredBy: "Hyperswitch Tarafından Desteklenmektedir", + validThruText: "Son kullanma tarihi", + sortCodeText: "Banka Kodu", + cvcTextLabel: "CVC", + line1Label: "Adres satırı 1", + line1Placeholder: "Açık adres", + line1EmptyText: `Adres satırı 1 boş olamaz`, + line2Label: "Adres satırı 2", + line2Placeholder: "Apt., daire numarası vb. (isteğe bağlı)", + cityLabel: "Şehir", + cityEmptyText: `Şehir boş olamaz`, + postalCodeLabel: "Posta Kodu", + postalCodeEmptyText: `Posta kodu boş olamaz`, + stateLabel: "Eyalet", + accountNumberText: "Hesap Numarası", + emailLabel: "E-posta", + emailInvalidText: `Geçersiz e-posta adresi`, + emailEmptyText: `E-posta boş olamaz`, + fullNameLabel: "İsim ve soyisim", + fullNamePlaceholder: "Ad ve soyadı", + countryLabel: "Ülke", + currencyLabel: "Para Birimi", + bankLabel: "Banka Seçin", + redirectText: "Siparişinizi verdikten sonra satın alım işlemini güvenle tamamlayabileceğiniz sayfaya yönlendirileceksiniz.", + bankDetailsText: "Bu bilgileri girdikten sonra ödemeyi yapacağınız banka hesap bilgileri verilecek. Lütfen not almayı unutmayın.", + orPayUsing: "Alternatif ödeme yöntemi:", + addNewCard: "Kredi/banka kartı ekle", + useExisitingSavedCards: "Kayıtlı banka/kredi kartını kullanın", + saveCardDetails: "Kart bilgilerini kaydet", + addBankAccount: "Banka hesabı ekle", + achBankDebitTerms: str => + `Hesap numaranızı vererek ve bu ödemeyi onaylayarak, ${str} ve ödeme hizmeti sağlayıcımız olan Hyperswitch'e hesabınızdan para çekilmesi için bankanıza talimat gönderme ve bankanızın da bu talimata uygun olarak hesabınızdan para çekmesi için yetki vermiş olursunuz. Bankanızla yaptığınız sözleşmenin koşullarına bağlı olarak bankanızdan para iadesi alma hakkınız olabilir. Para iadesi, hesabınızdan tahsilatın yapıldığı tarihten itibaren 8 hafta içinde talep edilmelidir.`, + sepaDebitTerms: str => + `Ödeme bilgilerinizi vererek ve bu ödemeyi onaylayarak, (A) ${str} ve ödeme hizmeti sağlayıcımız olan Hyperswitch'e ve/veya yerel hizmet sağlayıcısı PPRO'ya hesabınızdan para çekilmesi için bankanıza talimat gönderme ve (B) bankanıza bu talimatlara uygun olarak hesabınızdan para çekme için yetki vermiş olursunuz. Haklarınız çerçevesinde bankanızla yaptığınız sözleşmenin koşullarına bağlı olarak bankanızdan para iadesi alma hakkınız olabilir. Para iadesi, hesabınızdan tahsilatın yapıldığı tarihten itibaren 8 hafta içinde talep edilmelidir. Haklarınızla ilgili ayrıntıları bankanızdan temin edebileceğiniz hesap özetinde bulabilirsiniz. Gelecekteki ücretlendirmelerde, ücretlendirmenin yapılmasından 2 gün öncesine kadar bildirim almayı kabul edersiniz.`, + becsDebitTerms: "Banka hesap bilgilerinizi vererek ve bu ödemeyi onaylayarak, bu Otomatik Ödeme Talebini ve Otomatik Ödeme hizmet sözleşmesini kabul etmiş ve ACN 160 180 343 Otomatik Ödeme Kullanıcı Kimliği numarası 507156 bilgilerinin geçerli olduğu Hyperswitch Payments Australia Pty Ltd şirketini ( \"Hyperswitch\"), Hyperswitch Payment Widget (\"Satıcı\") adına Toplu Elektronik Takas Sistemi (BECS) aracılığıyla Satıcı tarafından size ayrıca bildirilen tutarlar için hesabınızdan para çekmesi için yetkilendirmiş olursunuz. Yukarıda adı geçen hesabın hesap sahibi veya imza yetkilisi olduğunuzu onaylıyorsunuz.", + cardTerms: str => + `Kart bilgilerinizi vererek ${str} tarafından kendi şartlarına uygun olarak kartınızdan ücret alınmasına izin vermiş olursunuz.`, + payNowButton: "Şimdi Ödeyin", + cardNumberEmptyText: "Kart Numarası boş olamaz", + cardExpiryDateEmptyText: "Kartın son kullanma tarihi boş olamaz", + cvcNumberEmptyText: "CVC Numarası boş olamaz", + enterFieldsText: "Lütfen tüm alanları doldurun", + enterValidDetailsText: "Lütfen geçerli bilgileri girin", + card: "Kart", + billingNameLabel: "Fatura adı", + cardHolderName: "Kart Sahibinin Adı", + cardNickname: "Kart Takma Adı", + billingNamePlaceholder: "Ad ve Soyad", + firstName: `İlk adı`, + lastName: "Soy isim", + billingDetails: `Fatura Detayları`, + requiredText: `Gerekli`, + lastNameRequiredText: `Soyad gerekli`, + cardExpiresText: `süresi doluyor`, + addPaymentMethodLabel: `Yeni ödeme yöntemi ekle`, + cardHolderNameRequiredText: `Kart Sahibinin adı gereklidir`, + walletDisclaimer: `Cüzdan bilgileri seçim sırasında kaydedilecektir`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "", + pixKeyLabel: "", + pixKeyPlaceholder: "", + deletePaymentMethod: "", +} diff --git a/shared-code/LocaleStrings/WelshLocale.res b/shared-code/LocaleStrings/WelshLocale.res new file mode 100644 index 0000000..5451071 --- /dev/null +++ b/shared-code/LocaleStrings/WelshLocale.res @@ -0,0 +1,150 @@ +let localeStrings: LocaleStringTypes.localeStrings = { + locale: "cy", + localeDirection: "ltr", + cardDetailsLabel: "Manylion y Cerdyn", + cardNumberLabel: "Rhif y Cerdyn", + inValidCardErrorText: "Mae rhif y cerdyn yn annilys.", + inCompleteCVCErrorText: "Mae cod diogelwch eich cerdyn yn anghyflawn.", + inCompleteExpiryErrorText: "Mae dyddiad dod i ben eich cerdyn yn anghyflawn.", + pastExpiryErrorText: "Mae blwyddyn dod i ben eich cerdyn yn y gorffennol.", + poweredBy: "Pwerwyd gan Hyperswitch", + validThruText: "Daw i ben", + sortCodeText: "Cod Didoli", + cvcTextLabel: "CVC", + line1Label: "Cyfeiriad llinell 1", + line1Placeholder: "Cyfeiriad stryd", + line1EmptyText: `Ni all llinell cyfeiriad 1 fod yn wag`, + line2Label: "Cyfeiriad llinell 2", + line2Placeholder: "Rhif y fflat, rhif yr uned, ac ati (dewisol)", + cityLabel: "Dinas", + cityEmptyText: `Ni all y ddinas fod yn wag`, + postalCodeLabel: "Cod post", + postalCodeEmptyText: `Ni all cod post fod yn wag`, + stateLabel: "Talaith", + accountNumberText: "Rhif y Cyfrif", + emailLabel: "E-bost", + emailInvalidText: `Cyfeiriad e -bost annilys`, + emailEmptyText: `Ni all e-bost fod yn wag`, + fullNameLabel: "Enw llawn", + fullNamePlaceholder: "Enw cyntaf ac olaf", + countryLabel: "Gwlad", + currencyLabel: "Arian", + bankLabel: "Dewiswch Fanc", + redirectText: "Ar ôl cyflwyno eich archeb, byddwch yn cael eich ailgyfeirio i gwblhau eich pryniant yn ddiogel.", + bankDetailsText: "Ar ôl cyflwyno'r manylion hyn, byddwch yn cael gwybodaeth cyfrif banc i wneud taliad. Gwnewch yn siŵr eich bod yn gwneud nodyn o'r wybodaeth.", + orPayUsing: "Neu talwch gan ddefnyddio", + addNewCard: "Ychwanegwch gerdyn credyd neu ddebyd", + useExisitingSavedCards: "Defnyddiwch gardiau debyd/credyd a gadwyd", + saveCardDetails: "Cadw manylion y cerdyn", + addBankAccount: "Ychwanegwch gyfrif banc", + achBankDebitTerms: str => + `Trwy ddarparu rhif eich cyfrif a chadarnhau'r taliad hwn, rydych yn awdurdodi ${str} a Hyperswitch, ein darparwr gwasanaeth talu, i anfon cyfarwyddiadau i'ch banc i ddebydu eich cyfrif a'ch banc i ddebydu eich cyfrif yn unol â'r cyfarwyddiadau hynny. Mae gennych hawl i ad-daliad gan eich banc o dan delerau ac amodau eich cytundeb â'ch banc. Rhaid hawlio ad-daliad o fewn 8 wythnos gan ddechrau o'r dyddiad y cafodd eich cyfrif ei ddebydu.`, + sepaDebitTerms: str => + `Trwy ddarparu eich gwybodaeth talu a chadarnhau'r taliad hwn, rydych yn awdurdodi (A) ${str} a Hyperswitch, ein darparwr gwasanaeth talu a/neu PPRO, ei ddarparwr gwasanaeth lleol, i anfon cyfarwyddiadau i'ch banc i ddebydu eich cyfrif a (B) eich banc i ddebydu eich cyfrif yn unol â'r cyfarwyddiadau hynny. Mae gennych hawl i ad-daliad gan eich banc o dan delerau ac amodau eich cytundeb â'ch banc. Rhaid hawlio ad-daliad o fewn 8 wythnos gan ddechrau o'r dyddiad y cafodd eich cyfrif ei ddebydu. Mae eich hawliau'n cael eu hesbonio mewn cyfriflen y gallwch ei chael gan eich banc. Rydych yn cytuno i dderbyn hysbysiadau ar gyfer debydau yn y dyfodol hyd at 2 ddiwrnod cyn iddynt ddigwydd.`, + becsDebitTerms: "Trwy ddarparu eich manylion cyfrif banc a chadarnhau'r taliad hwn, rydych yn cytuno i'r Cais Debyd Uniongyrchol hwn a chytundeb gwasanaeth Cais Debyd Uniongyrchol ac yn awdurdodi Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Rhif ID Defnyddiwr Debyd Uniongyrchol 507156 (“Hyperswitch”) i ddebydu eich cyfrif trwy'r System Glirio Electronig Swmp (BECS) ar ran Hyperswitch Payment Widget (y \"Masnachwr\") ar gyfer unrhyw symiau a gyfathrebir ar wahân i chi gan y Masnachwr. Rydych yn ardystio eich bod naill ai'n ddeiliad cyfrif neu'n lofnodwr awdurdodedig ar y cyfrif a restrir uchod.", + cardTerms: str => + `Trwy ddarparu gwybodaeth eich cerdyn, rydych yn caniatáu ${str} i godi tâl ar eich cerdyn am daliadau yn y dyfodol yn unol â'u telerau.`, + payNowButton: "Talu Nawr", + cardNumberEmptyText: "Ni all Rhif y Cerdyn fod yn wag", + cardExpiryDateEmptyText: "Ni all dyddiad dod i ben y cerdyn fod yn wag", + cvcNumberEmptyText: "Ni all y Rhif CVC fod yn wag", + enterFieldsText: "Rhowch bob maes", + enterValidDetailsText: "Rhowch fanylion dilys", + card: "Cerdyn", + billingNameLabel: "Enw bilio", + cardHolderName: "Enw deiliad y card", + cardNickname: "Enw byr y card", + billingNamePlaceholder: "Enw cyntaf a lleddiad", + firstName: `Enw cyntaf`, + lastName: `Enw olaf`, + billingDetails: `Manylion Bilio`, + requiredText: `Yn ofynnol`, + lastNameRequiredText: `Enw olaf Angenrheidiol`, + cardExpiresText: `yn dod i ben`, + addPaymentMethodLabel: ` Ychwanegu dull talu newydd`, + cardHolderNameRequiredText: `Angen enw Deiliad y Cerdyn`, + walletDisclaimer: `Bydd manylion waled yn cael eu cadw wrth ddewis`, + line2EmptyText: "", + postalCodeInvalidText: "", + stateEmptyText: "", + selectPaymentMethodText: "", + surchargeMsgAmount: (_, _) => <> , + surchargeMsgAmountForCard: (_, _) => <> , + surchargeMsgAmountForOneClickWallets: "", + on: "", + \"and": "", + nameEmptyText: _ => "", + completeNameEmptyText: _ => "", + billingDetailsText: "", + socialSecurityNumberLabel: "", + saveWalletDetails: "", + morePaymentMethods: "", + useExistingPaymentMethods: "", + nicknamePlaceholder: "", + cardExpiredText: "", + cardHeader: "", + cardBrandConfiguredErrorText: _ => "", + currencyNetwork: "", + expiryPlaceholder: "", + dateOfBirth: "", + vpaIdLabel: "", + vpaIdEmptyText: "", + vpaIdInvalidText: "", + dateofBirthRequiredText: "", + dateOfBirthInvalidText: "", + dateOfBirthPlaceholderText: "", + formFundsInfoText: "", + formFundsCreditInfoText: _ => "", + formEditText: "", + formSaveText: "", + formSubmitText: "", + formSubmittingText: "", + formSubheaderBillingDetailsText: "", + formSubheaderCardText: "", + formSubheaderAccountText: _ => "", + formHeaderReviewText: "", + formHeaderReviewTabLayoutText: _ => "", + formHeaderBankText: _ => "", + formHeaderWalletText: _ => "", + formHeaderEnterCardText: "", + formHeaderSelectBankText: "", + formHeaderSelectWalletText: "", + formHeaderSelectAccountText: "", + formFieldACHRoutingNumberLabel: "", + formFieldSepaIbanLabel: "", + formFieldSepaBicLabel: "", + formFieldPixIdLabel: "", + formFieldBankAccountNumberLabel: "", + formFieldPhoneNumberLabel: "", + formFieldCountryCodeLabel: "", + formFieldBankNameLabel: "", + formFieldBankCityLabel: "", + formFieldCardHoldernamePlaceholder: "", + formFieldBankNamePlaceholder: "", + formFieldBankCityPlaceholder: "", + formFieldEmailPlaceholder: "", + formFieldPhoneNumberPlaceholder: "", + formFieldInvalidRoutingNumber: "", + infoCardRefId: "", + infoCardErrCode: "", + infoCardErrMsg: "", + infoCardErrReason: "", + linkRedirectionText: _ => "", + linkExpiryInfo: _ => "", + payoutFromText: _ => "", + payoutStatusFailedMessage: "", + payoutStatusPendingMessage: "", + payoutStatusSuccessMessage: "", + payoutStatusFailedText: "", + payoutStatusPendingText: "", + payoutStatusSuccessText: "", + pixCNPJInvalidText: "", + pixCNPJEmptyText: "", + pixCNPJLabel: "", + pixCNPJPlaceholder: "", + pixCPFInvalidText: "", + pixCPFEmptyText: "", + pixCPFLabel: "", + pixCPFPlaceholder: "", + pixKeyEmptyText: "",pixKeyLabel:"", pixKeyPlaceholder:"",deletePaymentMethod : "" +} diff --git a/shared-code/Utils/SharedUtils.res b/shared-code/Utils/SharedUtils.res new file mode 100644 index 0000000..bce4bbd --- /dev/null +++ b/shared-code/Utils/SharedUtils.res @@ -0,0 +1 @@ +let nbsp = "\u00A0"; \ No newline at end of file diff --git a/src/hooks/GetLocale.res b/src/hooks/GetLocale.res index 90d9fb9..56f4b64 100644 --- a/src/hooks/GetLocale.res +++ b/src/hooks/GetLocale.res @@ -1,36 +1,5 @@ let useGetLocalObj = () => { let (nativeProp, _) = React.useContext(NativePropContext.nativePropContext) - switch nativeProp.configuration.appearance.locale->Option.getOr(En) { - | En => EnglishLocale.localeStrings - | He => HebrewLocale.localeStrings - | Fr => FrenchLocale.localeStrings - | En_GB => EnglishGBLocale.localeStrings - | Ar => ArabicLocale.localeStrings - | Ja => JapaneseLocale.localeStrings - | De => DeutschLocale.localeStrings - | Fr_BE => FrenchBelgiumLocale.localeStrings - | Es => EstonianLocale.localeStrings - | Ca => CatalanLocale.localeStrings - | Zh => ChineseLocale.localeStrings - | Pt => PortugueseLocale.localeStrings - | It => ItalianLocale.localeStrings - | Pl => PolishLocale.localeStrings - | Nl => DutchLocale.localeStrings - | Sv => SwedishLocale.localeStrings - | Ru => RussianLocale.localeStrings - | NI_BE => DutchBelgiumLocale.localeStrings - | Lt => LithuanianLocale.localeStrings - | Cs => CzechLocale.localeStrings - | Sk => SlovakLocale.localeStrings - | Ls => IcelandicLocale.localeStrings - | Cy => WelshLocale.localeStrings - | El => GreekLocale.localeStrings - | Et => EstonianLocale.localeStrings - | Fi => FinnishLocale.localeStrings - | Nb => NorwegianLocale.localeStrings - | Bs => BosnianLocale.localeStrings - | Da => DanishLocale.localeStrings - | Ms => MalayLocale.localeStrings - | Tr_CY => TurkishLocale.localeStrings - } + let locale = LocaleStringHelper.getLocale(nativeProp.configuration.appearance.locale) + locale } diff --git a/src/hooks/ThemebasedStyle.res b/src/hooks/ThemebasedStyle.res index d5dd5c3..1fbb9e3 100644 --- a/src/hooks/ThemebasedStyle.res +++ b/src/hooks/ThemebasedStyle.res @@ -148,7 +148,7 @@ type themeBasedStyleObj = { buttonBorderRadius: float, buttonBorderWidth: float, component: componentConfig, - locale: SdkTypes.localeTypes, + locale: LocaleStringTypes.localeTypes, fontFamily: SdkTypes.fontFamilyTypes, headingTextSizeAdjust: float, subHeadingTextSizeAdjust: float, diff --git a/src/types/PaymentMethodListType.res b/src/types/PaymentMethodListType.res index 846e44c..8d7a86e 100644 --- a/src/types/PaymentMethodListType.res +++ b/src/types/PaymentMethodListType.res @@ -75,7 +75,7 @@ type online = { ip_address?: string, user_agent?: string, accept_header?: string, - language?: SdkTypes.localeTypes, + language?: LocaleStringTypes.localeTypes, color_depth?: int, java_enabled?: bool, java_script_enabled?: bool, diff --git a/src/types/SdkTypes.res b/src/types/SdkTypes.res index 0c92bcf..5bb077f 100644 --- a/src/types/SdkTypes.res +++ b/src/types/SdkTypes.res @@ -1,36 +1,5 @@ open Utils -type localeTypes = - | En - | He - | Fr - | En_GB - | Ar - | Ja - | De - | Fr_BE - | Es - | Ca - | Pt - | It - | Pl - | Nl - | NI_BE - | Sv - | Ru - | Lt - | Cs - | Sk - | Ls - | Cy - | El - | Et - | Fi - | Nb - | Bs - | Da - | Ms - | Tr_CY type fontFamilyTypes = DefaultIOS | DefaultAndroid | CustomFont(string) | DefaultWeb @@ -189,7 +158,7 @@ type applePayConfiguration = { type themeType = Default | Light | Dark | Minimal | FlatMinimal type appearance = { - locale: option, + locale: option, colors: option, shapes: option, font: option, @@ -471,7 +440,7 @@ let getAppearanceObj = ( | "it" => Some(It) | "pl" => Some(Pl) | "nl" => Some(Nl) - | "nI-BE" => Some(NI_BE) + | "nI-BE" => Some(Ni_BE) | "sv" => Some(Sv) | "ru" => Some(Ru) | "lt" => Some(Lt) @@ -486,7 +455,7 @@ let getAppearanceObj = ( | "bs" => Some(Bs) | "da" => Some(Da) | "ms" => Some(Ms) - | "tr-CY" => Some(Tr_CY) + | "tr-CY" => Some(Tr_C) | _ => Some(En) } | _ => Some(En) From f2bfb028da4b73fa14d2ccbfcb89f7b2b9b3aaf0 Mon Sep 17 00:00:00 2001 From: ChiragKV-Juspay Date: Fri, 4 Oct 2024 14:33:51 +0530 Subject: [PATCH 8/9] refactor:created LoggerUtils in shared code base --- ios | 2 +- shared-code/Utils/LogUtils.res | 38 ++++++++++++++++++++++++++++++++++ src/hooks/AllPaymentHooks.res | 24 +-------------------- 3 files changed, 40 insertions(+), 24 deletions(-) create mode 100644 shared-code/Utils/LogUtils.res diff --git a/ios b/ios index a19f3f5..e7ade8f 160000 --- a/ios +++ b/ios @@ -1 +1 @@ -Subproject commit a19f3f5dfeec16c17cc7582cd58ee0071380caed +Subproject commit e7ade8ff1660f1729d47271870ee421118c329fd diff --git a/shared-code/Utils/LogUtils.res b/shared-code/Utils/LogUtils.res new file mode 100644 index 0000000..e73c77d --- /dev/null +++ b/shared-code/Utils/LogUtils.res @@ -0,0 +1,38 @@ +type apiLogType = Request | Response | NoResponse | Err | Method + +let getApiLogValues = (apiLogType: apiLogType, url, statusCode, data, ~paymentMethod=?, ~result=?) => { + switch apiLogType { + | Request => ([("url", url->JSON.Encode.string)], []) + | Response => ( + [("url", url->JSON.Encode.string), ("statusCode", statusCode->JSON.Encode.string)], + [("response", data)], + ) + | NoResponse => ( + [ + ("url", url->JSON.Encode.string), + ("statusCode", "504"->JSON.Encode.string), + ("response", data), + ], + [("response", data)], + ) + | Err => ( + [ + ("url", url->JSON.Encode.string), + ("statusCode", statusCode->JSON.Encode.string), + ("response", data), + ], + [("response", data)], + ) + | Method => { + let methodValue = switch paymentMethod { + | Some(method) => method->JSON.Encode.string + | None => ""->JSON.Encode.string + } + let resultValue = switch result { + | Some(res) => res + | None => Dict.make()->JSON.Encode.object + } + ([("method", methodValue)], [("result", resultValue)]) + } + } +} \ No newline at end of file diff --git a/src/hooks/AllPaymentHooks.res b/src/hooks/AllPaymentHooks.res index c1a4292..b2b8015 100644 --- a/src/hooks/AllPaymentHooks.res +++ b/src/hooks/AllPaymentHooks.res @@ -19,29 +19,7 @@ let useApiLogWrapper = () => { ~paymentExperience=?, (), ) => { - let (value, internalMetadata) = switch apiLogType { - | Request => ([("url", url->JSON.Encode.string)], []) - | Response => ( - [("url", url->JSON.Encode.string), ("statusCode", statusCode->JSON.Encode.string)], - [("response", data)], - ) - | NoResponse => ( - [ - ("url", url->JSON.Encode.string), - ("statusCode", "504"->JSON.Encode.string), - ("response", data), - ], - [("response", data)], - ) - | Err => ( - [ - ("url", url->JSON.Encode.string), - ("statusCode", statusCode->JSON.Encode.string), - ("response", data), - ], - [("response", data)], - ) - } + let (value, internalMetadata) = LogUtils.getApiLogValues(apiLogType, url, statusCode, data) logger( ~logType, ~value=value->Dict.fromArray->JSON.Encode.object->JSON.stringify, From daa56d4365ca6ad0cbce8675da7ebe9b521c0cc2 Mon Sep 17 00:00:00 2001 From: Kuntimaddi Manideep Date: Fri, 4 Oct 2024 15:05:23 +0530 Subject: [PATCH 9/9] refactor: added shared getHeader function --- .../LocaleStrings/LocaleStringHelper.res | 1 - shared-code/Utils/SharedUtils.res | 31 +++++++++++++- src/headless/HeadlessUtils.res | 9 ++-- src/hooks/AllPaymentHooks.res | 41 ++++++++++++------- src/utility/logics/LoggerUtils.res | 2 +- src/utility/logics/Utils.res | 16 ++++---- 6 files changed, 71 insertions(+), 29 deletions(-) diff --git a/shared-code/LocaleStrings/LocaleStringHelper.res b/shared-code/LocaleStrings/LocaleStringHelper.res index 52533fd..6977115 100644 --- a/shared-code/LocaleStrings/LocaleStringHelper.res +++ b/shared-code/LocaleStrings/LocaleStringHelper.res @@ -76,4 +76,3 @@ let getLocale = locale => { | _ => EnglishLocale.localeStrings } } - diff --git a/shared-code/Utils/SharedUtils.res b/shared-code/Utils/SharedUtils.res index bce4bbd..579b525 100644 --- a/shared-code/Utils/SharedUtils.res +++ b/shared-code/Utils/SharedUtils.res @@ -1 +1,30 @@ -let nbsp = "\u00A0"; \ No newline at end of file +let nbsp = "\u00A0" + +let getPaymentId = clientSecret => + String.split(clientSecret, "_secret_")->Array.get(0)->Option.getOr("") + +let getHeader = (~apiKey, ~appId=?, ~redirectUri=?, ~merchantHostname=?, ~clientSource=?) => { + [ + ("api-key", apiKey), + ("Content-Type", "application/json"), + ...switch appId { + | Some(appId) => [ + ("x-app-id", Js.String.replace(".hyperswitch://", "", appId->Option.getOr(""))), + ] + | None => [] + }, + ...switch redirectUri { + | Some(redirectUri) => [("x-redirect-uri", redirectUri->Option.getOr(""))] + | None => [] + }, + // For web + ...switch merchantHostname { + | Some(merchantHostname) => [("X-Merchant-Domain", merchantHostname)] + | None => [] + }, + ...switch clientSource { + | Some(clientSource) =>[("X-Client-Source", clientSource)] + | None => [] + } + ] +} diff --git a/src/headless/HeadlessUtils.res b/src/headless/HeadlessUtils.res index a1155f9..e216d71 100644 --- a/src/headless/HeadlessUtils.res +++ b/src/headless/HeadlessUtils.res @@ -130,7 +130,7 @@ let savedPaymentMethodAPICall = nativeProp => { CommonHooks.fetchApi( ~uri, ~method_=Get, - ~headers=Utils.getHeader(nativeProp.publishableKey, nativeProp.hyperParams.appId), + ~headers=SharedUtils.getHeader(~apiKey=nativeProp.publishableKey,~appId= nativeProp.hyperParams.appId)->Dict.fromArray, (), ) ->Promise.then(data => { @@ -225,7 +225,10 @@ let savedPaymentMethodAPICall = nativeProp => { let sessionAPICall = nativeProp => { let paymentId = String.split(nativeProp.clientSecret, "_secret_")->Array.get(0)->Option.getOr("") - let headers = Utils.getHeader(nativeProp.publishableKey, nativeProp.hyperParams.appId) + let headers = SharedUtils.getHeader( + ~apiKey=nativeProp.publishableKey, + ~appId=nativeProp.hyperParams.appId, + )->Dict.fromArray let uri = `${getBaseUrl(nativeProp)}/payments/session_tokens` let body = [ @@ -345,7 +348,7 @@ let sessionAPICall = nativeProp => { let confirmAPICall = (nativeProp, body) => { let paymentId = String.split(nativeProp.clientSecret, "_secret_")->Array.get(0)->Option.getOr("") let uri = `${getBaseUrl(nativeProp)}/payments/${paymentId}/confirm` - let headers = Utils.getHeader(nativeProp.publishableKey, nativeProp.hyperParams.appId) + let headers = SharedUtils.getHeader(~apiKey=nativeProp.publishableKey,~appId= nativeProp.hyperParams.appId)->Dict.fromArray let initTimestamp = Date.now() logWrapper( ~logType=INFO, diff --git a/src/hooks/AllPaymentHooks.res b/src/hooks/AllPaymentHooks.res index b2b8015..66feb4c 100644 --- a/src/hooks/AllPaymentHooks.res +++ b/src/hooks/AllPaymentHooks.res @@ -1,4 +1,5 @@ open PaymentConfirmTypes +open SharedUtils external parse: Fetch.response => JSON.t = "%identity" external toJson: 't => JSON.t = "%identity" @@ -66,15 +67,19 @@ let useSessionToken = () => { switch Next.getNextEnv { | "next" => Promise.resolve(Next.sessionsRes) | _ => - let headers = Utils.getHeader(nativeProp.publishableKey, nativeProp.hyperParams.appId) let url = `${baseUrl}/payments/session_tokens` + let headers = + getHeader( + ~apiKey=nativeProp.publishableKey, + ~appId=nativeProp.hyperParams.appId, + )->Dict.fromArray + let body = [ ( "payment_id", - String.split(nativeProp.clientSecret, "_secret_") - ->Array.get(0) - ->Option.getOr("") + nativeProp.clientSecret + ->getPaymentId ->JSON.Encode.string, ), ("client_secret", nativeProp.clientSecret->JSON.Encode.string), @@ -156,16 +161,18 @@ let useRetrieveHook = () => { switch (Next.getNextEnv, type_) { | ("next", Types.List) => Promise.resolve(Next.listRes) | (_, type_) => - let headers = Utils.getHeader(publishableKey, nativeProp.hyperParams.appId) + let headers = + SharedUtils.getHeader( + ~apiKey=publishableKey, + ~appId=nativeProp.hyperParams.appId, + )->Dict.fromArray let ( uri, eventName: LoggerTypes.eventName, initEventName: LoggerTypes.eventName, ) = switch type_ { | Payment => ( - `${baseUrl}/payments/${String.split(clientSecret, "_secret_") - ->Array.get(0) - ->Option.getOr("")}?force_sync=${isForceSync + `${baseUrl}/payments/${clientSecret->getPaymentId}?force_sync=${isForceSync ? "true" : "false"}&client_secret=${clientSecret}`, RETRIEVE_CALL, @@ -367,9 +374,13 @@ let useRedirectHook = () => { ~responseCallback: (~paymentStatus: LoadingContext.sdkPaymentState, ~status: error) => unit, (), ) => { - let uriPram = String.split(clientSecret, "_secret_")->Array.get(0)->Option.getOr("") + let uriPram = clientSecret->getPaymentId let uri = `${baseUrl}/payments/${uriPram}/confirm` - let headers = Utils.getHeader(publishableKey, nativeProp.hyperParams.appId) + let headers = + SharedUtils.getHeader( + ~apiKey=publishableKey, + ~appId=nativeProp.hyperParams.appId, + )->Dict.fromArray let handleApiRes = (~status, ~reUri, ~error: error, ~nextAction: option=?) => { switch nextAction->PaymentUtils.getActionType { @@ -689,7 +700,7 @@ let useGetSavedPMHook = () => { CommonHooks.fetchApi( ~uri, ~method_=Get, - ~headers=Utils.getHeader(apiKey, nativeProp.hyperParams.appId), + ~headers=SharedUtils.getHeader(~apiKey, ~appId=nativeProp.hyperParams.appId)->Dict.fromArray, (), ) ->Promise.then(data => { @@ -771,10 +782,10 @@ let useDeleteSavedPaymentMethod = () => { CommonHooks.fetchApi( ~uri, ~method_=Delete, - ~headers=Utils.getHeader( - nativeProp.ephemeralKey->Option.getOr(""), - nativeProp.hyperParams.appId, - ), + ~headers=SharedUtils.getHeader( + ~apiKey=nativeProp.ephemeralKey->Option.getOr(""), + ~appId=nativeProp.hyperParams.appId, + )->Dict.fromArray, (), ) ->Promise.then(resp => { diff --git a/src/utility/logics/LoggerUtils.res b/src/utility/logics/LoggerUtils.res index 45f1c44..dea395b 100644 --- a/src/utility/logics/LoggerUtils.res +++ b/src/utility/logics/LoggerUtils.res @@ -81,7 +81,7 @@ let sendLogs = (logFile, uri, publishableKey, appId) => { ~uri, ~method_=Post, ~bodyStr=data, - ~headers=Utils.getHeader(publishableKey, appId), + ~headers=SharedUtils.getHeader(~apiKey=publishableKey, ~appId=appId)->Dict.fromArray, ~mode=NoCORS, (), ) diff --git a/src/utility/logics/Utils.res b/src/utility/logics/Utils.res index 688d800..965951a 100644 --- a/src/utility/logics/Utils.res +++ b/src/utility/logics/Utils.res @@ -138,14 +138,14 @@ let rec transformKeysSnakeToCamel = (json: JSON.t) => { ->JSON.Encode.object } -let getHeader = (apiKey, appId, ~redirectUri=?) => { - [ - ("api-key", apiKey), - ("x-app-id", Js.String.replace(".hyperswitch://", "", appId->Option.getOr(""))), - ("x-redirect-uri", redirectUri->Option.getOr("")), - // ("x-feature", "router-custom-be"), - ]->Dict.fromArray -} +// let getHeader = (apiKey, appId, ~redirectUri=?) => { +// [ +// ("api-key", apiKey), +// ("x-app-id", Js.String.replace(".hyperswitch://", "", appId->Option.getOr(""))), +// ("x-redirect-uri", redirectUri->Option.getOr("")), +// // ("x-feature", "router-custom-be"), +// ]->Dict.fromArray +// } let getCountryFlags = isoAlpha2 => { Array.map(isoAlpha2->String.split(""), letter => {