From 8b56e3da21d950ac4234a98bf4857b5a78496ccd Mon Sep 17 00:00:00 2001 From: smanylov Date: Wed, 11 Mar 2026 18:27:38 +0700 Subject: [PATCH] rename operation type --- README.md | 4 +++- src/app/ui/payment/payment-tab-transaction-history.tsx | 2 +- src/i18n/messages/en.json | 4 +++- src/i18n/messages/ru.json | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f55859f..976a3f9 100644 --- a/README.md +++ b/README.md @@ -37,4 +37,6 @@ docker volume prune - удалить неиспользуемые базы да Юкаса эндпоинт для бека. -{URL}/api/payments/webhook/yookassa \ No newline at end of file +{URL}/api/payments/webhook/yookassa + +https://dev-workspace.not-copy.com/api/payments/webhook/yookassa \ No newline at end of file diff --git a/src/app/ui/payment/payment-tab-transaction-history.tsx b/src/app/ui/payment/payment-tab-transaction-history.tsx index 46c9896..3642639 100644 --- a/src/app/ui/payment/payment-tab-transaction-history.tsx +++ b/src/app/ui/payment/payment-tab-transaction-history.tsx @@ -123,7 +123,7 @@ export default function PaymentTabTransactionHistory() { ), cell: ({ row }) => (
- {row.original.operationType} + {row.original.operationType === 'TOKEN'? t('purchasing-tokens') : t('payment-of-the-tariff')}
), }, diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json index 089b2a6..e830ff4 100644 --- a/src/i18n/messages/en.json +++ b/src/i18n/messages/en.json @@ -296,7 +296,9 @@ "monitoring-is-not-supported": "Monitoring is not supported", "frequently-asked-questions": "Frequently Asked Questions", "select-a-token-package": "Select a token package", - "package-selected-tokens-price": "Package selected: {tokens} tokens for {price}₽" + "package-selected-tokens-price": "Package selected: {tokens} tokens for {price}₽", + "purchasing-tokens": "Purchasing tokens", + "payment-of-the-tariff": "Payment of the tariff" }, "Login-register-form": { "and": "and", diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json index da6d750..40abed0 100644 --- a/src/i18n/messages/ru.json +++ b/src/i18n/messages/ru.json @@ -296,7 +296,9 @@ "monitoring-is-not-supported": "Мониторинг не поддерживается", "frequently-asked-questions": "Часто задаваемые вопросы", "select-a-token-package": "Выберите пакет токенов", - "package-selected-tokens-price": "Выбран пакет: {tokens} токенов за {price}₽" + "package-selected-tokens-price": "Выбран пакет: {tokens} токенов за {price}₽", + "purchasing-tokens": "Покупка токенов", + "payment-of-the-tariff": "Оплата тарифа" }, "Login-register-form": { "and": "и",