diff --git a/app/components/UI/Ramp/buy/hooks/useHandleSuccessfulOrder.ts b/app/components/UI/Ramp/buy/hooks/useHandleSuccessfulOrder.ts index bc061efc0df..251cb4bd308 100644 --- a/app/components/UI/Ramp/buy/hooks/useHandleSuccessfulOrder.ts +++ b/app/components/UI/Ramp/buy/hooks/useHandleSuccessfulOrder.ts @@ -3,7 +3,7 @@ import { OrderOrderTypeEnum } from '@consensys/on-ramp-sdk/dist/API'; import { useNavigation } from '@react-navigation/native'; import { useCallback } from 'react'; import { useDispatch, useSelector } from 'react-redux'; -import { getNotificationDetails } from '../..'; + import { protectWalletModalVisible } from '../../../../../actions/user'; import { NATIVE_ADDRESS } from '../../../../../constants/on-ramp'; import Engine from '../../../../../core/Engine'; @@ -12,7 +12,7 @@ import { addFiatOrder, FiatOrder } from '../../../../../reducers/fiatOrders'; import { toLowerCaseEquals } from '../../../../../util/general'; import useThunkDispatch from '../../../../hooks/useThunkDispatch'; import { useRampSDK } from '../../common/sdk'; -import { stateHasOrder } from '../../common/utils'; +import { getNotificationDetails, stateHasOrder } from '../../common/utils'; import useAnalytics from '../../common/hooks/useAnalytics'; import { hexToBN } from '../../../../../util/number'; import { selectAccounts } from '../../../../../selectors/accountTrackerController'; @@ -82,7 +82,7 @@ function useHandleSuccessfulOrder() { return; } handleAddFiatOrder(order); - const notificationDetails = getNotificationDetails(order as any); + const notificationDetails = getNotificationDetails(order); if (notificationDetails) { NotificationManager.showSimpleNotification(notificationDetails); } diff --git a/app/components/UI/Ramp/common/containers/ApplePayButton.tsx b/app/components/UI/Ramp/common/containers/ApplePayButton.tsx index d4b68130918..4584c2ca5a3 100644 --- a/app/components/UI/Ramp/common/containers/ApplePayButton.tsx +++ b/app/components/UI/Ramp/common/containers/ApplePayButton.tsx @@ -62,9 +62,12 @@ const ApplePayButton = ({ } catch (error: any) { NotificationManager.showSimpleNotification({ duration: 5000, - title: strings('fiat_on_ramp.notifications.purchase_failed_title', { - currency: quote.crypto?.symbol, - }), + title: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_failed_title', + { + currency: quote.crypto?.symbol, + }, + ), description: error.message, status: 'error', }); diff --git a/app/components/UI/Ramp/common/utils/index.test.ts b/app/components/UI/Ramp/common/utils/index.test.ts index bf2e09bece8..751d935e0d0 100644 --- a/app/components/UI/Ramp/common/utils/index.test.ts +++ b/app/components/UI/Ramp/common/utils/index.test.ts @@ -18,7 +18,9 @@ import { isSellQuote, isSellOrder, isSellFiatOrder, + getNotificationDetails, } from '.'; +import { FIAT_ORDER_STATES } from '../../../../../constants/on-ramp'; import { FiatOrder, RampType } from '../../../../../reducers/fiatOrders/types'; describe('timeToDescription', () => { @@ -333,3 +335,120 @@ describe('Type assertion functions', () => { }); }); }); + +describe('getNotificationDetails', () => { + const mockOrder = { + state: FIAT_ORDER_STATES.PENDING, + orderType: OrderOrderTypeEnum.Buy, + cryptocurrency: 'ETH', + cryptoAmount: '0.01', + } as FiatOrder; + + const mockSellOrder = { + ...mockOrder, + orderType: OrderOrderTypeEnum.Sell, + }; + + it('should return correct details for buy orders', () => { + const pendingDetails = getNotificationDetails(mockOrder); + expect(pendingDetails).toMatchInlineSnapshot(` + Object { + "description": "This should only take a few minutes...", + "duration": 5000, + "status": "pending", + "title": "Processing your purchase of ETH", + } + `); + const cancelledDetails = getNotificationDetails({ + ...mockOrder, + state: FIAT_ORDER_STATES.CANCELLED, + }); + expect(cancelledDetails).toMatchInlineSnapshot(` + Object { + "description": "Verify your payment method and card support", + "duration": 5000, + "status": "cancelled", + "title": "Your purchase was cancelled", + } + `); + const failedDetails = getNotificationDetails({ + ...mockOrder, + state: FIAT_ORDER_STATES.FAILED, + }); + expect(failedDetails).toMatchInlineSnapshot(` + Object { + "description": "Verify your payment method and card support", + "duration": 5000, + "status": "error", + "title": "Purchase of ETH has failed! Please try again, sorry for the inconvenience!", + } + `); + + const completedDetails = getNotificationDetails({ + ...mockOrder, + state: FIAT_ORDER_STATES.COMPLETED, + }); + expect(completedDetails).toMatchInlineSnapshot(` + Object { + "description": "Your ETH is now available", + "duration": 5000, + "status": "success", + "title": "Your purchase of 0.01 ETH was successful!", + } + `); + }); + + it('should return correct details for sell orders', () => { + const pendingDetails = getNotificationDetails(mockSellOrder); + expect(pendingDetails).toMatchInlineSnapshot(` + Object { + "description": "Your order is now being processed.", + "duration": 5000, + "status": "pending", + "title": "ETH sale processing", + } + `); + const cancelledDetails = getNotificationDetails({ + ...mockSellOrder, + state: FIAT_ORDER_STATES.CANCELLED, + }); + expect(cancelledDetails).toMatchInlineSnapshot(` + Object { + "description": "Your order couldn´t be completed.", + "duration": 5000, + "status": "cancelled", + "title": "Order cancelled", + } + `); + const failedDetails = getNotificationDetails({ + ...mockSellOrder, + state: FIAT_ORDER_STATES.FAILED, + }); + expect(failedDetails).toMatchInlineSnapshot(` + Object { + "description": "Your order couldn´t be completed.", + "duration": 5000, + "status": "error", + "title": "Order failed", + } + `); + + const completedDetails = getNotificationDetails({ + ...mockSellOrder, + state: FIAT_ORDER_STATES.COMPLETED, + }); + expect(completedDetails).toMatchInlineSnapshot(` + Object { + "description": "Your order was successful!.", + "duration": 5000, + "status": "success", + "title": "Order completed", + } + `); + const createdDetails = getNotificationDetails({ + ...mockSellOrder, + state: FIAT_ORDER_STATES.CREATED, + }); + expect(createdDetails).toMatchInlineSnapshot(`null`); + }); +}); diff --git a/app/components/UI/Ramp/common/utils/index.ts b/app/components/UI/Ramp/common/utils/index.ts index 1f7f00b04f7..810286afff2 100644 --- a/app/components/UI/Ramp/common/utils/index.ts +++ b/app/components/UI/Ramp/common/utils/index.ts @@ -17,6 +17,8 @@ import { import { RampType } from '../types'; import { getOrders, FiatOrder } from '../../../../../reducers/fiatOrders'; import { RootState } from '../../../../../reducers'; +import { FIAT_ORDER_STATES } from '../../../../../constants/on-ramp'; +import { strings } from '../../../../../../locales/i18n'; const isOverAnHour = (minutes: number) => minutes > 59; @@ -204,3 +206,133 @@ export function isSellOrder(order: Order): order is SellOrder { export function isSellFiatOrder(order: FiatOrder): order is FiatOrder { return order.orderType === OrderOrderTypeEnum.Sell; } + +const NOTIFICATION_DURATION = 5000; + +const baseNotificationDetails = { + duration: NOTIFICATION_DURATION, +}; + +/** + * @param {FiatOrder} fiatOrder + */ +export const getNotificationDetails = (fiatOrder: FiatOrder) => { + switch (fiatOrder.state) { + case FIAT_ORDER_STATES.FAILED: { + if (fiatOrder.orderType === OrderOrderTypeEnum.Buy) { + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_failed_title', + { + currency: fiatOrder.cryptocurrency, + }, + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_failed_description', + ), + status: 'error', + }; + } + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.sale_failed_title', + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.sale_failed_description', + ), + status: 'error', + }; + } + case FIAT_ORDER_STATES.CANCELLED: { + if (fiatOrder.orderType === OrderOrderTypeEnum.Buy) { + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_cancelled_title', + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_cancelled_description', + ), + status: 'cancelled', + }; + } + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.sale_cancelled_title', + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.sale_cancelled_description', + ), + status: 'cancelled', + }; + } + case FIAT_ORDER_STATES.COMPLETED: { + if (fiatOrder.orderType === OrderOrderTypeEnum.Buy) { + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_completed_title', + { + amount: renderNumber(String(fiatOrder.cryptoAmount)), + currency: fiatOrder.cryptocurrency, + }, + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_completed_description', + { + currency: fiatOrder.cryptocurrency, + }, + ), + status: 'success', + }; + } + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.sale_completed_title', + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.sale_completed_description', + ), + status: 'success', + }; + } + case FIAT_ORDER_STATES.CREATED: { + return null; + } + case FIAT_ORDER_STATES.PENDING: + default: { + if (fiatOrder.orderType === OrderOrderTypeEnum.Buy) { + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_pending_title', + { + currency: fiatOrder.cryptocurrency, + }, + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.purchase_pending_description', + ), + status: 'pending', + }; + } + return { + ...baseNotificationDetails, + title: strings( + 'fiat_on_ramp_aggregator.notifications.sale_pending_title', + { + currency: fiatOrder.cryptocurrency, + }, + ), + description: strings( + 'fiat_on_ramp_aggregator.notifications.sale_pending_description', + ), + status: 'pending', + }; + } + } +}; diff --git a/app/components/UI/Ramp/index.tsx b/app/components/UI/Ramp/index.tsx index 71dcb5041be..c1eda710a59 100644 --- a/app/components/UI/Ramp/index.tsx +++ b/app/components/UI/Ramp/index.tsx @@ -7,8 +7,6 @@ import { OrderOrderTypeEnum } from '@consensys/on-ramp-sdk/dist/API'; import WebView from 'react-native-webview'; import AppConstants from '../../../core/AppConstants'; import NotificationManager from '../../../core/NotificationManager'; -import { strings } from '../../../../locales/i18n'; -import { renderNumber } from '../../../util/number'; import { FIAT_ORDER_STATES } from '../../../constants/on-ramp'; import { FiatOrder, @@ -32,15 +30,10 @@ import { AnalyticsEvents } from './common/types'; import { CustomIdData } from '../../../reducers/fiatOrders/types'; import { callbackBaseUrl } from './common/sdk'; import useFetchRampNetworks from './common/hooks/useFetchRampNetworks'; -import { stateHasOrder } from './common/utils'; +import { getNotificationDetails, stateHasOrder } from './common/utils'; import Routes from '../../../constants/navigation/Routes'; const POLLING_FREQUENCY = AppConstants.FIAT_ORDERS.POLLING_FREQUENCY; -const NOTIFICATION_DURATION = 5000; - -const baseNotificationDetails = { - duration: NOTIFICATION_DURATION, -}; /** * @param {FiatOrder} fiatOrder @@ -143,67 +136,6 @@ export const getAggregatorAnalyticsPayload = ( } } }; -/** - * @param {FiatOrder} fiatOrder - */ -export const getNotificationDetails = (fiatOrder: FiatOrder) => { - switch (fiatOrder.state) { - case FIAT_ORDER_STATES.FAILED: { - return { - ...baseNotificationDetails, - title: strings('fiat_on_ramp.notifications.purchase_failed_title', { - currency: fiatOrder.cryptocurrency, - }), - description: strings( - 'fiat_on_ramp.notifications.purchase_failed_description', - ), - status: 'error', - }; - } - case FIAT_ORDER_STATES.CANCELLED: { - return { - ...baseNotificationDetails, - title: strings('fiat_on_ramp.notifications.purchase_cancelled_title'), - description: strings( - 'fiat_on_ramp.notifications.purchase_cancelled_description', - ), - status: 'cancelled', - }; - } - case FIAT_ORDER_STATES.COMPLETED: { - return { - ...baseNotificationDetails, - title: strings('fiat_on_ramp.notifications.purchase_completed_title', { - amount: renderNumber(String(fiatOrder.cryptoAmount)), - currency: fiatOrder.cryptocurrency, - }), - description: strings( - 'fiat_on_ramp.notifications.purchase_completed_description', - { - currency: fiatOrder.cryptocurrency, - }, - ), - status: 'success', - }; - } - case FIAT_ORDER_STATES.CREATED: { - return null; - } - case FIAT_ORDER_STATES.PENDING: - default: { - return { - ...baseNotificationDetails, - title: strings('fiat_on_ramp.notifications.purchase_pending_title', { - currency: fiatOrder.cryptocurrency, - }), - description: strings( - 'fiat_on_ramp.notifications.purchase_pending_description', - ), - status: 'pending', - }; - } - } -}; export interface ProcessorOptions { forced?: boolean; diff --git a/locales/languages/de.json b/locales/languages/de.json index f57ff0961e0..e208ab27839 100644 --- a/locales/languages/de.json +++ b/locales/languages/de.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (per MetaMask)", "buy_with": "Kaufen mit", "plus_fee": "Zuzüglich einer {{fee}}-Gebühr", - "notifications": { - "purchase_failed_title": "Der Kauf von {{currency}} ist fehlgeschlagen! Bitte versuchen Sie es erneut. Wir entschuldigen uns für die Umstände!", - "purchase_failed_description": "Verifizieren Sie Ihre Zahlungsmethode und Kartensupport.", - "purchase_cancelled_title": "Ihr Kauf wurde storniert.", - "purchase_cancelled_description": "Verifizieren Sie Ihre Zahlungsmethode und Kartensupport.", - "purchase_completed_title": "Ihr Kauf im Wert von {{amount}} {{currency}} war erfolgreich!", - "purchase_completed_description": "Ihre {{currency}} steht jetzt zur Verfügung.", - "purchase_pending_title": "Der Kauf von {{currency}} wird bearbeitet.", - "purchase_pending_description": "Dies sollte nur ein paar Minuten dauern ..." - }, "date": "Datum", "from": "Von", "to": "Bis", @@ -2117,6 +2107,16 @@ "hold_to_send": "Zum Senden halten", "send": "Senden", "sent": "Gesendet!" + }, + "notifications": { + "purchase_failed_title": "Der Kauf von {{currency}} ist fehlgeschlagen! Bitte versuchen Sie es erneut. Wir entschuldigen uns für die Umstände!", + "purchase_failed_description": "Verifizieren Sie Ihre Zahlungsmethode und Kartensupport.", + "purchase_cancelled_title": "Ihr Kauf wurde storniert.", + "purchase_cancelled_description": "Verifizieren Sie Ihre Zahlungsmethode und Kartensupport.", + "purchase_completed_title": "Ihr Kauf im Wert von {{amount}} {{currency}} war erfolgreich!", + "purchase_completed_description": "Ihre {{currency}} steht jetzt zur Verfügung.", + "purchase_pending_title": "Der Kauf von {{currency}} wird bearbeitet.", + "purchase_pending_description": "Dies sollte nur ein paar Minuten dauern ..." } }, "swaps": { diff --git a/locales/languages/el.json b/locales/languages/el.json index 231d308431d..a7c510dd91f 100644 --- a/locales/languages/el.json +++ b/locales/languages/el.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (μέσω MetaMask)", "buy_with": "Αγορά με", "plus_fee": "Συν μια χρέωση {{fee}}", - "notifications": { - "purchase_failed_title": "Η αγορά του {{currency}} απέτυχε! Προσπαθήστε ξανά, συγγνώμη για την ταλαιπωρία!", - "purchase_failed_description": "Επαληθεύστε τη μέθοδο πληρωμής και την υποστήριξη της κάρτας σας", - "purchase_cancelled_title": "Η αγορά σας ακυρώθηκε", - "purchase_cancelled_description": "Επαληθεύστε τη μέθοδο πληρωμής και την υποστήριξη της κάρτας σας", - "purchase_completed_title": "Η αγορά σας των {{amount}} {{currency}} ήταν επιτυχής!", - "purchase_completed_description": "Τα {{currency}} σας είναι τώρα διαθέσιμα", - "purchase_pending_title": "Επεξεργασία της αγοράς σας των {{currency}}", - "purchase_pending_description": "Θα πάρει μόνο λίγα λεπτά..." - }, "date": "Ημερομηνία", "from": "Από", "to": "Προς", @@ -2117,6 +2107,16 @@ "hold_to_send": "Αναμονή για αποστολή", "send": "Αποστολή", "sent": "Εστάλη!" + }, + "notifications": { + "purchase_failed_title": "Η αγορά του {{currency}} απέτυχε! Προσπαθήστε ξανά, συγγνώμη για την ταλαιπωρία!", + "purchase_failed_description": "Επαληθεύστε τη μέθοδο πληρωμής και την υποστήριξη της κάρτας σας", + "purchase_cancelled_title": "Η αγορά σας ακυρώθηκε", + "purchase_cancelled_description": "Επαληθεύστε τη μέθοδο πληρωμής και την υποστήριξη της κάρτας σας", + "purchase_completed_title": "Η αγορά σας των {{amount}} {{currency}} ήταν επιτυχής!", + "purchase_completed_description": "Τα {{currency}} σας είναι τώρα διαθέσιμα", + "purchase_pending_title": "Επεξεργασία της αγοράς σας των {{currency}}", + "purchase_pending_description": "Θα πάρει μόνο λίγα λεπτά..." } }, "swaps": { diff --git a/locales/languages/en.json b/locales/languages/en.json index f60fc734475..057183920e2 100644 --- a/locales/languages/en.json +++ b/locales/languages/en.json @@ -1910,16 +1910,6 @@ "apple_pay_provider_total_label": "{{provider}} (via MetaMask)", "buy_with": "Buy with", "plus_fee": "Plus a {{fee}} fee", - "notifications": { - "purchase_failed_title": "Purchase of {{currency}} has failed! Please try again, sorry for the inconvenience!", - "purchase_failed_description": "Verify your payment method and card support", - "purchase_cancelled_title": "Your purchase was cancelled", - "purchase_cancelled_description": "Verify your payment method and card support", - "purchase_completed_title": "Your purchase of {{amount}} {{currency}} was successful!", - "purchase_completed_description": "Your {{currency}} is now available", - "purchase_pending_title": "Processing your purchase of {{currency}}", - "purchase_pending_description": "This should only take a few minutes..." - }, "date": "Date", "from": "From", "to": "To", @@ -2127,6 +2117,24 @@ "hold_to_send": "Hold to send", "send": "Send", "sent": "Sent!" + }, + "notifications": { + "purchase_failed_title": "Purchase of {{currency}} has failed! Please try again, sorry for the inconvenience!", + "purchase_failed_description": "Verify your payment method and card support", + "purchase_cancelled_title": "Your purchase was cancelled", + "purchase_cancelled_description": "Verify your payment method and card support", + "purchase_completed_title": "Your purchase of {{amount}} {{currency}} was successful!", + "purchase_completed_description": "Your {{currency}} is now available", + "purchase_pending_title": "Processing your purchase of {{currency}}", + "purchase_pending_description": "This should only take a few minutes...", + "sale_failed_title": "Order failed", + "sale_failed_description": "Your order couldn´t be completed.", + "sale_cancelled_title": "Order cancelled", + "sale_cancelled_description": "Your order couldn´t be completed.", + "sale_completed_title": "Order completed", + "sale_completed_description": "Your order was successful!.", + "sale_pending_title": "{{currency}} sale processing", + "sale_pending_description": "Your order is now being processed." } }, "swaps": { diff --git a/locales/languages/es.json b/locales/languages/es.json index cf37074ebc8..78ab2b0784a 100644 --- a/locales/languages/es.json +++ b/locales/languages/es.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (por medio de MetaMask)", "buy_with": "Comprar con", "plus_fee": "Más una tarifa de {{fee}}", - "notifications": { - "purchase_failed_title": "Error al comprar {{currency}}. Vuelva a intentarlo, lamentamos los inconvenientes.", - "purchase_failed_description": "Verifique su método de pago y las tarjetas admitidas", - "purchase_cancelled_title": "Se canceló la compra", - "purchase_cancelled_description": "Verifique su método de pago y las tarjetas admitidas", - "purchase_completed_title": "La compra de {{amount}} {{currency}} se completó correctamente.", - "purchase_completed_description": "Su {{currency}} ahora está disponible", - "purchase_pending_title": "Procesando su compra de {{currency}}", - "purchase_pending_description": "Solo tardará unos minutos…" - }, "date": "Fecha", "from": "De", "to": "Para", @@ -2117,6 +2107,16 @@ "hold_to_send": "Mantener para enviar", "send": "Enviar", "sent": "¡Enviado!" + }, + "notifications": { + "purchase_failed_title": "Error al comprar {{currency}}. Vuelva a intentarlo, lamentamos los inconvenientes.", + "purchase_failed_description": "Verifique su método de pago y las tarjetas admitidas", + "purchase_cancelled_title": "Se canceló la compra", + "purchase_cancelled_description": "Verifique su método de pago y las tarjetas admitidas", + "purchase_completed_title": "La compra de {{amount}} {{currency}} se completó correctamente.", + "purchase_completed_description": "Su {{currency}} ahora está disponible", + "purchase_pending_title": "Procesando su compra de {{currency}}", + "purchase_pending_description": "Solo tardará unos minutos…" } }, "swaps": { diff --git a/locales/languages/fr.json b/locales/languages/fr.json index fc29ff4a325..4542ede979d 100644 --- a/locales/languages/fr.json +++ b/locales/languages/fr.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (via MetaMask)", "buy_with": "Acheter avec", "plus_fee": "Plus frais de {{fee}}", - "notifications": { - "purchase_failed_title": "L’achat de {{currency}} a échoué ! Veuillez réessayer. Nous vous prions de nous excuser pour ce désagrément.", - "purchase_failed_description": "Vérifiez la prise en charge de votre méthode de paiement et votre carte", - "purchase_cancelled_title": "Votre achat a été annulé", - "purchase_cancelled_description": "Vérifiez la prise en charge de votre méthode de paiement et votre carte", - "purchase_completed_title": "Votre achat de {{amount}} {{currency}} est effectué !", - "purchase_completed_description": "Vos {{currency}} sont maintenant disponibles", - "purchase_pending_title": "Traitement de votre achat de {{currency}}", - "purchase_pending_description": "Cela ne devrait prendre que quelques minutes…" - }, "date": "Date", "from": "De", "to": "À", @@ -2117,6 +2107,16 @@ "hold_to_send": "Appuyez longuement pour envoyer", "send": "Envoyer", "sent": "Envoyé !" + }, + "notifications": { + "purchase_failed_title": "L’achat de {{currency}} a échoué ! Veuillez réessayer. Nous vous prions de nous excuser pour ce désagrément.", + "purchase_failed_description": "Vérifiez la prise en charge de votre méthode de paiement et votre carte", + "purchase_cancelled_title": "Votre achat a été annulé", + "purchase_cancelled_description": "Vérifiez la prise en charge de votre méthode de paiement et votre carte", + "purchase_completed_title": "Votre achat de {{amount}} {{currency}} est effectué !", + "purchase_completed_description": "Vos {{currency}} sont maintenant disponibles", + "purchase_pending_title": "Traitement de votre achat de {{currency}}", + "purchase_pending_description": "Cela ne devrait prendre que quelques minutes…" } }, "swaps": { diff --git a/locales/languages/hi-in.json b/locales/languages/hi-in.json index bb611f7ef48..bb0584e865e 100644 --- a/locales/languages/hi-in.json +++ b/locales/languages/hi-in.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre (MetaMask के माध्यम से)", "buy_with": "इसके साथ खरीदें", "plus_fee": "साथ ही {{fee}} शुल्क", - "notifications": { - "purchase_failed_title": "{{currency}} की खरीद विफल रही! कृपया पुनः प्रयास करें, असुविधा के लिए क्षमा करें!", - "purchase_cancelled_title": "आपकी खरीदारी रद्द कर दी गई थी", - "purchase_completed_title": "आपकी {{amount}} {{currency}} की खरीद सफल रही थी!", - "purchase_completed_description": "आपका {{currency}} अब उपलब्ध है", - "purchase_pending_title": "{{currency}} की आपकी खरीद को संसाधित किया जा रहा है", - "purchase_pending_description": "इसमें केवल कुछ मिनट लगने चाहिए..." - }, "date": "दिनांक", "from": "प्रेषक", "to": "प्रति", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "{{currency}} की खरीद विफल रही! कृपया पुनः प्रयास करें, असुविधा के लिए क्षमा करें!", + "purchase_cancelled_title": "आपकी खरीदारी रद्द कर दी गई थी", + "purchase_completed_title": "आपकी {{amount}} {{currency}} की खरीद सफल रही थी!", + "purchase_completed_description": "आपका {{currency}} अब उपलब्ध है", + "purchase_pending_title": "{{currency}} की आपकी खरीद को संसाधित किया जा रहा है", + "purchase_pending_description": "इसमें केवल कुछ मिनट लगने चाहिए..." + } + }, "swaps": { "onboarding": { "get_the": "सर्वोत्तम", diff --git a/locales/languages/hi.json b/locales/languages/hi.json index b1f660bfbc8..687f9dc8300 100644 --- a/locales/languages/hi.json +++ b/locales/languages/hi.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (के माध्यम से MetaMask)", "buy_with": "के साथ खरीदें", "plus_fee": "साथ ही एक {{fee}} शुल्क", - "notifications": { - "purchase_failed_title": "{{currency}} की खरीद असफल हुई! कृपया फिर से कोशिश करें, असुविधा के लिए खेद है।", - "purchase_failed_description": "अपनी भुगतान विधि और कार्ड समर्थन को सत्यापित करें", - "purchase_cancelled_title": "आपकी खरीद रद्द कर दी गई थी", - "purchase_cancelled_description": "अपनी भुगतान विधि और कार्ड समर्थन को सत्यापित करें", - "purchase_completed_title": "{{amount}} {{currency}} की आपकी खरीद सफलतापूर्ण थी!", - "purchase_completed_description": "आपकी {{currency}} अभी उपलब्ध है", - "purchase_pending_title": "{{currency}} की आपकी खरीद संसाधित की जा रही है", - "purchase_pending_description": "इसमें केवल कुछ मिनटों का समय लगना चाहिए" - }, "date": "तिथि", "from": "से", "to": "को", @@ -2117,6 +2107,16 @@ "hold_to_send": "भेजने के लिए होल्ड करें", "send": "भेजें", "sent": "भेजा गया!" + }, + "notifications": { + "purchase_failed_title": "{{currency}} की खरीद असफल हुई! कृपया फिर से कोशिश करें, असुविधा के लिए खेद है।", + "purchase_failed_description": "अपनी भुगतान विधि और कार्ड समर्थन को सत्यापित करें", + "purchase_cancelled_title": "आपकी खरीद रद्द कर दी गई थी", + "purchase_cancelled_description": "अपनी भुगतान विधि और कार्ड समर्थन को सत्यापित करें", + "purchase_completed_title": "{{amount}} {{currency}} की आपकी खरीद सफलतापूर्ण थी!", + "purchase_completed_description": "आपकी {{currency}} अभी उपलब्ध है", + "purchase_pending_title": "{{currency}} की आपकी खरीद संसाधित की जा रही है", + "purchase_pending_description": "इसमें केवल कुछ मिनटों का समय लगना चाहिए" } }, "swaps": { diff --git a/locales/languages/id-id.json b/locales/languages/id-id.json index 7d9f3486b74..895a0aacd5f 100644 --- a/locales/languages/id-id.json +++ b/locales/languages/id-id.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre (melalui MetaMask)", "buy_with": "Beli dengan", "plus_fee": "Plus biaya {{fee}}", - "notifications": { - "purchase_failed_title": "Pembelian {{currency}} gagal! Silakan coba lagi, maaf atas ketidaknyamanannya!", - "purchase_cancelled_title": "Pembelian Anda dibatalkan", - "purchase_completed_title": "Pembelian {{amount}} {{currency}} Anda berhasil!", - "purchase_completed_description": "{{currency}} kini tersedia", - "purchase_pending_title": "Memproses pembelian {{currency}} Anda", - "purchase_pending_description": "Ini cuma perlu beberapa menit..." - }, "date": "Tanggal", "from": "Dari", "to": "Untuk", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "Pembelian {{currency}} gagal! Silakan coba lagi, maaf atas ketidaknyamanannya!", + "purchase_cancelled_title": "Pembelian Anda dibatalkan", + "purchase_completed_title": "Pembelian {{amount}} {{currency}} Anda berhasil!", + "purchase_completed_description": "{{currency}} kini tersedia", + "purchase_pending_title": "Memproses pembelian {{currency}} Anda", + "purchase_pending_description": "Ini cuma perlu beberapa menit..." + } + }, "swaps": { "onboarding": { "get_the": "Dapatkan", diff --git a/locales/languages/id.json b/locales/languages/id.json index 1024afb4bed..acb9e88b396 100644 --- a/locales/languages/id.json +++ b/locales/languages/id.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (melalui MetaMask)", "buy_with": "Beli dengan", "plus_fee": "Ditambah biaya {{fee}}", - "notifications": { - "purchase_failed_title": "Pembelian {{currency}} gagal! Silakan coba lagi. Mohon maaf atas ketidaknyamanan yang timbul!", - "purchase_failed_description": "Verifikasikan metode pembayaran dan dukungan kartu", - "purchase_cancelled_title": "Pembelian Anda dibatalkan", - "purchase_cancelled_description": "Verifikasikan metode pembayaran dan dukungan kartu", - "purchase_completed_title": "Pembelian {{amount}} {{currency}} berhasil!", - "purchase_completed_description": "{{currency}} Anda kini telah tersedia", - "purchase_pending_title": "Memproses pembelian {{currency}} Anda", - "purchase_pending_description": "Hanya perlu beberapa menit..." - }, "date": "Tanggal", "from": "Dari", "to": "Ke", @@ -2117,6 +2107,16 @@ "hold_to_send": "Tahan untuk mengirim", "send": "Kirim", "sent": "Terkirim!" + }, + "notifications": { + "purchase_failed_title": "Pembelian {{currency}} gagal! Silakan coba lagi. Mohon maaf atas ketidaknyamanan yang timbul!", + "purchase_failed_description": "Verifikasikan metode pembayaran dan dukungan kartu", + "purchase_cancelled_title": "Pembelian Anda dibatalkan", + "purchase_cancelled_description": "Verifikasikan metode pembayaran dan dukungan kartu", + "purchase_completed_title": "Pembelian {{amount}} {{currency}} berhasil!", + "purchase_completed_description": "{{currency}} Anda kini telah tersedia", + "purchase_pending_title": "Memproses pembelian {{currency}} Anda", + "purchase_pending_description": "Hanya perlu beberapa menit..." } }, "swaps": { diff --git a/locales/languages/ja-jp.json b/locales/languages/ja-jp.json index 28c8473dd4e..c1c23886d1a 100644 --- a/locales/languages/ja-jp.json +++ b/locales/languages/ja-jp.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre (MetaMask経由)", "buy_with": "購入手段", "plus_fee": "および {{fee}} の手数料", - "notifications": { - "purchase_failed_title": "{{currency}} の購入に失敗しました。お手数をおかけして申し訳ありませんが、もう一度実行してください。", - "purchase_cancelled_title": "購入はキャンセルされました", - "purchase_completed_title": "{{amount}} {{currency}} の購入に成功しました", - "purchase_completed_description": "{{currency}} が利用可能になりました", - "purchase_pending_title": "{{currency}} の購入を処理しています", - "purchase_pending_description": "この処理には数分かかります。" - }, "date": "日付", "from": "送金元", "to": "送金先", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "{{currency}} の購入に失敗しました。お手数をおかけして申し訳ありませんが、もう一度実行してください。", + "purchase_cancelled_title": "購入はキャンセルされました", + "purchase_completed_title": "{{amount}} {{currency}} の購入に成功しました", + "purchase_completed_description": "{{currency}} が利用可能になりました", + "purchase_pending_title": "{{currency}} の購入を処理しています", + "purchase_pending_description": "この処理には数分かかります。" + } + }, "swaps": { "onboarding": { "get_the": "トップレベルの", diff --git a/locales/languages/ja.json b/locales/languages/ja.json index 86e832d50aa..8855b67e0de 100644 --- a/locales/languages/ja.json +++ b/locales/languages/ja.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (MetaMask経由)", "buy_with": "購入方法:", "plus_fee": "プラス{{fee}}の手数料", - "notifications": { - "purchase_failed_title": "{{currency}}の購入に失敗しました。もう一度お試しください。ご不便をおかけし申し訳ございません。", - "purchase_failed_description": "支払方法とカード対応を確認", - "purchase_cancelled_title": "購入がキャンセルされました", - "purchase_cancelled_description": "支払方法とカード対応を確認", - "purchase_completed_title": "{{amount}}{{currency}}の購入が完了しました。", - "purchase_completed_description": "{{currency}}が利用可能になりました", - "purchase_pending_title": "{{currency}}の購入を処理中です", - "purchase_pending_description": "数分で完了します..." - }, "date": "日付", "from": "送信元", "to": "送信先", @@ -2117,6 +2107,16 @@ "hold_to_send": "長押しして送信", "send": "送信", "sent": "送信しました!" + }, + "notifications": { + "purchase_failed_title": "{{currency}}の購入に失敗しました。もう一度お試しください。ご不便をおかけし申し訳ございません。", + "purchase_failed_description": "支払方法とカード対応を確認", + "purchase_cancelled_title": "購入がキャンセルされました", + "purchase_cancelled_description": "支払方法とカード対応を確認", + "purchase_completed_title": "{{amount}}{{currency}}の購入が完了しました。", + "purchase_completed_description": "{{currency}}が利用可能になりました", + "purchase_pending_title": "{{currency}}の購入を処理中です", + "purchase_pending_description": "数分で完了します..." } }, "swaps": { diff --git a/locales/languages/ko-kr.json b/locales/languages/ko-kr.json index f6c3d3bbc29..8d4989d24a2 100644 --- a/locales/languages/ko-kr.json +++ b/locales/languages/ko-kr.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre(MetaMask 이용)", "buy_with": "구매 수단", "plus_fee": "+ {{fee}} 수수료", - "notifications": { - "purchase_failed_title": "{{currency}} 구매에 실패했습니다! 다시 시도하세요. 불편을 끼쳐 죄송합니다!", - "purchase_cancelled_title": "구매가 취소되었습니다.", - "purchase_completed_title": "{{amount}} {{currency}} 구매에 성공했습니다!", - "purchase_completed_description": "현재 {{currency}} 사용 가능", - "purchase_pending_title": "{{currency}} 구매 진행 중", - "purchase_pending_description": "이 작업에는 몇 분만 소요됩니다..." - }, "date": "날짜", "from": "발신", "to": "수신", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "{{currency}} 구매에 실패했습니다! 다시 시도하세요. 불편을 끼쳐 죄송합니다!", + "purchase_cancelled_title": "구매가 취소되었습니다.", + "purchase_completed_title": "{{amount}} {{currency}} 구매에 성공했습니다!", + "purchase_completed_description": "현재 {{currency}} 사용 가능", + "purchase_pending_title": "{{currency}} 구매 진행 중", + "purchase_pending_description": "이 작업에는 몇 분만 소요됩니다..." + } + }, "swaps": { "onboarding": { "get_the": "최고의", diff --git a/locales/languages/ko.json b/locales/languages/ko.json index 4ce8132e751..9cea6676a4e 100644 --- a/locales/languages/ko.json +++ b/locales/languages/ko.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (MetaMask 경유)", "buy_with": "다음으로 구매:", "plus_fee": "수수료 {{fee}} 추가", - "notifications": { - "purchase_failed_title": "{{currency}} 구매에 실패했습니다! 다시 시도하세요. 불편을 드려 죄송합니다!", - "purchase_failed_description": "결제 방법 및 카드 지원 여부를 확인하세요", - "purchase_cancelled_title": "구매가 취소되었습니다", - "purchase_cancelled_description": "결제 방법 및 카드 지원 여부를 확인하세요", - "purchase_completed_title": "{{amount}} {{currency}} 구매에 실패했습니다!", - "purchase_completed_description": "{{currency}} 이용이 불가능합니다", - "purchase_pending_title": "{{currency}} 구매 처리 중", - "purchase_pending_description": "몇 분 정도 소요됩니다..." - }, "date": "날짜", "from": "보내는 사람", "to": "수신:", @@ -2117,6 +2107,16 @@ "hold_to_send": "길게 눌러 전송", "send": "전송", "sent": "전송 완료!" + }, + "notifications": { + "purchase_failed_title": "{{currency}} 구매에 실패했습니다! 다시 시도하세요. 불편을 드려 죄송합니다!", + "purchase_failed_description": "결제 방법 및 카드 지원 여부를 확인하세요", + "purchase_cancelled_title": "구매가 취소되었습니다", + "purchase_cancelled_description": "결제 방법 및 카드 지원 여부를 확인하세요", + "purchase_completed_title": "{{amount}} {{currency}} 구매에 실패했습니다!", + "purchase_completed_description": "{{currency}} 이용이 불가능합니다", + "purchase_pending_title": "{{currency}} 구매 처리 중", + "purchase_pending_description": "몇 분 정도 소요됩니다..." } }, "swaps": { diff --git a/locales/languages/pt-br.json b/locales/languages/pt-br.json index edcfa093d3d..591ab18eca3 100644 --- a/locales/languages/pt-br.json +++ b/locales/languages/pt-br.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre (via MetaMask)", "buy_with": "Comprar com", "plus_fee": "Mais uma taxa de {{fee}}", - "notifications": { - "purchase_failed_title": "Falha na compra de {{currency}}! Tente novamente. Desculpe-nos pela inconveniência!", - "purchase_cancelled_title": "Sua compra foi cancelada", - "purchase_completed_title": "Tudo certo com sua compra de {{amount}} {{currency}}!", - "purchase_completed_description": "Seu(sua) {{currency}} já está disponível", - "purchase_pending_title": "Processando sua compra de {{currency}}", - "purchase_pending_description": "Deve demorar apenas alguns minutos..." - }, "date": "Data", "from": "De", "to": "Até", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "Falha na compra de {{currency}}! Tente novamente. Desculpe-nos pela inconveniência!", + "purchase_cancelled_title": "Sua compra foi cancelada", + "purchase_completed_title": "Tudo certo com sua compra de {{amount}} {{currency}}!", + "purchase_completed_description": "Seu(sua) {{currency}} já está disponível", + "purchase_pending_title": "Processando sua compra de {{currency}}", + "purchase_pending_description": "Deve demorar apenas alguns minutos..." + } + }, "swaps": { "onboarding": { "get_the": "Obtenha o", diff --git a/locales/languages/pt.json b/locales/languages/pt.json index 9e4602cb34f..95e4922d7d9 100644 --- a/locales/languages/pt.json +++ b/locales/languages/pt.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (via MetaMask)", "buy_with": "Comprar com", "plus_fee": "Mais uma taxa de {{fee}}", - "notifications": { - "purchase_failed_title": "Falha na compra de {{currency}}! Por favor, tente novamente. Pedimos desculpas pela inconveniência.", - "purchase_failed_description": "Verifique sua forma de pagamento e cartões aceitos", - "purchase_cancelled_title": "Sua compra foi cancelada", - "purchase_cancelled_description": "Verifique sua forma de pagamento e cartões aceitos", - "purchase_completed_title": "Sua compra de {{amount}} {{currency}} foi realizada com sucesso!", - "purchase_completed_description": "Sua {{currency}} está disponível agora", - "purchase_pending_title": "Processando sua compra de {{currency}}", - "purchase_pending_description": "Isso deve levar somente alguns minutos..." - }, "date": "Data", "from": "De", "to": "Para", @@ -2117,6 +2107,16 @@ "hold_to_send": "Segure para enviar", "send": "Enviar", "sent": "Enviado!" + }, + "notifications": { + "purchase_failed_title": "Falha na compra de {{currency}}! Por favor, tente novamente. Pedimos desculpas pela inconveniência.", + "purchase_failed_description": "Verifique sua forma de pagamento e cartões aceitos", + "purchase_cancelled_title": "Sua compra foi cancelada", + "purchase_cancelled_description": "Verifique sua forma de pagamento e cartões aceitos", + "purchase_completed_title": "Sua compra de {{amount}} {{currency}} foi realizada com sucesso!", + "purchase_completed_description": "Sua {{currency}} está disponível agora", + "purchase_pending_title": "Processando sua compra de {{currency}}", + "purchase_pending_description": "Isso deve levar somente alguns minutos..." } }, "swaps": { diff --git a/locales/languages/ru-ru.json b/locales/languages/ru-ru.json index aa541a7c87a..84947ecc6be 100644 --- a/locales/languages/ru-ru.json +++ b/locales/languages/ru-ru.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre (через MetaMask)", "buy_with": "Купить с", "plus_fee": "Плюс {{fee}} комиссия", - "notifications": { - "purchase_failed_title": "Покупка {{currency}} не удалась! Попробуйте еще раз, извините за неудобства!", - "purchase_cancelled_title": "Ваша покупка была отменена", - "purchase_completed_title": "Ваша покупка {{amount}} {{currency}} была успешной!", - "purchase_completed_description": "Ваши {{currency}} теперь доступны", - "purchase_pending_title": "Обработка вашей покупки {{currency}}", - "purchase_pending_description": "Это займет всего несколько минут..." - }, "date": "Дата", "from": "От", "to": "Адресат", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "Покупка {{currency}} не удалась! Попробуйте еще раз, извините за неудобства!", + "purchase_cancelled_title": "Ваша покупка была отменена", + "purchase_completed_title": "Ваша покупка {{amount}} {{currency}} была успешной!", + "purchase_completed_description": "Ваши {{currency}} теперь доступны", + "purchase_pending_title": "Обработка вашей покупки {{currency}}", + "purchase_pending_description": "Это займет всего несколько минут..." + } + }, "swaps": { "onboarding": { "get_the": "Получайте", diff --git a/locales/languages/ru.json b/locales/languages/ru.json index b45d643a1d1..85a75382268 100644 --- a/locales/languages/ru.json +++ b/locales/languages/ru.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (через MetaMask)", "buy_with": "Купить с помощью", "plus_fee": "Плюс комиссия {{fee}} ", - "notifications": { - "purchase_failed_title": "Не удалось купить {{currency}}! Попробуйте еще раз, извините за неудобства!", - "purchase_failed_description": "Подтвердите метод платежа и поддержку карты", - "purchase_cancelled_title": "Ваша покупка отменена", - "purchase_cancelled_description": "Подтвердите метод платежа и поддержку карты", - "purchase_completed_title": "Ваша покупка {{amount}} {{currency}} успешно выполнена!", - "purchase_completed_description": "Ваши {{currency}} уже доступны", - "purchase_pending_title": "Обработка вашей покупки {{currency}}", - "purchase_pending_description": "Это должно занять всего несколько минут..." - }, "date": "Дата", "from": "От", "to": "В адрес", @@ -2117,6 +2107,16 @@ "hold_to_send": "Удерживайте, чтобы отправить", "send": "Отправить", "sent": "Отправлено!" + }, + "notifications": { + "purchase_failed_title": "Не удалось купить {{currency}}! Попробуйте еще раз, извините за неудобства!", + "purchase_failed_description": "Подтвердите метод платежа и поддержку карты", + "purchase_cancelled_title": "Ваша покупка отменена", + "purchase_cancelled_description": "Подтвердите метод платежа и поддержку карты", + "purchase_completed_title": "Ваша покупка {{amount}} {{currency}} успешно выполнена!", + "purchase_completed_description": "Ваши {{currency}} уже доступны", + "purchase_pending_title": "Обработка вашей покупки {{currency}}", + "purchase_pending_description": "Это должно занять всего несколько минут..." } }, "swaps": { diff --git a/locales/languages/tl.json b/locales/languages/tl.json index cb4c1a7db08..e3452ffabbc 100644 --- a/locales/languages/tl.json +++ b/locales/languages/tl.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (gamit ang MetaMask)", "buy_with": "Bumili gamit ang", "plus_fee": "At dagdag na bayarin na {{fee}}", - "notifications": { - "purchase_failed_title": "Nabigo ang pagbili ng {{currency}}! Pakisubukan ulit, pasensya na sa abala!", - "purchase_failed_description": "I-verify ang iyong paraan ng pagbabayad at suporta sa card", - "purchase_cancelled_title": "Nakansela ang iyong pagbili", - "purchase_cancelled_description": "I-verify ang iyong paraan ng pagbabayad at suporta sa card", - "purchase_completed_title": "Matagumpay ang pagbili mo ng {{amount}} {{currency}}!", - "purchase_completed_description": "Available na ang {{currency}}", - "purchase_pending_title": "Pinoproseso ang pagbili mo ng {{currency}}", - "purchase_pending_description": "Ilang minuto lang ang aabutin nito..." - }, "date": "Petsa", "from": "Mula kay/sa", "to": "Para kay/sa", @@ -2117,6 +2107,16 @@ "hold_to_send": "Pindutin nang matagal para ipadala", "send": "Ipadala", "sent": "Naipadala!" + }, + "notifications": { + "purchase_failed_title": "Nabigo ang pagbili ng {{currency}}! Pakisubukan ulit, pasensya na sa abala!", + "purchase_failed_description": "I-verify ang iyong paraan ng pagbabayad at suporta sa card", + "purchase_cancelled_title": "Nakansela ang iyong pagbili", + "purchase_cancelled_description": "I-verify ang iyong paraan ng pagbabayad at suporta sa card", + "purchase_completed_title": "Matagumpay ang pagbili mo ng {{amount}} {{currency}}!", + "purchase_completed_description": "Available na ang {{currency}}", + "purchase_pending_title": "Pinoproseso ang pagbili mo ng {{currency}}", + "purchase_pending_description": "Ilang minuto lang ang aabutin nito..." } }, "swaps": { diff --git a/locales/languages/tr.json b/locales/languages/tr.json index e51bf042fdd..7f49eb91533 100644 --- a/locales/languages/tr.json +++ b/locales/languages/tr.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}}(MetaMask ile)", "buy_with": "Şununla satın al:", "plus_fee": "Artı {{fee}} ücret", - "notifications": { - "purchase_failed_title": "{{currency}} satın alma işlemi başarısız oldu! Lütfen tekrar deneyin, verdiğimiz rahatsızlıktan dolayı özür dileriz!", - "purchase_failed_description": "Ödeme yöntemini ve kart desteğini doğrula", - "purchase_cancelled_title": "Satın alma işleminiz iptal edildi", - "purchase_cancelled_description": "Ödeme yöntemini ve kart desteğini doğrula", - "purchase_completed_title": "{{amount}} {{currency}} satın alma işleminiz başarılı oldu!", - "purchase_completed_description": "{{currency}} para biriminiz şimdi kullanılabilir", - "purchase_pending_title": "{{currency}} satın alma işleminiz gerçekleşiyor", - "purchase_pending_description": "Bu işlem birkaç dakika sürecektir..." - }, "date": "Tarih", "from": "Kimden", "to": "Kime", @@ -2117,6 +2107,16 @@ "hold_to_send": "Göndermek için tut", "send": "Gönder", "sent": "Gönderildi!" + }, + "notifications": { + "purchase_failed_title": "{{currency}} satın alma işlemi başarısız oldu! Lütfen tekrar deneyin, verdiğimiz rahatsızlıktan dolayı özür dileriz!", + "purchase_failed_description": "Ödeme yöntemini ve kart desteğini doğrula", + "purchase_cancelled_title": "Satın alma işleminiz iptal edildi", + "purchase_cancelled_description": "Ödeme yöntemini ve kart desteğini doğrula", + "purchase_completed_title": "{{amount}} {{currency}} satın alma işleminiz başarılı oldu!", + "purchase_completed_description": "{{currency}} para biriminiz şimdi kullanılabilir", + "purchase_pending_title": "{{currency}} satın alma işleminiz gerçekleşiyor", + "purchase_pending_description": "Bu işlem birkaç dakika sürecektir..." } }, "swaps": { diff --git a/locales/languages/vi-vn.json b/locales/languages/vi-vn.json index f5a9fa5ac30..b363eef61b4 100644 --- a/locales/languages/vi-vn.json +++ b/locales/languages/vi-vn.json @@ -1323,14 +1323,6 @@ "wyre_total_label": "Wyre (thông qua MetaMask)", "buy_with": "Mua qua", "plus_fee": "Cộng thêm phí {{fee}}", - "notifications": { - "purchase_failed_title": "Giao dịch mua {{currency}} không thành công! Vui lòng thử lại, xin lỗi bạn vì sự bất tiện!", - "purchase_cancelled_title": "Đã hủy giao dịch mua của bạn", - "purchase_completed_title": "Bạn đã mua thành công {{amount}} {{currency}}!", - "purchase_completed_description": "{{currency}} hiện đã có thể sử dụng", - "purchase_pending_title": "Đang xử lý giao dịch mua {{currency}} của bạn", - "purchase_pending_description": "Quá trình này chỉ mất vài phút…" - }, "date": "Ngày", "from": "Từ", "to": "Đến", @@ -1366,6 +1358,16 @@ } } }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "Giao dịch mua {{currency}} không thành công! Vui lòng thử lại, xin lỗi bạn vì sự bất tiện!", + "purchase_cancelled_title": "Đã hủy giao dịch mua của bạn", + "purchase_completed_title": "Bạn đã mua thành công {{amount}} {{currency}}!", + "purchase_completed_description": "{{currency}} hiện đã có thể sử dụng", + "purchase_pending_title": "Đang xử lý giao dịch mua {{currency}} của bạn", + "purchase_pending_description": "Quá trình này chỉ mất vài phút…" + } + }, "swaps": { "onboarding": { "get_the": "Tận hưởng", diff --git a/locales/languages/vi.json b/locales/languages/vi.json index 0868d156627..e5254232279 100644 --- a/locales/languages/vi.json +++ b/locales/languages/vi.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}} (thông qua MetaMask)", "buy_with": "Mua bằng", "plus_fee": "Cộng phí {{fee}}", - "notifications": { - "purchase_failed_title": "Giao dịch mua {{currency}} đã thất bại! Vui lòng thử lại, rất tiếc vì sự bất tiện này!", - "purchase_failed_description": "Xác minh phương thức thanh toán và hỗ trợ thẻ của bạn", - "purchase_cancelled_title": "Giao dịch mua của bạn đã bị hủy", - "purchase_cancelled_description": "Xác minh phương thức thanh toán và hỗ trợ thẻ của bạn", - "purchase_completed_title": "Giao dịch mua {{amount}} {{currency}} của bạn đã thành công!", - "purchase_completed_description": "{{currency}} của bạn giờ đã sẵn sàng", - "purchase_pending_title": "Đang xử lý giao dịch mua {{currency}} của bạn", - "purchase_pending_description": "Quá trình này chỉ mất vài phút..." - }, "date": "Ngày", "from": "Từ", "to": "Đến", @@ -2117,6 +2107,16 @@ "hold_to_send": "Giữ để gửi", "send": "Gửi", "sent": "Đã gửi!" + }, + "notifications": { + "purchase_failed_title": "Giao dịch mua {{currency}} đã thất bại! Vui lòng thử lại, rất tiếc vì sự bất tiện này!", + "purchase_failed_description": "Xác minh phương thức thanh toán và hỗ trợ thẻ của bạn", + "purchase_cancelled_title": "Giao dịch mua của bạn đã bị hủy", + "purchase_cancelled_description": "Xác minh phương thức thanh toán và hỗ trợ thẻ của bạn", + "purchase_completed_title": "Giao dịch mua {{amount}} {{currency}} của bạn đã thành công!", + "purchase_completed_description": "{{currency}} của bạn giờ đã sẵn sàng", + "purchase_pending_title": "Đang xử lý giao dịch mua {{currency}} của bạn", + "purchase_pending_description": "Quá trình này chỉ mất vài phút..." } }, "swaps": { diff --git a/locales/languages/zh-cn.json b/locales/languages/zh-cn.json index e6e58e685f8..052f2918f9d 100644 --- a/locales/languages/zh-cn.json +++ b/locales/languages/zh-cn.json @@ -1338,14 +1338,6 @@ "wyre_purchase": "{{currency}} 购买", "buy_with": "购买时使用", "plus_fee": "加上 {{fee}} 费", - "notifications": { - "purchase_failed_title": "购买 {{currency}} 失败!请重试,抱歉给您带来不便!", - "purchase_cancelled_title": "您的购买已取消", - "purchase_completed_title": "您已成功购买 {{amount}} {{currency}}!", - "purchase_completed_description": "您的 {{currency}} 现在可用", - "purchase_pending_title": "正在处理您的 {{currency}} 购买", - "purchase_pending_description": "您的存款正在进行" - }, "date": "日期", "from": "自", "to": "至", @@ -1357,6 +1349,16 @@ "amount": "数额", "total_amount": "总数额" }, + "fiat_on_ramp_aggregator": { + "notifications": { + "purchase_failed_title": "购买 {{currency}} 失败!请重试,抱歉给您带来不便!", + "purchase_cancelled_title": "您的购买已取消", + "purchase_completed_title": "您已成功购买 {{amount}} {{currency}}!", + "purchase_completed_description": "您的 {{currency}} 现在可用", + "purchase_pending_title": "正在处理您的 {{currency}} 购买", + "purchase_pending_description": "您的存款正在进行" + } + }, "protect_wallet_modal": { "title": "保护您的钱包", "top_button": "保护钱包", diff --git a/locales/languages/zh.json b/locales/languages/zh.json index 05558f484ed..b0950df3c18 100644 --- a/locales/languages/zh.json +++ b/locales/languages/zh.json @@ -1900,16 +1900,6 @@ "apple_pay_provider_total_label": "{{provider}}(通过 MetaMask)", "buy_with": "购买时使用", "plus_fee": "加上 {{fee}} 费", - "notifications": { - "purchase_failed_title": "购买 {{currency}} 失败!请重试,抱歉给您带来不便!", - "purchase_failed_description": "验证您的支付方式和卡支持", - "purchase_cancelled_title": "您的购买已取消", - "purchase_cancelled_description": "验证您的支付方式和卡支持", - "purchase_completed_title": "您已成功购买 {{amount}} {{currency}}!", - "purchase_completed_description": "您的 {{currency}} 现在可用", - "purchase_pending_title": "正在处理您的 {{currency}} 购买", - "purchase_pending_description": "您的存款正在进行" - }, "date": "日期", "from": "自", "to": "至", @@ -2117,6 +2107,16 @@ "hold_to_send": "等待发送", "send": "发送", "sent": "已发送!" + }, + "notifications": { + "purchase_failed_title": "购买 {{currency}} 失败!请重试,抱歉给您带来不便!", + "purchase_failed_description": "验证您的支付方式和卡支持", + "purchase_cancelled_title": "您的购买已取消", + "purchase_cancelled_description": "验证您的支付方式和卡支持", + "purchase_completed_title": "您已成功购买 {{amount}} {{currency}}!", + "purchase_completed_description": "您的 {{currency}} 现在可用", + "purchase_pending_title": "正在处理您的 {{currency}} 购买", + "purchase_pending_description": "您的存款正在进行" } }, "swaps": {