Skip to content

Commit

Permalink
feat: locale string added for card information
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed May 2, 2024
1 parent 645a20f commit 4c549dc
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/LocaleStrings/ArabicLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `استخدم طرق الدفع المحفوظة`,
cardNickname: `الاسم علي الكارت`,
nicknamePlaceholder: `اسم البطاقة (اختياري)`,
cardHeader: `معلومات البطاقة`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/CatalanLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Utilitzeu formes de pagament desades`,
nicknamePlaceholder: `Àlies de la targeta (opcional)`,
selectPaymentMethodText: `Seleccioneu una forma de pagament i torneu-ho a provar`,
cardHeader: `Informació de la targeta`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/DeutschLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Gespeicherte Zahlungsarten nutzen`,
cardNickname: `Spitzname der Karte`,
nicknamePlaceholder: `Kartenname (optional)`,
cardHeader: `Kartendaten`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/DutchLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Gebruik opgeslagen betaalmethoden`,
nicknamePlaceholder: `Bijnaam kaart (optioneel)`,
selectPaymentMethodText: `Selecteer een betaalmethode en probeer het opnieuw`,
cardHeader: `Kaartinformatie`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/EnglishGBLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: "Use saved payment methods",
cardNickname: "Card Nickname",
nicknamePlaceholder: "Card Nickname (Optional)",
cardHeader: `Card information`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/EnglishLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: "Use saved payment methods",
cardNickname: "Card Nickname",
nicknamePlaceholder: "Card Nickname (Optional)",
cardHeader: `Card information`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/FrenchBelgiumLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Utiliser les modes de paiement enregistrés`,
nicknamePlaceholder: `Surnom de la carte (facultatif)`,
selectPaymentMethodText: `Veuillez sélectionner un mode de paiement et réessayer`,
cardHeader: `Informations de carte`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/FrenchLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Utiliser les modes de paiement enregistrés`,
cardNickname: `Pseudonyme de la carte`,
nicknamePlaceholder: `Surnom de la carte (facultatif)`,
cardHeader: `Informations de carte`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/HebrewLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `השתמש באמצעי תשלום שמורים`,
cardNickname: `כינוי לכרטיס`,
nicknamePlaceholder: `כינוי לכרטיס (אופציונלי)`,
cardHeader: `מידע כרטיס`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/ItalianLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Utilizza i metodi di pagamento salvati`,
nicknamePlaceholder: `Soprannome della carta (facoltativo)`,
selectPaymentMethodText: `Seleziona un metodo di pagamento e riprova`,
cardHeader: `Informazioni sulla carta`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/JapaneseLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `保存した支払い方法を使用する`,
cardNickname: `カードのニックネーム`,
nicknamePlaceholder: `カードニックネーム(任意)`,
cardHeader: `カード情報`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/LocaleStringTypes.res
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ type localeStrings = {
useExistingPaymentMethods: string,
cardNickname: string,
nicknamePlaceholder: string,
cardHeader: string,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/PolishLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Skorzystaj z zapisanych metod płatności`,
nicknamePlaceholder: `Pseudonim karty (opcjonalnie)`,
selectPaymentMethodText: `Wybierz metodę płatności i spróbuj ponownie`,
cardHeader: `Informacje o karcie`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/PortugueseLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Use métodos de pagamento salvos`,
nicknamePlaceholder: `Apelido do cartão (opcional)`,
selectPaymentMethodText: `Selecione uma forma de pagamento e tente novamente`,
cardHeader: `Informações do cartão`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/RussianLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Используйте сохраненные способы оплаты`,
nicknamePlaceholder: `Псевдоним карты (необязательно)`,
selectPaymentMethodText: `Пожалуйста, выберите способ оплаты и повторите попытку.`,
cardHeader: `Информация о карте`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/SpanishLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Utilice métodos de pago guardados`,
nicknamePlaceholder: `Apodo de la tarjeta (opcional)`,
selectPaymentMethodText: `Por favor seleccione un método de pago y vuelva a intentarlo`,
cardHeader: `Información de la tarjeta`,
}
1 change: 1 addition & 0 deletions src/LocaleStrings/SwedishLocale.res
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ let localeStrings: LocaleStringTypes.localeStrings = {
useExistingPaymentMethods: `Använd sparade betalningsmetoder`,
nicknamePlaceholder: `Kortets smeknamn (valfritt)`,
selectPaymentMethodText: `Välj en betalningsmetod och försök igen`,
cardHeader: `Kortinformation`,
}
2 changes: 1 addition & 1 deletion src/Payments/CardPayment.res
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ let make = (
~opacity="0.6",
(),
)}>
{React.string("Card information")}
{React.string(localeString.cardHeader)}
</div>
</RenderIf>
<RenderIf condition={!isBancontact}>
Expand Down

0 comments on commit 4c549dc

Please sign in to comment.