mobile: localize

This commit is contained in:
Ammar Ahmed
2025-08-22 12:20:41 +05:00
committed by Abdullah Atta
parent ae17b34be9
commit 3c4fb8cb53
4 changed files with 14 additions and 5 deletions

View File

@@ -381,10 +381,10 @@ const ProductItem = (props: {
>
<Heading size={AppFontSize.md}>
{isAnnual
? "Yearly"
? strings.yearly()
: is5YearProduct
? "5 year plan (One time purchase)"
: "Monthly"}
? strings.fiveYearPlan()
: strings.monthly()}
</Heading>
{(isAnnual && !isGithubRelease) ||
@@ -425,7 +425,7 @@ const ProductItem = (props: {
? 1
: 0,
isAnnual
)}/${strings.month}`
)}/${strings.month()}`
: null}
{!isAnnual && !is5YearProduct

View File

@@ -623,6 +623,10 @@ msgstr "2FA code is required()"
msgid "2FA code sent via {method}"
msgstr "2FA code sent via {method}"
#: src/strings.ts:2572
msgid "5 year plan (One time purchase)"
msgstr "5 year plan (One time purchase)"
#: src/strings.ts:1844
msgid "6 digit code"
msgstr "6 digit code"

View File

@@ -623,6 +623,10 @@ msgstr ""
msgid "2FA code sent via {method}"
msgstr ""
#: src/strings.ts:2572
msgid "5 year plan (One time purchase)"
msgstr ""
#: src/strings.ts:1844
msgid "6 digit code"
msgstr ""

View File

@@ -2576,5 +2576,6 @@ Use this if changes from other devices are not appearing on this device. This wi
],
bestValue: () => t`Best value`,
planLimits: () => t`Plan limits`,
unlimited: () => t`Unlimited`
unlimited: () => t`Unlimited`,
fiveYearPlan: () => t`5 year plan (One time purchase)`
};