Skip to content

Commit fc8f98e

Browse files
authored
fix: prevent google translate APR (#135)
1 parent ac459f2 commit fc8f98e

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"masknetwork",
1111
"Merkle",
1212
"nosniff",
13+
"notranslate",
1314
"Pageable",
1415
"reinit",
1516
"sepolia",

src/components/StakeMaskStatusCard/index.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,14 @@ export const StakeMaskStatusCard: ComponentType<StakeMaskStatusCardProps> = ({ .
224224
<Skeleton h="32px" my="12px" width="100px" fontSize="32px" />
225225
)}
226226
<Box fontSize="16px" fontWeight={700} lineHeight="150%" color="neutrals.6">
227-
{t`APR`}
227+
<Text
228+
title={t`Annual percentage rate`}
229+
as="abbr"
230+
className="notranslate"
231+
textDecoration="none !important"
232+
>
233+
{t`APR`}
234+
</Text>
228235
</Box>
229236
</VStack>
230237
<VStack

src/locales/en.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ msgstr ""
3737
msgid "Amount"
3838
msgstr ""
3939

40+
#: src/components/StakeMaskStatusCard/index.tsx
41+
msgid "Annual percentage rate"
42+
msgstr ""
43+
4044
#: src/components/StakeMaskStatusCard/index.tsx
4145
#: src/modals/StakeModal.tsx
4246
msgid "APR"

0 commit comments

Comments
 (0)