Skip to content

Commit dcbd86e

Browse files
chore: update points disclaimer copy (#5822)
### Description Designs [here](https://www.figma.com/design/rXBDplfMHHqYmuu6EkgMEo/Valora-Points?node-id=2124-11902&t=8SdX4wAwRvZrQeQs-0). ### Test plan n/a ### Related issues n/a ### Backwards compatibility Y ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will: - [ ] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added) Co-authored-by: Alex Bakoushin <alex@bakoush.in>
1 parent c225924 commit dcbd86e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

locales/base/translation.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2468,7 +2468,8 @@
24682468
},
24692469
"disclaimer": {
24702470
"learnMoreCta": "<0>Learn more</0> about {{appName}} Points",
2471-
"body": "<0>What are Points?</0>\nPoints are {{appName}}'s loyalty program. They're awarded to users when you use our app.\n\n<0>What are they good for?</0>\nYou collect them. They can’t be spent or traded or transferred.\n\n<0>Why are they in my wallet?</0>\nBecause they’re tokens. On chain, digital bits of happiness you earn by using the app.",
2471+
"title": "More About {{appName}} Points",
2472+
"body": "Points are {{appName}}'s loyalty program. They're awarded for using the app. Points can't be spent, traded, or transferred.",
24722473
"dismiss": "Got it"
24732474
}
24742475
},

src/points/PointsHome.tsx

+7-6
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,13 @@ export default function PointsHome({ route, navigation }: Props) {
225225
</>
226226
)}
227227
</BottomSheet>
228-
<BottomSheet forwardedRef={disclaimerBottomSheetRef} testId={`DisclaimerBottomSheet`}>
229-
<Text style={typeScale.bodySmall}>
230-
<Trans i18nKey="points.disclaimer.body">
231-
<Text style={typeScale.labelSmall} />
232-
</Trans>
233-
</Text>
228+
<BottomSheet
229+
title={t('points.disclaimer.title')}
230+
titleStyle={typeScale.labelSemiBoldMedium}
231+
forwardedRef={disclaimerBottomSheetRef}
232+
testId={`DisclaimerBottomSheet`}
233+
>
234+
<Text style={typeScale.bodySmall}>{t('points.disclaimer.body')}</Text>
234235
<Button
235236
type={BtnTypes.SECONDARY}
236237
size={BtnSizes.FULL}

0 commit comments

Comments
 (0)