From 3a262d5af526685ed51e3ceeb83ed0eccea3a1ad Mon Sep 17 00:00:00 2001 From: Arush Kapoor Date: Tue, 7 Apr 2026 00:20:11 +0530 Subject: [PATCH 1/6] fix: localize 60 hardcoded English strings across 16 source files (TD-005) Add 60 new locale keys to LocaleStringTypes.res and EnglishLocale.res, provide English fallback values in all 17 non-English locale files, and replace hardcoded strings in 16 source files with localeString references. Files with string replacements: - QRCodeDisplay, BankTransfersPopup, VoucherDisplay, BankDebitModal - AddBankDetails, AddBankAccount, ApplePay, Loader - AccordionContainer, ErrorOccured, ErrorBoundary - ClickToPayDetails, ClickToPayNotYou - SavedMethodItemV2, PaymentManagement, CardSchemeComponent Skipped: BankDebitModal 'Savings'/'Checking' (API values), 'ACH Direct Debit' (payment method name) --- src/CardSchemeComponent.res | 3 +- src/Components/AccordionContainer.res | 2 +- src/Components/AddBankAccount.res | 6 +- src/Components/ClickToPayDetails.res | 34 ++++------ src/Components/ClickToPayNotYou.res | 19 +++--- src/Components/ErrorOccured.res | 3 +- src/Components/Loader.res | 9 ++- src/Components/SavedMethodItemV2.res | 4 +- src/LocaleStrings/ArabicLocale.res | 60 +++++++++++++++++ src/LocaleStrings/CatalanLocale.res | 60 +++++++++++++++++ src/LocaleStrings/ChineseLocale.res | 60 +++++++++++++++++ src/LocaleStrings/DeutschLocale.res | 60 +++++++++++++++++ src/LocaleStrings/DutchLocale.res | 60 +++++++++++++++++ src/LocaleStrings/EnglishGBLocale.res | 60 +++++++++++++++++ src/LocaleStrings/EnglishLocale.res | 60 +++++++++++++++++ src/LocaleStrings/FrenchBelgiumLocale.res | 66 ++++++++++++++++++- src/LocaleStrings/FrenchLocale.res | 66 ++++++++++++++++++- src/LocaleStrings/HebrewLocale.res | 60 +++++++++++++++++ src/LocaleStrings/ItalianLocale.res | 60 +++++++++++++++++ src/LocaleStrings/JapaneseLocale.res | 60 +++++++++++++++++ src/LocaleStrings/LocaleStringTypes.res | 60 +++++++++++++++++ src/LocaleStrings/PolishLocale.res | 60 +++++++++++++++++ src/LocaleStrings/PortugueseLocale.res | 60 +++++++++++++++++ src/LocaleStrings/RussianLocale.res | 60 +++++++++++++++++ src/LocaleStrings/SpanishLocale.res | 60 +++++++++++++++++ src/LocaleStrings/SwedishLocale.res | 60 +++++++++++++++++ .../TraditionalChineseLocale.res | 60 +++++++++++++++++ src/PaymentManagement.res | 2 +- src/Payments/AddBankDetails.res | 20 ++---- src/Payments/ApplePay.res | 3 +- src/Payments/BankDebitModal.res | 28 ++++---- src/Payments/BankTransfersPopup.res | 17 +++-- src/Payments/QRCodeDisplay.res | 9 ++- src/Payments/VoucherDisplay.res | 17 ++--- src/hyper-log-catcher/ErrorBoundary.res | 4 +- 35 files changed, 1228 insertions(+), 104 deletions(-) diff --git a/src/CardSchemeComponent.res b/src/CardSchemeComponent.res index 84b49c2db..4e2cf6de4 100644 --- a/src/CardSchemeComponent.res +++ b/src/CardSchemeComponent.res @@ -2,6 +2,7 @@ module CoBadgeCardSchemeDropDown = { @react.component let make = (~eligibleCardSchemes, ~setCardBrand) => { let loggerState = Recoil.useRecoilValueFromAtom(RecoilAtoms.loggerAtom) + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom)
@@ -241,7 +239,7 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis type_="tel" value={identifier} onChange={handlePhoneInputChange} - placeholder="Mobile number" + placeholder=localeString.mobileNumberPlaceholder className="flex-grow p-3 focus:outline-none w-full" required=true /> @@ -257,7 +255,7 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis fontSize: themeObj.buttonTextFontSize, } disabled={!isValid}> - {React.string("Switch ID")} + {React.string(localeString.switchIdButtonText)}
@@ -267,6 +265,7 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis module ClickToPayNotYouText = { @react.component let make = (~setIsShowClickToPayNotYou) => { + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let onNotYouClick = _ => { setIsShowClickToPayNotYou(_ => true) } @@ -274,7 +273,7 @@ module ClickToPayNotYouText = {
} diff --git a/src/Components/ErrorOccured.res b/src/Components/ErrorOccured.res index 3091a0327..be7772579 100644 --- a/src/Components/ErrorOccured.res +++ b/src/Components/ErrorOccured.res @@ -1,6 +1,7 @@ @react.component let make = () => { + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom)
- {React.string("Error occurred")} + {React.string(localeString.errorOccurredText)}
} diff --git a/src/Components/Loader.res b/src/Components/Loader.res index 4186c62ab..0f3532a9b 100644 --- a/src/Components/Loader.res +++ b/src/Components/Loader.res @@ -1,5 +1,6 @@ @react.component let make = (~branding="auto", ~showText=true) => { + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let arr = ["hyperswitch-triangle", "hyperswitch-square", "hyperswitch-circle"]
@@ -25,7 +26,7 @@ let make = (~branding="auto", ~showText=true) => { role="status"> - {"Loading..."->React.string} + {localeString.loadingText->React.string}
@@ -33,12 +34,10 @@ let make = (~branding="auto", ~showText=true) => {
- {React.string("We are processing your payment...")} + {React.string(localeString.processingPaymentText)}
- {React.string( - "You have been redirected to new tab to complete your payments. Status will be updated automatically", - )} + {React.string(localeString.redirectedToNewTabText)}
diff --git a/src/Components/SavedMethodItemV2.res b/src/Components/SavedMethodItemV2.res index 79a2f774f..45fcea92f 100644 --- a/src/Components/SavedMethodItemV2.res +++ b/src/Components/SavedMethodItemV2.res @@ -130,7 +130,7 @@ let make = (
-
{React.string(`Expiry`)}
+
{React.string(localeString.validThruText)}
{React.string( `${expiryMonth} / ${expiryYear->CardUtils.formatExpiryToTwoDigit}`, @@ -154,7 +154,7 @@ let make = ( ReactEvent.Mouse.stopPropagation(event) handleUpdate(paymentItem)->ignore }}> - {React.string("Save")} + {React.string(localeString.formSaveText)}
`${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/CatalanLocale.res b/src/LocaleStrings/CatalanLocale.res index ab62ec7ab..6c0818546 100644 --- a/src/LocaleStrings/CatalanLocale.res +++ b/src/LocaleStrings/CatalanLocale.res @@ -259,4 +259,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Seleccioneu un pla de terminis", showMore: "Mostra més", showLess: "Mostra menys", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/ChineseLocale.res b/src/LocaleStrings/ChineseLocale.res index 552eb9630..bfd13f96c 100644 --- a/src/LocaleStrings/ChineseLocale.res +++ b/src/LocaleStrings/ChineseLocale.res @@ -257,4 +257,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "选择分期计划", showMore: "显示更多", showLess: "收起", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/DeutschLocale.res b/src/LocaleStrings/DeutschLocale.res index e46834abc..36bf71ffd 100644 --- a/src/LocaleStrings/DeutschLocale.res +++ b/src/LocaleStrings/DeutschLocale.res @@ -258,4 +258,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Ratenplan auswählen", showMore: "Mehr anzeigen", showLess: "Weniger anzeigen", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/DutchLocale.res b/src/LocaleStrings/DutchLocale.res index 5865b466c..f7325f9ec 100644 --- a/src/LocaleStrings/DutchLocale.res +++ b/src/LocaleStrings/DutchLocale.res @@ -257,4 +257,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Selecteer een aflossingsplan", showMore: "Meer tonen", showLess: "Minder tonen", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/EnglishGBLocale.res b/src/LocaleStrings/EnglishGBLocale.res index 33180f512..1ecc63fb2 100644 --- a/src/LocaleStrings/EnglishGBLocale.res +++ b/src/LocaleStrings/EnglishGBLocale.res @@ -257,4 +257,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Select instalment plan", showMore: "Show more", showLess: "Show less", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/EnglishLocale.res b/src/LocaleStrings/EnglishLocale.res index 80a84ff92..98c018b2c 100644 --- a/src/LocaleStrings/EnglishLocale.res +++ b/src/LocaleStrings/EnglishLocale.res @@ -257,4 +257,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Select installment plan", showMore: "Show more", showLess: "Show less", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/FrenchBelgiumLocale.res b/src/LocaleStrings/FrenchBelgiumLocale.res index bc4c7d23f..6ad22319a 100644 --- a/src/LocaleStrings/FrenchBelgiumLocale.res +++ b/src/LocaleStrings/FrenchBelgiumLocale.res @@ -256,7 +256,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentWithInterest: "avec intérêts", installmentTotal: "Total", installmentSelectPlanError: "Veuillez sélectionner un plan de paiement", - installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", - showMore: "Afficher plus", - showLess: "Afficher moins", + installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", + showMore: "Afficher plus", + showLess: "Afficher moins", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/FrenchLocale.res b/src/LocaleStrings/FrenchLocale.res index 6650a790f..bf07341bc 100644 --- a/src/LocaleStrings/FrenchLocale.res +++ b/src/LocaleStrings/FrenchLocale.res @@ -256,7 +256,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentWithInterest: "avec intérêts", installmentTotal: "Total", installmentSelectPlanError: "Veuillez sélectionner un plan de paiement", - installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", - showMore: "Afficher plus", - showLess: "Afficher moins", + installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", + showMore: "Afficher plus", + showLess: "Afficher moins", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/HebrewLocale.res b/src/LocaleStrings/HebrewLocale.res index 8c5e43187..8127f1dbc 100644 --- a/src/LocaleStrings/HebrewLocale.res +++ b/src/LocaleStrings/HebrewLocale.res @@ -258,4 +258,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "בחר תוכנית תשלומים", showMore: "הצג עוד", showLess: "הצג פחות", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/ItalianLocale.res b/src/LocaleStrings/ItalianLocale.res index cc2b67140..eac32f0db 100644 --- a/src/LocaleStrings/ItalianLocale.res +++ b/src/LocaleStrings/ItalianLocale.res @@ -259,4 +259,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Seleziona un piano a rate", showMore: "Mostra di più", showLess: "Mostra meno", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/JapaneseLocale.res b/src/LocaleStrings/JapaneseLocale.res index 66928d9f6..966da10de 100644 --- a/src/LocaleStrings/JapaneseLocale.res +++ b/src/LocaleStrings/JapaneseLocale.res @@ -258,4 +258,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "分割払いプランを選択", showMore: "もっと見る", showLess: "表示を減らす", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/LocaleStringTypes.res b/src/LocaleStrings/LocaleStringTypes.res index 7acc9d92b..261e3f3f2 100644 --- a/src/LocaleStrings/LocaleStringTypes.res +++ b/src/LocaleStrings/LocaleStringTypes.res @@ -245,6 +245,66 @@ type localeStrings = { installmentSelectPlanPlaceholder: string, showMore: string, showLess: string, + // --- TD-005: Localized hardcoded strings --- + copiedText: string, + copyText: string, + copyQRDataText: string, + qrCodeValidityText: string, + doneText: string, + moreText: string, + addBankDetailsConfirmText: string, + addBankDetailsButtonText: string, + bankDebitStepsText: string => string, + bankDebitStep1Text: string, + bankDebitStep2Text: string, + removeAccountText: string, + bankAccountDisplayText: string => string, + microDepositsInitiatedText: string, + microDepositsExpectText: string => string, + bankStatementDisplayText: string => string, + transactionText: string, + amountText: string, + typeText: string, + bankDetailsHeadingText: string, + accountHolderNameLabel: string, + accountHolderNamePlaceholder: string, + accountTypeLabel: string, + errorOccurredText: string, + bankTransferTitleText: string => string, + useDetailsToTransferText: string, + bankAccountDetailsText: string, + bankTransferDisclaimerText: string, + voucherGeneratedText: string => string, + hereText: string, + toDownloadItText: string, + barCodeReferenceText: string, + voucherDisclaimerText: string, + payWithText: string, + notYouText: string, + ctpSwitchIdentifierText: string, + phoneLabel: string, + enterEmailPlaceholder: string, + mobileNumberPlaceholder: string, + switchIdButtonText: string, + ctpConsentSharingText: (string, string) => string, + learnMoreText: string, + ctpSaveInfoText: string => string, + ctpFasterCheckoutText: string, + ctpVerifyIdentityText: string, + ctpDataRatesText: string, + ctpRememberMeText: string, + ctpRememberMeTooltipLine1: string, + ctpRememberMeTooltipLine2: string, + ctpTermsConsentText: string => string, + termsText: string, + ctpPrivacyConsentText: string, + privacyNoticeText: string, + loadingText: string, + processingPaymentText: string, + redirectedToNewTabText: string, + addNewCardText: string, + somethingWentWrongText: string, + selectCardBrandText: string, } type constantStrings = { diff --git a/src/LocaleStrings/PolishLocale.res b/src/LocaleStrings/PolishLocale.res index 676557fc4..6c3128e9d 100644 --- a/src/LocaleStrings/PolishLocale.res +++ b/src/LocaleStrings/PolishLocale.res @@ -258,4 +258,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Wybierz plan rat", showMore: "Pokaż więcej", showLess: "Pokaż mniej", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/PortugueseLocale.res b/src/LocaleStrings/PortugueseLocale.res index fc8da36b9..4a9ce2e08 100644 --- a/src/LocaleStrings/PortugueseLocale.res +++ b/src/LocaleStrings/PortugueseLocale.res @@ -258,4 +258,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Selecione um plano de parcelamento", showMore: "Mostrar mais", showLess: "Mostrar menos", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/RussianLocale.res b/src/LocaleStrings/RussianLocale.res index b6712a8e3..cd3a0452b 100644 --- a/src/LocaleStrings/RussianLocale.res +++ b/src/LocaleStrings/RussianLocale.res @@ -266,4 +266,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Выберите план рассрочки", showMore: "Показать ещё", showLess: "Показать меньше", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/SpanishLocale.res b/src/LocaleStrings/SpanishLocale.res index 686104f2a..e9d8e34c5 100644 --- a/src/LocaleStrings/SpanishLocale.res +++ b/src/LocaleStrings/SpanishLocale.res @@ -258,4 +258,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Seleccione un plan de cuotas", showMore: "Mostrar más", showLess: "Mostrar menos", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/SwedishLocale.res b/src/LocaleStrings/SwedishLocale.res index ff554a6c7..2364f54ac 100644 --- a/src/LocaleStrings/SwedishLocale.res +++ b/src/LocaleStrings/SwedishLocale.res @@ -257,4 +257,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Välj ett avbetalningsplan", showMore: "Visa mer", showLess: "Visa mindre", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/LocaleStrings/TraditionalChineseLocale.res b/src/LocaleStrings/TraditionalChineseLocale.res index 5eb658116..74af1a061 100644 --- a/src/LocaleStrings/TraditionalChineseLocale.res +++ b/src/LocaleStrings/TraditionalChineseLocale.res @@ -257,4 +257,64 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "選擇分期計劃", showMore: "顯示更多", showLess: "收起", + // --- TD-005: Localized hardcoded strings --- + copiedText: "Copied!", + copyText: "Copy", + copyQRDataText: "Copy QR Data", + qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", + doneText: "Done", + moreText: "More", + addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", + addBankDetailsButtonText: "Add Bank Details", + bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", + bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", + removeAccountText: "Remove account", + bankAccountDisplayText: last4 => `Bank **** ${last4}`, + microDepositsInitiatedText: "Micro-deposits initiated", + microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, + transactionText: "Transaction", + amountText: "Amount", + typeText: "Type", + bankDetailsHeadingText: "Bank Details", + accountHolderNameLabel: "Account Holder Name", + accountHolderNamePlaceholder: "eg: John Doe", + accountTypeLabel: "Account type", + errorOccurredText: "Error occurred", + bankTransferTitleText: title => `${title} bank transfer`, + useDetailsToTransferText: "Use these details to transfer amount", + bankAccountDetailsText: "Bank Account Details", + bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", + voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + hereText: "here", + toDownloadItText: " to download it.", + barCodeReferenceText: "Bar Code Reference: ", + voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", + payWithText: "Pay with", + notYouText: "Not you?", + ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", + phoneLabel: "Phone", + enterEmailPlaceholder: "Enter email", + mobileNumberPlaceholder: "Mobile number", + switchIdButtonText: "Switch ID", + ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + learnMoreText: "Learn more", + ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, + ctpFasterCheckoutText: "for a faster and secure checkout", + ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", + ctpDataRatesText: "Message/data rates may apply.", + ctpRememberMeText: "Remember me on this browser", + ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", + ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", + ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, + termsText: "Terms", + ctpPrivacyConsentText: "and understand your data will be processed according to the ", + privacyNoticeText: "Privacy Notice", + loadingText: "Loading...", + processingPaymentText: "We are processing your payment...", + redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", + addNewCardText: "Add new card", + somethingWentWrongText: "Oops, something went wrong!", + selectCardBrandText: "Select a card brand", } diff --git a/src/PaymentManagement.res b/src/PaymentManagement.res index ccd65b022..118595a10 100644 --- a/src/PaymentManagement.res +++ b/src/PaymentManagement.res @@ -139,7 +139,7 @@ let make = ( onClick={_ => setShowAddScreen(_ => true)} dataTestId={TestUtils.addNewCardIcon}> - {React.string("Add new card")} + {React.string(localeString.addNewCardText)}
diff --git a/src/Payments/AddBankDetails.res b/src/Payments/AddBankDetails.res index e3d87b632..1004ea7f0 100644 --- a/src/Payments/AddBankDetails.res +++ b/src/Payments/AddBankDetails.res @@ -1,7 +1,7 @@ module Loader = { @react.component let make = () => { - let {themeObj} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) + let {themeObj} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom)
@@ -17,7 +17,7 @@ let make = (~paymentMethodType) => { let {publishableKey, clientSecret, iframeId, sdkAuthorization} = Recoil.useRecoilValueFromAtom( RecoilAtoms.keys, ) - let {themeObj} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) + let {themeObj, localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let setOptionValue = Recoil.useSetRecoilState(RecoilAtoms.optionAtom) let paymentMethodListValue = Recoil.useRecoilValueFromAtom(PaymentUtils.paymentMethodListValue) let setShowPaymentMethodsScreen = Recoil.useSetRecoilState(RecoilAtoms.showPaymentMethodsScreen) @@ -72,7 +72,7 @@ let make = (~paymentMethodType) => { if confirm.doSubmit { postFailedSubmitResponse( ~errortype="validation_error", - ~message="Please add Bank Details and then confirm payment with the added payment methods.", + ~message=localeString.addBankDetailsConfirmText, ) } }, []) @@ -105,23 +105,17 @@ let make = (~paymentMethodType) => { {if showLoader { } else { - {React.string("Add Bank Details")} + {React.string(localeString.addBankDetailsButtonText)} }}
- {React.string( - `${paymentMethodType->String.toUpperCase} Bank Debit has 2 steps to pay. Please follow the instructions:`, - )} + {React.string(localeString.bankDebitStepsText(paymentMethodType->String.toUpperCase))}
  • - {React.string( - "Please Click on Add Bank Details and proceed to add your bank account details.", - )} + {React.string(localeString.bankDebitStep1Text)}
  • - {React.string( - "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - )} + {React.string(localeString.bankDebitStep2Text)}
diff --git a/src/Payments/ApplePay.res b/src/Payments/ApplePay.res index bb4a4b71e..7c476b795 100644 --- a/src/Payments/ApplePay.res +++ b/src/Payments/ApplePay.res @@ -15,6 +15,7 @@ let make = (~sessionObj: option, ~walletOptions) => { let (showApplePay, setShowApplePay) = React.useState(() => false) let (showApplePayLoader, setShowApplePayLoader) = React.useState(() => false) let intent = PaymentHelpers.usePaymentIntent(Some(loggerState), Applepay) + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let isManualRetryEnabled = Recoil.useRecoilValueFromAtom(RecoilAtoms.isManualRetryEnabled) let sync = PaymentHelpers.usePaymentSync(Some(loggerState), Applepay) let options = Recoil.useRecoilValueFromAtom(RecoilAtoms.optionAtom) @@ -352,7 +353,7 @@ let make = (~sessionObj: option, ~walletOptions) => { } className="apple-pay-button-with-text apple-pay-button-black-with-text" onClick={_ => onApplePayButtonClicked()}> - {React.string("Pay with")} + {React.string(localeString.payWithText)} }} diff --git a/src/Payments/BankDebitModal.res b/src/Payments/BankDebitModal.res index 119f19034..bb6d58563 100644 --- a/src/Payments/BankDebitModal.res +++ b/src/Payments/BankDebitModal.res @@ -6,12 +6,13 @@ type focus = Routing | Account | NONE module Button = { @react.component let make = (~active=true, ~onclick) => { + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom)
active ? onclick(ev) : ()} className={`p-2 mt-10 rounded-md w-full flex justify-center items-center text-white text-sm bg-[#006DF9] ${active ? "cursor-pointer" : "opacity-50 cursor-not-allowed"}`}> - {React.string("Done")} + {React.string(localeString.doneText)}
} } @@ -29,6 +30,7 @@ module CardItem = { module MicroDepositScreen = { @react.component let make = (~showMicroDepScreen, ~accountNum, ~onclick) => { + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let last4digits = accountNum->String.sliceToEnd(~start=-4)
- {React.string("Micro-deposits initiated")} + {React.string(localeString.microDepositsInitiatedText)}
- {React.string( - `Expect a $0.01 deposit to the account ending in **** ${last4digits} in 1-2 business days and an email with additional instructions to verify your account.`, - )} + {React.string(localeString.microDepositsExpectText(last4digits))}
- {React.string(`**** ${last4digits} BANK STATEMENT`)} + {React.string(localeString.bankStatementDisplayText(last4digits))}
- - - + + +
- {React.string(`${title} bank transfer`)} + {React.string(localeString.bankTransferTitleText(title))}
- {React.string("Use these details to transfer amount")} + {React.string(localeString.useDetailsToTransferText)}
{
- {React.string("Bank Account Details")} + {React.string(localeString.bankAccountDetailsText)}
- {React.string( - " Please make a note of these details, before closing this popup. You will not be able to generate this details again. ", - )} + {React.string(localeString.bankTransferDisclaimerText)}
@@ -140,7 +139,7 @@ let make = (~transferType) => { postSubmitResponse(~jsonData=postData, ~url=return_url) Modal.close(setOpenModal) }}> - {React.string("Done")} + {React.string(localeString.doneText)}
diff --git a/src/Payments/QRCodeDisplay.res b/src/Payments/QRCodeDisplay.res index 2d79ab0eb..1d645cb06 100644 --- a/src/Payments/QRCodeDisplay.res +++ b/src/Payments/QRCodeDisplay.res @@ -67,6 +67,7 @@ let make = () => { let (headers, setHeaders) = React.useState(_ => []) let (publishableKey, setPublishableKey) = React.useState(_ => "") let logger = Recoil.useRecoilValueFromAtom(RecoilAtoms.loggerAtom) + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let customPodUri = Recoil.useRecoilValueFromAtom(RecoilAtoms.customPodUri) let (paymentMethodConfig, setPaymentMethodConfig) = React.useState(_ => getPaymentMethodConfig(Other) @@ -263,13 +264,11 @@ let make = () => { className="button mb-6 p-2 h-[40px] border border-[#006DF9] rounded-md" style={color: "#006DF9", background: "transparent"} onClick={handleCopyQrData}> - {isCopied ? React.string("Copied!") : React.string("Copy QR Data")} + {isCopied ? React.string(localeString.copiedText) : React.string(localeString.copyQRDataText)}
- {React.string( - "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - )} + {React.string(localeString.qrCodeValidityText)}
@@ -283,7 +282,7 @@ let make = () => { onClick={_ => { closeModal()->ignore }}> - {React.string("Done")} + {React.string(localeString.doneText)}
diff --git a/src/Payments/VoucherDisplay.res b/src/Payments/VoucherDisplay.res index 43419eeee..0005b348f 100644 --- a/src/Payments/VoucherDisplay.res +++ b/src/Payments/VoucherDisplay.res @@ -6,6 +6,7 @@ let make = () => { let (downloadUrl, setDownloadUrl) = React.useState(_ => "") let (reference, setReference) = React.useState(_ => "") let logger = Recoil.useRecoilValueFromAtom(RecoilAtoms.loggerAtom) + let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let (downloadCounter, setDownloadCounter) = React.useState(_ => 0) let (paymentMethod, setPaymentMethod) = React.useState(_ => "") let (paymentIntent, setPaymentIntent) = React.useState(_ => JSON.Encode.null) @@ -50,9 +51,7 @@ let make = () => {

- {React.string( - `${paymentMethod->snakeToTitleCase} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - )} + {React.string(localeString.voucherGeneratedText(paymentMethod->Utils.snakeToTitleCase))} { ~paymentMethod, ) }}> - {React.string("here")} + {React.string(localeString.hereText)} - {React.string(" to download it.")} + {React.string(localeString.toDownloadItText)}

- {React.string("Bar Code Reference: ")} + {React.string(localeString.barCodeReferenceText)} {React.string(reference)}

- {React.string( - "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - )} + {React.string(localeString.voucherDisclaimerText)}
@@ -96,7 +93,7 @@ let make = () => { onClick={_ => { closeModal() }}> - {React.string("Done")} + {React.string(localeString.doneText)}
diff --git a/src/hyper-log-catcher/ErrorBoundary.res b/src/hyper-log-catcher/ErrorBoundary.res index 6319fe8ea..93056716b 100644 --- a/src/hyper-log-catcher/ErrorBoundary.res +++ b/src/hyper-log-catcher/ErrorBoundary.res @@ -95,7 +95,7 @@ let errorIcon = { module ErrorTextAndImage = { @react.component let make = (~divRef, ~level) => { - let {themeObj} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) + let {themeObj, localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) let message = switch level { | Top => "We'll be back with you shortly :)" | _ => "Try another payment method :)" @@ -113,7 +113,7 @@ module ErrorTextAndImage = {
{errorIcon}
-
{"Oops, something went wrong!"->React.string}
+
{localeString.somethingWentWrongText->React.string}
{message->React.string}
From 46695d3f25cab5b677c2eac4ca38ad64c8a688ee Mon Sep 17 00:00:00 2001 From: Arush Kapoor Date: Tue, 7 Apr 2026 00:38:16 +0530 Subject: [PATCH 2/6] =?UTF-8?q?fix:=20address=20code=20review=20findings?= =?UTF-8?q?=20=E2=80=94=20replace=203=20missed=20hardcoded=20strings=20and?= =?UTF-8?q?=20remove=20redundant=20Utils.=20qualification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - B1: ClickToPayNotYou.res — replace hardcoded "Email" with localeString.emailLabel - B2: BankDebitModal.res — replace hardcoded "Routing number" with localeString.formFieldACHRoutingNumberLabel - B3: BankDebitModal.res — replace hardcoded "Account number" with localeString.accountNumberText - NB3: VoucherDisplay.res — remove redundant Utils. prefix (file already has open Utils) --- src/Components/ClickToPayNotYou.res | 8 +++----- src/Payments/BankDebitModal.res | 4 ++-- src/Payments/VoucherDisplay.res | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/Components/ClickToPayNotYou.res b/src/Components/ClickToPayNotYou.res index 8fe09c62d..570b53b72 100644 --- a/src/Components/ClickToPayNotYou.res +++ b/src/Components/ClickToPayNotYou.res @@ -178,9 +178,7 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis
-

- {React.string(localeString.ctpSwitchIdentifierText)} -

+

{React.string(localeString.ctpSwitchIdentifierText)}

@@ -190,7 +188,7 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis value={identifierType->getIdentityType} onChange={handleTypeChange} className="w-full p-3 pr-10 border border-gray-300 rounded-md appearance-none"> - + @@ -239,7 +237,7 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis type_="tel" value={identifier} onChange={handlePhoneInputChange} - placeholder=localeString.mobileNumberPlaceholder + placeholder=localeString.mobileNumberPlaceholder className="flex-grow p-3 focus:outline-none w-full" required=true /> diff --git a/src/Payments/BankDebitModal.res b/src/Payments/BankDebitModal.res index bb6d58563..34bf97f0d 100644 --- a/src/Payments/BankDebitModal.res +++ b/src/Payments/BankDebitModal.res @@ -273,7 +273,7 @@ let make = (~setModalData) => { color: themeObj.colorText, marginBottom: "5px", }> - {React.string("Routing number")} + {React.string(localeString.formFieldACHRoutingNumberLabel)}
{ color: themeObj.colorText, marginBottom: "5px", }> - {React.string("Account number")} + {React.string(localeString.accountNumberText)}
{

- {React.string(localeString.voucherGeneratedText(paymentMethod->Utils.snakeToTitleCase))} + {React.string(localeString.voucherGeneratedText(paymentMethod->snakeToTitleCase))} Date: Tue, 7 Apr 2026 00:51:10 +0530 Subject: [PATCH 3/6] fix: add translations for 59 new locale keys across 16 non-English locale files Replace English fallbacks with proper translations in all non-English locale files for the 59 keys added in TD-005. Convert string syntax from double quotes to backticks for non-ASCII characters. Includes minor ReScript formatting adjustments in source files. --- src/Components/AddBankAccount.res | 4 +- src/Components/ClickToPayDetails.res | 14 +- src/Components/ClickToPayNotYou.res | 4 +- src/LocaleStrings/ArabicLocale.res | 122 +++++++++-------- src/LocaleStrings/CatalanLocale.res | 122 +++++++++-------- src/LocaleStrings/ChineseLocale.res | 122 +++++++++-------- src/LocaleStrings/DeutschLocale.res | 120 ++++++++-------- src/LocaleStrings/DutchLocale.res | 120 ++++++++-------- src/LocaleStrings/EnglishGBLocale.res | 12 +- src/LocaleStrings/EnglishLocale.res | 12 +- src/LocaleStrings/FrenchBelgiumLocale.res | 128 +++++++++--------- src/LocaleStrings/FrenchLocale.res | 128 +++++++++--------- src/LocaleStrings/HebrewLocale.res | 122 +++++++++-------- src/LocaleStrings/ItalianLocale.res | 122 +++++++++-------- src/LocaleStrings/JapaneseLocale.res | 122 +++++++++-------- src/LocaleStrings/PolishLocale.res | 120 ++++++++-------- src/LocaleStrings/PortugueseLocale.res | 122 +++++++++-------- src/LocaleStrings/RussianLocale.res | 122 +++++++++-------- src/LocaleStrings/SpanishLocale.res | 122 +++++++++-------- src/LocaleStrings/SwedishLocale.res | 120 ++++++++-------- .../TraditionalChineseLocale.res | 122 +++++++++-------- src/Payments/AddBankDetails.res | 10 +- src/Payments/BankTransfersPopup.res | 8 +- src/Payments/QRCodeDisplay.res | 4 +- 24 files changed, 1050 insertions(+), 974 deletions(-) diff --git a/src/Components/AddBankAccount.res b/src/Components/AddBankAccount.res index 629c12675..665a79542 100644 --- a/src/Components/AddBankAccount.res +++ b/src/Components/AddBankAccount.res @@ -70,7 +70,9 @@ let make = (~modalData, ~setModalData) => {

-
{React.string(localeString.bankAccountDisplayText(last4digts))}
+
+ {React.string(localeString.bankAccountDisplayText(last4digts))} +
{setModalData(_ => None)}} diff --git a/src/Components/ClickToPayDetails.res b/src/Components/ClickToPayDetails.res index 65f7a3fb3..f49c84cc9 100644 --- a/src/Components/ClickToPayDetails.res +++ b/src/Components/ClickToPayDetails.res @@ -77,7 +77,9 @@ let make = ( {!isUnrecognizedUser ?
- {React.string(localeString.ctpConsentSharingText(clickToPayConfig.dpaName, formattedCardBrand))} + {React.string( + localeString.ctpConsentSharingText(clickToPayConfig.dpaName, formattedCardBrand), + )} {React.string(" ")} // {/* Content */}
- - {React.string(localeString.ctpRememberMeTooltipLine1)} - - - {React.string(localeString.ctpRememberMeTooltipLine2)} - + {React.string(localeString.ctpRememberMeTooltipLine1)} + {React.string(localeString.ctpRememberMeTooltipLine2)}
- {React.string(localeString.ctpTermsConsentText(formattedCardBrand))} + {React.string(localeString.ctpTermsConsentText(formattedCardBrand))} handleOpenUrl(ev, getTermsUrl())}> diff --git a/src/Components/ClickToPayNotYou.res b/src/Components/ClickToPayNotYou.res index 570b53b72..326594440 100644 --- a/src/Components/ClickToPayNotYou.res +++ b/src/Components/ClickToPayNotYou.res @@ -188,7 +188,9 @@ let make = (~setIsShowClickToPayNotYou, ~isCTPAuthenticateNotYouClicked, ~getVis value={identifierType->getIdentityType} onChange={handleTypeChange} className="w-full p-3 pr-10 border border-gray-300 rounded-md appearance-none"> - + diff --git a/src/LocaleStrings/ArabicLocale.res b/src/LocaleStrings/ArabicLocale.res index 67e524244..38bdfae22 100644 --- a/src/LocaleStrings/ArabicLocale.res +++ b/src/LocaleStrings/ArabicLocale.res @@ -261,63 +261,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "عرض المزيد", showLess: "عرض أقل", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `تم النسخ!`, + copyText: `نسخ`, + copyQRDataText: `نسخ بيانات رمز QR`, + qrCodeValidityText: `رمز QR صالح لمدة 15 دقيقة القادمة، يرجى عدم إغلاق الصفحة حتى تتم عملية الدفع بنجاح، وبعدها ستتم إعادة توجيهك تلقائيًا.`, + doneText: `تم`, + moreText: `المزيد`, + addBankDetailsConfirmText: `يرجى إضافة تفاصيل البنك ثم تأكيد الدفع باستخدام طرق الدفع المضافة.`, + addBankDetailsButtonText: `إضافة تفاصيل البنك`, + bankDebitStepsText: pmt => + `الخصم المباشر ${pmt} يتطلب خطوتين للدفع. يرجى اتباع التعليمات:`, + bankDebitStep1Text: `يرجى النقر على إضافة تفاصيل البنك والمتابعة لإضافة تفاصيل حسابك المصرفي.`, + bankDebitStep2Text: `بعد التحقق، ستظهر الحسابات المضافة. يمكنك اختيار الحساب الذي تريد الدفع منه والنقر على زر الدفع.`, + removeAccountText: `إزالة الحساب`, + bankAccountDisplayText: last4 => `بنك **** ${last4}`, + microDepositsInitiatedText: `تم بدء الإيداعات الصغيرة`, + microDepositsExpectText: last4 => + `توقع إيداعًا بقيمة $0.01 في الحساب المنتهي بـ **** ${last4} خلال 1-2 أيام عمل ورسالة بريد إلكتروني تتضمن تعليمات إضافية للتحقق من حسابك.`, + bankStatementDisplayText: last4 => `**** ${last4} كشف حساب بنكي`, + transactionText: `المعاملة`, + amountText: `المبلغ`, + typeText: `النوع`, + bankDetailsHeadingText: `تفاصيل البنك`, + accountHolderNameLabel: `اسم صاحب الحساب`, + accountHolderNamePlaceholder: `مثال: محمد أحمد`, + accountTypeLabel: `نوع الحساب`, + errorOccurredText: `حدث خطأ`, + bankTransferTitleText: title => `تحويل بنكي ${title}`, + useDetailsToTransferText: `استخدم هذه التفاصيل لتحويل المبلغ`, + bankAccountDetailsText: `تفاصيل الحساب المصرفي`, + bankTransferDisclaimerText: `يرجى تدوين هذه التفاصيل قبل إغلاق هذه النافذة. لن تتمكن من إنشاء هذه التفاصيل مرة أخرى.`, + voucherGeneratedText: pm => + `تم إنشاء قسيمة ${pm} بنجاح! إذا لم يبدأ تنزيل المستند تلقائيًا، انقر `, + hereText: `هنا`, + toDownloadItText: ` لتنزيله.`, + barCodeReferenceText: `مرجع الرمز الشريطي: `, + voucherDisclaimerText: `يرجى عدم إغلاق الصفحة حتى يتم تنزيل القسيمة بنجاح، وبعدها ستتم إعادة توجيهك تلقائيًا.`, + payWithText: `الدفع باستخدام`, + notYouText: `لست أنت؟`, + ctpSwitchIdentifierText: `أدخل بريدًا إلكترونيًا أو رقم هاتف جديدًا للوصول إلى مجموعة مختلفة من البطاقات المرتبطة.`, + phoneLabel: `الهاتف`, + enterEmailPlaceholder: `أدخل البريد الإلكتروني`, + mobileNumberPlaceholder: `رقم الهاتف المحمول`, + switchIdButtonText: `تبديل المعرّف`, + ctpConsentSharingText: (dpaName, cardBrand) => + `بالمتابعة، سيشارك ${dpaName} تفاصيل بطاقتك وعنوان الفوترة والبريد الإلكتروني مع ${cardBrand} للسماح لك بالتسجيل بأمان في Click to Pay لعمليات دفع أسرع.`, + learnMoreText: `اعرف المزيد`, + ctpSaveInfoText: cardBrand => `حفظ معلوماتي لدى ${cardBrand} `, + ctpFasterCheckoutText: `لعملية دفع أسرع وأكثر أمانًا`, + ctpVerifyIdentityText: `سيتم استخدام بريدك الإلكتروني أو رقم هاتفك للتحقق من هويتك.`, + ctpDataRatesText: `قد تُطبّق رسوم الرسائل/البيانات.`, + ctpRememberMeText: `تذكرني على هذا المتصفح`, + ctpRememberMeTooltipLine1: `عند التذكر، ستتخطى عملية التحقق وتصل بأمان إلى بطاقاتك المحفوظة عند الدفع باستخدام Click to Pay.`, + ctpRememberMeTooltipLine2: `لا يُنصح به للأجهزة العامة أو المشتركة لأنه يستخدم ملفات تعريف الارتباط.`, + ctpTermsConsentText: cardBrand => `بالمتابعة، فإنك توافق على شروط ${cardBrand} `, + termsText: `الشروط`, + ctpPrivacyConsentText: `وتفهم أنه سيتم معالجة بياناتك وفقًا لـ `, + privacyNoticeText: `إشعار الخصوصية`, + loadingText: `جارٍ التحميل...`, + processingPaymentText: `جارٍ معالجة دفعتك...`, + redirectedToNewTabText: `تم توجيهك إلى علامة تبويب جديدة لإكمال عملية الدفع. سيتم تحديث الحالة تلقائيًا`, + addNewCardText: `إضافة بطاقة جديدة`, + somethingWentWrongText: `عذرًا، حدث خطأ ما!`, + selectCardBrandText: `اختر علامة بطاقة`, } diff --git a/src/LocaleStrings/CatalanLocale.res b/src/LocaleStrings/CatalanLocale.res index 6c0818546..cd851a274 100644 --- a/src/LocaleStrings/CatalanLocale.res +++ b/src/LocaleStrings/CatalanLocale.res @@ -260,63 +260,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Mostra més", showLess: "Mostra menys", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `Copiat!`, + copyText: `Copiar`, + copyQRDataText: `Copiar dades QR`, + qrCodeValidityText: `El codi QR és vàlid durant els pròxims 15 minuts. No tanqueu la pàgina fins que el pagament s'hagi completat correctament; després sereu redirigit automàticament.`, + doneText: `Fet`, + moreText: `Més`, + addBankDetailsConfirmText: `Si us plau, afegiu les dades bancàries i després confirmeu el pagament amb els mètodes de pagament afegits.`, + addBankDetailsButtonText: `Afegir dades bancàries`, + bankDebitStepsText: pmt => + `El dèbit bancari ${pmt} requereix 2 passos per pagar. Seguiu les instruccions:`, + bankDebitStep1Text: `Feu clic a «Afegir dades bancàries» i procediu a afegir les dades del vostre compte bancari.`, + bankDebitStep2Text: `Després de la verificació, veureu els vostres comptes afegits. Podeu seleccionar el compte amb el qual voleu pagar i fer clic al botó de pagament.`, + removeAccountText: `Eliminar compte`, + bankAccountDisplayText: last4 => `Banc **** ${last4}`, + microDepositsInitiatedText: `Microdipòsits iniciats`, + microDepositsExpectText: last4 => + `Espereu un dipòsit de 0,01 $ al compte acabat en **** ${last4} en 1-2 dies hàbils i un correu electrònic amb instruccions addicionals per verificar el vostre compte.`, + bankStatementDisplayText: last4 => `**** ${last4} EXTRACTE BANCARI`, + transactionText: `Transacció`, + amountText: `Import`, + typeText: `Tipus`, + bankDetailsHeadingText: `Dades bancàries`, + accountHolderNameLabel: `Nom del titular del compte`, + accountHolderNamePlaceholder: `p. ex.: Joan Garcia`, + accountTypeLabel: `Tipus de compte`, + errorOccurredText: `S'ha produït un error`, + bankTransferTitleText: title => `Transferència bancària ${title}`, + useDetailsToTransferText: `Utilitzeu aquestes dades per transferir l'import`, + bankAccountDetailsText: `Dades del compte bancari`, + bankTransferDisclaimerText: `Preneu nota d'aquestes dades abans de tancar aquesta finestra. No podreu generar aquestes dades de nou.`, + voucherGeneratedText: pm => + `El val ${pm} s'ha generat correctament! Si la descàrrega del document no s'ha iniciat automàticament, feu clic `, + hereText: `aquí`, + toDownloadItText: ` per descarregar-lo.`, + barCodeReferenceText: `Referència del codi de barres: `, + voucherDisclaimerText: `No tanqueu la pàgina fins que el val s'hagi descarregat correctament; després sereu redirigit automàticament.`, + payWithText: `Pagar amb`, + notYouText: `No sou vós?`, + ctpSwitchIdentifierText: `Introduïu un nou correu electrònic o número de mòbil per accedir a un conjunt diferent de targetes vinculades.`, + phoneLabel: `Telèfon`, + enterEmailPlaceholder: `Introduïu el correu electrònic`, + mobileNumberPlaceholder: `Número de mòbil`, + switchIdButtonText: `Canviar identificador`, + ctpConsentSharingText: (dpaName, cardBrand) => + `En continuar, ${dpaName} compartirà les dades de la vostra targeta, l'adreça de facturació i el correu electrònic amb ${cardBrand} per permetre-us registrar-vos de manera segura a Click to Pay per a pagaments més ràpids.`, + learnMoreText: `Més informació`, + ctpSaveInfoText: cardBrand => `Desar la meva informació amb ${cardBrand} `, + ctpFasterCheckoutText: `per a un pagament més ràpid i segur`, + ctpVerifyIdentityText: `El vostre correu electrònic o número de mòbil s'utilitzarà per verificar la vostra identitat.`, + ctpDataRatesText: `Es poden aplicar tarifes de missatges/dades.`, + ctpRememberMeText: `Recorda'm en aquest navegador`, + ctpRememberMeTooltipLine1: `Quan se us recordi, ometreu la verificació i accedireu de manera segura a les vostres targetes desades en pagar amb Click to Pay.`, + ctpRememberMeTooltipLine2: `No recomanat per a dispositius públics o compartits perquè utilitza galetes.`, + ctpTermsConsentText: cardBrand => `En continuar, accepteu els `, + termsText: `Termes`, + ctpPrivacyConsentText: `i enteneu que les vostres dades seran processades d'acord amb l'`, + privacyNoticeText: `Avís de privadesa`, + loadingText: `Carregant...`, + processingPaymentText: `Estem processant el vostre pagament...`, + redirectedToNewTabText: `Heu estat redirigit a una nova pestanya per completar el pagament. L'estat s'actualitzarà automàticament`, + addNewCardText: `Afegir nova targeta`, + somethingWentWrongText: `Ups, alguna cosa ha anat malament!`, + selectCardBrandText: `Seleccioneu una marca de targeta`, } diff --git a/src/LocaleStrings/ChineseLocale.res b/src/LocaleStrings/ChineseLocale.res index bfd13f96c..8bc56873a 100644 --- a/src/LocaleStrings/ChineseLocale.res +++ b/src/LocaleStrings/ChineseLocale.res @@ -258,63 +258,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "显示更多", showLess: "收起", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `已复制!`, + copyText: `复制`, + copyQRDataText: `复制二维码数据`, + qrCodeValidityText: `此二维码在接下来的15分钟内有效,请在成功完成支付之前不要关闭页面,之后您将被自动重定向。`, + doneText: `完成`, + moreText: `更多`, + addBankDetailsConfirmText: `请添加银行信息,然后使用已添加的支付方式确认付款。`, + addBankDetailsButtonText: `添加银行信息`, + bankDebitStepsText: pmt => + `${pmt} 银行借记需要2个步骤完成支付。请按照以下说明操作:`, + bankDebitStep1Text: `请点击"添加银行信息",然后继续添加您的银行账户信息。`, + bankDebitStep2Text: `验证完成后,您将看到已添加的账户。您可以选择要用于支付的账户,然后点击支付按钮。`, + removeAccountText: `移除账户`, + bankAccountDisplayText: last4 => `银行 **** ${last4}`, + microDepositsInitiatedText: `小额验证存款已发起`, + microDepositsExpectText: last4 => + `预计在1-2个工作日内,尾号为 **** ${last4} 的账户将收到一笔$0.01的存款,同时您将收到一封包含账户验证说明的电子邮件。`, + bankStatementDisplayText: last4 => `**** ${last4} 银行对账单`, + transactionText: `交易`, + amountText: `金额`, + typeText: `类型`, + bankDetailsHeadingText: `银行信息`, + accountHolderNameLabel: `账户持有人姓名`, + accountHolderNamePlaceholder: `例如:张三`, + accountTypeLabel: `账户类型`, + errorOccurredText: `发生错误`, + bankTransferTitleText: title => `${title} 银行转账`, + useDetailsToTransferText: `使用以下信息进行转账`, + bankAccountDetailsText: `银行账户信息`, + bankTransferDisclaimerText: `请在关闭此弹窗之前记录这些信息。您将无法再次生成这些信息。`, + voucherGeneratedText: pm => + `${pm} 凭证已成功生成!如果文件未自动开始下载,请点击`, + hereText: `此处`, + toDownloadItText: ` 进行下载。`, + barCodeReferenceText: `条形码参考号: `, + voucherDisclaimerText: `请在成功下载凭证之前不要关闭页面,之后您将被自动重定向。`, + payWithText: `使用以下方式支付`, + notYouText: `不是本人?`, + ctpSwitchIdentifierText: `输入新的电子邮箱或手机号码以访问另一组关联卡片。`, + phoneLabel: `电话`, + enterEmailPlaceholder: `输入电子邮箱`, + mobileNumberPlaceholder: `手机号码`, + switchIdButtonText: `切换身份`, + ctpConsentSharingText: (dpaName, cardBrand) => + `继续操作即表示 ${dpaName} 将与 ${cardBrand} 共享您的卡片信息、账单地址和电子邮箱,以便您安全注册 Click to Pay 实现更快捷的支付。`, + learnMoreText: `了解更多`, + ctpSaveInfoText: cardBrand => `将我的信息保存到 ${cardBrand} `, + ctpFasterCheckoutText: `以获得更快速、更安全的支付体验`, + ctpVerifyIdentityText: `您的电子邮箱或手机号码将用于验证您的身份。`, + ctpDataRatesText: `可能会收取短信/数据费用。`, + ctpRememberMeText: `在此浏览器中记住我`, + ctpRememberMeTooltipLine1: `记住后,使用 Click to Pay 支付时将跳过验证步骤,安全访问您保存的卡片。`, + ctpRememberMeTooltipLine2: `不建议在公共或共享设备上使用,因为此功能使用 Cookie。`, + ctpTermsConsentText: cardBrand => `继续操作即表示您同意 ${cardBrand} 的 `, + termsText: `条款`, + ctpPrivacyConsentText: `并理解您的数据将按照以下内容进行处理 `, + privacyNoticeText: `隐私声明`, + loadingText: `加载中...`, + processingPaymentText: `正在处理您的付款...`, + redirectedToNewTabText: `您已被重定向到新标签页以完成付款。状态将自动更新`, + addNewCardText: `添加新卡`, + somethingWentWrongText: `抱歉,出了点问题!`, + selectCardBrandText: `选择卡品牌`, } diff --git a/src/LocaleStrings/DeutschLocale.res b/src/LocaleStrings/DeutschLocale.res index 36bf71ffd..266373de8 100644 --- a/src/LocaleStrings/DeutschLocale.res +++ b/src/LocaleStrings/DeutschLocale.res @@ -259,63 +259,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Mehr anzeigen", showLess: "Weniger anzeigen", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", + copiedText: `Kopiert!`, + copyText: `Kopieren`, + copyQRDataText: `QR-Daten kopieren`, + qrCodeValidityText: `Der QR-Code ist für die nächsten 15 Minuten gültig. Bitte schließen Sie dieses Fenster nicht, bis Sie die Zahlung erfolgreich abgeschlossen haben. Danach werden Sie automatisch weitergeleitet.`, + doneText: `Fertig`, + moreText: `Mehr`, + addBankDetailsConfirmText: `Bitte fügen Sie Bankdaten hinzu und bestätigen Sie anschließend die Zahlung mit den hinzugefügten Zahlungsmethoden.`, + addBankDetailsButtonText: `Bankdaten hinzufügen`, + bankDebitStepsText: pmt => + `${pmt} Lastschrift hat 2 Schritte zur Zahlung. Bitte folgen Sie den Anweisungen:`, + bankDebitStep1Text: `Bitte klicken Sie auf „Bankdaten hinzufügen" und fahren Sie fort, um Ihre Bankverbindung hinzuzufügen.`, + bankDebitStep2Text: `Nach der Verifizierung sehen Sie Ihr(e) hinzugefügte(n) Konto/Konten. Sie können das Konto auswählen, mit dem Sie bezahlen möchten, und auf die Schaltfläche „Bezahlen" klicken.`, + removeAccountText: `Konto entfernen`, bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + microDepositsInitiatedText: `Mikro-Einzahlungen eingeleitet`, + microDepositsExpectText: last4 => + `Erwarten Sie eine Einzahlung von 0,01 $ auf das Konto mit der Endung **** ${last4} innerhalb von 1–2 Werktagen sowie eine E-Mail mit weiteren Anweisungen zur Verifizierung Ihres Kontos.`, + bankStatementDisplayText: last4 => `**** ${last4} KONTOAUSZUG`, + transactionText: `Transaktion`, + amountText: `Betrag`, + typeText: `Typ`, + bankDetailsHeadingText: `Bankdaten`, + accountHolderNameLabel: `Name des Kontoinhabers`, + accountHolderNamePlaceholder: `z. B.: Max Mustermann`, + accountTypeLabel: `Kontotyp`, + errorOccurredText: `Fehler aufgetreten`, + bankTransferTitleText: title => `${title} Banküberweisung`, + useDetailsToTransferText: `Verwenden Sie diese Daten, um den Betrag zu überweisen`, + bankAccountDetailsText: `Bankverbindungsdetails`, + bankTransferDisclaimerText: `Bitte notieren Sie sich diese Daten, bevor Sie dieses Fenster schließen. Sie können diese Daten nicht erneut generieren.`, + voucherGeneratedText: pm => + `${pm}-Gutschein wurde erfolgreich erstellt! Falls der Download nicht automatisch gestartet hat, klicken Sie `, + hereText: `hier`, + toDownloadItText: ` um ihn herunterzuladen.`, + barCodeReferenceText: `Barcode-Referenz: `, + voucherDisclaimerText: `Bitte schließen Sie dieses Fenster nicht, bis Sie den Gutschein erfolgreich heruntergeladen haben. Danach werden Sie automatisch weitergeleitet.`, + payWithText: `Bezahlen mit`, + notYouText: `Nicht Sie?`, + ctpSwitchIdentifierText: `Geben Sie eine neue E-Mail-Adresse oder Handynummer ein, um auf andere verknüpfte Karten zuzugreifen.`, + phoneLabel: `Telefon`, + enterEmailPlaceholder: `E-Mail eingeben`, + mobileNumberPlaceholder: `Handynummer`, + switchIdButtonText: `ID wechseln`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Durch Fortfahren wird ${dpaName} Ihre Kartendaten, Rechnungsadresse und E-Mail-Adresse mit ${cardBrand} teilen, um Ihnen die sichere Registrierung bei Click to Pay für schnellere Bezahlvorgänge zu ermöglichen.`, + learnMoreText: `Mehr erfahren`, + ctpSaveInfoText: cardBrand => `Meine Daten bei ${cardBrand} speichern `, + ctpFasterCheckoutText: `für einen schnelleren und sicheren Bezahlvorgang`, + ctpVerifyIdentityText: `Ihre E-Mail-Adresse oder Handynummer wird zur Verifizierung verwendet.`, + ctpDataRatesText: `Es können Nachrichten-/Datengebühren anfallen.`, + ctpRememberMeText: `Auf diesem Browser merken`, + ctpRememberMeTooltipLine1: `Wenn gespeichert, überspringen Sie die Verifizierung und greifen sicher auf Ihre gespeicherten Karten zu, wenn Sie mit Click to Pay bezahlen.`, + ctpRememberMeTooltipLine2: `Nicht empfohlen für öffentliche oder gemeinsam genutzte Geräte, da Cookies verwendet werden.`, + ctpTermsConsentText: cardBrand => `Durch Fortfahren stimmen Sie den ${cardBrand}-`, + termsText: `Bedingungen`, + ctpPrivacyConsentText: `zu und bestätigen, dass Ihre Daten gemäß der `, + privacyNoticeText: `Datenschutzerklärung`, + loadingText: `Wird geladen...`, + processingPaymentText: `Ihre Zahlung wird verarbeitet...`, + redirectedToNewTabText: `Sie wurden zu einem neuen Tab weitergeleitet, um Ihre Zahlung abzuschließen. Der Status wird automatisch aktualisiert`, + addNewCardText: `Neue Karte hinzufügen`, + somethingWentWrongText: `Hoppla, etwas ist schiefgelaufen!`, + selectCardBrandText: `Kartenmarke auswählen`, } diff --git a/src/LocaleStrings/DutchLocale.res b/src/LocaleStrings/DutchLocale.res index f7325f9ec..bf4c38d75 100644 --- a/src/LocaleStrings/DutchLocale.res +++ b/src/LocaleStrings/DutchLocale.res @@ -258,63 +258,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Meer tonen", showLess: "Minder tonen", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", + copiedText: `Gekopieerd!`, + copyText: `Kopiëren`, + copyQRDataText: `QR-gegevens kopiëren`, + qrCodeValidityText: `De QR-code is geldig voor de komende 15 minuten. Sluit dit venster niet totdat u de betaling succesvol heeft afgerond. Daarna wordt u automatisch doorgestuurd.`, + doneText: `Klaar`, + moreText: `Meer`, + addBankDetailsConfirmText: `Voeg bankgegevens toe en bevestig vervolgens de betaling met de toegevoegde betaalmethoden.`, + addBankDetailsButtonText: `Bankgegevens toevoegen`, + bankDebitStepsText: pmt => + `${pmt} Incasso heeft 2 stappen om te betalen. Volg de instructies:`, + bankDebitStep1Text: `Klik op „Bankgegevens toevoegen" en ga verder om uw bankrekeninggegevens toe te voegen.`, + bankDebitStep2Text: `Na verificatie ziet u uw toegevoegde rekening(en). U kunt de rekening selecteren waarmee u wilt betalen en op de betaalknop klikken.`, + removeAccountText: `Rekening verwijderen`, bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + microDepositsInitiatedText: `Micro-stortingen geïnitieerd`, + microDepositsExpectText: last4 => + `Verwacht een storting van $ 0,01 op de rekening eindigend op **** ${last4} binnen 1-2 werkdagen en een e-mail met aanvullende instructies om uw rekening te verifiëren.`, + bankStatementDisplayText: last4 => `**** ${last4} BANKAFSCHRIFT`, + transactionText: `Transactie`, + amountText: `Bedrag`, + typeText: `Type`, + bankDetailsHeadingText: `Bankgegevens`, + accountHolderNameLabel: `Naam rekeninghouder`, + accountHolderNamePlaceholder: `bijv.: Jan Jansen`, + accountTypeLabel: `Rekeningtype`, + errorOccurredText: `Fout opgetreden`, + bankTransferTitleText: title => `${title} bankoverschrijving`, + useDetailsToTransferText: `Gebruik deze gegevens om het bedrag over te maken`, + bankAccountDetailsText: `Bankrekeninggegevens`, + bankTransferDisclaimerText: `Noteer deze gegevens voordat u dit venster sluit. U kunt deze gegevens niet opnieuw genereren.`, + voucherGeneratedText: pm => + `${pm}-voucher is succesvol aangemaakt! Als het document niet automatisch is gedownload, klik `, + hereText: `hier`, + toDownloadItText: ` om het te downloaden.`, + barCodeReferenceText: `Barcodereferentie: `, + voucherDisclaimerText: `Sluit dit venster niet totdat u de voucher succesvol heeft gedownload. Daarna wordt u automatisch doorgestuurd.`, + payWithText: `Betalen met`, + notYouText: `Niet u?`, + ctpSwitchIdentifierText: `Voer een nieuw e-mailadres of mobiel nummer in om toegang te krijgen tot andere gekoppelde kaarten.`, + phoneLabel: `Telefoon`, + enterEmailPlaceholder: `E-mail invoeren`, + mobileNumberPlaceholder: `Mobiel nummer`, + switchIdButtonText: `ID wisselen`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Door verder te gaan, deelt ${dpaName} uw kaartgegevens, factuuradres en e-mailadres met ${cardBrand} zodat u zich veilig kunt inschrijven voor Click to Pay voor snellere betalingen.`, + learnMoreText: `Meer informatie`, + ctpSaveInfoText: cardBrand => `Mijn gegevens opslaan bij ${cardBrand} `, + ctpFasterCheckoutText: `voor een sneller en veiliger betaalproces`, + ctpVerifyIdentityText: `Uw e-mailadres of mobiel nummer wordt gebruikt om u te verifiëren.`, + ctpDataRatesText: `Bericht-/datakosten kunnen van toepassing zijn.`, + ctpRememberMeText: `Onthoud mij op deze browser`, + ctpRememberMeTooltipLine1: `Wanneer onthouden, slaat u de verificatie over en hebt u veilig toegang tot uw opgeslagen kaarten bij het betalen met Click to Pay.`, + ctpRememberMeTooltipLine2: `Niet aanbevolen voor openbare of gedeelde apparaten omdat dit cookies gebruikt.`, + ctpTermsConsentText: cardBrand => `Door verder te gaan, gaat u akkoord met de ${cardBrand} `, + termsText: `Voorwaarden`, + ctpPrivacyConsentText: `en begrijpt u dat uw gegevens worden verwerkt volgens de `, + privacyNoticeText: `Privacyverklaring`, + loadingText: `Laden...`, + processingPaymentText: `Uw betaling wordt verwerkt...`, + redirectedToNewTabText: `U bent doorgestuurd naar een nieuw tabblad om uw betaling af te ronden. De status wordt automatisch bijgewerkt`, + addNewCardText: `Nieuwe kaart toevoegen`, + somethingWentWrongText: `Oeps, er is iets misgegaan!`, + selectCardBrandText: `Selecteer een kaartmerk`, } diff --git a/src/LocaleStrings/EnglishGBLocale.res b/src/LocaleStrings/EnglishGBLocale.res index 1ecc63fb2..d1c344e00 100644 --- a/src/LocaleStrings/EnglishGBLocale.res +++ b/src/LocaleStrings/EnglishGBLocale.res @@ -266,13 +266,15 @@ let localeStrings: LocaleStringTypes.localeStrings = { moreText: "More", addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStepsText: pmt => + `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", removeAccountText: "Remove account", bankAccountDisplayText: last4 => `Bank **** ${last4}`, microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + microDepositsExpectText: last4 => + `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, transactionText: "Transaction", amountText: "Amount", @@ -286,7 +288,8 @@ let localeStrings: LocaleStringTypes.localeStrings = { useDetailsToTransferText: "Use these details to transfer amount", bankAccountDetailsText: "Bank Account Details", bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + voucherGeneratedText: pm => + `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, hereText: "here", toDownloadItText: " to download it.", barCodeReferenceText: "Bar Code Reference: ", @@ -298,7 +301,8 @@ let localeStrings: LocaleStringTypes.localeStrings = { enterEmailPlaceholder: "Enter email", mobileNumberPlaceholder: "Mobile number", switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + ctpConsentSharingText: (dpaName, cardBrand) => + `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, learnMoreText: "Learn more", ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, ctpFasterCheckoutText: "for a faster and secure checkout", diff --git a/src/LocaleStrings/EnglishLocale.res b/src/LocaleStrings/EnglishLocale.res index 98c018b2c..3c3c150fc 100644 --- a/src/LocaleStrings/EnglishLocale.res +++ b/src/LocaleStrings/EnglishLocale.res @@ -266,13 +266,15 @@ let localeStrings: LocaleStringTypes.localeStrings = { moreText: "More", addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, + bankDebitStepsText: pmt => + `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", removeAccountText: "Remove account", bankAccountDisplayText: last4 => `Bank **** ${last4}`, microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, + microDepositsExpectText: last4 => + `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, transactionText: "Transaction", amountText: "Amount", @@ -286,7 +288,8 @@ let localeStrings: LocaleStringTypes.localeStrings = { useDetailsToTransferText: "Use these details to transfer amount", bankAccountDetailsText: "Bank Account Details", bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, + voucherGeneratedText: pm => + `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, hereText: "here", toDownloadItText: " to download it.", barCodeReferenceText: "Bar Code Reference: ", @@ -298,7 +301,8 @@ let localeStrings: LocaleStringTypes.localeStrings = { enterEmailPlaceholder: "Enter email", mobileNumberPlaceholder: "Mobile number", switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, + ctpConsentSharingText: (dpaName, cardBrand) => + `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, learnMoreText: "Learn more", ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, ctpFasterCheckoutText: "for a faster and secure checkout", diff --git a/src/LocaleStrings/FrenchBelgiumLocale.res b/src/LocaleStrings/FrenchBelgiumLocale.res index 6ad22319a..a4c5975e5 100644 --- a/src/LocaleStrings/FrenchBelgiumLocale.res +++ b/src/LocaleStrings/FrenchBelgiumLocale.res @@ -256,67 +256,71 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentWithInterest: "avec intérêts", installmentTotal: "Total", installmentSelectPlanError: "Veuillez sélectionner un plan de paiement", - installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", - showMore: "Afficher plus", - showLess: "Afficher moins", + installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", + showMore: "Afficher plus", + showLess: "Afficher moins", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `Copié !`, + copyText: `Copier`, + copyQRDataText: `Copier les données QR`, + qrCodeValidityText: `Le code QR est valide pendant les 15 prochaines minutes. Veuillez ne pas fermer cette page tant que vous n'avez pas terminé le paiement avec succès, après quoi vous serez automatiquement redirigé(e).`, + doneText: `Terminé`, + moreText: `Plus`, + addBankDetailsConfirmText: `Veuillez ajouter les coordonnées bancaires puis confirmer le paiement avec les moyens de paiement ajoutés.`, + addBankDetailsButtonText: `Ajouter les coordonnées bancaires`, + bankDebitStepsText: pmt => + `Le prélèvement bancaire ${pmt} comporte 2 étapes de paiement. Veuillez suivre les instructions :`, + bankDebitStep1Text: `Veuillez cliquer sur Ajouter les coordonnées bancaires et procéder à l'ajout des détails de votre compte bancaire.`, + bankDebitStep2Text: `Après vérification, vous verrez votre ou vos comptes ajoutés. Vous pouvez sélectionner le compte avec lequel vous souhaitez payer et cliquer sur le bouton Payer.`, + removeAccountText: `Supprimer le compte`, + bankAccountDisplayText: last4 => `Banque **** ${last4}`, + microDepositsInitiatedText: `Micro-dépôts initiés`, + microDepositsExpectText: last4 => + `Un dépôt de 0,01 $ sera effectué sur le compte se terminant par **** ${last4} dans 1 à 2 jours ouvrables, accompagné d'un e-mail contenant des instructions supplémentaires pour vérifier votre compte.`, + bankStatementDisplayText: last4 => `**** ${last4} RELEVÉ BANCAIRE`, + transactionText: `Transaction`, + amountText: `Montant`, + typeText: `Type`, + bankDetailsHeadingText: `Coordonnées bancaires`, + accountHolderNameLabel: `Nom du titulaire du compte`, + accountHolderNamePlaceholder: `ex : Jean Dupont`, + accountTypeLabel: `Type de compte`, + errorOccurredText: `Une erreur est survenue`, + bankTransferTitleText: title => `Virement bancaire ${title}`, + useDetailsToTransferText: `Utilisez ces informations pour effectuer le virement`, + bankAccountDetailsText: `Détails du compte bancaire`, + bankTransferDisclaimerText: `Veuillez noter ces informations avant de fermer cette fenêtre. Vous ne pourrez pas générer ces détails à nouveau.`, + voucherGeneratedText: pm => + `Le bon ${pm} a été généré avec succès ! Si le document ne s'est pas téléchargé automatiquement, cliquez `, + hereText: `ici`, + toDownloadItText: ` pour le télécharger.`, + barCodeReferenceText: `Référence du code-barres : `, + voucherDisclaimerText: `Veuillez ne pas fermer cette page tant que vous n'avez pas téléchargé le bon avec succès, après quoi vous serez automatiquement redirigé(e).`, + payWithText: `Payer avec`, + notYouText: `Ce n'est pas vous ?`, + ctpSwitchIdentifierText: `Saisissez un nouvel e-mail ou numéro de téléphone pour accéder à un autre ensemble de cartes liées.`, + phoneLabel: `Téléphone`, + enterEmailPlaceholder: `Saisir l'e-mail`, + mobileNumberPlaceholder: `Numéro de téléphone mobile`, + switchIdButtonText: `Changer d'identifiant`, + ctpConsentSharingText: (dpaName, cardBrand) => + `En continuant, ${dpaName} partagera les détails de votre carte, votre adresse de facturation et votre e-mail avec ${cardBrand} pour vous permettre de vous inscrire en toute sécurité à Click to Pay pour des paiements plus rapides.`, + learnMoreText: `En savoir plus`, + ctpSaveInfoText: cardBrand => `Enregistrer mes informations avec ${cardBrand} `, + ctpFasterCheckoutText: `pour un paiement plus rapide et sécurisé`, + ctpVerifyIdentityText: `Votre e-mail ou numéro de téléphone sera utilisé pour vous vérifier.`, + ctpDataRatesText: `Des frais de messagerie/données peuvent s'appliquer.`, + ctpRememberMeText: `Se souvenir de moi sur ce navigateur`, + ctpRememberMeTooltipLine1: `Lorsque vous êtes mémorisé(e), vous n'aurez pas besoin de vérification et accéderez en toute sécurité à vos cartes enregistrées lors du paiement avec Click to Pay.`, + ctpRememberMeTooltipLine2: `Non recommandé pour les appareils publics ou partagés car cela utilise des cookies.`, + ctpTermsConsentText: cardBrand => `En continuant, vous acceptez les `, + termsText: `Conditions`, + ctpPrivacyConsentText: `et comprenez que vos données seront traitées conformément à la `, + privacyNoticeText: `Politique de confidentialité`, + loadingText: `Chargement...`, + processingPaymentText: `Nous traitons votre paiement...`, + redirectedToNewTabText: `Vous avez été redirigé(e) vers un nouvel onglet pour finaliser votre paiement. Le statut sera mis à jour automatiquement`, + addNewCardText: `Ajouter une nouvelle carte`, + somethingWentWrongText: `Oups, quelque chose s'est mal passé !`, + selectCardBrandText: `Sélectionnez une marque de carte`, } diff --git a/src/LocaleStrings/FrenchLocale.res b/src/LocaleStrings/FrenchLocale.res index bf07341bc..113223769 100644 --- a/src/LocaleStrings/FrenchLocale.res +++ b/src/LocaleStrings/FrenchLocale.res @@ -256,67 +256,71 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentWithInterest: "avec intérêts", installmentTotal: "Total", installmentSelectPlanError: "Veuillez sélectionner un plan de paiement", - installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", - showMore: "Afficher plus", - showLess: "Afficher moins", + installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", + showMore: "Afficher plus", + showLess: "Afficher moins", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `Copié !`, + copyText: `Copier`, + copyQRDataText: `Copier les données QR`, + qrCodeValidityText: `Le code QR est valide pendant les 15 prochaines minutes. Veuillez ne pas fermer cette page tant que vous n'avez pas terminé le paiement avec succès, après quoi vous serez automatiquement redirigé(e).`, + doneText: `Terminé`, + moreText: `Plus`, + addBankDetailsConfirmText: `Veuillez ajouter les coordonnées bancaires puis confirmer le paiement avec les moyens de paiement ajoutés.`, + addBankDetailsButtonText: `Ajouter les coordonnées bancaires`, + bankDebitStepsText: pmt => + `Le prélèvement bancaire ${pmt} comporte 2 étapes de paiement. Veuillez suivre les instructions :`, + bankDebitStep1Text: `Veuillez cliquer sur Ajouter les coordonnées bancaires et procéder à l'ajout des détails de votre compte bancaire.`, + bankDebitStep2Text: `Après vérification, vous verrez votre ou vos comptes ajoutés. Vous pouvez sélectionner le compte avec lequel vous souhaitez payer et cliquer sur le bouton Payer.`, + removeAccountText: `Supprimer le compte`, + bankAccountDisplayText: last4 => `Banque **** ${last4}`, + microDepositsInitiatedText: `Micro-dépôts initiés`, + microDepositsExpectText: last4 => + `Un dépôt de 0,01 $ sera effectué sur le compte se terminant par **** ${last4} dans 1 à 2 jours ouvrables, accompagné d'un e-mail contenant des instructions supplémentaires pour vérifier votre compte.`, + bankStatementDisplayText: last4 => `**** ${last4} RELEVÉ BANCAIRE`, + transactionText: `Transaction`, + amountText: `Montant`, + typeText: `Type`, + bankDetailsHeadingText: `Coordonnées bancaires`, + accountHolderNameLabel: `Nom du titulaire du compte`, + accountHolderNamePlaceholder: `ex : Jean Dupont`, + accountTypeLabel: `Type de compte`, + errorOccurredText: `Une erreur est survenue`, + bankTransferTitleText: title => `Virement bancaire ${title}`, + useDetailsToTransferText: `Utilisez ces informations pour effectuer le virement`, + bankAccountDetailsText: `Détails du compte bancaire`, + bankTransferDisclaimerText: `Veuillez noter ces informations avant de fermer cette fenêtre. Vous ne pourrez pas générer ces détails à nouveau.`, + voucherGeneratedText: pm => + `Le bon ${pm} a été généré avec succès ! Si le document ne s'est pas téléchargé automatiquement, cliquez `, + hereText: `ici`, + toDownloadItText: ` pour le télécharger.`, + barCodeReferenceText: `Référence du code-barres : `, + voucherDisclaimerText: `Veuillez ne pas fermer cette page tant que vous n'avez pas téléchargé le bon avec succès, après quoi vous serez automatiquement redirigé(e).`, + payWithText: `Payer avec`, + notYouText: `Ce n'est pas vous ?`, + ctpSwitchIdentifierText: `Saisissez un nouvel e-mail ou numéro de téléphone pour accéder à un autre ensemble de cartes liées.`, + phoneLabel: `Téléphone`, + enterEmailPlaceholder: `Saisir l'e-mail`, + mobileNumberPlaceholder: `Numéro de téléphone mobile`, + switchIdButtonText: `Changer d'identifiant`, + ctpConsentSharingText: (dpaName, cardBrand) => + `En continuant, ${dpaName} partagera les détails de votre carte, votre adresse de facturation et votre e-mail avec ${cardBrand} pour vous permettre de vous inscrire en toute sécurité à Click to Pay pour des paiements plus rapides.`, + learnMoreText: `En savoir plus`, + ctpSaveInfoText: cardBrand => `Enregistrer mes informations avec ${cardBrand} `, + ctpFasterCheckoutText: `pour un paiement plus rapide et sécurisé`, + ctpVerifyIdentityText: `Votre e-mail ou numéro de téléphone sera utilisé pour vous vérifier.`, + ctpDataRatesText: `Des frais de messagerie/données peuvent s'appliquer.`, + ctpRememberMeText: `Se souvenir de moi sur ce navigateur`, + ctpRememberMeTooltipLine1: `Lorsque vous êtes mémorisé(e), vous n'aurez pas besoin de vérification et accéderez en toute sécurité à vos cartes enregistrées lors du paiement avec Click to Pay.`, + ctpRememberMeTooltipLine2: `Non recommandé pour les appareils publics ou partagés car cela utilise des cookies.`, + ctpTermsConsentText: cardBrand => `En continuant, vous acceptez les `, + termsText: `Conditions`, + ctpPrivacyConsentText: `et comprenez que vos données seront traitées conformément à la `, + privacyNoticeText: `Politique de confidentialité`, + loadingText: `Chargement...`, + processingPaymentText: `Nous traitons votre paiement...`, + redirectedToNewTabText: `Vous avez été redirigé(e) vers un nouvel onglet pour finaliser votre paiement. Le statut sera mis à jour automatiquement`, + addNewCardText: `Ajouter une nouvelle carte`, + somethingWentWrongText: `Oups, quelque chose s'est mal passé !`, + selectCardBrandText: `Sélectionnez une marque de carte`, } diff --git a/src/LocaleStrings/HebrewLocale.res b/src/LocaleStrings/HebrewLocale.res index 8127f1dbc..241d9ec1f 100644 --- a/src/LocaleStrings/HebrewLocale.res +++ b/src/LocaleStrings/HebrewLocale.res @@ -259,63 +259,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "הצג עוד", showLess: "הצג פחות", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `הועתק!`, + copyText: `העתק`, + copyQRDataText: `העתק נתוני QR`, + qrCodeValidityText: `קוד ה-QR תקף ל-15 הדקות הבאות, אנא אל תסגור עד שתשלים את התשלום בהצלחה, ולאחר מכן תועבר אוטומטית.`, + doneText: `סיום`, + moreText: `עוד`, + addBankDetailsConfirmText: `אנא הוסף פרטי בנק ולאחר מכן אשר את התשלום באמצעות אמצעי התשלום שנוספו.`, + addBankDetailsButtonText: `הוסף פרטי בנק`, + bankDebitStepsText: pmt => + `חיוב בנקאי ${pmt} כולל 2 שלבים לתשלום. אנא עקוב אחר ההוראות:`, + bankDebitStep1Text: `אנא לחץ על הוסף פרטי בנק והמשך להוסיף את פרטי חשבון הבנק שלך.`, + bankDebitStep2Text: `לאחר האימות, תראה את החשבונות שנוספו. תוכל לבחור את החשבון שברצונך לשלם ממנו וללחוץ על כפתור התשלום.`, + removeAccountText: `הסר חשבון`, + bankAccountDisplayText: last4 => `בנק **** ${last4}`, + microDepositsInitiatedText: `הופקדו הפקדות מיקרו`, + microDepositsExpectText: last4 => + `צפה להפקדה של $0.01 בחשבון המסתיים ב-**** ${last4} תוך 1-2 ימי עסקים ודוא"ל עם הוראות נוספות לאימות החשבון שלך.`, + bankStatementDisplayText: last4 => `**** ${last4} דף חשבון בנק`, + transactionText: `עסקה`, + amountText: `סכום`, + typeText: `סוג`, + bankDetailsHeadingText: `פרטי בנק`, + accountHolderNameLabel: `שם בעל החשבון`, + accountHolderNamePlaceholder: `לדוגמה: ישראל ישראלי`, + accountTypeLabel: `סוג חשבון`, + errorOccurredText: `אירעה שגיאה`, + bankTransferTitleText: title => `העברה בנקאית ${title}`, + useDetailsToTransferText: `השתמש בפרטים אלה להעברת הסכום`, + bankAccountDetailsText: `פרטי חשבון בנק`, + bankTransferDisclaimerText: `אנא רשום פרטים אלה לפני סגירת חלון זה. לא תוכל ליצור פרטים אלה שוב.`, + voucherGeneratedText: pm => + `שובר ${pm} נוצר בהצלחה! אם המסמך לא התחיל להוריד אוטומטית, לחץ `, + hereText: `כאן`, + toDownloadItText: ` להורדה.`, + barCodeReferenceText: `מספר הפניה לברקוד: `, + voucherDisclaimerText: `אנא אל תסגור עד שתוריד בהצלחה את השובר, ולאחר מכן תועבר אוטומטית.`, + payWithText: `שלם באמצעות`, + notYouText: `לא אתה?`, + ctpSwitchIdentifierText: `הזן אימייל חדש או מספר טלפון נייד כדי לגשת לסט אחר של כרטיסים מקושרים.`, + phoneLabel: `טלפון`, + enterEmailPlaceholder: `הזן אימייל`, + mobileNumberPlaceholder: `מספר נייד`, + switchIdButtonText: `החלף מזהה`, + ctpConsentSharingText: (dpaName, cardBrand) => + `בהמשך, ${dpaName} ישתף את פרטי הכרטיס, כתובת החיוב והאימייל שלך עם ${cardBrand} כדי לאפשר לך להירשם באופן מאובטח ל-Click to Pay לתשלומים מהירים יותר.`, + learnMoreText: `למד עוד`, + ctpSaveInfoText: cardBrand => `שמור את המידע שלי עם ${cardBrand} `, + ctpFasterCheckoutText: `לתשלום מהיר ומאובטח יותר`, + ctpVerifyIdentityText: `האימייל או מספר הנייד שלך ישמשו לאימות הזהות שלך.`, + ctpDataRatesText: `עלויות הודעות/נתונים עשויות לחול.`, + ctpRememberMeText: `זכור אותי בדפדפן זה`, + ctpRememberMeTooltipLine1: `כשנזכר, תדלג על אימות ותיגש בצורה מאובטחת לכרטיסים השמורים שלך בעת תשלום באמצעות Click to Pay.`, + ctpRememberMeTooltipLine2: `לא מומלץ למכשירים ציבוריים או משותפים מכיוון שנעשה שימוש בעוגיות.`, + ctpTermsConsentText: cardBrand => `בהמשך, אתה מסכים לתנאים של ${cardBrand} `, + termsText: `תנאים`, + ctpPrivacyConsentText: `ומבין שהנתונים שלך יעובדו בהתאם ל`, + privacyNoticeText: `הודעת פרטיות`, + loadingText: `טוען...`, + processingPaymentText: `אנו מעבדים את התשלום שלך...`, + redirectedToNewTabText: `הועברת ללשונית חדשה להשלמת התשלום. הסטטוס יתעדכן אוטומטית`, + addNewCardText: `הוסף כרטיס חדש`, + somethingWentWrongText: `אופס, משהו השתבש!`, + selectCardBrandText: `בחר מותג כרטיס`, } diff --git a/src/LocaleStrings/ItalianLocale.res b/src/LocaleStrings/ItalianLocale.res index eac32f0db..588e27537 100644 --- a/src/LocaleStrings/ItalianLocale.res +++ b/src/LocaleStrings/ItalianLocale.res @@ -260,63 +260,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Mostra di più", showLess: "Mostra meno", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `Copiato!`, + copyText: `Copia`, + copyQRDataText: `Copia dati QR`, + qrCodeValidityText: `Il codice QR è valido per i prossimi 15 minuti. Non chiudere questa finestra fino a quando non avrai completato il pagamento con successo, dopodiché verrai reindirizzato automaticamente.`, + doneText: `Fatto`, + moreText: `Altro`, + addBankDetailsConfirmText: `Aggiungi i dati bancari e poi conferma il pagamento con i metodi di pagamento aggiunti.`, + addBankDetailsButtonText: `Aggiungi dati bancari`, + bankDebitStepsText: pmt => + `L'addebito bancario ${pmt} prevede 2 passaggi per il pagamento. Segui le istruzioni:`, + bankDebitStep1Text: `Fai clic su "Aggiungi dati bancari" e procedi per aggiungere i dettagli del tuo conto bancario.`, + bankDebitStep2Text: `Dopo la verifica, vedrai il/i tuo/tuoi conto/conti aggiunti. Puoi selezionare il conto con cui desideri pagare e fare clic sul pulsante di pagamento.`, + removeAccountText: `Rimuovi conto`, + bankAccountDisplayText: last4 => `Banca **** ${last4}`, + microDepositsInitiatedText: `Micro-depositi avviati`, + microDepositsExpectText: last4 => + `Attendi un deposito di $ 0,01 sul conto che termina con **** ${last4} entro 1-2 giorni lavorativi e un'e-mail con ulteriori istruzioni per verificare il tuo conto.`, + bankStatementDisplayText: last4 => `**** ${last4} ESTRATTO CONTO`, + transactionText: `Transazione`, + amountText: `Importo`, + typeText: `Tipo`, + bankDetailsHeadingText: `Dati bancari`, + accountHolderNameLabel: `Nome del titolare del conto`, + accountHolderNamePlaceholder: `es.: Mario Rossi`, + accountTypeLabel: `Tipo di conto`, + errorOccurredText: `Si è verificato un errore`, + bankTransferTitleText: title => `Bonifico bancario ${title}`, + useDetailsToTransferText: `Utilizza questi dati per trasferire l'importo`, + bankAccountDetailsText: `Dettagli del conto bancario`, + bankTransferDisclaimerText: `Prendi nota di questi dati prima di chiudere questa finestra. Non sarà possibile generare nuovamente questi dati.`, + voucherGeneratedText: pm => + `Il buono ${pm} è stato generato con successo! Se il documento non ha iniziato a scaricarsi automaticamente, fai clic `, + hereText: `qui`, + toDownloadItText: ` per scaricarlo.`, + barCodeReferenceText: `Riferimento codice a barre: `, + voucherDisclaimerText: `Non chiudere questa finestra fino a quando non avrai scaricato il buono con successo, dopodiché verrai reindirizzato automaticamente.`, + payWithText: `Paga con`, + notYouText: `Non sei tu?`, + ctpSwitchIdentifierText: `Inserisci un nuovo indirizzo e-mail o numero di cellulare per accedere a un diverso set di carte collegate.`, + phoneLabel: `Telefono`, + enterEmailPlaceholder: `Inserisci e-mail`, + mobileNumberPlaceholder: `Numero di cellulare`, + switchIdButtonText: `Cambia ID`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Continuando, ${dpaName} condividerà i dati della tua carta, l'indirizzo di fatturazione e l'e-mail con ${cardBrand} per consentirti di registrarti in modo sicuro a Click to Pay per pagamenti più rapidi.`, + learnMoreText: `Scopri di più`, + ctpSaveInfoText: cardBrand => `Salva le mie informazioni con ${cardBrand} `, + ctpFasterCheckoutText: `per un pagamento più rapido e sicuro`, + ctpVerifyIdentityText: `Il tuo indirizzo e-mail o numero di cellulare verrà utilizzato per verificare la tua identità.`, + ctpDataRatesText: `Potrebbero essere applicate tariffe per messaggi/dati.`, + ctpRememberMeText: `Ricordami su questo browser`, + ctpRememberMeTooltipLine1: `Se memorizzato, salterai la verifica e accederai in modo sicuro alle tue carte salvate quando paghi con Click to Pay.`, + ctpRememberMeTooltipLine2: `Non consigliato per dispositivi pubblici o condivisi perché utilizza i cookie.`, + ctpTermsConsentText: cardBrand => `Continuando, accetti i ${cardBrand} `, + termsText: `Termini`, + ctpPrivacyConsentText: `e comprendi che i tuoi dati saranno trattati secondo l'`, + privacyNoticeText: `Informativa sulla privacy`, + loadingText: `Caricamento...`, + processingPaymentText: `Stiamo elaborando il tuo pagamento...`, + redirectedToNewTabText: `Sei stato reindirizzato a una nuova scheda per completare il pagamento. Lo stato verrà aggiornato automaticamente`, + addNewCardText: `Aggiungi nuova carta`, + somethingWentWrongText: `Ops, qualcosa è andato storto!`, + selectCardBrandText: `Seleziona un marchio di carta`, } diff --git a/src/LocaleStrings/JapaneseLocale.res b/src/LocaleStrings/JapaneseLocale.res index 966da10de..01504c10e 100644 --- a/src/LocaleStrings/JapaneseLocale.res +++ b/src/LocaleStrings/JapaneseLocale.res @@ -259,63 +259,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "もっと見る", showLess: "表示を減らす", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `コピーしました!`, + copyText: `コピー`, + copyQRDataText: `QRデータをコピー`, + qrCodeValidityText: `このQRコードは15分間有効です。お支払いが完了するまでページを閉じないでください。完了後、自動的にリダイレクトされます。`, + doneText: `完了`, + moreText: `もっと見る`, + addBankDetailsConfirmText: `銀行の詳細を追加してから、追加した支払い方法で支払いを確認してください。`, + addBankDetailsButtonText: `銀行の詳細を追加`, + bankDebitStepsText: pmt => + `${pmt} 口座引落には2つのステップがあります。手順に従ってください:`, + bankDebitStep1Text: `「銀行の詳細を追加」をクリックして、銀行口座情報の追加に進んでください。`, + bankDebitStep2Text: `認証後、追加された口座が表示されます。支払いに使用する口座を選択し、支払いボタンをクリックしてください。`, + removeAccountText: `口座を削除`, + bankAccountDisplayText: last4 => `銀行 **** ${last4}`, + microDepositsInitiatedText: `少額入金が開始されました`, + microDepositsExpectText: last4 => + `**** ${last4} で終わる口座に1〜2営業日以内に$0.01の入金があります。口座の確認に関する追加の手順がメールで届きます。`, + bankStatementDisplayText: last4 => `**** ${last4} 銀行取引明細書`, + transactionText: `取引`, + amountText: `金額`, + typeText: `種類`, + bankDetailsHeadingText: `銀行の詳細`, + accountHolderNameLabel: `口座名義人`, + accountHolderNamePlaceholder: `例: 山田太郎`, + accountTypeLabel: `口座種別`, + errorOccurredText: `エラーが発生しました`, + bankTransferTitleText: title => `${title} 銀行振込`, + useDetailsToTransferText: `以下の詳細を使用して送金してください`, + bankAccountDetailsText: `銀行口座の詳細`, + bankTransferDisclaimerText: `このポップアップを閉じる前に、これらの詳細をメモしてください。この情報を再度生成することはできません。`, + voucherGeneratedText: pm => + `${pm} のバウチャーが正常に生成されました!ドキュメントのダウンロードが自動的に開始されない場合は、`, + hereText: `こちら`, + toDownloadItText: ` をクリックしてダウンロードしてください。`, + barCodeReferenceText: `バーコード参照番号: `, + voucherDisclaimerText: `バウチャーのダウンロードが完了するまでページを閉じないでください。完了後、自動的にリダイレクトされます。`, + payWithText: `で支払う`, + notYouText: `別の方ですか?`, + ctpSwitchIdentifierText: `新しいメールアドレスまたは携帯電話番号を入力して、別のカードセットにアクセスしてください。`, + phoneLabel: `電話番号`, + enterEmailPlaceholder: `メールアドレスを入力`, + mobileNumberPlaceholder: `携帯電話番号`, + switchIdButtonText: `IDを切り替え`, + ctpConsentSharingText: (dpaName, cardBrand) => + `続行すると、${dpaName} がお客様のカード情報、請求先住所、メールアドレスを ${cardBrand} と共有し、Click to Pay への安全な登録とより迅速な決済を可能にします。`, + learnMoreText: `詳しく見る`, + ctpSaveInfoText: cardBrand => `${cardBrand} に情報を保存する `, + ctpFasterCheckoutText: `より迅速で安全な決済のために`, + ctpVerifyIdentityText: `メールアドレスまたは携帯電話番号が本人確認に使用されます。`, + ctpDataRatesText: `メッセージ/データ通信料がかかる場合があります。`, + ctpRememberMeText: `このブラウザで記憶する`, + ctpRememberMeTooltipLine1: `記憶されると、Click to Pay での支払い時に認証をスキップして、保存されたカードに安全にアクセスできます。`, + ctpRememberMeTooltipLine2: `Cookieを使用するため、公共のデバイスや共有デバイスではお勧めしません。`, + ctpTermsConsentText: cardBrand => `続行すると、${cardBrand} の利用規約に同意したことになります `, + termsText: `利用規約`, + ctpPrivacyConsentText: `また、お客様のデータが以下に従って処理されることを理解します `, + privacyNoticeText: `プライバシーポリシー`, + loadingText: `読み込み中...`, + processingPaymentText: `お支払いを処理しています...`, + redirectedToNewTabText: `お支払いを完了するために新しいタブに移動しました。ステータスは自動的に更新されます`, + addNewCardText: `新しいカードを追加`, + somethingWentWrongText: `エラーが発生しました。もう一度お試しください。`, + selectCardBrandText: `カードブランドを選択`, } diff --git a/src/LocaleStrings/PolishLocale.res b/src/LocaleStrings/PolishLocale.res index 6c3128e9d..451ec6bcd 100644 --- a/src/LocaleStrings/PolishLocale.res +++ b/src/LocaleStrings/PolishLocale.res @@ -259,63 +259,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Pokaż więcej", showLess: "Pokaż mniej", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", + copiedText: `Skopiowano!`, + copyText: `Kopiuj`, + copyQRDataText: `Kopiuj dane QR`, + qrCodeValidityText: `Kod QR jest ważny przez następne 15 minut. Nie zamykaj strony, dopóki płatność nie zostanie pomyślnie zrealizowana — po jej zakończeniu nastąpi automatyczne przekierowanie.`, + doneText: `Gotowe`, + moreText: `Więcej`, + addBankDetailsConfirmText: `Dodaj dane bankowe, a następnie potwierdź płatność przy użyciu dodanych metod płatności.`, + addBankDetailsButtonText: `Dodaj dane bankowe`, + bankDebitStepsText: pmt => + `Obciążenie rachunku ${pmt} wymaga 2 kroków. Postępuj zgodnie z instrukcjami:`, + bankDebitStep1Text: `Kliknij „Dodaj dane bankowe" i przejdź do dodania danych swojego konta bankowego.`, + bankDebitStep2Text: `Po weryfikacji zobaczysz dodane konto (konta). Wybierz konto, z którego chcesz zapłacić, i kliknij przycisk płatności.`, + removeAccountText: `Usuń konto`, bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + microDepositsInitiatedText: `Zainicjowano mikroprzelewy`, + microDepositsExpectText: last4 => + `Oczekuj wpłaty w wysokości 0,01 USD na konto kończące się na **** ${last4} w ciągu 1–2 dni roboczych oraz wiadomości e-mail z dalszymi instrukcjami weryfikacji konta.`, + bankStatementDisplayText: last4 => `**** ${last4} WYCIĄG BANKOWY`, + transactionText: `Transakcja`, + amountText: `Kwota`, + typeText: `Typ`, + bankDetailsHeadingText: `Dane bankowe`, + accountHolderNameLabel: `Imię i nazwisko posiadacza rachunku`, + accountHolderNamePlaceholder: `np. Jan Kowalski`, + accountTypeLabel: `Typ konta`, + errorOccurredText: `Wystąpił błąd`, + bankTransferTitleText: title => `Przelew bankowy ${title}`, + useDetailsToTransferText: `Użyj tych danych do wykonania przelewu`, + bankAccountDetailsText: `Dane konta bankowego`, + bankTransferDisclaimerText: `Zanotuj te dane przed zamknięciem tego okna. Nie będzie możliwe ponowne wygenerowanie tych danych.`, + voucherGeneratedText: pm => + `Voucher ${pm} został pomyślnie wygenerowany! Jeśli pobieranie dokumentu nie rozpoczęło się automatycznie, kliknij `, + hereText: `tutaj`, + toDownloadItText: ` aby go pobrać.`, + barCodeReferenceText: `Numer referencyjny kodu kreskowego: `, + voucherDisclaimerText: `Nie zamykaj strony, dopóki voucher nie zostanie pomyślnie pobrany — po jego pobraniu nastąpi automatyczne przekierowanie.`, + payWithText: `Zapłać za pomocą`, + notYouText: `To nie Ty?`, + ctpSwitchIdentifierText: `Wprowadź nowy adres e-mail lub numer telefonu, aby uzyskać dostęp do innego zestawu powiązanych kart.`, + phoneLabel: `Telefon`, + enterEmailPlaceholder: `Wprowadź e-mail`, + mobileNumberPlaceholder: `Numer telefonu komórkowego`, + switchIdButtonText: `Zmień identyfikator`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Kontynuując, ${dpaName} udostępni dane Twojej karty, adres rozliczeniowy i adres e-mail firmie ${cardBrand}, aby umożliwić bezpieczną rejestrację w Click to Pay i szybsze płatności.`, + learnMoreText: `Dowiedz się więcej`, + ctpSaveInfoText: cardBrand => `Zapisz moje dane w ${cardBrand} `, + ctpFasterCheckoutText: `aby płacić szybciej i bezpieczniej`, + ctpVerifyIdentityText: `Twój adres e-mail lub numer telefonu zostanie użyty do Twojej weryfikacji.`, + ctpDataRatesText: `Mogą obowiązywać opłaty za wiadomości/transmisję danych.`, + ctpRememberMeText: `Zapamiętaj mnie w tej przeglądarce`, + ctpRememberMeTooltipLine1: `Po zapamiętaniu pominiesz weryfikację i uzyskasz bezpieczny dostęp do zapisanych kart podczas płatności Click to Pay.`, + ctpRememberMeTooltipLine2: `Niezalecane na urządzeniach publicznych lub współdzielonych, ponieważ wykorzystuje pliki cookie.`, + ctpTermsConsentText: cardBrand => `Kontynuując, akceptujesz `, + termsText: `Regulamin`, + ctpPrivacyConsentText: `i rozumiesz, że Twoje dane będą przetwarzane zgodnie z `, + privacyNoticeText: `Polityką prywatności`, + loadingText: `Ładowanie...`, + processingPaymentText: `Przetwarzamy Twoją płatność...`, + redirectedToNewTabText: `Zostałeś przekierowany na nową kartę w celu dokończenia płatności. Status zostanie zaktualizowany automatycznie`, + addNewCardText: `Dodaj nową kartę`, + somethingWentWrongText: `Ups, coś poszło nie tak!`, + selectCardBrandText: `Wybierz markę karty`, } diff --git a/src/LocaleStrings/PortugueseLocale.res b/src/LocaleStrings/PortugueseLocale.res index 4a9ce2e08..ae7192d36 100644 --- a/src/LocaleStrings/PortugueseLocale.res +++ b/src/LocaleStrings/PortugueseLocale.res @@ -259,63 +259,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Mostrar mais", showLess: "Mostrar menos", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `Copiado!`, + copyText: `Copiar`, + copyQRDataText: `Copiar dados QR`, + qrCodeValidityText: `O código QR é válido durante os próximos 15 minutos. Por favor, não feche esta página até ter concluído o pagamento com sucesso, após o qual será redirecionado(a) automaticamente.`, + doneText: `Concluído`, + moreText: `Mais`, + addBankDetailsConfirmText: `Por favor, adicione os dados bancários e depois confirme o pagamento com os métodos de pagamento adicionados.`, + addBankDetailsButtonText: `Adicionar dados bancários`, + bankDebitStepsText: pmt => + `O débito bancário ${pmt} tem 2 passos para pagar. Por favor, siga as instruções:`, + bankDebitStep1Text: `Clique em Adicionar dados bancários e proceda à adição dos dados da sua conta bancária.`, + bankDebitStep2Text: `Após a verificação, verá a(s) sua(s) conta(s) adicionada(s). Pode selecionar a conta com a qual deseja pagar e clicar no botão Pagar.`, + removeAccountText: `Remover conta`, + bankAccountDisplayText: last4 => `Banco **** ${last4}`, + microDepositsInitiatedText: `Micro-depósitos iniciados`, + microDepositsExpectText: last4 => + `Espere um depósito de $0,01 na conta terminada em **** ${last4} dentro de 1-2 dias úteis e um e-mail com instruções adicionais para verificar a sua conta.`, + bankStatementDisplayText: last4 => `**** ${last4} EXTRATO BANCÁRIO`, + transactionText: `Transação`, + amountText: `Montante`, + typeText: `Tipo`, + bankDetailsHeadingText: `Dados bancários`, + accountHolderNameLabel: `Nome do titular da conta`, + accountHolderNamePlaceholder: `ex: João Silva`, + accountTypeLabel: `Tipo de conta`, + errorOccurredText: `Ocorreu um erro`, + bankTransferTitleText: title => `Transferência bancária ${title}`, + useDetailsToTransferText: `Utilize estes dados para efetuar a transferência`, + bankAccountDetailsText: `Dados da conta bancária`, + bankTransferDisclaimerText: `Por favor, anote estes dados antes de fechar esta janela. Não será possível gerar estes dados novamente.`, + voucherGeneratedText: pm => + `O voucher ${pm} foi gerado com sucesso! Se o documento não começou a ser descarregado automaticamente, clique `, + hereText: `aqui`, + toDownloadItText: ` para o descarregar.`, + barCodeReferenceText: `Referência do código de barras: `, + voucherDisclaimerText: `Por favor, não feche esta página até ter descarregado o voucher com sucesso, após o qual será redirecionado(a) automaticamente.`, + payWithText: `Pagar com`, + notYouText: `Não é você?`, + ctpSwitchIdentifierText: `Introduza um novo e-mail ou número de telemóvel para aceder a um conjunto diferente de cartões associados.`, + phoneLabel: `Telefone`, + enterEmailPlaceholder: `Introduza o e-mail`, + mobileNumberPlaceholder: `Número de telemóvel`, + switchIdButtonText: `Mudar ID`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Ao continuar, ${dpaName} partilhará os dados do seu cartão, morada de faturação e e-mail com ${cardBrand} para lhe permitir inscrever-se de forma segura no Click to Pay para pagamentos mais rápidos.`, + learnMoreText: `Saber mais`, + ctpSaveInfoText: cardBrand => `Guardar as minhas informações com ${cardBrand} `, + ctpFasterCheckoutText: `para um pagamento mais rápido e seguro`, + ctpVerifyIdentityText: `O seu e-mail ou número de telemóvel será utilizado para verificar a sua identidade.`, + ctpDataRatesText: `Podem aplicar-se tarifas de mensagens/dados.`, + ctpRememberMeText: `Lembrar-me neste navegador`, + ctpRememberMeTooltipLine1: `Quando memorizado(a), não precisará de verificação e acederá de forma segura aos seus cartões guardados ao pagar com Click to Pay.`, + ctpRememberMeTooltipLine2: `Não recomendado para dispositivos públicos ou partilhados pois utiliza cookies.`, + ctpTermsConsentText: cardBrand => `Ao continuar, concorda com os `, + termsText: `Termos`, + ctpPrivacyConsentText: `e compreende que os seus dados serão tratados de acordo com o `, + privacyNoticeText: `Aviso de privacidade`, + loadingText: `A carregar...`, + processingPaymentText: `Estamos a processar o seu pagamento...`, + redirectedToNewTabText: `Foi redirecionado(a) para um novo separador para concluir o seu pagamento. O estado será atualizado automaticamente`, + addNewCardText: `Adicionar novo cartão`, + somethingWentWrongText: `Ups, algo correu mal!`, + selectCardBrandText: `Selecione uma marca de cartão`, } diff --git a/src/LocaleStrings/RussianLocale.res b/src/LocaleStrings/RussianLocale.res index cd3a0452b..152aae936 100644 --- a/src/LocaleStrings/RussianLocale.res +++ b/src/LocaleStrings/RussianLocale.res @@ -267,63 +267,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Показать ещё", showLess: "Показать меньше", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `Скопировано!`, + copyText: `Копировать`, + copyQRDataText: `Копировать данные QR`, + qrCodeValidityText: `QR-код действителен в течение 15 минут. Не закрывайте страницу до успешного завершения платежа — после этого вы будете автоматически перенаправлены.`, + doneText: `Готово`, + moreText: `Ещё`, + addBankDetailsConfirmText: `Пожалуйста, добавьте банковские реквизиты, а затем подтвердите платёж с помощью добавленных способов оплаты.`, + addBankDetailsButtonText: `Добавить банковские реквизиты`, + bankDebitStepsText: pmt => + `Банковское списание ${pmt} состоит из 2 шагов. Следуйте инструкциям:`, + bankDebitStep1Text: `Нажмите «Добавить банковские реквизиты» и перейдите к вводу данных вашего банковского счёта.`, + bankDebitStep2Text: `После проверки вы увидите добавленные счета. Выберите счёт для оплаты и нажмите кнопку «Оплатить».`, + removeAccountText: `Удалить счёт`, + bankAccountDisplayText: last4 => `Банк **** ${last4}`, + microDepositsInitiatedText: `Микроплатежи инициированы`, + microDepositsExpectText: last4 => + `Ожидайте зачисление $0,01 на счёт, оканчивающийся на **** ${last4}, в течение 1–2 рабочих дней, а также письмо с дополнительными инструкциями для подтверждения вашего счёта.`, + bankStatementDisplayText: last4 => `**** ${last4} БАНКОВСКАЯ ВЫПИСКА`, + transactionText: `Транзакция`, + amountText: `Сумма`, + typeText: `Тип`, + bankDetailsHeadingText: `Банковские реквизиты`, + accountHolderNameLabel: `Имя владельца счёта`, + accountHolderNamePlaceholder: `напр.: Иван Иванов`, + accountTypeLabel: `Тип счёта`, + errorOccurredText: `Произошла ошибка`, + bankTransferTitleText: title => `Банковский перевод ${title}`, + useDetailsToTransferText: `Используйте эти реквизиты для перевода средств`, + bankAccountDetailsText: `Реквизиты банковского счёта`, + bankTransferDisclaimerText: `Пожалуйста, запишите эти данные перед закрытием этого окна. Повторно сгенерировать эти данные будет невозможно.`, + voucherGeneratedText: pm => + `Ваучер ${pm} успешно сформирован! Если загрузка документа не началась автоматически, нажмите `, + hereText: `здесь`, + toDownloadItText: ` чтобы скачать его.`, + barCodeReferenceText: `Ссылка штрих-кода: `, + voucherDisclaimerText: `Не закрывайте страницу до успешного скачивания ваучера — после этого вы будете автоматически перенаправлены.`, + payWithText: `Оплатить с помощью`, + notYouText: `Это не вы?`, + ctpSwitchIdentifierText: `Введите новый адрес электронной почты или номер телефона, чтобы получить доступ к другому набору привязанных карт.`, + phoneLabel: `Телефон`, + enterEmailPlaceholder: `Введите e-mail`, + mobileNumberPlaceholder: `Номер мобильного телефона`, + switchIdButtonText: `Сменить идентификатор`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Продолжая, ${dpaName} передаст данные вашей карты, адрес для выставления счёта и адрес электронной почты компании ${cardBrand} для безопасной регистрации в Click to Pay и ускоренной оплаты.`, + learnMoreText: `Подробнее`, + ctpSaveInfoText: cardBrand => `Сохранить мои данные в ${cardBrand} `, + ctpFasterCheckoutText: `для быстрой и безопасной оплаты`, + ctpVerifyIdentityText: `Ваш адрес электронной почты или номер телефона будет использован для проверки вашей личности.`, + ctpDataRatesText: `Может взиматься плата за сообщения/передачу данных.`, + ctpRememberMeText: `Запомнить меня в этом браузере`, + ctpRememberMeTooltipLine1: `При запоминании вы пропустите проверку и получите безопасный доступ к сохранённым картам при оплате через Click to Pay.`, + ctpRememberMeTooltipLine2: `Не рекомендуется для общедоступных или общих устройств, так как используются файлы cookie.`, + ctpTermsConsentText: cardBrand => `Продолжая, вы соглашаетесь с `, + termsText: `Условиями`, + ctpPrivacyConsentText: `и понимаете, что ваши данные будут обработаны в соответствии с `, + privacyNoticeText: `Уведомлением о конфиденциальности`, + loadingText: `Загрузка...`, + processingPaymentText: `Мы обрабатываем ваш платёж...`, + redirectedToNewTabText: `Вы были перенаправлены на новую вкладку для завершения оплаты. Статус обновится автоматически`, + addNewCardText: `Добавить новую карту`, + somethingWentWrongText: `Ой, что-то пошло не так!`, + selectCardBrandText: `Выберите бренд карты`, } diff --git a/src/LocaleStrings/SpanishLocale.res b/src/LocaleStrings/SpanishLocale.res index e9d8e34c5..b6442ad9c 100644 --- a/src/LocaleStrings/SpanishLocale.res +++ b/src/LocaleStrings/SpanishLocale.res @@ -259,63 +259,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Mostrar más", showLess: "Mostrar menos", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `¡Copiado!`, + copyText: `Copiar`, + copyQRDataText: `Copiar datos QR`, + qrCodeValidityText: `El código QR es válido durante los próximos 15 minutos. Por favor, no cierre esta página hasta que haya completado el pago con éxito, tras lo cual será redirigido automáticamente.`, + doneText: `Hecho`, + moreText: `Más`, + addBankDetailsConfirmText: `Por favor, añada los datos bancarios y luego confirme el pago con los métodos de pago añadidos.`, + addBankDetailsButtonText: `Añadir datos bancarios`, + bankDebitStepsText: pmt => + `El débito bancario ${pmt} tiene 2 pasos para pagar. Por favor, siga las instrucciones:`, + bankDebitStep1Text: `Haga clic en Añadir datos bancarios y proceda a añadir los datos de su cuenta bancaria.`, + bankDebitStep2Text: `Tras la verificación, verá su(s) cuenta(s) añadida(s). Puede seleccionar la cuenta con la que desea pagar y hacer clic en el botón Pagar.`, + removeAccountText: `Eliminar cuenta`, + bankAccountDisplayText: last4 => `Banco **** ${last4}`, + microDepositsInitiatedText: `Micro-depósitos iniciados`, + microDepositsExpectText: last4 => + `Espere un depósito de $0.01 en la cuenta terminada en **** ${last4} en 1-2 días hábiles y un correo electrónico con instrucciones adicionales para verificar su cuenta.`, + bankStatementDisplayText: last4 => `**** ${last4} EXTRACTO BANCARIO`, + transactionText: `Transacción`, + amountText: `Importe`, + typeText: `Tipo`, + bankDetailsHeadingText: `Datos bancarios`, + accountHolderNameLabel: `Nombre del titular de la cuenta`, + accountHolderNamePlaceholder: `ej: Juan García`, + accountTypeLabel: `Tipo de cuenta`, + errorOccurredText: `Se ha producido un error`, + bankTransferTitleText: title => `Transferencia bancaria ${title}`, + useDetailsToTransferText: `Utilice estos datos para realizar la transferencia`, + bankAccountDetailsText: `Datos de la cuenta bancaria`, + bankTransferDisclaimerText: `Por favor, anote estos datos antes de cerrar esta ventana. No podrá volver a generar estos datos.`, + voucherGeneratedText: pm => + `¡El cupón ${pm} se ha generado correctamente! Si el documento no se descargó automáticamente, haga clic `, + hereText: `aquí`, + toDownloadItText: ` para descargarlo.`, + barCodeReferenceText: `Referencia del código de barras: `, + voucherDisclaimerText: `Por favor, no cierre esta página hasta que haya descargado el cupón con éxito, tras lo cual será redirigido automáticamente.`, + payWithText: `Pagar con`, + notYouText: `¿No es usted?`, + ctpSwitchIdentifierText: `Introduzca un nuevo correo electrónico o número de teléfono para acceder a un conjunto diferente de tarjetas vinculadas.`, + phoneLabel: `Teléfono`, + enterEmailPlaceholder: `Introduzca el correo electrónico`, + mobileNumberPlaceholder: `Número de teléfono móvil`, + switchIdButtonText: `Cambiar ID`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Al continuar, ${dpaName} compartirá los datos de su tarjeta, dirección de facturación y correo electrónico con ${cardBrand} para permitirle inscribirse de forma segura en Click to Pay para pagos más rápidos.`, + learnMoreText: `Más información`, + ctpSaveInfoText: cardBrand => `Guardar mi información con ${cardBrand} `, + ctpFasterCheckoutText: `para un pago más rápido y seguro`, + ctpVerifyIdentityText: `Su correo electrónico o número de teléfono se utilizará para verificar su identidad.`, + ctpDataRatesText: `Pueden aplicarse tarifas de mensajes/datos.`, + ctpRememberMeText: `Recordarme en este navegador`, + ctpRememberMeTooltipLine1: `Cuando se le recuerde, omitirá la verificación y accederá de forma segura a sus tarjetas guardadas al pagar con Click to Pay.`, + ctpRememberMeTooltipLine2: `No recomendado para dispositivos públicos o compartidos ya que se utilizan cookies.`, + ctpTermsConsentText: cardBrand => `Al continuar, acepta los `, + termsText: `Términos`, + ctpPrivacyConsentText: `y entiende que sus datos serán procesados de acuerdo con el `, + privacyNoticeText: `Aviso de privacidad`, + loadingText: `Cargando...`, + processingPaymentText: `Estamos procesando su pago...`, + redirectedToNewTabText: `Ha sido redirigido a una nueva pestaña para completar su pago. El estado se actualizará automáticamente`, + addNewCardText: `Añadir nueva tarjeta`, + somethingWentWrongText: `¡Vaya, algo salió mal!`, + selectCardBrandText: `Seleccione una marca de tarjeta`, } diff --git a/src/LocaleStrings/SwedishLocale.res b/src/LocaleStrings/SwedishLocale.res index 2364f54ac..7e2102446 100644 --- a/src/LocaleStrings/SwedishLocale.res +++ b/src/LocaleStrings/SwedishLocale.res @@ -258,63 +258,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "Visa mer", showLess: "Visa mindre", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", + copiedText: `Kopierat!`, + copyText: `Kopiera`, + copyQRDataText: `Kopiera QR-data`, + qrCodeValidityText: `QR-koden är giltig i 15 minuter. Stäng inte detta fönster förrän du har slutfört betalningen. Därefter omdirigeras du automatiskt.`, + doneText: `Klar`, + moreText: `Mer`, + addBankDetailsConfirmText: `Lägg till bankuppgifter och bekräfta sedan betalningen med de tillagda betalningsmetoderna.`, + addBankDetailsButtonText: `Lägg till bankuppgifter`, + bankDebitStepsText: pmt => + `${pmt} Autogiro har 2 steg för betalning. Följ instruktionerna:`, + bankDebitStep1Text: `Klicka på „Lägg till bankuppgifter" och fortsätt för att lägga till dina bankkontouppgifter.`, + bankDebitStep2Text: `Efter verifiering ser du ditt/dina tillagda konto(n). Du kan välja det konto du vill betala med och klicka på betala-knappen.`, + removeAccountText: `Ta bort konto`, bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + microDepositsInitiatedText: `Mikroinsättningar initierade`, + microDepositsExpectText: last4 => + `Förvänta en insättning på $0,01 till kontot som slutar på **** ${last4} inom 1–2 arbetsdagar samt ett e-postmeddelande med ytterligare instruktioner för att verifiera ditt konto.`, + bankStatementDisplayText: last4 => `**** ${last4} KONTOUTDRAG`, + transactionText: `Transaktion`, + amountText: `Belopp`, + typeText: `Typ`, + bankDetailsHeadingText: `Bankuppgifter`, + accountHolderNameLabel: `Kontoinnehavarens namn`, + accountHolderNamePlaceholder: `t.ex.: Anna Andersson`, + accountTypeLabel: `Kontotyp`, + errorOccurredText: `Fel uppstod`, + bankTransferTitleText: title => `${title} banköverföring`, + useDetailsToTransferText: `Använd dessa uppgifter för att överföra beloppet`, + bankAccountDetailsText: `Bankkontouppgifter`, + bankTransferDisclaimerText: `Anteckna dessa uppgifter innan du stänger detta fönster. Du kommer inte att kunna generera dessa uppgifter igen.`, + voucherGeneratedText: pm => + `${pm}-kupongen har skapats! Om dokumentet inte har börjat laddas ned automatiskt, klicka `, + hereText: `här`, + toDownloadItText: ` för att ladda ned den.`, + barCodeReferenceText: `Streckkod-referens: `, + voucherDisclaimerText: `Stäng inte detta fönster förrän du har laddat ned kupongen. Därefter omdirigeras du automatiskt.`, + payWithText: `Betala med`, + notYouText: `Inte du?`, + ctpSwitchIdentifierText: `Ange en ny e-postadress eller ett mobilnummer för att komma åt andra länkade kort.`, + phoneLabel: `Telefon`, + enterEmailPlaceholder: `Ange e-post`, + mobileNumberPlaceholder: `Mobilnummer`, + switchIdButtonText: `Byt ID`, + ctpConsentSharingText: (dpaName, cardBrand) => + `Genom att fortsätta delar ${dpaName} dina kortuppgifter, faktureringsadress och e-postadress med ${cardBrand} så att du säkert kan registrera dig för Click to Pay för snabbare betalningar.`, + learnMoreText: `Läs mer`, + ctpSaveInfoText: cardBrand => `Spara min information hos ${cardBrand} `, + ctpFasterCheckoutText: `för en snabbare och säkrare betalning`, + ctpVerifyIdentityText: `Din e-postadress eller ditt mobilnummer kommer att användas för att verifiera dig.`, + ctpDataRatesText: `Meddelande-/dataavgifter kan tillkomma.`, + ctpRememberMeText: `Kom ihåg mig i denna webbläsare`, + ctpRememberMeTooltipLine1: `När du är ihågkommen hoppar du över verifieringen och får säker åtkomst till dina sparade kort när du betalar med Click to Pay.`, + ctpRememberMeTooltipLine2: `Rekommenderas inte för offentliga eller delade enheter eftersom cookies används.`, + ctpTermsConsentText: cardBrand => `Genom att fortsätta godkänner du ${cardBrand}s `, + termsText: `Villkor`, + ctpPrivacyConsentText: `och förstår att dina uppgifter behandlas i enlighet med `, + privacyNoticeText: `Integritetspolicyn`, + loadingText: `Laddar...`, + processingPaymentText: `Din betalning behandlas...`, + redirectedToNewTabText: `Du har omdirigerats till en ny flik för att slutföra din betalning. Statusen uppdateras automatiskt`, + addNewCardText: `Lägg till nytt kort`, + somethingWentWrongText: `Hoppsan, något gick fel!`, + selectCardBrandText: `Välj ett kortmärke`, } diff --git a/src/LocaleStrings/TraditionalChineseLocale.res b/src/LocaleStrings/TraditionalChineseLocale.res index 74af1a061..c896474c1 100644 --- a/src/LocaleStrings/TraditionalChineseLocale.res +++ b/src/LocaleStrings/TraditionalChineseLocale.res @@ -258,63 +258,67 @@ let localeStrings: LocaleStringTypes.localeStrings = { showMore: "顯示更多", showLess: "收起", // --- TD-005: Localized hardcoded strings --- - copiedText: "Copied!", - copyText: "Copy", - copyQRDataText: "Copy QR Data", - qrCodeValidityText: "The QR Code is valid for the next 15 minutes, please do not close until you have successfully completed the payment, after which you will be automatically redirected.", - doneText: "Done", - moreText: "More", - addBankDetailsConfirmText: "Please add Bank Details and then confirm payment with the added payment methods.", - addBankDetailsButtonText: "Add Bank Details", - bankDebitStepsText: pmt => `${pmt} Bank Debit has 2 steps to pay. Please follow the instructions:`, - bankDebitStep1Text: "Please Click on Add Bank Details and proceed to add your bank account details.", - bankDebitStep2Text: "Post verification, you will see your account(s) added. You can select the account that you want to pay with and click on the pay button.", - removeAccountText: "Remove account", - bankAccountDisplayText: last4 => `Bank **** ${last4}`, - microDepositsInitiatedText: "Micro-deposits initiated", - microDepositsExpectText: last4 => `Expect a $0.01 deposit to the account ending in **** ${last4} in 1-2 business days and an email with additional instructions to verify your account.`, - bankStatementDisplayText: last4 => `**** ${last4} BANK STATEMENT`, - transactionText: "Transaction", - amountText: "Amount", - typeText: "Type", - bankDetailsHeadingText: "Bank Details", - accountHolderNameLabel: "Account Holder Name", - accountHolderNamePlaceholder: "eg: John Doe", - accountTypeLabel: "Account type", - errorOccurredText: "Error occurred", - bankTransferTitleText: title => `${title} bank transfer`, - useDetailsToTransferText: "Use these details to transfer amount", - bankAccountDetailsText: "Bank Account Details", - bankTransferDisclaimerText: "Please make a note of these details, before closing this popup. You will not be able to generate this details again.", - voucherGeneratedText: pm => `${pm} voucher was successfully generated! If the document hasn't started downloading automatically, click `, - hereText: "here", - toDownloadItText: " to download it.", - barCodeReferenceText: "Bar Code Reference: ", - voucherDisclaimerText: "Please do not close until you have successfully downloaded the voucher, after which you will be automatically redirected.", - payWithText: "Pay with", - notYouText: "Not you?", - ctpSwitchIdentifierText: "Enter a new email or mobile number to access a different set of linked cards.", - phoneLabel: "Phone", - enterEmailPlaceholder: "Enter email", - mobileNumberPlaceholder: "Mobile number", - switchIdButtonText: "Switch ID", - ctpConsentSharingText: (dpaName, cardBrand) => `By continuing, ${dpaName} will share your card details, billing address, and email with ${cardBrand} to allow you to securely enroll in Click to Pay for faster checkouts.`, - learnMoreText: "Learn more", - ctpSaveInfoText: cardBrand => `Save my information with ${cardBrand} `, - ctpFasterCheckoutText: "for a faster and secure checkout", - ctpVerifyIdentityText: "Your email or mobile number will be used to verify you.", - ctpDataRatesText: "Message/data rates may apply.", - ctpRememberMeText: "Remember me on this browser", - ctpRememberMeTooltipLine1: "When remembered, you'll skip verification and securely access your saved cards when paying with Click to Pay.", - ctpRememberMeTooltipLine2: "Not recommended for public or shared devices because this uses cookies.", - ctpTermsConsentText: cardBrand => `By continuing, you agree to ${cardBrand}'s `, - termsText: "Terms", - ctpPrivacyConsentText: "and understand your data will be processed according to the ", - privacyNoticeText: "Privacy Notice", - loadingText: "Loading...", - processingPaymentText: "We are processing your payment...", - redirectedToNewTabText: "You have been redirected to new tab to complete your payments. Status will be updated automatically", - addNewCardText: "Add new card", - somethingWentWrongText: "Oops, something went wrong!", - selectCardBrandText: "Select a card brand", + copiedText: `已複製!`, + copyText: `複製`, + copyQRDataText: `複製 QR 碼資料`, + qrCodeValidityText: `此 QR 碼在接下來的 15 分鐘內有效,請勿在付款成功完成前關閉頁面,完成後您將被自動重新導向。`, + doneText: `完成`, + moreText: `更多`, + addBankDetailsConfirmText: `請新增銀行資料,然後使用已新增的付款方式確認付款。`, + addBankDetailsButtonText: `新增銀行資料`, + bankDebitStepsText: pmt => + `${pmt} 銀行扣帳需要 2 個步驟完成付款。請按照以下指示操作:`, + bankDebitStep1Text: `請點擊「新增銀行資料」並繼續新增您的銀行帳戶資料。`, + bankDebitStep2Text: `驗證完成後,您將看到已新增的帳戶。選擇您要用來付款的帳戶,然後點擊付款按鈕。`, + removeAccountText: `移除帳戶`, + bankAccountDisplayText: last4 => `銀行 **** ${last4}`, + microDepositsInitiatedText: `微額存款已啟動`, + microDepositsExpectText: last4 => + `預計在 1-2 個工作日內,尾號為 **** ${last4} 的帳戶將收到一筆 $0.01 的存款,以及一封包含驗證帳戶額外說明的電子郵件。`, + bankStatementDisplayText: last4 => `**** ${last4} 銀行對帳單`, + transactionText: `交易`, + amountText: `金額`, + typeText: `類型`, + bankDetailsHeadingText: `銀行資料`, + accountHolderNameLabel: `帳戶持有人姓名`, + accountHolderNamePlaceholder: `例如:王大明`, + accountTypeLabel: `帳戶類型`, + errorOccurredText: `發生錯誤`, + bankTransferTitleText: title => `${title} 銀行轉帳`, + useDetailsToTransferText: `使用以下資料進行轉帳`, + bankAccountDetailsText: `銀行帳戶資料`, + bankTransferDisclaimerText: `請在關閉此視窗前記下這些資料。您將無法再次產生這些資料。`, + voucherGeneratedText: pm => + `${pm} 憑證已成功產生!如果文件未自動開始下載,請點擊`, + hereText: `這裡`, + toDownloadItText: `以下載。`, + barCodeReferenceText: `條碼參考編號:`, + voucherDisclaimerText: `請勿在成功下載憑證前關閉頁面,下載完成後您將被自動重新導向。`, + payWithText: `使用以下方式付款`, + notYouText: `不是您本人?`, + ctpSwitchIdentifierText: `輸入新的電子郵件或手機號碼以存取另一組已連結的卡片。`, + phoneLabel: `電話`, + enterEmailPlaceholder: `輸入電子郵件`, + mobileNumberPlaceholder: `手機號碼`, + switchIdButtonText: `切換身分`, + ctpConsentSharingText: (dpaName, cardBrand) => + `繼續操作即表示 ${dpaName} 將與 ${cardBrand} 分享您的卡片資料、帳單地址和電子郵件,以便您安全註冊 Click to Pay,享受更快速的結帳體驗。`, + learnMoreText: `瞭解更多`, + ctpSaveInfoText: cardBrand => `將我的資訊儲存至 ${cardBrand} `, + ctpFasterCheckoutText: `以獲得更快速且安全的結帳體驗`, + ctpVerifyIdentityText: `您的電子郵件或手機號碼將用於驗證您的身分。`, + ctpDataRatesText: `可能適用訊息/數據費率。`, + ctpRememberMeText: `在此瀏覽器中記住我`, + ctpRememberMeTooltipLine1: `被記住後,使用 Click to Pay 付款時將跳過驗證並安全存取您已儲存的卡片。`, + ctpRememberMeTooltipLine2: `不建議在公用或共用裝置上使用,因為這會使用 Cookie。`, + ctpTermsConsentText: cardBrand => `繼續操作即表示您同意 ${cardBrand} 的`, + termsText: `條款`, + ctpPrivacyConsentText: `並瞭解您的資料將依據`, + privacyNoticeText: `隱私權聲明`, + loadingText: `載入中...`, + processingPaymentText: `我們正在處理您的付款...`, + redirectedToNewTabText: `您已被重新導向至新分頁以完成付款。狀態將自動更新`, + addNewCardText: `新增卡片`, + somethingWentWrongText: `糟糕,出了點問題!`, + selectCardBrandText: `選擇卡片品牌`, } diff --git a/src/Payments/AddBankDetails.res b/src/Payments/AddBankDetails.res index 1004ea7f0..894339e08 100644 --- a/src/Payments/AddBankDetails.res +++ b/src/Payments/AddBankDetails.res @@ -1,7 +1,7 @@ module Loader = { @react.component let make = () => { - let {themeObj} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) + let {themeObj} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom)
@@ -111,12 +111,8 @@ let make = (~paymentMethodType) => {
{React.string(localeString.bankDebitStepsText(paymentMethodType->String.toUpperCase))}
    -
  • - {React.string(localeString.bankDebitStep1Text)} -
  • -
  • - {React.string(localeString.bankDebitStep2Text)} -
  • +
  • {React.string(localeString.bankDebitStep1Text)}
  • +
  • {React.string(localeString.bankDebitStep2Text)}
diff --git a/src/Payments/BankTransfersPopup.res b/src/Payments/BankTransfersPopup.res index d59f9fb5e..1b51fa5de 100644 --- a/src/Payments/BankTransfersPopup.res +++ b/src/Payments/BankTransfersPopup.res @@ -81,7 +81,9 @@ let make = (~transferType) => {
- {React.string(localeString.bankTransferTitleText(title))} + + {React.string(localeString.bankTransferTitleText(title))} +
@@ -98,7 +100,9 @@ let make = (~transferType) => {
- {React.string(localeString.bankAccountDetailsText)} + + {React.string(localeString.bankAccountDetailsText)} +
From 795425cdf90aa545b49a61cd5b7b3e0f6c57da88 Mon Sep 17 00:00:00 2001 From: Arush Kapoor Date: Tue, 7 Apr 2026 00:55:41 +0530 Subject: [PATCH 4/6] refactor: remove TD-005 section comments from locale files --- src/LocaleStrings/ArabicLocale.res | 4 ++-- src/LocaleStrings/CatalanLocale.res | 1 - src/LocaleStrings/ChineseLocale.res | 1 - src/LocaleStrings/DeutschLocale.res | 1 - src/LocaleStrings/DutchLocale.res | 4 +--- src/LocaleStrings/EnglishGBLocale.res | 1 - src/LocaleStrings/EnglishLocale.res | 1 - src/LocaleStrings/FrenchBelgiumLocale.res | 1 - src/LocaleStrings/FrenchLocale.res | 1 - src/LocaleStrings/HebrewLocale.res | 1 - src/LocaleStrings/ItalianLocale.res | 1 - src/LocaleStrings/JapaneseLocale.res | 4 ++-- src/LocaleStrings/LocaleStringTypes.res | 1 - src/LocaleStrings/PolishLocale.res | 1 - src/LocaleStrings/PortugueseLocale.res | 1 - src/LocaleStrings/RussianLocale.res | 1 - src/LocaleStrings/SpanishLocale.res | 1 - src/LocaleStrings/SwedishLocale.res | 4 +--- src/LocaleStrings/TraditionalChineseLocale.res | 1 - 19 files changed, 6 insertions(+), 25 deletions(-) diff --git a/src/LocaleStrings/ArabicLocale.res b/src/LocaleStrings/ArabicLocale.res index 38bdfae22..0958d7e4c 100644 --- a/src/LocaleStrings/ArabicLocale.res +++ b/src/LocaleStrings/ArabicLocale.res @@ -260,7 +260,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "اختر خطة التقسيط", showMore: "عرض المزيد", showLess: "عرض أقل", - // --- TD-005: Localized hardcoded strings --- copiedText: `تم النسخ!`, copyText: `نسخ`, copyQRDataText: `نسخ بيانات رمز QR`, @@ -314,7 +313,8 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `تذكرني على هذا المتصفح`, ctpRememberMeTooltipLine1: `عند التذكر، ستتخطى عملية التحقق وتصل بأمان إلى بطاقاتك المحفوظة عند الدفع باستخدام Click to Pay.`, ctpRememberMeTooltipLine2: `لا يُنصح به للأجهزة العامة أو المشتركة لأنه يستخدم ملفات تعريف الارتباط.`, - ctpTermsConsentText: cardBrand => `بالمتابعة، فإنك توافق على شروط ${cardBrand} `, + ctpTermsConsentText: cardBrand => + `بالمتابعة، فإنك توافق على شروط ${cardBrand} `, termsText: `الشروط`, ctpPrivacyConsentText: `وتفهم أنه سيتم معالجة بياناتك وفقًا لـ `, privacyNoticeText: `إشعار الخصوصية`, diff --git a/src/LocaleStrings/CatalanLocale.res b/src/LocaleStrings/CatalanLocale.res index cd851a274..02430e00c 100644 --- a/src/LocaleStrings/CatalanLocale.res +++ b/src/LocaleStrings/CatalanLocale.res @@ -259,7 +259,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Seleccioneu un pla de terminis", showMore: "Mostra més", showLess: "Mostra menys", - // --- TD-005: Localized hardcoded strings --- copiedText: `Copiat!`, copyText: `Copiar`, copyQRDataText: `Copiar dades QR`, diff --git a/src/LocaleStrings/ChineseLocale.res b/src/LocaleStrings/ChineseLocale.res index 8bc56873a..546e196d1 100644 --- a/src/LocaleStrings/ChineseLocale.res +++ b/src/LocaleStrings/ChineseLocale.res @@ -257,7 +257,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "选择分期计划", showMore: "显示更多", showLess: "收起", - // --- TD-005: Localized hardcoded strings --- copiedText: `已复制!`, copyText: `复制`, copyQRDataText: `复制二维码数据`, diff --git a/src/LocaleStrings/DeutschLocale.res b/src/LocaleStrings/DeutschLocale.res index 266373de8..85f7c004c 100644 --- a/src/LocaleStrings/DeutschLocale.res +++ b/src/LocaleStrings/DeutschLocale.res @@ -258,7 +258,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Ratenplan auswählen", showMore: "Mehr anzeigen", showLess: "Weniger anzeigen", - // --- TD-005: Localized hardcoded strings --- copiedText: `Kopiert!`, copyText: `Kopieren`, copyQRDataText: `QR-Daten kopieren`, diff --git a/src/LocaleStrings/DutchLocale.res b/src/LocaleStrings/DutchLocale.res index bf4c38d75..9434dfdc7 100644 --- a/src/LocaleStrings/DutchLocale.res +++ b/src/LocaleStrings/DutchLocale.res @@ -257,7 +257,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Selecteer een aflossingsplan", showMore: "Meer tonen", showLess: "Minder tonen", - // --- TD-005: Localized hardcoded strings --- copiedText: `Gekopieerd!`, copyText: `Kopiëren`, copyQRDataText: `QR-gegevens kopiëren`, @@ -266,8 +265,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { moreText: `Meer`, addBankDetailsConfirmText: `Voeg bankgegevens toe en bevestig vervolgens de betaling met de toegevoegde betaalmethoden.`, addBankDetailsButtonText: `Bankgegevens toevoegen`, - bankDebitStepsText: pmt => - `${pmt} Incasso heeft 2 stappen om te betalen. Volg de instructies:`, + bankDebitStepsText: pmt => `${pmt} Incasso heeft 2 stappen om te betalen. Volg de instructies:`, bankDebitStep1Text: `Klik op „Bankgegevens toevoegen" en ga verder om uw bankrekeninggegevens toe te voegen.`, bankDebitStep2Text: `Na verificatie ziet u uw toegevoegde rekening(en). U kunt de rekening selecteren waarmee u wilt betalen en op de betaalknop klikken.`, removeAccountText: `Rekening verwijderen`, diff --git a/src/LocaleStrings/EnglishGBLocale.res b/src/LocaleStrings/EnglishGBLocale.res index d1c344e00..b2de71652 100644 --- a/src/LocaleStrings/EnglishGBLocale.res +++ b/src/LocaleStrings/EnglishGBLocale.res @@ -257,7 +257,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Select instalment plan", showMore: "Show more", showLess: "Show less", - // --- TD-005: Localized hardcoded strings --- copiedText: "Copied!", copyText: "Copy", copyQRDataText: "Copy QR Data", diff --git a/src/LocaleStrings/EnglishLocale.res b/src/LocaleStrings/EnglishLocale.res index 3c3c150fc..50e1cb6a9 100644 --- a/src/LocaleStrings/EnglishLocale.res +++ b/src/LocaleStrings/EnglishLocale.res @@ -257,7 +257,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Select installment plan", showMore: "Show more", showLess: "Show less", - // --- TD-005: Localized hardcoded strings --- copiedText: "Copied!", copyText: "Copy", copyQRDataText: "Copy QR Data", diff --git a/src/LocaleStrings/FrenchBelgiumLocale.res b/src/LocaleStrings/FrenchBelgiumLocale.res index a4c5975e5..a8ccd6232 100644 --- a/src/LocaleStrings/FrenchBelgiumLocale.res +++ b/src/LocaleStrings/FrenchBelgiumLocale.res @@ -259,7 +259,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", showMore: "Afficher plus", showLess: "Afficher moins", - // --- TD-005: Localized hardcoded strings --- copiedText: `Copié !`, copyText: `Copier`, copyQRDataText: `Copier les données QR`, diff --git a/src/LocaleStrings/FrenchLocale.res b/src/LocaleStrings/FrenchLocale.res index 113223769..0d3693305 100644 --- a/src/LocaleStrings/FrenchLocale.res +++ b/src/LocaleStrings/FrenchLocale.res @@ -259,7 +259,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Sélectionner un plan de paiement", showMore: "Afficher plus", showLess: "Afficher moins", - // --- TD-005: Localized hardcoded strings --- copiedText: `Copié !`, copyText: `Copier`, copyQRDataText: `Copier les données QR`, diff --git a/src/LocaleStrings/HebrewLocale.res b/src/LocaleStrings/HebrewLocale.res index 241d9ec1f..97ea9f299 100644 --- a/src/LocaleStrings/HebrewLocale.res +++ b/src/LocaleStrings/HebrewLocale.res @@ -258,7 +258,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "בחר תוכנית תשלומים", showMore: "הצג עוד", showLess: "הצג פחות", - // --- TD-005: Localized hardcoded strings --- copiedText: `הועתק!`, copyText: `העתק`, copyQRDataText: `העתק נתוני QR`, diff --git a/src/LocaleStrings/ItalianLocale.res b/src/LocaleStrings/ItalianLocale.res index 588e27537..56bce7cf0 100644 --- a/src/LocaleStrings/ItalianLocale.res +++ b/src/LocaleStrings/ItalianLocale.res @@ -259,7 +259,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Seleziona un piano a rate", showMore: "Mostra di più", showLess: "Mostra meno", - // --- TD-005: Localized hardcoded strings --- copiedText: `Copiato!`, copyText: `Copia`, copyQRDataText: `Copia dati QR`, diff --git a/src/LocaleStrings/JapaneseLocale.res b/src/LocaleStrings/JapaneseLocale.res index 01504c10e..39757a27d 100644 --- a/src/LocaleStrings/JapaneseLocale.res +++ b/src/LocaleStrings/JapaneseLocale.res @@ -258,7 +258,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "分割払いプランを選択", showMore: "もっと見る", showLess: "表示を減らす", - // --- TD-005: Localized hardcoded strings --- copiedText: `コピーしました!`, copyText: `コピー`, copyQRDataText: `QRデータをコピー`, @@ -312,7 +311,8 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `このブラウザで記憶する`, ctpRememberMeTooltipLine1: `記憶されると、Click to Pay での支払い時に認証をスキップして、保存されたカードに安全にアクセスできます。`, ctpRememberMeTooltipLine2: `Cookieを使用するため、公共のデバイスや共有デバイスではお勧めしません。`, - ctpTermsConsentText: cardBrand => `続行すると、${cardBrand} の利用規約に同意したことになります `, + ctpTermsConsentText: cardBrand => + `続行すると、${cardBrand} の利用規約に同意したことになります `, termsText: `利用規約`, ctpPrivacyConsentText: `また、お客様のデータが以下に従って処理されることを理解します `, privacyNoticeText: `プライバシーポリシー`, diff --git a/src/LocaleStrings/LocaleStringTypes.res b/src/LocaleStrings/LocaleStringTypes.res index 261e3f3f2..9cb83ad94 100644 --- a/src/LocaleStrings/LocaleStringTypes.res +++ b/src/LocaleStrings/LocaleStringTypes.res @@ -245,7 +245,6 @@ type localeStrings = { installmentSelectPlanPlaceholder: string, showMore: string, showLess: string, - // --- TD-005: Localized hardcoded strings --- copiedText: string, copyText: string, copyQRDataText: string, diff --git a/src/LocaleStrings/PolishLocale.res b/src/LocaleStrings/PolishLocale.res index 451ec6bcd..b0bd5de19 100644 --- a/src/LocaleStrings/PolishLocale.res +++ b/src/LocaleStrings/PolishLocale.res @@ -258,7 +258,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Wybierz plan rat", showMore: "Pokaż więcej", showLess: "Pokaż mniej", - // --- TD-005: Localized hardcoded strings --- copiedText: `Skopiowano!`, copyText: `Kopiuj`, copyQRDataText: `Kopiuj dane QR`, diff --git a/src/LocaleStrings/PortugueseLocale.res b/src/LocaleStrings/PortugueseLocale.res index ae7192d36..010dbd232 100644 --- a/src/LocaleStrings/PortugueseLocale.res +++ b/src/LocaleStrings/PortugueseLocale.res @@ -258,7 +258,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Selecione um plano de parcelamento", showMore: "Mostrar mais", showLess: "Mostrar menos", - // --- TD-005: Localized hardcoded strings --- copiedText: `Copiado!`, copyText: `Copiar`, copyQRDataText: `Copiar dados QR`, diff --git a/src/LocaleStrings/RussianLocale.res b/src/LocaleStrings/RussianLocale.res index 152aae936..c01b2a14e 100644 --- a/src/LocaleStrings/RussianLocale.res +++ b/src/LocaleStrings/RussianLocale.res @@ -266,7 +266,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Выберите план рассрочки", showMore: "Показать ещё", showLess: "Показать меньше", - // --- TD-005: Localized hardcoded strings --- copiedText: `Скопировано!`, copyText: `Копировать`, copyQRDataText: `Копировать данные QR`, diff --git a/src/LocaleStrings/SpanishLocale.res b/src/LocaleStrings/SpanishLocale.res index b6442ad9c..c6d8913b9 100644 --- a/src/LocaleStrings/SpanishLocale.res +++ b/src/LocaleStrings/SpanishLocale.res @@ -258,7 +258,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Seleccione un plan de cuotas", showMore: "Mostrar más", showLess: "Mostrar menos", - // --- TD-005: Localized hardcoded strings --- copiedText: `¡Copiado!`, copyText: `Copiar`, copyQRDataText: `Copiar datos QR`, diff --git a/src/LocaleStrings/SwedishLocale.res b/src/LocaleStrings/SwedishLocale.res index 7e2102446..66caedcee 100644 --- a/src/LocaleStrings/SwedishLocale.res +++ b/src/LocaleStrings/SwedishLocale.res @@ -257,7 +257,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "Välj ett avbetalningsplan", showMore: "Visa mer", showLess: "Visa mindre", - // --- TD-005: Localized hardcoded strings --- copiedText: `Kopierat!`, copyText: `Kopiera`, copyQRDataText: `Kopiera QR-data`, @@ -266,8 +265,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { moreText: `Mer`, addBankDetailsConfirmText: `Lägg till bankuppgifter och bekräfta sedan betalningen med de tillagda betalningsmetoderna.`, addBankDetailsButtonText: `Lägg till bankuppgifter`, - bankDebitStepsText: pmt => - `${pmt} Autogiro har 2 steg för betalning. Följ instruktionerna:`, + bankDebitStepsText: pmt => `${pmt} Autogiro har 2 steg för betalning. Följ instruktionerna:`, bankDebitStep1Text: `Klicka på „Lägg till bankuppgifter" och fortsätt för att lägga till dina bankkontouppgifter.`, bankDebitStep2Text: `Efter verifiering ser du ditt/dina tillagda konto(n). Du kan välja det konto du vill betala med och klicka på betala-knappen.`, removeAccountText: `Ta bort konto`, diff --git a/src/LocaleStrings/TraditionalChineseLocale.res b/src/LocaleStrings/TraditionalChineseLocale.res index c896474c1..3163cc6c7 100644 --- a/src/LocaleStrings/TraditionalChineseLocale.res +++ b/src/LocaleStrings/TraditionalChineseLocale.res @@ -257,7 +257,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { installmentSelectPlanPlaceholder: "選擇分期計劃", showMore: "顯示更多", showLess: "收起", - // --- TD-005: Localized hardcoded strings --- copiedText: `已複製!`, copyText: `複製`, copyQRDataText: `複製 QR 碼資料`, From ed4a0b8d0e3002bf9164bf82173e7da0949b6297 Mon Sep 17 00:00:00 2001 From: Arush Kapoor Date: Tue, 7 Apr 2026 01:15:33 +0530 Subject: [PATCH 5/6] fix: localize missed "Save card" string and silence unused cardBrand warnings --- src/LocaleStrings/ArabicLocale.res | 1 + src/LocaleStrings/CatalanLocale.res | 3 ++- src/LocaleStrings/ChineseLocale.res | 1 + src/LocaleStrings/DeutschLocale.res | 1 + src/LocaleStrings/DutchLocale.res | 1 + src/LocaleStrings/EnglishGBLocale.res | 1 + src/LocaleStrings/EnglishLocale.res | 1 + src/LocaleStrings/FrenchBelgiumLocale.res | 3 ++- src/LocaleStrings/FrenchLocale.res | 3 ++- src/LocaleStrings/HebrewLocale.res | 1 + src/LocaleStrings/ItalianLocale.res | 1 + src/LocaleStrings/JapaneseLocale.res | 1 + src/LocaleStrings/LocaleStringTypes.res | 1 + src/LocaleStrings/PolishLocale.res | 3 ++- src/LocaleStrings/PortugueseLocale.res | 3 ++- src/LocaleStrings/RussianLocale.res | 3 ++- src/LocaleStrings/SpanishLocale.res | 3 ++- src/LocaleStrings/SwedishLocale.res | 1 + src/LocaleStrings/TraditionalChineseLocale.res | 1 + src/PaymentManagement.res | 2 +- 20 files changed, 27 insertions(+), 8 deletions(-) diff --git a/src/LocaleStrings/ArabicLocale.res b/src/LocaleStrings/ArabicLocale.res index 0958d7e4c..c32b55754 100644 --- a/src/LocaleStrings/ArabicLocale.res +++ b/src/LocaleStrings/ArabicLocale.res @@ -324,4 +324,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `إضافة بطاقة جديدة`, somethingWentWrongText: `عذرًا، حدث خطأ ما!`, selectCardBrandText: `اختر علامة بطاقة`, + saveCardText: `حفظ البطاقة`, } diff --git a/src/LocaleStrings/CatalanLocale.res b/src/LocaleStrings/CatalanLocale.res index 02430e00c..7b5c7c960 100644 --- a/src/LocaleStrings/CatalanLocale.res +++ b/src/LocaleStrings/CatalanLocale.res @@ -312,7 +312,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Recorda'm en aquest navegador`, ctpRememberMeTooltipLine1: `Quan se us recordi, ometreu la verificació i accedireu de manera segura a les vostres targetes desades en pagar amb Click to Pay.`, ctpRememberMeTooltipLine2: `No recomanat per a dispositius públics o compartits perquè utilitza galetes.`, - ctpTermsConsentText: cardBrand => `En continuar, accepteu els `, + ctpTermsConsentText: _cardBrand => `En continuar, accepteu els `, termsText: `Termes`, ctpPrivacyConsentText: `i enteneu que les vostres dades seran processades d'acord amb l'`, privacyNoticeText: `Avís de privadesa`, @@ -322,4 +322,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Afegir nova targeta`, somethingWentWrongText: `Ups, alguna cosa ha anat malament!`, selectCardBrandText: `Seleccioneu una marca de targeta`, + saveCardText: `Desar targeta`, } diff --git a/src/LocaleStrings/ChineseLocale.res b/src/LocaleStrings/ChineseLocale.res index 546e196d1..988baa9d8 100644 --- a/src/LocaleStrings/ChineseLocale.res +++ b/src/LocaleStrings/ChineseLocale.res @@ -320,4 +320,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `添加新卡`, somethingWentWrongText: `抱歉,出了点问题!`, selectCardBrandText: `选择卡品牌`, + saveCardText: `保存卡片`, } diff --git a/src/LocaleStrings/DeutschLocale.res b/src/LocaleStrings/DeutschLocale.res index 85f7c004c..1b095ccd9 100644 --- a/src/LocaleStrings/DeutschLocale.res +++ b/src/LocaleStrings/DeutschLocale.res @@ -321,4 +321,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Neue Karte hinzufügen`, somethingWentWrongText: `Hoppla, etwas ist schiefgelaufen!`, selectCardBrandText: `Kartenmarke auswählen`, + saveCardText: `Karte speichern`, } diff --git a/src/LocaleStrings/DutchLocale.res b/src/LocaleStrings/DutchLocale.res index 9434dfdc7..3de3d7176 100644 --- a/src/LocaleStrings/DutchLocale.res +++ b/src/LocaleStrings/DutchLocale.res @@ -319,4 +319,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Nieuwe kaart toevoegen`, somethingWentWrongText: `Oeps, er is iets misgegaan!`, selectCardBrandText: `Selecteer een kaartmerk`, + saveCardText: `Kaart opslaan`, } diff --git a/src/LocaleStrings/EnglishGBLocale.res b/src/LocaleStrings/EnglishGBLocale.res index b2de71652..063c630b3 100644 --- a/src/LocaleStrings/EnglishGBLocale.res +++ b/src/LocaleStrings/EnglishGBLocale.res @@ -320,4 +320,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: "Add new card", somethingWentWrongText: "Oops, something went wrong!", selectCardBrandText: "Select a card brand", + saveCardText: "Save card", } diff --git a/src/LocaleStrings/EnglishLocale.res b/src/LocaleStrings/EnglishLocale.res index 50e1cb6a9..ed26a5ee9 100644 --- a/src/LocaleStrings/EnglishLocale.res +++ b/src/LocaleStrings/EnglishLocale.res @@ -320,4 +320,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: "Add new card", somethingWentWrongText: "Oops, something went wrong!", selectCardBrandText: "Select a card brand", + saveCardText: "Save card", } diff --git a/src/LocaleStrings/FrenchBelgiumLocale.res b/src/LocaleStrings/FrenchBelgiumLocale.res index a8ccd6232..6e0a46da7 100644 --- a/src/LocaleStrings/FrenchBelgiumLocale.res +++ b/src/LocaleStrings/FrenchBelgiumLocale.res @@ -312,7 +312,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Se souvenir de moi sur ce navigateur`, ctpRememberMeTooltipLine1: `Lorsque vous êtes mémorisé(e), vous n'aurez pas besoin de vérification et accéderez en toute sécurité à vos cartes enregistrées lors du paiement avec Click to Pay.`, ctpRememberMeTooltipLine2: `Non recommandé pour les appareils publics ou partagés car cela utilise des cookies.`, - ctpTermsConsentText: cardBrand => `En continuant, vous acceptez les `, + ctpTermsConsentText: _cardBrand => `En continuant, vous acceptez les `, termsText: `Conditions`, ctpPrivacyConsentText: `et comprenez que vos données seront traitées conformément à la `, privacyNoticeText: `Politique de confidentialité`, @@ -322,4 +322,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Ajouter une nouvelle carte`, somethingWentWrongText: `Oups, quelque chose s'est mal passé !`, selectCardBrandText: `Sélectionnez une marque de carte`, + saveCardText: `Enregistrer la carte`, } diff --git a/src/LocaleStrings/FrenchLocale.res b/src/LocaleStrings/FrenchLocale.res index 0d3693305..e0b651ff1 100644 --- a/src/LocaleStrings/FrenchLocale.res +++ b/src/LocaleStrings/FrenchLocale.res @@ -312,7 +312,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Se souvenir de moi sur ce navigateur`, ctpRememberMeTooltipLine1: `Lorsque vous êtes mémorisé(e), vous n'aurez pas besoin de vérification et accéderez en toute sécurité à vos cartes enregistrées lors du paiement avec Click to Pay.`, ctpRememberMeTooltipLine2: `Non recommandé pour les appareils publics ou partagés car cela utilise des cookies.`, - ctpTermsConsentText: cardBrand => `En continuant, vous acceptez les `, + ctpTermsConsentText: _cardBrand => `En continuant, vous acceptez les `, termsText: `Conditions`, ctpPrivacyConsentText: `et comprenez que vos données seront traitées conformément à la `, privacyNoticeText: `Politique de confidentialité`, @@ -322,4 +322,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Ajouter une nouvelle carte`, somethingWentWrongText: `Oups, quelque chose s'est mal passé !`, selectCardBrandText: `Sélectionnez une marque de carte`, + saveCardText: `Enregistrer la carte`, } diff --git a/src/LocaleStrings/HebrewLocale.res b/src/LocaleStrings/HebrewLocale.res index 97ea9f299..55a56748e 100644 --- a/src/LocaleStrings/HebrewLocale.res +++ b/src/LocaleStrings/HebrewLocale.res @@ -321,4 +321,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `הוסף כרטיס חדש`, somethingWentWrongText: `אופס, משהו השתבש!`, selectCardBrandText: `בחר מותג כרטיס`, + saveCardText: `שמור כרטיס`, } diff --git a/src/LocaleStrings/ItalianLocale.res b/src/LocaleStrings/ItalianLocale.res index 56bce7cf0..0f93d7f5a 100644 --- a/src/LocaleStrings/ItalianLocale.res +++ b/src/LocaleStrings/ItalianLocale.res @@ -322,4 +322,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Aggiungi nuova carta`, somethingWentWrongText: `Ops, qualcosa è andato storto!`, selectCardBrandText: `Seleziona un marchio di carta`, + saveCardText: `Salva carta`, } diff --git a/src/LocaleStrings/JapaneseLocale.res b/src/LocaleStrings/JapaneseLocale.res index 39757a27d..c21d385fb 100644 --- a/src/LocaleStrings/JapaneseLocale.res +++ b/src/LocaleStrings/JapaneseLocale.res @@ -322,4 +322,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `新しいカードを追加`, somethingWentWrongText: `エラーが発生しました。もう一度お試しください。`, selectCardBrandText: `カードブランドを選択`, + saveCardText: `カードを保存`, } diff --git a/src/LocaleStrings/LocaleStringTypes.res b/src/LocaleStrings/LocaleStringTypes.res index 9cb83ad94..fabc88645 100644 --- a/src/LocaleStrings/LocaleStringTypes.res +++ b/src/LocaleStrings/LocaleStringTypes.res @@ -304,6 +304,7 @@ type localeStrings = { addNewCardText: string, somethingWentWrongText: string, selectCardBrandText: string, + saveCardText: string, } type constantStrings = { diff --git a/src/LocaleStrings/PolishLocale.res b/src/LocaleStrings/PolishLocale.res index b0bd5de19..524ac178c 100644 --- a/src/LocaleStrings/PolishLocale.res +++ b/src/LocaleStrings/PolishLocale.res @@ -311,7 +311,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Zapamiętaj mnie w tej przeglądarce`, ctpRememberMeTooltipLine1: `Po zapamiętaniu pominiesz weryfikację i uzyskasz bezpieczny dostęp do zapisanych kart podczas płatności Click to Pay.`, ctpRememberMeTooltipLine2: `Niezalecane na urządzeniach publicznych lub współdzielonych, ponieważ wykorzystuje pliki cookie.`, - ctpTermsConsentText: cardBrand => `Kontynuując, akceptujesz `, + ctpTermsConsentText: _cardBrand => `Kontynuując, akceptujesz `, termsText: `Regulamin`, ctpPrivacyConsentText: `i rozumiesz, że Twoje dane będą przetwarzane zgodnie z `, privacyNoticeText: `Polityką prywatności`, @@ -321,4 +321,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Dodaj nową kartę`, somethingWentWrongText: `Ups, coś poszło nie tak!`, selectCardBrandText: `Wybierz markę karty`, + saveCardText: `Zapisz kartę`, } diff --git a/src/LocaleStrings/PortugueseLocale.res b/src/LocaleStrings/PortugueseLocale.res index 010dbd232..8d3f481b9 100644 --- a/src/LocaleStrings/PortugueseLocale.res +++ b/src/LocaleStrings/PortugueseLocale.res @@ -311,7 +311,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Lembrar-me neste navegador`, ctpRememberMeTooltipLine1: `Quando memorizado(a), não precisará de verificação e acederá de forma segura aos seus cartões guardados ao pagar com Click to Pay.`, ctpRememberMeTooltipLine2: `Não recomendado para dispositivos públicos ou partilhados pois utiliza cookies.`, - ctpTermsConsentText: cardBrand => `Ao continuar, concorda com os `, + ctpTermsConsentText: _cardBrand => `Ao continuar, concorda com os `, termsText: `Termos`, ctpPrivacyConsentText: `e compreende que os seus dados serão tratados de acordo com o `, privacyNoticeText: `Aviso de privacidade`, @@ -321,4 +321,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Adicionar novo cartão`, somethingWentWrongText: `Ups, algo correu mal!`, selectCardBrandText: `Selecione uma marca de cartão`, + saveCardText: `Guardar cartão`, } diff --git a/src/LocaleStrings/RussianLocale.res b/src/LocaleStrings/RussianLocale.res index c01b2a14e..1f8ce51f3 100644 --- a/src/LocaleStrings/RussianLocale.res +++ b/src/LocaleStrings/RussianLocale.res @@ -319,7 +319,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Запомнить меня в этом браузере`, ctpRememberMeTooltipLine1: `При запоминании вы пропустите проверку и получите безопасный доступ к сохранённым картам при оплате через Click to Pay.`, ctpRememberMeTooltipLine2: `Не рекомендуется для общедоступных или общих устройств, так как используются файлы cookie.`, - ctpTermsConsentText: cardBrand => `Продолжая, вы соглашаетесь с `, + ctpTermsConsentText: _cardBrand => `Продолжая, вы соглашаетесь с `, termsText: `Условиями`, ctpPrivacyConsentText: `и понимаете, что ваши данные будут обработаны в соответствии с `, privacyNoticeText: `Уведомлением о конфиденциальности`, @@ -329,4 +329,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Добавить новую карту`, somethingWentWrongText: `Ой, что-то пошло не так!`, selectCardBrandText: `Выберите бренд карты`, + saveCardText: `Сохранить карту`, } diff --git a/src/LocaleStrings/SpanishLocale.res b/src/LocaleStrings/SpanishLocale.res index c6d8913b9..023bdaec0 100644 --- a/src/LocaleStrings/SpanishLocale.res +++ b/src/LocaleStrings/SpanishLocale.res @@ -311,7 +311,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Recordarme en este navegador`, ctpRememberMeTooltipLine1: `Cuando se le recuerde, omitirá la verificación y accederá de forma segura a sus tarjetas guardadas al pagar con Click to Pay.`, ctpRememberMeTooltipLine2: `No recomendado para dispositivos públicos o compartidos ya que se utilizan cookies.`, - ctpTermsConsentText: cardBrand => `Al continuar, acepta los `, + ctpTermsConsentText: _cardBrand => `Al continuar, acepta los `, termsText: `Términos`, ctpPrivacyConsentText: `y entiende que sus datos serán procesados de acuerdo con el `, privacyNoticeText: `Aviso de privacidad`, @@ -321,4 +321,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Añadir nueva tarjeta`, somethingWentWrongText: `¡Vaya, algo salió mal!`, selectCardBrandText: `Seleccione una marca de tarjeta`, + saveCardText: `Guardar tarjeta`, } diff --git a/src/LocaleStrings/SwedishLocale.res b/src/LocaleStrings/SwedishLocale.res index 66caedcee..a484e3546 100644 --- a/src/LocaleStrings/SwedishLocale.res +++ b/src/LocaleStrings/SwedishLocale.res @@ -319,4 +319,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `Lägg till nytt kort`, somethingWentWrongText: `Hoppsan, något gick fel!`, selectCardBrandText: `Välj ett kortmärke`, + saveCardText: `Spara kort`, } diff --git a/src/LocaleStrings/TraditionalChineseLocale.res b/src/LocaleStrings/TraditionalChineseLocale.res index 3163cc6c7..2f3df746b 100644 --- a/src/LocaleStrings/TraditionalChineseLocale.res +++ b/src/LocaleStrings/TraditionalChineseLocale.res @@ -320,4 +320,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { addNewCardText: `新增卡片`, somethingWentWrongText: `糟糕,出了點問題!`, selectCardBrandText: `選擇卡片品牌`, + saveCardText: `儲存卡片`, } diff --git a/src/PaymentManagement.res b/src/PaymentManagement.res index 118595a10..6a3d97f19 100644 --- a/src/PaymentManagement.res +++ b/src/PaymentManagement.res @@ -111,7 +111,7 @@ let make = (
- +
From ea835b0e29e6f9bd7a08bdca751ce213c5f4d3a2 Mon Sep 17 00:00:00 2001 From: Arush Kapoor Date: Tue, 7 Apr 2026 02:45:06 +0530 Subject: [PATCH 6/6] =?UTF-8?q?fix:=20address=20review=20feedback=20?= =?UTF-8?q?=E2=80=94=20revert=20postMessage=20string,=20restore=20cardBran?= =?UTF-8?q?d=20in=20consent=20text,=20add=20ErrorBoundary=20locale=20keys,?= =?UTF-8?q?=20refactor=20Button=20props?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/LocaleStrings/ArabicLocale.res | 2 ++ src/LocaleStrings/CatalanLocale.res | 4 +++- src/LocaleStrings/ChineseLocale.res | 2 ++ src/LocaleStrings/DeutschLocale.res | 2 ++ src/LocaleStrings/DutchLocale.res | 2 ++ src/LocaleStrings/EnglishGBLocale.res | 2 ++ src/LocaleStrings/EnglishLocale.res | 2 ++ src/LocaleStrings/FrenchBelgiumLocale.res | 4 +++- src/LocaleStrings/FrenchLocale.res | 4 +++- src/LocaleStrings/HebrewLocale.res | 2 ++ src/LocaleStrings/ItalianLocale.res | 2 ++ src/LocaleStrings/JapaneseLocale.res | 2 ++ src/LocaleStrings/LocaleStringTypes.res | 2 ++ src/LocaleStrings/PolishLocale.res | 4 +++- src/LocaleStrings/PortugueseLocale.res | 4 +++- src/LocaleStrings/RussianLocale.res | 4 +++- src/LocaleStrings/SpanishLocale.res | 4 +++- src/LocaleStrings/SwedishLocale.res | 2 ++ src/LocaleStrings/TraditionalChineseLocale.res | 2 ++ src/Payments/AddBankDetails.res | 2 +- src/Payments/BankDebitModal.res | 8 ++++---- src/hyper-log-catcher/ErrorBoundary.res | 4 ++-- 22 files changed, 52 insertions(+), 14 deletions(-) diff --git a/src/LocaleStrings/ArabicLocale.res b/src/LocaleStrings/ArabicLocale.res index c32b55754..4223128e8 100644 --- a/src/LocaleStrings/ArabicLocale.res +++ b/src/LocaleStrings/ArabicLocale.res @@ -325,4 +325,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `عذرًا، حدث خطأ ما!`, selectCardBrandText: `اختر علامة بطاقة`, saveCardText: `حفظ البطاقة`, + errorBackShortlyText: `سنعود إليك قريبًا :)`, + tryAnotherPaymentMethodText: `جرّب طريقة دفع أخرى :)`, } diff --git a/src/LocaleStrings/CatalanLocale.res b/src/LocaleStrings/CatalanLocale.res index 7b5c7c960..33fa12ed5 100644 --- a/src/LocaleStrings/CatalanLocale.res +++ b/src/LocaleStrings/CatalanLocale.res @@ -312,7 +312,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Recorda'm en aquest navegador`, ctpRememberMeTooltipLine1: `Quan se us recordi, ometreu la verificació i accedireu de manera segura a les vostres targetes desades en pagar amb Click to Pay.`, ctpRememberMeTooltipLine2: `No recomanat per a dispositius públics o compartits perquè utilitza galetes.`, - ctpTermsConsentText: _cardBrand => `En continuar, accepteu els `, + ctpTermsConsentText: cardBrand => `En continuar, accepteu els termes de ${cardBrand} `, termsText: `Termes`, ctpPrivacyConsentText: `i enteneu que les vostres dades seran processades d'acord amb l'`, privacyNoticeText: `Avís de privadesa`, @@ -323,4 +323,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Ups, alguna cosa ha anat malament!`, selectCardBrandText: `Seleccioneu una marca de targeta`, saveCardText: `Desar targeta`, + errorBackShortlyText: `Tornarem aviat :)`, + tryAnotherPaymentMethodText: `Proveu un altre mètode de pagament :)`, } diff --git a/src/LocaleStrings/ChineseLocale.res b/src/LocaleStrings/ChineseLocale.res index 988baa9d8..0629e8430 100644 --- a/src/LocaleStrings/ChineseLocale.res +++ b/src/LocaleStrings/ChineseLocale.res @@ -321,4 +321,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `抱歉,出了点问题!`, selectCardBrandText: `选择卡品牌`, saveCardText: `保存卡片`, + errorBackShortlyText: `我们很快就会回来 :)`, + tryAnotherPaymentMethodText: `请尝试其他支付方式 :)`, } diff --git a/src/LocaleStrings/DeutschLocale.res b/src/LocaleStrings/DeutschLocale.res index 1b095ccd9..c0d7eff47 100644 --- a/src/LocaleStrings/DeutschLocale.res +++ b/src/LocaleStrings/DeutschLocale.res @@ -322,4 +322,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Hoppla, etwas ist schiefgelaufen!`, selectCardBrandText: `Kartenmarke auswählen`, saveCardText: `Karte speichern`, + errorBackShortlyText: `Wir sind in Kürze wieder da :)`, + tryAnotherPaymentMethodText: `Versuchen Sie eine andere Zahlungsmethode :)`, } diff --git a/src/LocaleStrings/DutchLocale.res b/src/LocaleStrings/DutchLocale.res index 3de3d7176..d094ba6d3 100644 --- a/src/LocaleStrings/DutchLocale.res +++ b/src/LocaleStrings/DutchLocale.res @@ -320,4 +320,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Oeps, er is iets misgegaan!`, selectCardBrandText: `Selecteer een kaartmerk`, saveCardText: `Kaart opslaan`, + errorBackShortlyText: `We zijn zo terug :)`, + tryAnotherPaymentMethodText: `Probeer een andere betaalmethode :)`, } diff --git a/src/LocaleStrings/EnglishGBLocale.res b/src/LocaleStrings/EnglishGBLocale.res index 063c630b3..17e23f1b9 100644 --- a/src/LocaleStrings/EnglishGBLocale.res +++ b/src/LocaleStrings/EnglishGBLocale.res @@ -321,4 +321,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: "Oops, something went wrong!", selectCardBrandText: "Select a card brand", saveCardText: "Save card", + errorBackShortlyText: "We'll be back with you shortly :)", + tryAnotherPaymentMethodText: "Try another payment method :)", } diff --git a/src/LocaleStrings/EnglishLocale.res b/src/LocaleStrings/EnglishLocale.res index ed26a5ee9..4a8111ed9 100644 --- a/src/LocaleStrings/EnglishLocale.res +++ b/src/LocaleStrings/EnglishLocale.res @@ -321,4 +321,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: "Oops, something went wrong!", selectCardBrandText: "Select a card brand", saveCardText: "Save card", + errorBackShortlyText: "We'll be back with you shortly :)", + tryAnotherPaymentMethodText: "Try another payment method :)", } diff --git a/src/LocaleStrings/FrenchBelgiumLocale.res b/src/LocaleStrings/FrenchBelgiumLocale.res index 6e0a46da7..ecea0d748 100644 --- a/src/LocaleStrings/FrenchBelgiumLocale.res +++ b/src/LocaleStrings/FrenchBelgiumLocale.res @@ -312,7 +312,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Se souvenir de moi sur ce navigateur`, ctpRememberMeTooltipLine1: `Lorsque vous êtes mémorisé(e), vous n'aurez pas besoin de vérification et accéderez en toute sécurité à vos cartes enregistrées lors du paiement avec Click to Pay.`, ctpRememberMeTooltipLine2: `Non recommandé pour les appareils publics ou partagés car cela utilise des cookies.`, - ctpTermsConsentText: _cardBrand => `En continuant, vous acceptez les `, + ctpTermsConsentText: cardBrand => `En continuant, vous acceptez les conditions de ${cardBrand} `, termsText: `Conditions`, ctpPrivacyConsentText: `et comprenez que vos données seront traitées conformément à la `, privacyNoticeText: `Politique de confidentialité`, @@ -323,4 +323,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Oups, quelque chose s'est mal passé !`, selectCardBrandText: `Sélectionnez une marque de carte`, saveCardText: `Enregistrer la carte`, + errorBackShortlyText: `Nous serons de retour très bientôt :)`, + tryAnotherPaymentMethodText: `Essayez un autre moyen de paiement :)`, } diff --git a/src/LocaleStrings/FrenchLocale.res b/src/LocaleStrings/FrenchLocale.res index e0b651ff1..645c458ec 100644 --- a/src/LocaleStrings/FrenchLocale.res +++ b/src/LocaleStrings/FrenchLocale.res @@ -312,7 +312,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Se souvenir de moi sur ce navigateur`, ctpRememberMeTooltipLine1: `Lorsque vous êtes mémorisé(e), vous n'aurez pas besoin de vérification et accéderez en toute sécurité à vos cartes enregistrées lors du paiement avec Click to Pay.`, ctpRememberMeTooltipLine2: `Non recommandé pour les appareils publics ou partagés car cela utilise des cookies.`, - ctpTermsConsentText: _cardBrand => `En continuant, vous acceptez les `, + ctpTermsConsentText: cardBrand => `En continuant, vous acceptez les conditions de ${cardBrand} `, termsText: `Conditions`, ctpPrivacyConsentText: `et comprenez que vos données seront traitées conformément à la `, privacyNoticeText: `Politique de confidentialité`, @@ -323,4 +323,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Oups, quelque chose s'est mal passé !`, selectCardBrandText: `Sélectionnez une marque de carte`, saveCardText: `Enregistrer la carte`, + errorBackShortlyText: `Nous serons de retour très bientôt :)`, + tryAnotherPaymentMethodText: `Essayez un autre moyen de paiement :)`, } diff --git a/src/LocaleStrings/HebrewLocale.res b/src/LocaleStrings/HebrewLocale.res index 55a56748e..ca36ef4d7 100644 --- a/src/LocaleStrings/HebrewLocale.res +++ b/src/LocaleStrings/HebrewLocale.res @@ -322,4 +322,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `אופס, משהו השתבש!`, selectCardBrandText: `בחר מותג כרטיס`, saveCardText: `שמור כרטיס`, + errorBackShortlyText: `נחזור אליך בקרוב :)`, + tryAnotherPaymentMethodText: `נסה אמצעי תשלום אחר :)`, } diff --git a/src/LocaleStrings/ItalianLocale.res b/src/LocaleStrings/ItalianLocale.res index 0f93d7f5a..388ac96d3 100644 --- a/src/LocaleStrings/ItalianLocale.res +++ b/src/LocaleStrings/ItalianLocale.res @@ -323,4 +323,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Ops, qualcosa è andato storto!`, selectCardBrandText: `Seleziona un marchio di carta`, saveCardText: `Salva carta`, + errorBackShortlyText: `Torneremo a breve :)`, + tryAnotherPaymentMethodText: `Prova un altro metodo di pagamento :)`, } diff --git a/src/LocaleStrings/JapaneseLocale.res b/src/LocaleStrings/JapaneseLocale.res index c21d385fb..060cf9b44 100644 --- a/src/LocaleStrings/JapaneseLocale.res +++ b/src/LocaleStrings/JapaneseLocale.res @@ -323,4 +323,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `エラーが発生しました。もう一度お試しください。`, selectCardBrandText: `カードブランドを選択`, saveCardText: `カードを保存`, + errorBackShortlyText: `まもなく復旧いたします :)`, + tryAnotherPaymentMethodText: `別のお支払い方法をお試しください :)`, } diff --git a/src/LocaleStrings/LocaleStringTypes.res b/src/LocaleStrings/LocaleStringTypes.res index fabc88645..8c2217858 100644 --- a/src/LocaleStrings/LocaleStringTypes.res +++ b/src/LocaleStrings/LocaleStringTypes.res @@ -305,6 +305,8 @@ type localeStrings = { somethingWentWrongText: string, selectCardBrandText: string, saveCardText: string, + errorBackShortlyText: string, + tryAnotherPaymentMethodText: string, } type constantStrings = { diff --git a/src/LocaleStrings/PolishLocale.res b/src/LocaleStrings/PolishLocale.res index 524ac178c..7b6106f70 100644 --- a/src/LocaleStrings/PolishLocale.res +++ b/src/LocaleStrings/PolishLocale.res @@ -311,7 +311,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Zapamiętaj mnie w tej przeglądarce`, ctpRememberMeTooltipLine1: `Po zapamiętaniu pominiesz weryfikację i uzyskasz bezpieczny dostęp do zapisanych kart podczas płatności Click to Pay.`, ctpRememberMeTooltipLine2: `Niezalecane na urządzeniach publicznych lub współdzielonych, ponieważ wykorzystuje pliki cookie.`, - ctpTermsConsentText: _cardBrand => `Kontynuując, akceptujesz `, + ctpTermsConsentText: cardBrand => `Kontynuując, akceptujesz warunki ${cardBrand} `, termsText: `Regulamin`, ctpPrivacyConsentText: `i rozumiesz, że Twoje dane będą przetwarzane zgodnie z `, privacyNoticeText: `Polityką prywatności`, @@ -322,4 +322,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Ups, coś poszło nie tak!`, selectCardBrandText: `Wybierz markę karty`, saveCardText: `Zapisz kartę`, + errorBackShortlyText: `Wrócimy wkrótce :)`, + tryAnotherPaymentMethodText: `Spróbuj innej metody płatności :)`, } diff --git a/src/LocaleStrings/PortugueseLocale.res b/src/LocaleStrings/PortugueseLocale.res index 8d3f481b9..5747f1afe 100644 --- a/src/LocaleStrings/PortugueseLocale.res +++ b/src/LocaleStrings/PortugueseLocale.res @@ -311,7 +311,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Lembrar-me neste navegador`, ctpRememberMeTooltipLine1: `Quando memorizado(a), não precisará de verificação e acederá de forma segura aos seus cartões guardados ao pagar com Click to Pay.`, ctpRememberMeTooltipLine2: `Não recomendado para dispositivos públicos ou partilhados pois utiliza cookies.`, - ctpTermsConsentText: _cardBrand => `Ao continuar, concorda com os `, + ctpTermsConsentText: cardBrand => `Ao continuar, concorda com os termos de ${cardBrand} `, termsText: `Termos`, ctpPrivacyConsentText: `e compreende que os seus dados serão tratados de acordo com o `, privacyNoticeText: `Aviso de privacidade`, @@ -322,4 +322,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Ups, algo correu mal!`, selectCardBrandText: `Selecione uma marca de cartão`, saveCardText: `Guardar cartão`, + errorBackShortlyText: `Voltaremos em breve :)`, + tryAnotherPaymentMethodText: `Tente outro método de pagamento :)`, } diff --git a/src/LocaleStrings/RussianLocale.res b/src/LocaleStrings/RussianLocale.res index 1f8ce51f3..16ad80e16 100644 --- a/src/LocaleStrings/RussianLocale.res +++ b/src/LocaleStrings/RussianLocale.res @@ -319,7 +319,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Запомнить меня в этом браузере`, ctpRememberMeTooltipLine1: `При запоминании вы пропустите проверку и получите безопасный доступ к сохранённым картам при оплате через Click to Pay.`, ctpRememberMeTooltipLine2: `Не рекомендуется для общедоступных или общих устройств, так как используются файлы cookie.`, - ctpTermsConsentText: _cardBrand => `Продолжая, вы соглашаетесь с `, + ctpTermsConsentText: cardBrand => `Продолжая, вы соглашаетесь с условиями ${cardBrand} `, termsText: `Условиями`, ctpPrivacyConsentText: `и понимаете, что ваши данные будут обработаны в соответствии с `, privacyNoticeText: `Уведомлением о конфиденциальности`, @@ -330,4 +330,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Ой, что-то пошло не так!`, selectCardBrandText: `Выберите бренд карты`, saveCardText: `Сохранить карту`, + errorBackShortlyText: `Мы скоро вернёмся :)`, + tryAnotherPaymentMethodText: `Попробуйте другой способ оплаты :)`, } diff --git a/src/LocaleStrings/SpanishLocale.res b/src/LocaleStrings/SpanishLocale.res index 023bdaec0..97df82517 100644 --- a/src/LocaleStrings/SpanishLocale.res +++ b/src/LocaleStrings/SpanishLocale.res @@ -311,7 +311,7 @@ let localeStrings: LocaleStringTypes.localeStrings = { ctpRememberMeText: `Recordarme en este navegador`, ctpRememberMeTooltipLine1: `Cuando se le recuerde, omitirá la verificación y accederá de forma segura a sus tarjetas guardadas al pagar con Click to Pay.`, ctpRememberMeTooltipLine2: `No recomendado para dispositivos públicos o compartidos ya que se utilizan cookies.`, - ctpTermsConsentText: _cardBrand => `Al continuar, acepta los `, + ctpTermsConsentText: cardBrand => `Al continuar, acepta los términos de ${cardBrand} `, termsText: `Términos`, ctpPrivacyConsentText: `y entiende que sus datos serán procesados de acuerdo con el `, privacyNoticeText: `Aviso de privacidad`, @@ -322,4 +322,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `¡Vaya, algo salió mal!`, selectCardBrandText: `Seleccione una marca de tarjeta`, saveCardText: `Guardar tarjeta`, + errorBackShortlyText: `Volveremos pronto :)`, + tryAnotherPaymentMethodText: `Pruebe otro método de pago :)`, } diff --git a/src/LocaleStrings/SwedishLocale.res b/src/LocaleStrings/SwedishLocale.res index a484e3546..5c3024a0d 100644 --- a/src/LocaleStrings/SwedishLocale.res +++ b/src/LocaleStrings/SwedishLocale.res @@ -320,4 +320,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `Hoppsan, något gick fel!`, selectCardBrandText: `Välj ett kortmärke`, saveCardText: `Spara kort`, + errorBackShortlyText: `Vi är snart tillbaka :)`, + tryAnotherPaymentMethodText: `Prova en annan betalningsmetod :)`, } diff --git a/src/LocaleStrings/TraditionalChineseLocale.res b/src/LocaleStrings/TraditionalChineseLocale.res index 2f3df746b..2362f2b37 100644 --- a/src/LocaleStrings/TraditionalChineseLocale.res +++ b/src/LocaleStrings/TraditionalChineseLocale.res @@ -321,4 +321,6 @@ let localeStrings: LocaleStringTypes.localeStrings = { somethingWentWrongText: `糟糕,出了點問題!`, selectCardBrandText: `選擇卡片品牌`, saveCardText: `儲存卡片`, + errorBackShortlyText: `我們很快就會回來 :)`, + tryAnotherPaymentMethodText: `請嘗試其他付款方式 :)`, } diff --git a/src/Payments/AddBankDetails.res b/src/Payments/AddBankDetails.res index 894339e08..84bfcd592 100644 --- a/src/Payments/AddBankDetails.res +++ b/src/Payments/AddBankDetails.res @@ -72,7 +72,7 @@ let make = (~paymentMethodType) => { if confirm.doSubmit { postFailedSubmitResponse( ~errortype="validation_error", - ~message=localeString.addBankDetailsConfirmText, + ~message="Please add Bank Details and then confirm payment with the added payment methods.", ) } }, []) diff --git a/src/Payments/BankDebitModal.res b/src/Payments/BankDebitModal.res index 34bf97f0d..e1e3373f1 100644 --- a/src/Payments/BankDebitModal.res +++ b/src/Payments/BankDebitModal.res @@ -5,14 +5,13 @@ type focus = Routing | Account | NONE module Button = { @react.component - let make = (~active=true, ~onclick) => { - let {localeString} = Recoil.useRecoilValueFromAtom(RecoilAtoms.configAtom) + let make = (~active=true, ~onclick, ~label) => {
active ? onclick(ev) : ()} className={`p-2 mt-10 rounded-md w-full flex justify-center items-center text-white text-sm bg-[#006DF9] ${active ? "cursor-pointer" : "opacity-50 cursor-not-allowed"}`}> - {React.string(localeString.doneText)} + {React.string(label)}
} } @@ -57,7 +56,7 @@ module MicroDepositScreen = {
-
} @@ -367,6 +366,7 @@ let make = (~setModalData) => {