Skip to content

Commit

Permalink
fix: APP-309 batch denom name in getCancelCardItems function (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
r41ph authored Oct 2, 2024
1 parent a7cd5b8 commit 1f30605
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
15 changes: 12 additions & 3 deletions web-marketplace/src/lib/i18n/locales/en.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"POT-Creation-Date: 2024-09-25 16:26+0100\n"
"POT-Creation-Date: 2024-10-01 14:02+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -444,7 +444,7 @@ msgid "approved methodologies"
msgstr ""

#: src/pages/Marketplace/Storefront/Storefront.tsx:399
msgid "Are you sure would you like to cancel this sell order?"
msgid "Are you sure you want to cancel this sell order?"
msgstr ""

#: src/components/organisms/RolesForm/components/AdminModal/AdminModal.constants.ts:4
Expand Down Expand Up @@ -1865,6 +1865,7 @@ msgid "learn more"
msgstr ""

#: src/components/organisms/ChooseCreditsForm/ChooseCreditsForm.CryptoOptions.tsx:59
#: src/components/organisms/TebuBannerWrapper/TebuBannerWrapper.contants.ts:10
msgid "Learn more"
msgstr ""

Expand Down Expand Up @@ -3230,7 +3231,7 @@ msgstr ""
msgid "Sorry, your transaction was not successful."
msgstr ""

#: src/pages/Projects/AllProjects/AllProjects.tsx:206
#: src/pages/Projects/AllProjects/AllProjects.tsx:207
msgid "Sort by:"
msgstr ""

Expand Down Expand Up @@ -3350,6 +3351,14 @@ msgstr ""
msgid "Take from basket"
msgstr ""

#: src/components/molecules/TebuBanner/TebuBanner.tsx:43
msgid "Tebu banner"
msgstr ""

#: src/components/organisms/TebuBannerWrapper/TebuBannerWrapper.contants.ts:15
msgid "Tebu logo"
msgstr ""

#: src/components/organisms/DescriptionForm/DescriptionForm.constants.ts:14
msgid "Tell the deeper story of what makes this project special. Describe the land stewards and why they do this work, the ecological impacts (plants, animals, ecosystems), and social impacts (community, jobs, health)."
msgstr ""
Expand Down
15 changes: 12 additions & 3 deletions web-marketplace/src/lib/i18n/locales/es.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"POT-Creation-Date: 2024-09-25 16:26+0100\n"
"POT-Creation-Date: 2024-10-01 14:02+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -444,7 +444,7 @@ msgid "approved methodologies"
msgstr ""

#: src/pages/Marketplace/Storefront/Storefront.tsx:399
msgid "Are you sure would you like to cancel this sell order?"
msgid "Are you sure you want to cancel this sell order?"
msgstr ""

#: src/components/organisms/RolesForm/components/AdminModal/AdminModal.constants.ts:4
Expand Down Expand Up @@ -1865,6 +1865,7 @@ msgid "learn more"
msgstr ""

#: src/components/organisms/ChooseCreditsForm/ChooseCreditsForm.CryptoOptions.tsx:59
#: src/components/organisms/TebuBannerWrapper/TebuBannerWrapper.contants.ts:10
msgid "Learn more"
msgstr ""

Expand Down Expand Up @@ -3230,7 +3231,7 @@ msgstr ""
msgid "Sorry, your transaction was not successful."
msgstr ""

#: src/pages/Projects/AllProjects/AllProjects.tsx:206
#: src/pages/Projects/AllProjects/AllProjects.tsx:207
msgid "Sort by:"
msgstr ""

Expand Down Expand Up @@ -3350,6 +3351,14 @@ msgstr ""
msgid "Take from basket"
msgstr ""

#: src/components/molecules/TebuBanner/TebuBanner.tsx:43
msgid "Tebu banner"
msgstr ""

#: src/components/organisms/TebuBannerWrapper/TebuBannerWrapper.contants.ts:15
msgid "Tebu logo"
msgstr ""

#: src/components/organisms/DescriptionForm/DescriptionForm.constants.ts:14
msgid "Tell the deeper story of what makes this project special. Describe the land stewards and why they do this work, the ecological impacts (plants, animals, ecosystems), and social impacts (community, jobs, health)."
msgstr ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const Storefront = (): JSX.Element => {
onConfirm={cancelSellOrderSubmit}
onConfirmTitle={_(msg`Yes, cancel sell order`)}
onCancelTitle={_(msg`WHOOPS, EXIT`)}
title={_(msg`Are you sure would you like to cancel this sell order?`)}
title={_(msg`Are you sure you want to cancel this sell order?`)}
cardItems={getCancelCardItems({
sellOrder: normalizedSellOrders[selectedSellOrder ?? 0] ?? {},
_,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const getCancelCardItems = ({
{
label: _(msg`batch denom:`),
value: {
name: 'C01-20190101-20201010-003',
name: batchDenom,
url: `/credit-batches/${batchDenom}`,
},
},
Expand Down

0 comments on commit 1f30605

Please sign in to comment.