Skip to content

Commit 4a9dd9c

Browse files
authored
chore(translation): fix coverage report place to make translation sync work (#170)
1 parent 5e55bb3 commit 4a9dd9c

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = {
1616
moduleFileExtensions: ['ts', 'tsx', 'js'],
1717
coveragePathIgnorePatterns: ['/node_modules/', '/test/'],
1818
collectCoverageFrom: ['<rootDir>/**/*.tsx', '<rootDir>/**/*.ts', '!<rootDir>/*/polyfills.js'],
19+
coverageDirectory: path.join(__dirname, 'coverage'),
1920
coverageThreshold: {
2021
global: {
2122
branches: 88,

src/intl/messages.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"credit-features.credit-cost-display": "{creditCost} (TAEG {taegPercentage})",
33
"credit-features.information": "Vérifiez vos capacités de remboursement avant de vous engager.",
44
"credit-features.information.title": "Un crédit vous engage et doit être remboursé.",
5+
"credit-features.legal-text": "Crédit d'un montant de {totalWithoutFirstInstallment} au taux débiteur fixe de {taegPercentage} sur une durée de {installmeentsCountWithoutFirst} mois. Permettant, en complément d'un acompte de {firstInstallmentAmount}, de financer un achat d'un montant de {productPriceWithoutCreditCost}. Sous réserve d'étude et d'acceptation par Alma. Délai légal de rétractation de 14 jours. Simulation présentée par Alma, immatriculée au RCS Nanterre sous le numéro 839 100 575, établissement de paiement et société de financement agréée par l’ACPR sous le n° 17408 (numéro CIB / Code banque).",
56
"credit-features.total-credit-cost": "Dont coût du crédit",
67
"eligibility-modal.bullet-1": "Choisissez <strong>Alma</strong> au moment du paiement.",
78
"eligibility-modal.bullet-2": "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",

src/intl/messages/messages.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"credit-features.credit-cost-display": "{creditCost} (TAE {taegPercentage})",
33
"credit-features.information": "Compruebe tu capacidad de reembolso antes de comprometerte.",
44
"credit-features.information.title": "El crédito y/o pago a plazos es un compromiso y debe devolverse.",
5-
"credit-features.legal-text": "{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Préstamo de a un tipo deudor fijo de a lo largo de un periodo de meses. {firstInstallmentAmount} {productPriceWithoutCreditCost}Además de un depósito de , esto le permitirá financiar una compra de . Sujeto a revisión y aceptación por parte de Alma. Plazo legal de retractación de 14 días. Simulación presentada por Alma, inscrita en el Registro Mercantil de Nanterre con el número 839 100 575, sociedad de pago y financiación autorizada por la ACPR con el número 17408 (número CIB / código bancario).",
5+
"credit-features.legal-text": " Préstamo de {totalWithoutFirstInstallment} a un tipo deudor fijo a {taegPercentage} a lo largo de un periodo de {installmeentsCountWithoutFirst} meses. Además de un depósito de {firstInstallmentAmount}, esto te permitirá financiar una compra de {productPriceWithoutCreditCost}. Sujeto a revisión y aceptación por parte de Alma. Plazo legal de retractación de 14 días. Simulación presentada por Alma, inscrita en el Registro Mercantil de Nanterre con el número 839 100 575, sociedad de pago y financiación autorizada por la ACPR con el número 17408 (número CIB / código bancario).",
66
"credit-features.total-credit-cost": "Coste de crédito (incl. en el total)",
77
"eligibility-modal.bullet-1": "Elige <strong>Alma</strong> como método de pago.",
88
"eligibility-modal.bullet-2": "Déjate guiar y válida tu pago en <strong>2 minutos.</strong>",

src/intl/messages/messages.nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"credit-features.credit-cost-display": "{creditCost} (gemiddeld rente percentage {taegPercentage})",
33
"credit-features.information": "Controleer uw terugbetalingscapaciteit voordat u een toezegging doet.",
44
"credit-features.information.title": "Krediet is een verplichting en moet worden terugbetaald.",
5-
"credit-features.legal-text": "{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Lening van tegen een vaste rentevoet van over een periode van maanden. {firstInstallmentAmount} {productPriceWithoutCreditCost}Naast een aanbetaling van , kun je hiermee een aankoop financieren van . Onder voorbehoud van beoordeling en aanvaarding door Alma. Wettelijke herroepingstermijn van 14 dagen. Simulatie aangeboden door Alma, ingeschreven in het handels- en bedrijvenregister van Nanterre onder nummer 839 100 575, betalings- en financieringsmaatschappij erkend door de ACPR onder nummer 17408 (CIB-nummer / bankcode).",
5+
"credit-features.legal-text": "Krediet van {totalWithoutFirstInstallment} tegen een vaste rentevoet van {taegPercentage} over een periode van {installmeentsCountWithoutFirst} maanden. Naast een aanbetaling van {firstInstallmentAmount}, kun je hiermee een aankoop financieren van {productPriceWithoutCreditCost}. Onder voorbehoud van beoordeling en aanvaarding door Alma. Wettelijke herroepingsrecht van 14 dagen. Simulatie aangeboden door Alma, ingeschreven in het handels- en bedrijvenregister van Nanterre onder het nummer 839 100 575, betalings- en financieringsmaatschappij erkend door de ACPR onder nummer 17408 (CIB-nummer / bankcode).",
66
"credit-features.total-credit-cost": "Waarvan kredietkosten",
77
"eligibility-modal.bullet-1": "Kies <strong>Alma</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.",
88
"eligibility-modal.bullet-2": "Betaal gemakkelijk <strong>binnen 1 minuut </strong>. Je hebt hier geen account voor nodig.",

0 commit comments

Comments
 (0)