Skip to content

Commit

Permalink
fixing typo in securityCode contextual text (#2734)
Browse files Browse the repository at this point in the history
* fixing typo in securityCode contextual text

* Fixing unconnected linting error

* Reverting fix to unconnected linting error

* Fixing new eslint flat config to ignore filenames with underscores in them

* Fixing unrelated linting error on Giftcard.tsx

* Trying again to fix unrelated linting error on Giftcard.tsx
  • Loading branch information
sponglord authored Jul 8, 2024
1 parent af2d252 commit eacc01f
Show file tree
Hide file tree
Showing 34 changed files with 226 additions and 34 deletions.
2 changes: 1 addition & 1 deletion packages/lib/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
const config = tseslint.config(
{
name: 'Global ignore',
ignores: ['coverage/*', 'dist/*', 'config/*', 'auto/*', 'postcss.config.cjs', '**/*_*/**', 'eslint.config.js']
ignores: ['coverage/*', 'dist/*', 'config/*', 'auto/*', 'postcss.config.cjs', 'eslint.config.js', '**/*_*.*']
},
eslint.configs.recommended,
jsxA11y.flatConfigs.strict,
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/components/Giftcard/Giftcard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class GiftcardElement extends UIElement<GiftCardConfiguration> {
private handleOnRequiringConfirmation = (): Promise<any> => {
if (this.props.onRequiringConfirmation) {
return new Promise<void>((resolve, reject) => {
this.props.onRequiringConfirmation(resolve, reject);
void this.props.onRequiringConfirmation(resolve, reject);
});
}
};
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@
"upi.qrCodeWaitingMessage": "امسح رمز الاستجابة السريعة باستخدام تطبيق UPI الذي تُفضله لإتمام الدفع",
"upi.vpaWaitingMessage": "افتح تطبيق UPI لتأكيد الدفع",
"upi.modeSelection": "كيف تود استخدام معرف واجهة المدفوعات الموحدة (UPI)؟",
"upi.completePayment": "أكمل عملية الدفع",
"upi.mode.enterUpiId": "أدخل معرف UPI",
"upi.mode.qrCode": "رمز الاستجابة السريعة",
"upi.mode.payByAnyUpi": "ادفع عن طريق أي تطبيق من تطبيقات واجهة المدفوعات الموحدة (UPI)",
"upi.collect.dropdown.label": "أدخل معرف UPI",
"upi.collect.field.label": "أدخل معرف واجهة المدفوعات الموحدة (UPI) / عنوان الدفع الافتراضي (VPA)",
"onlineBanking.termsAndConditions": "بالمتابعة، فإنك توافق على %#الشروط و الأحكام%#",
"onlineBankingPL.termsAndConditions": "بالاستمرار، فإنك توافق على %#القواعد%# و%#الالتزامات المعلوماتية%# لمؤسسة Przelewy24",
"ctp.loading.poweredByCtp": "بدعم من Click to Pay",
Expand Down Expand Up @@ -286,7 +292,7 @@
"creditCard.securityCode.label": "رمز الأمان",
"creditCard.securityCode.label.optional": "رمز الأمان (اختياري)",
"creditCard.securityCode.contextualText.3digits": "3 أرقام في الجانب الخلفي من البطاقة",
"creditCard.securityCode.contextualText.4digits": "4 أرقام في الجانب الخلفي من البطاقة",
"creditCard.securityCode.contextualText.4digits": "4 أرقام في الجانب الأمامي من البطاقة",
"creditCard.expiryMonth.label": "شهر الانتهاء",
"creditCard.expiryYear.label": "سنة الانتهاء",
"creditCard.pin.label": "رقم التعريف الشخصي",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/bg-BG.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
"upi.qrCodeWaitingMessage": "Сканирайте QR кода с помощта на предпочитаното от вас приложение UPI, за да завършите плащането",
"upi.vpaWaitingMessage": "Отворете приложението UPI, за да потвърдите плащането",
"upi.modeSelection": "Как бихте искали да използвате UPI?",
"upi.completePayment": "Завършете плащането",
"upi.mode.enterUpiId": "Въведете UPI ID",
"upi.mode.qrCode": "QR код",
"upi.mode.payByAnyUpi": "Платете с което и да е UPI приложение",
"upi.collect.dropdown.label": "Въведете UPI ID",
"upi.collect.field.label": "Въведете UPI ID / VPA",
"onlineBanking.termsAndConditions": "Продължавайки, вие се съгласявате с %#правилата и условията%#",
"onlineBankingPL.termsAndConditions": "Продължавайки, вие се съгласявате с %#правилата%# и %#задължението за информация%# на Przelewy24",
"ctp.loading.poweredByCtp": "Осъществено от Click to Pay",
Expand Down Expand Up @@ -287,7 +293,7 @@
"creditCard.securityCode.label": "Код за сигурност",
"creditCard.securityCode.label.optional": "Код за сигурност (незадължително)",
"creditCard.securityCode.contextualText.3digits": "3 цифри на гърба на картата",
"creditCard.securityCode.contextualText.4digits": "4 цифри на гърба на картата",
"creditCard.securityCode.contextualText.4digits": "4 цифри на предната част на картата",
"creditCard.expiryMonth.label": "Месец на валидност",
"creditCard.expiryYear.label": "Година на валидност",
"creditCard.pin.label": "Пин",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/ca-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
"upi.qrCodeWaitingMessage": "Escanegeu el codi QR mitjançant l'aplicació UPI preferida per completar el pagament",
"upi.vpaWaitingMessage": "Obriu la vostra aplicació UPI per confirmar el pagament",
"upi.modeSelection": "Com us agradaria utilitzar UPI?",
"upi.completePayment": "Completeu el vostre pagament",
"upi.mode.enterUpiId": "Introduïu el PIN d'UPI",
"upi.mode.qrCode": "Codi QR",
"upi.mode.payByAnyUpi": "Pagament amb qualsevol aplicació UPI",
"upi.collect.dropdown.label": "Introduïu el PIN d'UPI",
"upi.collect.field.label": "Introduïu l'ID / VPA d'UPI",
"onlineBanking.termsAndConditions": "En continuar, accepteu els %#termes i condicions%#",
"onlineBankingPL.termsAndConditions": "En continuar esteu d'acord amb les %#regulacions%# i l'%#obligació d'informació%# de Przelewy24",
"ctp.loading.poweredByCtp": "Desenvolupat per Click to Pay",
Expand Down Expand Up @@ -287,7 +293,7 @@
"creditCard.securityCode.label": "Codi de seguretat",
"creditCard.securityCode.label.optional": "Codi de seguretat (opcional)",
"creditCard.securityCode.contextualText.3digits": "3 dígits al revers de la targeta",
"creditCard.securityCode.contextualText.4digits": "4 dígits al revers de la targeta",
"creditCard.securityCode.contextualText.4digits": "4 dígits a la part frontal de la targeta",
"creditCard.expiryMonth.label": "Mes de caducitat",
"creditCard.expiryYear.label": "Any de caducitat",
"creditCard.pin.label": "Pin",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
"upi.qrCodeWaitingMessage": "Platbu dokončete naskenováním QR kódu ve své oblíbené platební UPI aplikaci",
"upi.vpaWaitingMessage": "Otevřete platební aplikaci UPI a potvrďte platbu",
"upi.modeSelection": "Jak chcete použít rozhraní UPI?",
"upi.completePayment": "Dokončete platbu",
"upi.mode.enterUpiId": "Zadejte UPI ID",
"upi.mode.qrCode": "QR kód",
"upi.mode.payByAnyUpi": "Plaťte pomocí kterékoli aplikace UPI",
"upi.collect.dropdown.label": "Zadejte UPI ID",
"upi.collect.field.label": "Zadejte UPI ID / VPA",
"onlineBanking.termsAndConditions": "Pokračováním souhlasíte se %#smluvními podmínkami%#",
"onlineBankingPL.termsAndConditions": "Pokračováním souhlasíte s %#pravidly%# a %#informační povinností%# společnosti Przelewy24.",
"ctp.loading.poweredByCtp": "Prováděno prostřednictvím Click to Pay",
Expand Down Expand Up @@ -282,7 +288,7 @@
"creditCard.securityCode.label": "Bezpečnostní kód",
"creditCard.securityCode.label.optional": "Bezpečnostní kód (volitelný)",
"creditCard.securityCode.contextualText.3digits": "3 číslice na zadní straně karty",
"creditCard.securityCode.contextualText.4digits": "4 číslice na zadní straně karty",
"creditCard.securityCode.contextualText.4digits": "4 číslice na přední straně karty",
"creditCard.expiryMonth.label": "Měsíc konce platnosti",
"creditCard.expiryYear.label": "Rok konce platnosti",
"creditCard.pin.label": "Pin",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/da-DK.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@
"upi.qrCodeWaitingMessage": "Scan QR-koden via din foretrukne UPI-app for at gennemføre betalingen",
"upi.vpaWaitingMessage": "Åbn din UPI-app for at bekræfte betalingen",
"upi.modeSelection": "Hvordan vil du bruge UPI?",
"upi.completePayment": "Gennemfør din betaling",
"upi.mode.enterUpiId": "Indtast UPI-id",
"upi.mode.qrCode": "QR-kode",
"upi.mode.payByAnyUpi": "Betal med enhver UPI-app",
"upi.collect.dropdown.label": "Indtast UPI-id",
"upi.collect.field.label": "Indtast UPI-id/VPA",
"onlineBanking.termsAndConditions": "Ved at fortsætte accepterer du %#vilkår og betingelser%#",
"onlineBankingPL.termsAndConditions": "Hvis du fortsætter, accepterer du %#regulativer%# og %#informationspligten%# for Przelewy24",
"ctp.loading.poweredByCtp": "Drevet af Click to Pay",
Expand Down Expand Up @@ -283,7 +289,7 @@
"creditCard.securityCode.label": "Sikkerhedskode",
"creditCard.securityCode.label.optional": "Sikkerhedskode (valgfrit)",
"creditCard.securityCode.contextualText.3digits": "3 cifre på bagsiden af kortet",
"creditCard.securityCode.contextualText.4digits": "4 cifre på bagsiden af kortet",
"creditCard.securityCode.contextualText.4digits": "4 cifre på forsiden af kortet",
"creditCard.expiryMonth.label": "Udløbsmåned",
"creditCard.expiryYear.label": "Udløbsår",
"creditCard.pin.label": "Pinkode",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
"upi.qrCodeWaitingMessage": "Scannen Sie den QR-Code mit Ihrer bevorzugten UPI-App, um die Zahlung abzuschließen.",
"upi.vpaWaitingMessage": "Öffnen Sie Ihre UPI-App, um die Zahlung zu bestätigen.",
"upi.modeSelection": "Wie möchten Sie UPI verwenden?",
"upi.completePayment": "Schließen Sie Ihre Zahlung ab",
"upi.mode.enterUpiId": "UPI-ID eingeben",
"upi.mode.qrCode": "QR-Code",
"upi.mode.payByAnyUpi": "Zahlen Sie mit einer beliebigen UPI-App",
"upi.collect.dropdown.label": "UPI-ID eingeben",
"upi.collect.field.label": "UPI-ID/VPA eingeben",
"onlineBanking.termsAndConditions": "Wenn Sie fortfahren, stimmen Sie den %#Allgemeinen Geschäftsbedingungen%# zu",
"onlineBankingPL.termsAndConditions": "Indem Sie fortfahren, stimmen Sie den %#Vorschriften%# und der %#Auskunftspflicht%# von Przelewy24 zu",
"ctp.loading.poweredByCtp": "Unterstützt von Click to Pay",
Expand Down Expand Up @@ -282,7 +288,7 @@
"creditCard.securityCode.label": "Sicherheitscode",
"creditCard.securityCode.label.optional": "Sicherheitscode (optional)",
"creditCard.securityCode.contextualText.3digits": "3 Ziffern auf der Rückseite der Karte",
"creditCard.securityCode.contextualText.4digits": "4 Ziffern auf der Rückseite der Karte",
"creditCard.securityCode.contextualText.4digits": "4 Ziffern auf der Vorderseite der Karte",
"creditCard.expiryMonth.label": "Monat des Ablaufdatums",
"creditCard.expiryYear.label": "Jahr des Ablaufdatums",
"creditCard.pin.label": "PIN",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/el-GR.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
"upi.qrCodeWaitingMessage": "Σαρώστε τον κωδικό QR χρησιμοποιώντας την προτιμώμενη εφαρμογή UPI για ολοκλήρωση της πληρωμής",
"upi.vpaWaitingMessage": "Ανοίξτε την εφαρμογή UPI για επιβεβαίωση της πληρωμής",
"upi.modeSelection": "Πώς θα θέλατε να χρησιμοποιήσετε το UPI;",
"upi.completePayment": "Ολοκλήρωση της πληρωμής",
"upi.mode.enterUpiId": "Εισαγωγή αναγνωριστικού UPI",
"upi.mode.qrCode": "Κωδικός QR",
"upi.mode.payByAnyUpi": "Πληρώστε με οποιαδήποτε εφαρμογή UPI",
"upi.collect.dropdown.label": "Εισαγωγή αναγνωριστικού UPI",
"upi.collect.field.label": "Εισαγωγή αναγνωριστικού UPI / VPA",
"onlineBanking.termsAndConditions": "Αν συνεχίσετε, συνεπάγεται ότι αποδέχεστε τους %#Όρους και προϋποθέσεις%#",
"onlineBankingPL.termsAndConditions": "Συνεχίζοντας, συμφωνείτε με τους %#κανονισμούς%# και την %#υποχρέωση ενημέρωσης%# της Przelewy24",
"ctp.loading.poweredByCtp": "Με την υποστήριξη του Click to Pay",
Expand Down Expand Up @@ -285,7 +291,7 @@
"creditCard.securityCode.label": "Κωδικός ασφαλείας",
"creditCard.securityCode.label.optional": "Κωδικός ασφαλείας (προαιρετικό)",
"creditCard.securityCode.contextualText.3digits": "3 ψηφία στην πίσω όψη της κάρτας",
"creditCard.securityCode.contextualText.4digits": "4 ψηφία στην πίσω όψη της κάρτας",
"creditCard.securityCode.contextualText.4digits": "4 ψηφία στην μπροστινή όψη της κάρτας",
"creditCard.expiryMonth.label": "Μήνας λήξης",
"creditCard.expiryYear.label": "Έτος λήξης",
"creditCard.pin.label": "Κωδικός PIN",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
"upi.qrCodeWaitingMessage": "Scan the QR code using your preferred UPI app to complete the payment",
"upi.vpaWaitingMessage": "Open your UPI app to confirm the payment",
"upi.modeSelection": "How would you like to use UPI?",
"upi.completePayment": "Complete your payment",
"upi.mode.enterUpiId": "Enter UPI ID",
"upi.mode.qrCode": "QR code",
"upi.mode.payByAnyUpi": "Pay by any UPI app",
"upi.collect.dropdown.label": "Enter UPI ID",
"upi.collect.field.label": "Enter UPI ID / VPA",
"onlineBanking.termsAndConditions": "By continuing you agree with the %#terms and conditions%#",
"onlineBankingPL.termsAndConditions": "By continuing you agree with the %#regulations%# and %#information obligation%# of Przelewy24",
"ctp.loading.poweredByCtp": "Powered by Click to Pay",
Expand Down Expand Up @@ -287,7 +293,7 @@
"creditCard.securityCode.label": "Security code",
"creditCard.securityCode.label.optional": "Security code (optional)",
"creditCard.securityCode.contextualText.3digits": "3 digits on back of card",
"creditCard.securityCode.contextualText.4digits": "4 digits on back of card",
"creditCard.securityCode.contextualText.4digits": "4 digits on front of card",
"creditCard.expiryMonth.label": "Expiry month",
"creditCard.expiryYear.label": "Expiry year",
"creditCard.pin.label": "Pin",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@
"upi.qrCodeWaitingMessage": "Escanee el código QR con la aplicación UPI que prefiera para completar el pago",
"upi.vpaWaitingMessage": "Abra la aplicación UPI para confirmar el pago",
"upi.modeSelection": "¿Cómo le gustaría usar la UPI?",
"upi.completePayment": "Complete su pago",
"upi.mode.enterUpiId": "Introduzca el ID de la UPI",
"upi.mode.qrCode": "Código QR",
"upi.mode.payByAnyUpi": "Pague con cualquier aplicación UPI",
"upi.collect.dropdown.label": "Introduzca el ID de la UPI",
"upi.collect.field.label": "Introduzca el ID de la UPI/VPA",
"onlineBanking.termsAndConditions": "Al continuar, usted acepta los %#Términos y condiciones%#",
"onlineBankingPL.termsAndConditions": "Al continuar, acepta las %#regulaciones%# y la %#obligación de información%# de Przelewy24",
"ctp.loading.poweredByCtp": "Con tecnología de Click to Pay",
Expand Down Expand Up @@ -280,7 +286,7 @@
"creditCard.securityCode.label": "Código de seguridad",
"creditCard.securityCode.label.optional": "Código de seguridad (opcional)",
"creditCard.securityCode.contextualText.3digits": "3 dígitos en el reverso de la tarjeta",
"creditCard.securityCode.contextualText.4digits": "4 dígitos en el reverso de la tarjeta",
"creditCard.securityCode.contextualText.4digits": "4 dígitos en el anverso de la tarjeta",
"creditCard.expiryMonth.label": "Mes de caducidad",
"creditCard.expiryYear.label": "Año de caducidad",
"creditCard.pin.label": "PIN",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/et-EE.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
"upi.qrCodeWaitingMessage": "Makse lõpuleviimiseks skannige QR-kood oma eelistatud UPI rakenduse abil",
"upi.vpaWaitingMessage": "Makse kinnitamiseks avage oma UPI rakendus",
"upi.modeSelection": "Kuidas soovite UPI-d kasutada?",
"upi.completePayment": "Vormistage oma makse",
"upi.mode.enterUpiId": "Sisestage UPI ID",
"upi.mode.qrCode": "QR-kood",
"upi.mode.payByAnyUpi": "Maksa mis tahes UPI rakendusega",
"upi.collect.dropdown.label": "Sisestage UPI ID",
"upi.collect.field.label": "Sisestage UPI ID / VPA",
"onlineBanking.termsAndConditions": "Jätkates nõustute %#tingimustega%#",
"onlineBankingPL.termsAndConditions": "Jätkates nõustute Przelewy24 %#tingimuste%# ja %#teabekohustusega%#",
"ctp.loading.poweredByCtp": "Platvorm: Click to Pay",
Expand Down Expand Up @@ -287,7 +293,7 @@
"creditCard.securityCode.label": "Turvakood",
"creditCard.securityCode.label.optional": "Turvakood (valikuline)",
"creditCard.securityCode.contextualText.3digits": "3 numbrit kaardi tagaküljel",
"creditCard.securityCode.contextualText.4digits": "4 numbrit kaardi tagaküljel",
"creditCard.securityCode.contextualText.4digits": "4 numbrit kaardi esiküljel",
"creditCard.expiryMonth.label": "Aegumiskuu",
"creditCard.expiryYear.label": "Aegumisaasta",
"creditCard.pin.label": "PIN",
Expand Down
8 changes: 7 additions & 1 deletion packages/server/translations/fi-FI.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
"upi.qrCodeWaitingMessage": "Suorita maksu loppuun skannaamalla QR-koodi haluamallasi UPI-sovelluksella",
"upi.vpaWaitingMessage": "Avaa UPI-sovellus vahvistaaksesi maksun",
"upi.modeSelection": "Miten haluaisit käyttää UPI:a?",
"upi.completePayment": "Suorita maksusi loppuun",
"upi.mode.enterUpiId": "Syötä UPI-tunnus",
"upi.mode.qrCode": "QR-koodi",
"upi.mode.payByAnyUpi": "Maksa millä tahansa UPI-sovelluksella",
"upi.collect.dropdown.label": "Syötä UPI-tunnus",
"upi.collect.field.label": "Syötä UPI-tunnus/VPA",
"onlineBanking.termsAndConditions": "Jatkamalla hyväksyt %#käyttöehdot%#",
"onlineBankingPL.termsAndConditions": "Jatkamalla hyväksyt Przelewy24:n %#säännöt%# ja %#tiedonantovelvollisuuden%#",
"ctp.loading.poweredByCtp": "Palvelun tarjoaa Click to Pay",
Expand Down Expand Up @@ -282,7 +288,7 @@
"creditCard.securityCode.label": "Turvakoodi",
"creditCard.securityCode.label.optional": "Turvakoodi (valinnainen)",
"creditCard.securityCode.contextualText.3digits": "Kortin takana olevat 3 numeroa",
"creditCard.securityCode.contextualText.4digits": "Kortin takana olevat 4 numeroa",
"creditCard.securityCode.contextualText.4digits": "Kortin etupuolella olevat 4 numeroa",
"creditCard.expiryMonth.label": "Vanhenemiskuukausi",
"creditCard.expiryYear.label": "Vanhenemisvuosi",
"creditCard.pin.label": "Pin-tunnus",
Expand Down
Loading

0 comments on commit eacc01f

Please sign in to comment.