Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/warm-clouds-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@godaddy/localizations": patch
"@godaddy/react": patch
---

- Add latest translations.
- Add address autocomplete feature flag and US support for address autocomplete.
- Update tracking events.
- Improved address reset logic in the checkout form.
- Fix issues with country data missing regions codes.
31 changes: 21 additions & 10 deletions packages/localizations/src/deDe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const deDe = {
discount: "Gutschein",
processingPayment: "Zahlung wird verarbeitet...",
completingOrder: "Bestellung wird abgeschlossen...",
completeOrder: "Bestellung abschließen",
freePayment: "Schließen Sie Ihre kostenlose Bestellung ab",
},
phone: {
Expand Down Expand Up @@ -187,6 +188,12 @@ export const deDe = {
accessibility: {
payWithApplePay: "Mit Apple Pay bezahlen",
applePayLogo: "Apple Pay Logo",
close: "Schließen",
additionalTipOptions: "Zusätzliche Trinkgeldoptionen",
breadcrumb: "Brotkrümelnavigation",
more: "Mehr",
previousSlide: "Vorherige Folie",
nextSlide: "Nächste Folie",
},
},
errors: {
Expand Down Expand Up @@ -248,7 +255,7 @@ export const deDe = {
CHECKOUT_SESSION_NOT_FOUND: "Checkout-Sitzung nicht gefunden",
CHECKOUT_SESSION_FETCH_ERROR:
"Allgemeiner Abruffehler der Checkout-Sitzung",
DRAFT_ORDER_NOT_FOUND: "Entwurfsbestellung nicht gefunden",
DRAFT_ORDER_NOT_FOUND: "Bestellung nicht gefunden",
CHECKOUT_SESSION_CREATION_FAILED:
"Erstellen der Checkout-Sitzung fehlgeschlagen",
CREATED_SESSION_DATA_NOT_FOUND:
Expand All @@ -261,8 +268,7 @@ export const deDe = {
CHECKOUT_SESSION_UPDATE_ERROR:
"Allgemeiner Aktualisierungsfehler der Checkout-Sitzung",
ORDER_API_NOT_FOUND: "Bestellungs-API-Datenquelle nicht gefunden",
DRAFT_ORDER_RETRIEVAL_FAILED:
"Abrufen der Entwurfsbestellung fehlgeschlagen",
DRAFT_ORDER_RETRIEVAL_FAILED: "Abrufen der Bestellung fehlgeschlagen",
DATA_SOURCES_NOT_FOUND: "Datenquellen nicht gefunden",
TRANSACTION_API_NOT_FOUND: "Transaktions-API-Datenquelle nicht gefunden",
TRANSACTION_PROCESSING_FAILED:
Expand All @@ -272,18 +278,19 @@ export const deDe = {
ORDER_OPENING_FAILED: "Öffnen der Bestellung fehlgeschlagen",
INVALID_FULFILLMENT_LOCATION: "Ungültiger Erfüllungsort",
NO_VALID_PICKUP_LOCATION: "Kein gültiger Abholort verfügbar",
DRAFT_ORDER_FETCH_FAILED: "Abrufen der Entwurfsbestellung fehlgeschlagen",
DRAFT_ORDER_FETCH_FAILED: "Abrufen der Bestellung fehlgeschlagen",
LINE_ITEMS_FETCH_FAILED: "Abrufen der Artikel fehlgeschlagen",
CURRENT_ORDER_FETCH_FAILED:
"Abrufen der aktuellen Entwurfsbestellung fehlgeschlagen",
DRAFT_ORDER_UPDATE_FAILED:
"Aktualisierung der Entwurfsbestellung fehlgeschlagen",
"Abrufen der aktuellen Bestellung fehlgeschlagen",
DRAFT_ORDER_UPDATE_FAILED: "Aktualisierung der Bestellung fehlgeschlagen",
DISCOUNT_APPLICATION_FAILED: "Anwenden des Gutscheins fehlgeschlagen",
CONTEXT_UNAVAILABLE: "Sitzung oder Datenquellen nicht verfügbar",
SHIPPING_LINES_UPDATE_FAILED:
"Aktualisierung der Versandzeilen fehlgeschlagen",
ORDER_TOTALS_UPDATE_FAILED:
"Aktualisierung der Bestellsummen fehlgeschlagen",
ORDER_TOTAL_CALCULATION_FAILED:
"Berechnung der Bestellsummen fehlgeschlagen",
SHIPPING_METHOD_APPLICATION_FAILED:
"Anwenden der Versandmethode fehlgeschlagen",
SKU_FETCH_FAILED: "Abrufen der SKUs fehlgeschlagen",
Expand All @@ -307,13 +314,13 @@ export const deDe = {
SHIPPING_ERROR: "Allgemeiner Versandfehler",
PRICE_ADJUSTMENT_CALCULATION_ERROR: "Preisanpassungsberechnungsfehler",
ORDER_FETCH_ERROR: "Bestellabruffehler",
DRAFT_ORDER_UPDATE_ERROR: "Entwurfsbestellungsaktualisierungsfehler",
DRAFT_ORDER_UPDATE_ERROR: "Bestellungsaktualisierungsfehler",
DISCOUNT_APPLICATION_ERROR: "Gutscheinanwendungsfehler",
DRAFT_ORDER_OPEN_ERROR: "Entwurfsbestellungsöffnungsfehler",
DRAFT_ORDER_OPEN_ERROR: "Bestellungsöffnungsfehler",
ORDER_UPDATE_ERROR: "Bestellaktualisierungsfehler",
CATALOG_FETCH_ERROR: "Katalogabruffehler",
STORE_ID_NOT_FOUND: "Shop-ID nicht gefunden",
ORDER_NOT_DRAFT: "Bestellung ist nicht im Entwurfsstatus",
ORDER_NOT_DRAFT: "Bestellung ist nicht im gültigen Status",
NO_LINE_ITEMS: "Keine Artikel gefunden",
BAD_USER_INPUT: "Ungültige Benutzereingabe",
MISSING_SHIPPING_ADDRESS: "Lieferadresse ist erforderlich",
Expand All @@ -336,5 +343,9 @@ export const deDe = {
"Verifizierung der Lieferadresse fehlgeschlagen",
BILLING_ADDRESS_VERIFICATION_FAILED:
"Verifizierung der Rechnungsadresse fehlgeschlagen",
MISSING_SHIPPING_INFO:
"Lieferadresse oder -methode konnte nicht angewendet werden",
DEPENDENCY_ERROR:
"Wir können Ihre Bestellung derzeit nicht bearbeiten. Bitte warten Sie einen Moment und versuchen Sie es erneut",
},
};
34 changes: 23 additions & 11 deletions packages/localizations/src/enIe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ export const enIe = {
shipping: "Shipping",
discount: "Voucher",
processingPayment: "Processing payment...",
freePayment: "Complete your free order",
completingOrder: "Completing order...",
completeOrder: "Complete your order",
freePayment: "Complete your free order",
},
phone: {
placeholder: "+353 1 234 5678",
Expand Down Expand Up @@ -185,6 +186,12 @@ export const enIe = {
accessibility: {
payWithApplePay: "Pay with Apple Pay",
applePayLogo: "Apple Pay Logo",
close: "Close",
additionalTipOptions: "Additional tip options",
breadcrumb: "breadcrumb",
more: "More",
previousSlide: "Previous slide",
nextSlide: "Next slide",
},
},
errors: {
Expand Down Expand Up @@ -241,30 +248,31 @@ export const enIe = {
CHECKOUT_SESSION_RETRIEVAL_FAILED: "Failed to retrieve checkout session",
CHECKOUT_SESSION_NOT_FOUND: "Checkout session not found",
CHECKOUT_SESSION_FETCH_ERROR: "General checkout session fetch error",
DRAFT_ORDER_NOT_FOUND: "Draft order not found",
DRAFT_ORDER_NOT_FOUND: "Order not found",
CHECKOUT_SESSION_CREATION_FAILED: "Failed to create checkout session",
CREATED_SESSION_DATA_NOT_FOUND: "Created session data not found",
CHECKOUT_SESSION_CREATION_ERROR: "General checkout session creation error",
CHECKOUT_SESSION_UPDATE_FAILED: "Failed to update checkout session",
UPDATED_SESSION_NOT_FOUND: "Updated session not found",
CHECKOUT_SESSION_UPDATE_ERROR: "General checkout session update error",
ORDER_API_NOT_FOUND: "Order API data source not found",
DRAFT_ORDER_RETRIEVAL_FAILED: "Failed to retrieve draft order",
DRAFT_ORDER_RETRIEVAL_FAILED: "Failed to retrieve order",
DATA_SOURCES_NOT_FOUND: "Data sources not found",
TRANSACTION_API_NOT_FOUND: "Transaction API data source not found",
TRANSACTION_PROCESSING_FAILED: "Failed to process transaction",
TRANSACTION_CREATION_FAILED: "Failed to find or create transaction",
ORDER_OPENING_FAILED: "Failed to open order",
INVALID_FULFILLMENT_LOCATION: "Invalid fulfillment location",
NO_VALID_PICKUP_LOCATION: "No valid pickup location available",
DRAFT_ORDER_FETCH_FAILED: "Failed to fetch draft order",
DRAFT_ORDER_FETCH_FAILED: "Failed to fetch order",
LINE_ITEMS_FETCH_FAILED: "Failed to fetch line items",
CURRENT_ORDER_FETCH_FAILED: "Failed to fetch current draft order",
DRAFT_ORDER_UPDATE_FAILED: "Failed to update draft order",
CURRENT_ORDER_FETCH_FAILED: "Failed to fetch current order",
DRAFT_ORDER_UPDATE_FAILED: "Failed to update order",
DISCOUNT_APPLICATION_FAILED: "Failed to apply voucher",
CONTEXT_UNAVAILABLE: "Session or data sources not available",
SHIPPING_LINES_UPDATE_FAILED: "Failed to update shipping lines",
ORDER_TOTALS_UPDATE_FAILED: "Failed to update order totals",
ORDER_TOTAL_CALCULATION_FAILED: "Failed to calculate order totals",
SHIPPING_METHOD_APPLICATION_FAILED: "Failed to apply shipping method",
SKU_FETCH_FAILED: "Failed to fetch SKUs",
SHIPPING_RATES_CALCULATION_FAILED: "Failed to calculate shipping rates",
Expand All @@ -285,13 +293,13 @@ export const enIe = {
SHIPPING_ERROR: "General shipping error",
PRICE_ADJUSTMENT_CALCULATION_ERROR: "Price adjustment calculation error",
ORDER_FETCH_ERROR: "Order fetch error",
DRAFT_ORDER_UPDATE_ERROR: "Draft order update error",
DRAFT_ORDER_UPDATE_ERROR: "Order update error",
DISCOUNT_APPLICATION_ERROR: "Voucher application error",
DRAFT_ORDER_OPEN_ERROR: "Draft order open error",
DRAFT_ORDER_OPEN_ERROR: "Order open error",
ORDER_UPDATE_ERROR: "Order update error",
CATALOG_FETCH_ERROR: "Catalogue fetch error",
STORE_ID_NOT_FOUND: "Store ID not found",
ORDER_NOT_DRAFT: "Order is not in draft status",
ORDER_NOT_DRAFT: "Order is not in valid status",
NO_LINE_ITEMS: "No line items found",
BAD_USER_INPUT: "Invalid user input",
MISSING_SHIPPING_ADDRESS: "Shipping address is required",
Expand All @@ -310,7 +318,11 @@ export const enIe = {
SHIPPING_POSTAL_CODE_REQUIRED: "Shipping postal code is required",
SHIPPING_COUNTRY_CODE_REQUIRED: "Shipping country code is required",
SHIPPING_METHOD_REQUIRED: "Shipping method is required",
SHIPPING_ADDRESS_VERIFICATION_FAILED: "Shipping address verification failed",
SHIPPING_ADDRESS_VERIFICATION_FAILED:
"Shipping address verification failed",
BILLING_ADDRESS_VERIFICATION_FAILED: "Billing address verification failed",
MISSING_SHIPPING_INFO: "Shipping address or method failed to apply",
DEPENDENCY_ERROR:
"We're unable to process your order right now. Please wait a moment and try again",
},
};
};
32 changes: 22 additions & 10 deletions packages/localizations/src/enUs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ export const enUs = {
shipping: "Shipping",
discount: "Coupon",
processingPayment: "Processing payment...",
freePayment: "Complete your free order",
completingOrder: "Completing order...",
completeOrder: "Complete your order",
freePayment: "Complete your free order",
},
phone: {
placeholder: "(201) 555-1234",
Expand Down Expand Up @@ -185,6 +186,12 @@ export const enUs = {
accessibility: {
payWithApplePay: "Pay with Apple Pay",
applePayLogo: "Apple Pay Logo",
close: "Close",
additionalTipOptions: "Additional tip options",
breadcrumb: "breadcrumb",
more: "More",
previousSlide: "Previous slide",
nextSlide: "Next slide",
},
},
errors: {
Expand Down Expand Up @@ -241,30 +248,31 @@ export const enUs = {
CHECKOUT_SESSION_RETRIEVAL_FAILED: "Failed to retrieve checkout session",
CHECKOUT_SESSION_NOT_FOUND: "Checkout session not found",
CHECKOUT_SESSION_FETCH_ERROR: "General checkout session fetch error",
DRAFT_ORDER_NOT_FOUND: "Draft order not found",
DRAFT_ORDER_NOT_FOUND: "Order not found",
CHECKOUT_SESSION_CREATION_FAILED: "Failed to create checkout session",
CREATED_SESSION_DATA_NOT_FOUND: "Created session data not found",
CHECKOUT_SESSION_CREATION_ERROR: "General checkout session creation error",
CHECKOUT_SESSION_UPDATE_FAILED: "Failed to update checkout session",
UPDATED_SESSION_NOT_FOUND: "Updated session not found",
CHECKOUT_SESSION_UPDATE_ERROR: "General checkout session update error",
ORDER_API_NOT_FOUND: "Order API data source not found",
DRAFT_ORDER_RETRIEVAL_FAILED: "Failed to retrieve draft order",
DRAFT_ORDER_RETRIEVAL_FAILED: "Failed to retrieve order",
DATA_SOURCES_NOT_FOUND: "Data sources not found",
TRANSACTION_API_NOT_FOUND: "Transaction API data source not found",
TRANSACTION_PROCESSING_FAILED: "Failed to process transaction",
TRANSACTION_CREATION_FAILED: "Failed to find or create transaction",
ORDER_OPENING_FAILED: "Failed to open order",
INVALID_FULFILLMENT_LOCATION: "Invalid fulfillment location",
NO_VALID_PICKUP_LOCATION: "No valid pickup location available",
DRAFT_ORDER_FETCH_FAILED: "Failed to fetch draft order",
DRAFT_ORDER_FETCH_FAILED: "Failed to fetch order",
LINE_ITEMS_FETCH_FAILED: "Failed to fetch line items",
CURRENT_ORDER_FETCH_FAILED: "Failed to fetch current draft order",
DRAFT_ORDER_UPDATE_FAILED: "Failed to update draft order",
CURRENT_ORDER_FETCH_FAILED: "Failed to fetch current order",
DRAFT_ORDER_UPDATE_FAILED: "Failed to update order",
DISCOUNT_APPLICATION_FAILED: "Failed to apply coupon",
CONTEXT_UNAVAILABLE: "Session or data sources not available",
SHIPPING_LINES_UPDATE_FAILED: "Failed to update shipping lines",
ORDER_TOTALS_UPDATE_FAILED: "Failed to update order totals",
ORDER_TOTAL_CALCULATION_FAILED: "Failed to calculate order totals",
SHIPPING_METHOD_APPLICATION_FAILED: "Failed to apply shipping method",
SKU_FETCH_FAILED: "Failed to fetch SKUs",
SHIPPING_RATES_CALCULATION_FAILED: "Failed to calculate shipping rates",
Expand All @@ -285,13 +293,13 @@ export const enUs = {
SHIPPING_ERROR: "General shipping error",
PRICE_ADJUSTMENT_CALCULATION_ERROR: "Price adjustment calculation error",
ORDER_FETCH_ERROR: "Order fetch error",
DRAFT_ORDER_UPDATE_ERROR: "Draft order update error",
DRAFT_ORDER_UPDATE_ERROR: "Order update error",
DISCOUNT_APPLICATION_ERROR: "Coupon application error",
DRAFT_ORDER_OPEN_ERROR: "Draft order open error",
DRAFT_ORDER_OPEN_ERROR: "Order open error",
ORDER_UPDATE_ERROR: "Order update error",
CATALOG_FETCH_ERROR: "Catalog fetch error",
STORE_ID_NOT_FOUND: "Store ID not found",
ORDER_NOT_DRAFT: "Order is not in draft status",
ORDER_NOT_DRAFT: "Order is not in valid status",
NO_LINE_ITEMS: "No line items found",
BAD_USER_INPUT: "Invalid user input",
MISSING_SHIPPING_ADDRESS: "Shipping address is required",
Expand All @@ -310,7 +318,11 @@ export const enUs = {
SHIPPING_POSTAL_CODE_REQUIRED: "Shipping postal code is required",
SHIPPING_COUNTRY_CODE_REQUIRED: "Shipping country code is required",
SHIPPING_METHOD_REQUIRED: "Shipping method is required",
SHIPPING_ADDRESS_VERIFICATION_FAILED: "Shipping address verification failed",
SHIPPING_ADDRESS_VERIFICATION_FAILED:
"Shipping address verification failed",
BILLING_ADDRESS_VERIFICATION_FAILED: "Billing address verification failed",
MISSING_SHIPPING_INFO: "Shipping address or method failed to apply",
DEPENDENCY_ERROR:
"We're unable to process your order right now. Please wait a moment and try again",
},
};
27 changes: 19 additions & 8 deletions packages/localizations/src/esAr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const esAr = {
discount: "Cupón",
processingPayment: "Procesando pago...",
completingOrder: "Completando pedido...",
completeOrder: "Completar tu pedido",
freePayment: "Completa tu pedido gratuito",
},
phone: {
Expand Down Expand Up @@ -186,6 +187,12 @@ export const esAr = {
accessibility: {
payWithApplePay: "Pagar con Apple Pay",
applePayLogo: "Logo de Apple Pay",
close: "Cerrar",
additionalTipOptions: "Opciones de propina adicionales",
breadcrumb: "ruta de navegación",
more: "Más",
previousSlide: "Diapositiva anterior",
nextSlide: "Siguiente diapositiva",
},
},
errors: {
Expand Down Expand Up @@ -243,7 +250,7 @@ export const esAr = {
CHECKOUT_SESSION_RETRIEVAL_FAILED: "Error al recuperar sesión de checkout",
CHECKOUT_SESSION_NOT_FOUND: "Sesión de checkout no encontrada",
CHECKOUT_SESSION_FETCH_ERROR: "Error general al obtener sesión de checkout",
DRAFT_ORDER_NOT_FOUND: "Borrador de pedido no encontrado",
DRAFT_ORDER_NOT_FOUND: "Pedido no encontrado",
CHECKOUT_SESSION_CREATION_FAILED: "Error al crear sesión de checkout",
CREATED_SESSION_DATA_NOT_FOUND: "Datos de sesión creada no encontrados",
CHECKOUT_SESSION_CREATION_ERROR:
Expand All @@ -253,7 +260,7 @@ export const esAr = {
CHECKOUT_SESSION_UPDATE_ERROR:
"Error general al actualizar sesión de checkout",
ORDER_API_NOT_FOUND: "Fuente de datos de API de pedidos no encontrada",
DRAFT_ORDER_RETRIEVAL_FAILED: "Error al recuperar borrador de pedido",
DRAFT_ORDER_RETRIEVAL_FAILED: "Error al recuperar pedido",
DATA_SOURCES_NOT_FOUND: "Fuentes de datos no encontradas",
TRANSACTION_API_NOT_FOUND:
"Fuente de datos de API de transacciones no encontrada",
Expand All @@ -262,14 +269,15 @@ export const esAr = {
ORDER_OPENING_FAILED: "Error al abrir pedido",
INVALID_FULFILLMENT_LOCATION: "Ubicación de cumplimiento inválida",
NO_VALID_PICKUP_LOCATION: "No hay ubicación de retiro válida disponible",
DRAFT_ORDER_FETCH_FAILED: "Error al obtener borrador de pedido",
DRAFT_ORDER_FETCH_FAILED: "Error al obtener pedido",
LINE_ITEMS_FETCH_FAILED: "Error al obtener elementos del pedido",
CURRENT_ORDER_FETCH_FAILED: "Error al obtener borrador de pedido actual",
DRAFT_ORDER_UPDATE_FAILED: "Error al actualizar borrador de pedido",
CURRENT_ORDER_FETCH_FAILED: "Error al obtener pedido actual",
DRAFT_ORDER_UPDATE_FAILED: "Error al actualizar pedido",
DISCOUNT_APPLICATION_FAILED: "Error al aplicar cupón",
CONTEXT_UNAVAILABLE: "Sesión o fuentes de datos no disponibles",
SHIPPING_LINES_UPDATE_FAILED: "Error al actualizar líneas de envío",
ORDER_TOTALS_UPDATE_FAILED: "Error al actualizar totales del pedido",
ORDER_TOTAL_CALCULATION_FAILED: "Error al calcular totales del pedido",
SHIPPING_METHOD_APPLICATION_FAILED: "Error al aplicar método de envío",
SKU_FETCH_FAILED: "Error al obtener SKUs",
SHIPPING_RATES_CALCULATION_FAILED: "Error al calcular tarifas de envío",
Expand All @@ -290,13 +298,13 @@ export const esAr = {
SHIPPING_ERROR: "Error general de envío",
PRICE_ADJUSTMENT_CALCULATION_ERROR: "Error de cálculo de ajuste de precio",
ORDER_FETCH_ERROR: "Error al obtener pedido",
DRAFT_ORDER_UPDATE_ERROR: "Error al actualizar borrador de pedido",
DRAFT_ORDER_UPDATE_ERROR: "Error al actualizar pedido",
DISCOUNT_APPLICATION_ERROR: "Error de aplicación de cupón",
DRAFT_ORDER_OPEN_ERROR: "Error al abrir borrador de pedido",
DRAFT_ORDER_OPEN_ERROR: "Error al abrir pedido",
ORDER_UPDATE_ERROR: "Error al actualizar pedido",
CATALOG_FETCH_ERROR: "Error al obtener catálogo",
STORE_ID_NOT_FOUND: "ID de tienda no encontrado",
ORDER_NOT_DRAFT: "El pedido no está en estado de borrador",
ORDER_NOT_DRAFT: "El pedido no está en estado válido",
NO_LINE_ITEMS: "No se encontraron artículos",
BAD_USER_INPUT: "Entrada de usuario inválida",
MISSING_SHIPPING_ADDRESS: "Se requiere dirección de envío",
Expand All @@ -319,5 +327,8 @@ export const esAr = {
"Falló la verificación de dirección de envío",
BILLING_ADDRESS_VERIFICATION_FAILED:
"Falló la verificación de dirección de facturación",
MISSING_SHIPPING_INFO: "No se pudo aplicar la dirección o método de envío",
DEPENDENCY_ERROR:
"No podemos procesar su pedido en este momento. Espere un momento e inténtelo de nuevo",
},
};
Loading