Skip to content

Commit

Permalink
chore(i18n): add more languages (#709)
Browse files Browse the repository at this point in the history
* chore(i18n): add more languages

* chore(i18n): Pylint fixes

---------

Co-authored-by: Edward Zarecor <[email protected]>
Co-authored-by: Muhammad Zubair <[email protected]>
  • Loading branch information
3 people authored Mar 28, 2023
1 parent 67586a5 commit 7127fc3
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export TRANSIFEX_RESOURCE = frontend-app-payment
transifex_langs = "ar,fr,es_419,zh_CN,pt,it,de,uk,ru,hi,fr_CA"
transifex_langs = "ar,fr,es_419,zh_CN,pt,it,de,uk,ru,hi,fr_CA,it_IT,pt_PT,de_DE"

transifex_utils = ./node_modules/.bin/transifex-utils.js
i18n = ./src/i18n
Expand Down
6 changes: 6 additions & 0 deletions src/i18n/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import deMessages from './messages/de.json';
import ruMessages from './messages/ru.json';
import hiMessages from './messages/hi.json';
import frCAMessages from './messages/fr_CA.json';
import deDEMessages from './messages/de_DE.json';
import itITMessages from './messages/it_IT.json';
import ptPTMessages from './messages/pt_PT.json';
// no need to import en messages-- they are in the defaultMessage field

const messages = {
Expand All @@ -23,6 +26,9 @@ const messages = {
'fr-ca': frCAMessages,
ru: ruMessages,
uk: ukMessages,
'de-de': deDEMessages,
'it-it': itITMessages,
'pt-pt': ptPTMessages,
};

export default messages;
97 changes: 97 additions & 0 deletions src/i18n/messages/de_DE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"payment.error.fetch.basket": "Es gab ein unerwartetes Problem. Wenn das Problem weiterhin besteht, bitte {supportLink}.",
"payment.error.fetch.basket.support.fragment": "kontaktieren Sie den Support",
"payment.messages.enrollment-code-product-info.header": "Kaufen Sie nur für sich selbst?",
"payment.messages.enrollment-code-product-info.body": "Wenn Sie einen einzelnen Code für eine andere Person kaufen, fahren Sie bitte mit der Bezahlung fort. Wenn Sie jedoch der Lernende sind {link}.",
"payment.messages.enrollment-code-product-info.link": "klicken Sie hier, um sich direkt einzuschreiben",
"payment.messages.enrollment.code.product.info.quantity.updated.header": "Wir haben Ihre Menge aktualisiert.",
"payment.messages.enrollment.code.product.info.quantity.updated.body": "Ihr Warenkorb enthält {Menge} Anmeldecodes zu einem Gesamtpreis von {Preis}, die Sie per E-Mail erhalten.",
"payment.messages.transaction.declined.body": "Ihre Zahlung konnte nicht verarbeitet werden. Bitte überprüfen Sie Ihre Zahlungsinformationen oder wenden Sie sich an Ihre Bank oder Ihr Finanzinstitut, um weitere Unterstützung zu erhalten.",
"payment.messages.transaction.error.basket_changed": "Your cart has changed since navigating to this page. Please reload the page and verify the product you are purchasing.",
"payment.messages.key.timeout.body": "For security, your credit card information will then need to be re-entered to complete your purchase.",
"payment.messages.key.timeout.2mins.header": "Please complete your purchase within two minutes",
"payment.messages.key.timeout.1min.header": "Please complete your purchase within one minute",
"payment.bulk.summary.table.label.price": "Preis",
"payment.bulk.summary.table.label.quantity": "Menge",
"payment.bulk.summary.table.label.subtotal": "Gesamtsumme",
"payment.screen.reader.cart.details.loaded": "Die Warenkorbdetails werden geladen.",
"payment.section.cart.label": "Warenkorbdetails",
"payment.productlineitem.purchase.cart.heading": "Im Warenkorb",
"payment.productlineitem.purchase.cart.subheading": "Sie haben folgendes gekauft:",
"payment.screen.reader.cart.details.loading": "Es lädt, bitte warten Sie...",
"payment.coupon.label": "Gutscheincode hinzufügen (optional)",
"payment.coupon.submit": "Übernehmen",
"payment.coupon.benefit.absolute": "Gutschein {code} eingelöst für {amount} Rabatt",
"payment.coupon.benefit.percentage": "Gutschein {code} eingelöst für {amount}% Rabatt",
"payment.coupon.benefit.default": "Gutschein {code} eingelöst",
"payment.coupon.remove": "Entfernen",
"payment.currency.disclaimer": "* Diese Summe enthält eine ungefähre Umrechnung. Ihnen wird {actualAmount} {actualCurrencyCode} berechnet.",
"payment.summary.discount.offer": "{benefit} Rabatt gewährt von {provider}.",
"payment.summary.discount.dynamic_offer": "{benefit} Rabatt für Ihr erstes Upgrade eingelöst.",
"payment.summary.table.label.discount.total": "Ermäßigungen",
"payment.order.details.course.entitlement": "Nachdem Sie die Bestellung abgeschlossen haben, können Sie die Kursdaten in \"Meine Kurse\" einsehen.",
"payment.order.details.course.seat.verified": "Nachdem Sie die Bestellung abgeschlossen haben, sind Sie automatisch im verifizierten Lern- Modus.",
"payment.order.details.course.seat.credit": "Nachdem Sie die Bestellung abgeschlossen haben, erhalten Sie von uns eine Gutschrift für Ihren Kurs.",
"payment.order.details.course.seat": "Nachdem Sie die Bestellung abgeschlossen haben, sind Sie automatisch in diesem Kurs eingeschrieben.",
"payment.order.details.enrollment.code.terms": "Mit dem Kauf stimmen Sie und Ihre Organisation den folgenden Bedingungen zu:",
"payment.order.details.enrollment.code.first.term": "Jeder Code ist nur für einen Kurs gültig und kann nur einmal verwendet werden.",
"payment.order.details.enrollment.code.second.term": "Sie sind für die Verteilung von Codes an Ihre Lernenden in Ihrem Unternehmen verantwortlich.",
"payment.order.details.enrollment.code.third.term": "Jeder Code läuft ein Jahr ab Kaufdatum ab oder, falls früher, nach Kursende.",
"payment.order.details.enrollment.code.fourth.term": "Wenn ein Kurs nicht Selbstbestimmt ist, dann sollten Sie die Verfügbarkeit des Kurses vor dem Ablaufdatum setzen.",
"payment.order.details.enrollment.code.fifth.term": "Sie dürfen Codes nicht an Dritte weiterverkaufen.",
"payment.order.details.enrollment.code.sixth.term": "Alle edX for Business Verkäufe sind endgültig und nicht erstattungsfähig.",
"payment.order.details.enrollment.code.receive.email": "Sie erhalten eine E-Mail an {userEmail} mit Ihren Registrierungscode(s).",
"payment.order.details.heading": "Zusammenfassung",
"payment.productlineitem.professional.certificate": "Professional Certificate",
"payment.productlineitem.verified.certificate": "Beglaubigtes Zertifikat ",
"payment.summary.table.label.price": "Preis",
"payment.summary.table.label.total.to.pay": "Summe:",
"payment.update.quantity.label": "Menge",
"payment.update.quantity.field.help.text": "Max: {number}",
"payment.update.quantity.submit.button": "Update",
"payment.select.payment.method.heading": "Zahlungsmethode auswählen",
"payment.section.payment.details.label": "Bezahlungsdetails",
"payment.page.method.type.credit": "Kreditkarte",
"payment.page.method.type.paypal": "PayPal",
"payment.form.submit.button.text": "Kaufen",
"payment.card.details.billing.information.heading": "Billing Information (Required)",
"payment.card.details.expiration.month.label": "Ablaufmonat (erforderlich)",
"payment.card.details.expiration.year.label": "Ablaufjahr (erforderlich)",
"payment.page.card.details.month": "Monat",
"payment.page.card.details.year": "Jahr",
"payment.card.holder.information.postal.code.label.required": "Zip/Postal Code (required)",
"payment.card.holder.information.postal.code.label": "Postleitzahl",
"payment.card.holder.information.heading": "Informationen zum Karteninhaber",
"payment.card.holder.information.first.name.label": "Vorname (*)",
"payment.card.holder.information.last.name.label": "Nachname (*)",
"payment.card.holder.information.organization.label": "Organisation (*)",
"payment.card.holder.information.address.label": "Straße (*)",
"payment.card.holder.information.unit.label": "Hausnummer erforderlich",
"payment.card.holder.information.city.label": "Stadt (*)",
"payment.card.holder.information.country.label": "Land (*)",
"payment.card.holder.information.purchased.for.organization": "Ich kaufe im Namen meines Arbeitgebers oder einer anderen professionellen Organisation",
"payment.card.holder.information.country.options.empty": "Wählen Sie ein Land aus",
"payment.card.details.number.label": "Kartennummer (*)",
"payment.card.details.security.code.label": "Kartenprüfnummer (*)",
"payment.card.details.security.code.help.text": "Die drei letzten Ziffern im Signaturbereich auf der Rückseite Ihrer Karte. Bei American Express handelt es sich um die vier Ziffern auf der Vorderseite der Karte.",
"payment.form.errors.invalid.card.number": "Ungültige Kartennummer",
"payment.form.errors.unsupported.card": "Kartentyp wird nicht unterstützt",
"payment.form.errors.invalid.security.code": "Ungültige Kartenprüfnummer",
"payment.form.errors.card.expired": "Karte ausgelaufen",
"payment.form.errors.required.field": "Dieses Feld wird benötigt",
"payment.form.errors.ascii.name": "We apologize for the inconvenience but for the time being we require ASCII characters in the name field. We are working on addressing this and appreciate your patience.",
"payment.card.holder.information.state.label": "Bundesland/Provinz (benötigt)",
"payment.card.holder.information.state.required.label": "Bundesland / Kanton",
"payment.card.holder.information.state.options.empty": "Bundesland/Provinz auswählen",
"payment.empty.basket.heading": "Ihr Warenkorb ist leer.",
"payment.empty.basket.message": "Wenn Sie versucht haben, einen Kauf abzuschließen, wurden Ihnen keine Gebühren berechnet. Kehren Sie zu Ihrem {actionLinkOne} zurück, um es erneut zu versuchen, oder {actionLinkTwo}.",
"payment.empty.basket.dashboardURL": "Meine Kurse",
"payment.empty.basket.supportURL": "kontaktieren Sie den edX E-commerce Support",
"payment.apple.pay.pay.with.apple.pay": "Mit Apple Pay zahlen",
"payment.type.paypal": "PayPal",
"payment.heading.page": "Payment",
"payment.loading.payment": "Warenkorb wird geladen...",
"payment.loading.error": "Fehler: {error}",
"payment.apple.pay.merchant.validation.failure": "Apple Pay ist derzeit nicht verfügbar. Bitte versuchen Sie es mit einer anderen Zahlungsmethode.",
"payment.apple.pay.authorization.failure": "Bei der Bearbeitung Ihrer Zahlung ist ein Fehler aufgetreten. Es wurde kein Betrag abgebucht. Bitte versuchen Sie es erneut, oder wählen Sie eine andere Zahlungsmethode."
}
97 changes: 97 additions & 0 deletions src/i18n/messages/it_IT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"payment.error.fetch.basket": "Si è verificato un problema non previsto. Se il problema persiste, {supportLink}. ",
"payment.error.fetch.basket.support.fragment": "contattare il supporto ",
"payment.messages.enrollment-code-product-info.header": "Acquisto personale? ",
"payment.messages.enrollment-code-product-info.body": "Se si sta acquistando un codice singolo per un'altra persona, continuare con il pagamento. Tuttavia, se si è lo studente {link}.",
"payment.messages.enrollment-code-product-info.link": "fare clic qui per iscriversi direttamente ",
"payment.messages.enrollment.code.product.info.quantity.updated.header": "Abbiamo aggiornato la tua quantità. ",
"payment.messages.enrollment.code.product.info.quantity.updated.body": "Il carrello contiene {quantity} codici di iscrizione ad un costo totale di {price}, che riceverai via email. ",
"payment.messages.transaction.declined.body": "Impossibile elaborare il pagamento. Controllare le informazioni di pagamento o contattare la propria banca o istituto finanziario per ulteriore assistenza. ",
"payment.messages.transaction.error.basket_changed": "Your cart has changed since navigating to this page. Please reload the page and verify the product you are purchasing.",
"payment.messages.key.timeout.body": "Per sicurezza, per completare l'acquisto, sarà necessario immettere nuovamente le informazioni sulla carta di credito. ",
"payment.messages.key.timeout.2mins.header": "Completare l'acquisto entro due minuti ",
"payment.messages.key.timeout.1min.header": "Completare l'acquisto entro un minuto ",
"payment.bulk.summary.table.label.price": "Prezzo",
"payment.bulk.summary.table.label.quantity": "Quantità",
"payment.bulk.summary.table.label.subtotal": "Subtotale",
"payment.screen.reader.cart.details.loaded": "Dettagli del carrello degli acquisti caricati. ",
"payment.section.cart.label": "Dettagli del carrello degli acquisti ",
"payment.productlineitem.purchase.cart.heading": "Nel carrello ",
"payment.productlineitem.purchase.cart.subheading": "L'acquisto contiene i seguenti articoli: ",
"payment.screen.reader.cart.details.loading": "Caricamento, attendere...",
"payment.coupon.label": "Aggiungi codice coupon (facoltativo) ",
"payment.coupon.submit": "Applicare",
"payment.coupon.benefit.absolute": "Coupon {code} applicato per uno sconto di {amount} ",
"payment.coupon.benefit.percentage": "Coupon {code} applicato per uno sconto di {amount}% ",
"payment.coupon.benefit.default": "Coupon {code} applicato ",
"payment.coupon.remove": "Rimuovi",
"payment.currency.disclaimer": "* Questo totale contiene una conversione approssimativa. Verranno addebitati {actualAmount} {actualCurrencyCode}.",
"payment.summary.discount.offer": "Sconto {benefit} fornito da {provider}.",
"payment.summary.discount.dynamic_offer": "Sconto {benefit} per il primo upgrade applicato. ",
"payment.summary.table.label.discount.total": "Sconti applicati ",
"payment.order.details.course.entitlement": "Una volta completato l'ordine, sarà possibile selezionare le date del corso dalla dashboard. ",
"payment.order.details.course.seat.verified": "Una volta completato l'ordine, sarai automaticamente iscritto alla traccia verificata del corso. ",
"payment.order.details.course.seat.credit": "Una volta completato l'ordine riceverai il credito per il corso. ",
"payment.order.details.course.seat": "Una volta completato l'ordine, sarai automaticamente iscritto al corso. ",
"payment.order.details.enrollment.code.terms": "Effettuando l'acquisto, l'utente e l'organizzazione accettano i seguenti termini: ",
"payment.order.details.enrollment.code.first.term": "Ciascun codice è valido per il corso coperto e può essere utilizzato una sola volta. ",
"payment.order.details.enrollment.code.second.term": "L'utente è responsabile della distribuzione dei codici agli studenti nell'organizzazione. ",
"payment.order.details.enrollment.code.third.term": "Ciascun codice scade entro un anno dalla data di acquisto o, se precedente, alla chiusura del corso. ",
"payment.order.details.enrollment.code.fourth.term": "Se un corso non è designato come corso ad apprendimento autonomo, è necessario confermare che un'edizione del corso è disponibile prima della scadenza. ",
"payment.order.details.enrollment.code.fifth.term": "Non è possibile rivendere codici a terze parti. ",
"payment.order.details.enrollment.code.sixth.term": "Tutte le vendite edX for Business sono definitive e non è previsto alcun rimborso. ",
"payment.order.details.enrollment.code.receive.email": "Riceverai una email all'indirizzo {userEmail} con i codici di iscrizione. ",
"payment.order.details.heading": "Sommario",
"payment.productlineitem.professional.certificate": "Certificato professionale ",
"payment.productlineitem.verified.certificate": "Certificato Verificato",
"payment.summary.table.label.price": "Prezzo",
"payment.summary.table.label.total.to.pay": "TOTALE ",
"payment.update.quantity.label": "Quantità",
"payment.update.quantity.field.help.text": "Massimo: {number}",
"payment.update.quantity.submit.button": "Aggiornamento",
"payment.select.payment.method.heading": "Seleziona metodo di pagamento ",
"payment.section.payment.details.label": "Dettagli del pagamento ",
"payment.page.method.type.credit": "Carta di credito ",
"payment.page.method.type.paypal": "PayPal",
"payment.form.submit.button.text": "Effettua ordine ",
"payment.card.details.billing.information.heading": "Dati di fatturazione (richiesti)",
"payment.card.details.expiration.month.label": "Mese di scadenza (obbligatorio) ",
"payment.card.details.expiration.year.label": "Anno di scadenza (obbligatorio) ",
"payment.page.card.details.month": "Mese ",
"payment.page.card.details.year": "Anno ",
"payment.card.holder.information.postal.code.label.required": "Zip/Postal Code (required)",
"payment.card.holder.information.postal.code.label": "Codice postale ",
"payment.card.holder.information.heading": "Informazioni sul titolare della carta ",
"payment.card.holder.information.first.name.label": "Nome (obbligatorio) ",
"payment.card.holder.information.last.name.label": "Cognome (obbligatorio) ",
"payment.card.holder.information.organization.label": "Organizzazione (obbligatorio) ",
"payment.card.holder.information.address.label": "Indirizzo (obbligatorio) ",
"payment.card.holder.information.unit.label": "Numero suite/appartamento ",
"payment.card.holder.information.city.label": "Città (obbligatorio) ",
"payment.card.holder.information.country.label": "Paese (obbligatorio) ",
"payment.card.holder.information.purchased.for.organization": "Sto acquistando per conto del mio datore di lavoro o altra organizzazione professionale ",
"payment.card.holder.information.country.options.empty": "Scegliere il paese ",
"payment.card.details.number.label": "Numero di carta (obbligatorio) ",
"payment.card.details.security.code.label": "Codice di sicurezza (obbligatorio) ",
"payment.card.details.security.code.help.text": "Le ultime tre cifre nell'area riservata alla firma nella parte posteriore della carta. Per American Express, le ultime quattro cifre nella parte anteriore della carta. ",
"payment.form.errors.invalid.card.number": "Numero di carta non valido ",
"payment.form.errors.unsupported.card": "Tipo di carta non supportato ",
"payment.form.errors.invalid.security.code": "Codice di sicurezza non valido ",
"payment.form.errors.card.expired": "Carta scaduta ",
"payment.form.errors.required.field": "Questo campo è obbligatorio",
"payment.form.errors.ascii.name": "Ci scusiamo per l&#39;inconveniente ma per il momento richiediamo i caratteri ASCII nel campo del nome. Stiamo lavorando per risolvere questo problema e apprezziamo la tua pazienza.",
"payment.card.holder.information.state.label": "Stato/Provincia (obbligatorio) ",
"payment.card.holder.information.state.required.label": "Stato/Provincia ",
"payment.card.holder.information.state.options.empty": "Scegliere lo stato/provincia ",
"payment.empty.basket.heading": "Il carrello è vuoto. ",
"payment.empty.basket.message": "Se hai provato ad effettuare l'acquisto, non è stato addebitato alcun importo. Tornare a {actionLinkOne} per riprovare oppure {actionLinkTwo}.",
"payment.empty.basket.dashboardURL": "dashboard",
"payment.empty.basket.supportURL": "contattare il supporto edX E-commerce ",
"payment.apple.pay.pay.with.apple.pay": "Paga con Apple Pay",
"payment.type.paypal": "PayPal",
"payment.heading.page": "Versamento",
"payment.loading.payment": "Caricamento del carrello... ",
"payment.loading.error": "Errore: {error}",
"payment.apple.pay.merchant.validation.failure": "Apple Pay non è attualmente disponibile. Provare un altro metodo di pagamento. ",
"payment.apple.pay.authorization.failure": "Si è verificato un errore durante l'elaborazione del pagamento. Non è stato addebitato alcun importo. Riprovare o selezionare un altro metodo di pagamento. "
}
Loading

0 comments on commit 7127fc3

Please sign in to comment.