From fe6ec6253791b2b52c7905f1ca3d276c4258fb9c Mon Sep 17 00:00:00 2001 From: ani-kalpachka Date: Tue, 2 Jul 2024 20:55:05 +0300 Subject: [PATCH 1/2] Update texts for status and type on Profile - Online donations --- public/locales/bg/profile.json | 14 +++++++------- public/locales/en/profile.json | 14 +++++++------- .../client/auth/profile/DonationTable.tsx | 4 +++- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/public/locales/bg/profile.json b/public/locales/bg/profile.json index 86b753bc2..4038c0e09 100644 --- a/public/locales/bg/profile.json +++ b/public/locales/bg/profile.json @@ -51,13 +51,13 @@ "lv": "лв", "status": { "header": "Статус", - "initial": "започнато", - "waiting": "чакащо", - "succeeded": "успешно", - "refund": "възстановено", - "cancelled": "отменено", - "guaranteed": "гарантирано", - "declined": "отказано" + "initial": "Започнато", + "waiting": "Чакащо", + "succeeded": "Успешно", + "refund": "Възстановено", + "cancelled": "Отменено", + "guaranteed": "Гарантирано", + "declined": "Отказано" } }, "certificates-history": { diff --git a/public/locales/en/profile.json b/public/locales/en/profile.json index 113606cee..2448f4fc7 100644 --- a/public/locales/en/profile.json +++ b/public/locales/en/profile.json @@ -51,13 +51,13 @@ "lv": "lv", "status": { "header": "Status", - "initial": "initial", - "waiting": "waiting", - "succeeded": "succeeded", - "refund": "refunded", - "cancelled": "cancelled", - "guaranteed": "guaranteed", - "declined": "declined" + "initial": "Initial", + "waiting": "Waiting", + "succeeded": "Succeeded", + "refund": "Refunded", + "cancelled": "Cancelled", + "guaranteed": "Guaranteed", + "declined": "Declined" } }, "certificates-history": { diff --git a/src/components/client/auth/profile/DonationTable.tsx b/src/components/client/auth/profile/DonationTable.tsx index 2d64bc286..c67dffa3c 100644 --- a/src/components/client/auth/profile/DonationTable.tsx +++ b/src/components/client/auth/profile/DonationTable.tsx @@ -106,7 +106,9 @@ function DonationTable({ donations }: DonationTableProps) { {`${t( 'profile:donations.status.' + donation.payment.status, )}`} - {donation.payment.provider} + + {donation.payment.provider} + Date: Tue, 2 Jul 2024 21:02:41 +0300 Subject: [PATCH 2/2] Update payment provider type heading translations --- public/locales/bg/profile.json | 1 - public/locales/en/profile.json | 1 - src/components/client/auth/profile/DonationTable.tsx | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/public/locales/bg/profile.json b/public/locales/bg/profile.json index 4038c0e09..00cee9a26 100644 --- a/public/locales/bg/profile.json +++ b/public/locales/bg/profile.json @@ -39,7 +39,6 @@ "toDate": "До", "date": "Дата", "type": "Тип", - "sort": "Вид", "cause": "Кауза", "amount": "Сума", "cancelDonation": "Откажи дарение", diff --git a/public/locales/en/profile.json b/public/locales/en/profile.json index 2448f4fc7..83178609b 100644 --- a/public/locales/en/profile.json +++ b/public/locales/en/profile.json @@ -39,7 +39,6 @@ "toDate": "To", "date": "Date", "type": "Type", - "sort": "Sort", "cause": "Cause", "amount": "Amount", "cancelDonation": "Cancel donation", diff --git a/src/components/client/auth/profile/DonationTable.tsx b/src/components/client/auth/profile/DonationTable.tsx index c67dffa3c..2fd4cb35e 100644 --- a/src/components/client/auth/profile/DonationTable.tsx +++ b/src/components/client/auth/profile/DonationTable.tsx @@ -93,7 +93,7 @@ function DonationTable({ donations }: DonationTableProps) { {t('profile:donations.date')} {t('profile:donations.status.header')} - {t('profile:donations.sort')} + {t('profile:donations.type')} {t('profile:donations.cause')} {t('profile:donations.amount')} {t('profile:donations.certificate')}