diff --git a/public/static/locales/en/bulkCodes.json b/public/static/locales/en/bulkCodes.json index 6ab217322b..6af304e31b 100644 --- a/public/static/locales/en/bulkCodes.json +++ b/public/static/locales/en/bulkCodes.json @@ -1,5 +1,6 @@ { "bulkCodesTitle": "Issue Bulk Codes", + "partnerSignupInfo": "Use of this feature by Companies is subject to partnership with Plant-for-the-Planet. Please contact <2>partner@plant-for-the-planet.org for details.", "bulkCodesDescription1": "Using PlanetCash you can generate thousands of codes in a single operation.", "bulkCodesDescription2": "You can use this feature to create codes for custom certificates, gift cards, donations on behalf of users and redeemable codes that you can associate with your products.", "tabCreationMethod": "Creation Method", diff --git a/public/static/locales/en/planetcash.json b/public/static/locales/en/planetcash.json index 0fae5a9f3c..4167c77463 100644 --- a/public/static/locales/en/planetcash.json +++ b/public/static/locales/en/planetcash.json @@ -1,5 +1,6 @@ { "title": "PlanetCash", + "partnerSignupInfo": "Use of this feature by Companies is subject to partnership with Plant-for-the-Planet. Please contact <2>partner@plant-for-the-planet.org for details.", "description": "PlanetCash is a developer friendly tool that extends the Plant-for-the-Planet Platform with APIs and built in tools. PlanetCash balance is a contribution to Plant-for-the-Planet that can be dedicated by the donor to different projects on the platform.", "termsText": "View Terms & Conditions.", "learnMoreText": "Learn more about PlanetCash.", @@ -28,4 +29,4 @@ "duplicate_account": "You have already created an account for {{country}}", "default": "Something went wrong while creating an account. Please try after a while." } -} \ No newline at end of file +} diff --git a/src/features/user/BulkCodes/index.tsx b/src/features/user/BulkCodes/index.tsx index 9682c29fdb..f6b60b084f 100644 --- a/src/features/user/BulkCodes/index.tsx +++ b/src/features/user/BulkCodes/index.tsx @@ -1,4 +1,4 @@ -import { useTranslation } from 'next-i18next'; +import { useTranslation, Trans } from 'next-i18next'; import React, { ReactElement, useEffect, @@ -156,11 +156,26 @@ export default function BulkCodes({ - {t('bulkCodes:bulkCodesDescription1')} -
- {t('bulkCodes:bulkCodesDescription2')} -

+
+

+ + Our Planet Cash/Bulk Codes feature is a feature specifically for + Plant-for-the-Planet partners. Feel free to contact us at{' '} + + partner@plant-for-the-planet.org + {' '} + if you are interested. + +

+

+ {t('bulkCodes:bulkCodesDescription1')} +
+ {t('bulkCodes:bulkCodesDescription2')} +

+
} > diff --git a/src/features/user/PlanetCash/index.tsx b/src/features/user/PlanetCash/index.tsx index 7dc1bb7cba..af5d5ad7a0 100644 --- a/src/features/user/PlanetCash/index.tsx +++ b/src/features/user/PlanetCash/index.tsx @@ -5,7 +5,7 @@ import { useContext, useCallback, } from 'react'; -import { useTranslation } from 'next-i18next'; +import { Trans, useTranslation } from 'next-i18next'; import DashboardView from '../../common/Layout/DashboardView'; import TabbedView from '../../common/Layout/TabbedView'; import { TabItem } from '../../common/Layout/TabbedView/TabbedViewTypes'; @@ -146,26 +146,41 @@ export default function PlanetCash({ - {t('description')}{' '} - - {t('learnMoreText')} - -
- - {t('termsText')} - -

+
+

+ + Our Planet Cash/Bulk Codes feature is a feature specifically for + Plant-for-the-Planet partners. Feel free to contact us at{' '} + + partner@plant-for-the-planet.org + {' '} + if you are interested. + +

+

+ {t('description')}{' '} + + {t('learnMoreText')} + +
+ + {t('termsText')} + +

+
} >