Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TW-1176 Change some related to ads texts #1026

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions public/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,7 @@
"message": "Confirm the action"
},
"closePartnersPromotion": {
"message": "Are you sure you want to turn off all ads?"
"message": "Are you sure you want to disable all ads?"
},
"domainDoesntResolveToAddress": {
"message": "Domain \"$value$\" doesn't resolve to an address",
Expand Down Expand Up @@ -2421,7 +2421,7 @@
"message": "Are you sure you want to delete this contact?"
},
"closePartnersPromoConfirm": {
"message": "Pay attention: you can receive cashback in USDt tokens for enabling advertisement in our wallet. If you turned off ADS, you can always activate it in the settings."
"message": "Pay attention: you can receive rewards in TKEY tokens for viewing ads in our wallet. If you disabled Ads, you can always activate it in the settings."
},
"enablePartnersPromotionConfirm": {
"message": "Support the development team and earn tokens by viewing ads inside the wallet."
Expand Down Expand Up @@ -2614,14 +2614,17 @@
"partnersPromoSettings": {
"message": "Advertising"
},
"cashBack": {
"message": "cash back"
"rewards": {
"message": "rewards",
"description": "Part of partnersPromoDescription phrase"
},
"partnersPromoDescriptionP1": {
"message": "Here you can configure displaying of ads in Temple wallet. Remember, you get"
},
"partnersPromoDescriptionP2": {
"message": "at Temple Keys for viewing ads"
"partnersPromoDescription": {
"message": "Here you can configure displaying of ads in Temple wallet. Remember, you get $rewards$ at TKEY tokens for viewing ads.",
"placeholders": {
"rewards": {
"content": "$1"
}
}
},
"totalEquityValue": {
"message": "Total Equity Value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { useDispatch } from 'react-redux';
import { FormCheckbox } from 'app/atoms';
import { togglePartnersPromotionAction } from 'app/store/partners-promotion/actions';
import { useShouldShowPartnersPromoSelector } from 'app/store/partners-promotion/selectors';
import { setAdsBannerVisibilityAction } from 'app/store/settings/actions';
import { useIsEnabledAdsBannerSelector } from 'app/store/settings/selectors';
import { T, t } from 'lib/i18n';
import { useConfirm } from 'lib/ui/dialog';

import { setAdsBannerVisibilityAction } from '../../../store/settings/actions';
import { useIsEnabledAdsBannerSelector } from '../../../store/settings/selectors';
import { SettingsGeneralSelectors } from '../selectors';

export const PartnersPromotionSettings: FC = () => {
Expand Down Expand Up @@ -63,15 +63,14 @@ export const PartnersPromotionSettings: FC = () => {
</span>

<span className="mt-1 text-xs font-light text-gray-600" style={{ maxWidth: '90%' }}>
<span>
<T id="partnersPromoDescriptionP1" />
</span>
<span className="mx-1 font-semibold">
<T id="cashBack" />
</span>
<span>
<T id="partnersPromoDescriptionP2" />
</span>
<T
id="partnersPromoDescription"
substitutions={[
<span className="font-semibold">
<T id="rewards" />
</span>
]}
/>
</span>
</label>

Expand Down
Loading