Skip to content

Commit

Permalink
Update Online Donations texts [Profile] (#1873)
Browse files Browse the repository at this point in the history
* Update texts for status and type on Profile - Online donations

* Update payment provider type heading translations

---------

Co-authored-by: ani-kalpachka <[email protected]>
  • Loading branch information
ani-kalpachka and ani-kalpachka authored Jul 17, 2024
1 parent 65a90e9 commit 1be99ff
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
15 changes: 7 additions & 8 deletions public/locales/bg/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"toDate": "До",
"date": "Дата",
"type": "Тип",
"sort": "Вид",
"cause": "Кауза",
"amount": "Сума",
"cancelDonation": "Откажи дарение",
Expand All @@ -51,13 +50,13 @@
"lv": "лв",
"status": {
"header": "Статус",
"initial": "започнато",
"waiting": "чакащо",
"succeeded": "успешно",
"refund": "възстановено",
"cancelled": "отменено",
"guaranteed": "гарантирано",
"declined": "отказано"
"initial": "Започнато",
"waiting": "Чакащо",
"succeeded": "Успешно",
"refund": "Възстановено",
"cancelled": "Отменено",
"guaranteed": "Гарантирано",
"declined": "Отказано"
}
},
"certificates-history": {
Expand Down
15 changes: 7 additions & 8 deletions public/locales/en/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"toDate": "To",
"date": "Date",
"type": "Type",
"sort": "Sort",
"cause": "Cause",
"amount": "Amount",
"cancelDonation": "Cancel donation",
Expand All @@ -51,13 +50,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": {
Expand Down
6 changes: 4 additions & 2 deletions src/components/client/auth/profile/DonationTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function DonationTable({ donations }: DonationTableProps) {
<TableRow>
<TableCell>{t('profile:donations.date')}</TableCell>
<TableCell>{t('profile:donations.status.header')}</TableCell>
<TableCell>{t('profile:donations.sort')}</TableCell>
<TableCell>{t('profile:donations.type')}</TableCell>
<TableCell>{t('profile:donations.cause')}</TableCell>
<TableCell>{t('profile:donations.amount')}</TableCell>
<TableCell>{t('profile:donations.certificate')}</TableCell>
Expand All @@ -106,7 +106,9 @@ function DonationTable({ donations }: DonationTableProps) {
<TableCell>{`${t(
'profile:donations.status.' + donation.payment.status,
)}`}</TableCell>
<TableCell>{donation.payment.provider}</TableCell>
<TableCell sx={{ textTransform: 'capitalize' }}>
{donation.payment.provider}
</TableCell>
<TableCell>
<Link
target="_blank"
Expand Down

0 comments on commit 1be99ff

Please sign in to comment.