From 7ffaab036b1d85603eec0056dac9d3916a75202d Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Tue, 9 Jun 2026 16:56:53 +0500 Subject: [PATCH] mobile: ui fixes --- .../app/components/paywall/plan-card.tsx | 4 +- .../app/components/paywall/review-item.tsx | 8 +-- .../app/components/ui/pressable/index.tsx | 2 +- apps/mobile/app/services/settings.ts | 2 + apps/mobile/fonts/MaterialCommunityIcons.ttf | Bin 27392 -> 27272 bytes packages/intl/locale/en.po | 63 +++++++++--------- packages/intl/locale/pseudo-LOCALE.po | 35 +++++----- packages/intl/src/strings.ts | 30 ++++----- 8 files changed, 70 insertions(+), 74 deletions(-) diff --git a/apps/mobile/app/components/paywall/plan-card.tsx b/apps/mobile/app/components/paywall/plan-card.tsx index 83e28e2ab..61fe8fc07 100644 --- a/apps/mobile/app/components/paywall/plan-card.tsx +++ b/apps/mobile/app/components/paywall/plan-card.tsx @@ -197,14 +197,14 @@ export const PricingPlanCard = ({ {price || `${WebPlan?.price?.currency} ${WebPlan?.price?.gross}`}{" "} - + /{strings.month()} {!product && !WebPlan ? null : ( {annualBilling diff --git a/apps/mobile/app/components/paywall/review-item.tsx b/apps/mobile/app/components/paywall/review-item.tsx index e5e8a2872..0fb33da41 100644 --- a/apps/mobile/app/components/paywall/review-item.tsx +++ b/apps/mobile/app/components/paywall/review-item.tsx @@ -43,10 +43,10 @@ export const ReviewItem = (props: { }} style={{ width: "100%", - padding: Spacing.LEVEL_4, + padding: Spacing.LEVEL_2, borderWidth: 1, backgroundColor: colors.secondary.background, - borderRadius: Radius.LG, + borderRadius: Radius.S, borderColor: colors.primary.border }} > @@ -54,8 +54,8 @@ export const ReviewItem = (props: { style={{ flexDirection: "row", alignItems: "center", - gap: 10, - paddingBottom: Spacing.LEVEL_4 + gap: Spacing.LEVEL_1, + paddingBottom: Spacing.LEVEL_1 }} > {props.userImage ? ( diff --git a/apps/mobile/app/components/ui/pressable/index.tsx b/apps/mobile/app/components/ui/pressable/index.tsx index 239236482..c682ef11f 100644 --- a/apps/mobile/app/components/ui/pressable/index.tsx +++ b/apps/mobile/app/components/ui/pressable/index.tsx @@ -117,7 +117,7 @@ const buttonTypes = ( }, secondary: { primary: colors.secondary.background, - text: colors.secondary.buttonForeground, + text: colors.primary.buttonForeground, selected: colors.secondary.background, borderWidth: 0.8, borderColor: getColorLinearShade(colors.secondary.background, 0.05, isDark), diff --git a/apps/mobile/app/services/settings.ts b/apps/mobile/app/services/settings.ts index a6d75aeca..bdb280ae8 100644 --- a/apps/mobile/app/services/settings.ts +++ b/apps/mobile/app/services/settings.ts @@ -123,6 +123,8 @@ function init() { scale.fontScale = settings.fontScale; } + settings.introCompleted = false; + useSettingStore.getState().setSettings({ ...settings }); migrateAppLock(); } diff --git a/apps/mobile/fonts/MaterialCommunityIcons.ttf b/apps/mobile/fonts/MaterialCommunityIcons.ttf index 782b6276e3017c6a2ce97ebe0cb45275b0152341..710a7afd21adf0e3bcab887d2a685a5318c5c5d0 100644 GIT binary patch delta 2033 zcmW-hdr(wm7>A!-5O!JEv%qo(xri{$IHpEsNJ&~|R#s+a3MPukAP6BTIOH0Y8JSs@ znwD9EluD(6T}hoTj#G@IPBM-)W)2l;V@^|z(|GB(?;p>3zVF*}&Ug8}XIJ&R)|_yy z&k4=xOgaOuSn!-)RNGQDxACtM@cse!eP6w>qOu~pbR|4;5ExsnfrzhMU#fpe{ru{> zre-(SuEFd~y`#0ZenG{FSqG29oXzU5sH$l+&7H9lDm-#1C^JLS8K5QG~u445jHiE`bfT}3n*aId^fEZ6unxy69{ z4XBZ?8n75=$n6Hy$~rv(b@FuOuL~?uXQ8N4yIyWI;4yin0pYP%3|J~_ zp#l`qkT(r@T<$kOaSi#|faN$*egjmXQK}08ErgsXO&(RR&I%AXtX0*+T-kbrfvK6meEwO^D&({u^vq1}3QWCC86 zw;HfPepl?&xQ^fZfdL!k{RV83wR-`ZA{3xc%%?nk;XfJ0;!`97I^_2a*ntzP;u6p)&o$s3dAcFEe2fZg%|1G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k%!8hUo3ID$GwmDg`yD>V0!Pwuz;WJbb;g{VoF~!)>7D6cx(u!o*CN+;*RbonYs_^` z^{ch&26c}*teLfPZI0HU^=Myf-)WaJd>O47$1=tjM|`EeZCS{w%36~(kaZ#3l)W$eWR8|onv=*m<~RAP{7wF( zzt4Xmw>q~qcTesQxz_^W!0DhlSP@(p+!y>dgpfaUYbX&K$Q#TX%ex+qgloc^^O2vK zKRv%8e`o%1#1%_5KzjQKxW27Chm diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po index 312225541..4511d4d22 100644 --- a/packages/intl/locale/en.po +++ b/packages/intl/locale/en.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2026-06-16 13:15+0500\n" +"POT-Creation-Date: 2026-06-16 13:42+0500\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -771,13 +771,10 @@ msgid "Add to notebook" msgstr "Add to notebook" #: src/strings.ts:990 +#: src/strings.ts:2843 msgid "Add your first note" msgstr "Add your first note" -#: src/strings.ts:2843 -msgid "Add Your First Note" -msgstr "Add Your First Note" - #: src/strings.ts:991 msgid "Add your first notebook" msgstr "Add your first notebook" @@ -1889,8 +1886,8 @@ msgid "Confirm new password" msgstr "Confirm new password" #: src/strings.ts:1501 -msgid "Confirm Password" -msgstr "Confirm Password" +msgid "Confirm password" +msgstr "Confirm password" #: src/strings.ts:2748 msgid "Confirm password required" @@ -2038,8 +2035,8 @@ msgid "Create a tag to group related notes together." msgstr "Create a tag to group related notes together." #: src/strings.ts:1870 -msgid "Create Account" -msgstr "Create Account" +msgid "Create account" +msgstr "Create account" #: src/strings.ts:2689 msgid "Create API Key" @@ -3310,8 +3307,8 @@ msgid "Free plan" msgstr "Free plan" #: src/strings.ts:2815 -msgid "Frequently Asked Questions" -msgstr "Frequently Asked Questions" +msgid "Frequently asked questions" +msgstr "Frequently asked questions" #: src/strings.ts:627 msgid "Fri" @@ -4129,8 +4126,8 @@ msgid "Login to upload attachments. [Read more](https://help.notesnook.com/faqs/ msgstr "Login to upload attachments. [Read more](https://help.notesnook.com/faqs/login-to-upload-attachments)" #: src/strings.ts:542 -msgid "Login to your Account" -msgstr "Login to your Account" +msgid "Login to your account" +msgstr "Login to your account" #: src/strings.ts:776 msgid "Logout" @@ -4463,8 +4460,8 @@ msgid "Newest - oldest" msgstr "Newest - oldest" #: src/strings.ts:2837 -msgid "Newest First" -msgstr "Newest First" +msgid "Newest first" +msgstr "Newest first" #: src/strings.ts:1156 msgid "Newly created notes will be uncategorized" @@ -4475,8 +4472,8 @@ msgid "Next" msgstr "Next" #: src/strings.ts:2831 -msgid "Next Billing Date" -msgstr "Next Billing Date" +msgid "Next billing date" +msgstr "Next billing date" #: src/strings.ts:2410 msgid "Next match" @@ -4792,8 +4789,8 @@ msgid "Oldest - newest" msgstr "Oldest - newest" #: src/strings.ts:2838 -msgid "Oldest First" -msgstr "Oldest First" +msgid "Oldest first" +msgstr "Oldest first" #: src/strings.ts:736 msgid "Once your password is changed, please make sure to save the new account recovery key" @@ -4989,8 +4986,8 @@ msgid "Payment method" msgstr "Payment method" #: src/strings.ts:2823 -msgid "Payment Summary" -msgstr "Payment Summary" +msgid "Payment summary" +msgstr "Payment summary" #: src/strings.ts:788 msgid "PDF is password protected" @@ -5334,8 +5331,8 @@ msgid "Private key required" msgstr "Private key required" #: src/strings.ts:2732 -msgid "Private Key:" -msgstr "Private Key:" +msgid "Private key:" +msgstr "Private key:" #: src/strings.ts:829 msgid "Private." @@ -5390,8 +5387,8 @@ msgid "Public key required" msgstr "Public key required" #: src/strings.ts:2731 -msgid "Public Key:" -msgstr "Public Key:" +msgid "Public key:" +msgstr "Public key:" #: src/strings.ts:486 msgid "Publish" @@ -5530,8 +5527,8 @@ msgid "Recover your account" msgstr "Recover your account" #: src/strings.ts:2847 -msgid "Recovery Code" -msgstr "Recovery Code" +msgid "Recovery code" +msgstr "Recovery code" #: src/strings.ts:1021 msgid "Recovery codes copied!" @@ -6234,8 +6231,8 @@ msgid "Select nth day of the month to repeat the reminder." msgstr "Select nth day of the month to repeat the reminder." #: src/strings.ts:2814 -msgid "Select Plan" -msgstr "Select Plan" +msgid "Select plan" +msgstr "Select plan" #: src/strings.ts:1838 msgid "Select profile picture" @@ -7230,8 +7227,8 @@ msgid "Turns off syncing completely on this device. Any changes made will remain msgstr "Turns off syncing completely on this device. Any changes made will remain local only and new changes from your other devices won't sync to this device." #: src/strings.ts:110 -msgid "Two Factor Authentication" -msgstr "Two Factor Authentication" +msgid "Two factor authentication" +msgstr "Two factor authentication" #: src/strings.ts:494 msgid "Two-factor authentication" @@ -7781,8 +7778,8 @@ msgid "What went wrong?" msgstr "What went wrong?" #: src/strings.ts:2822 -msgid "What's Included" -msgstr "What's Included" +msgid "What's included" +msgstr "What's included" #: src/strings.ts:2541 msgid "Why do you need my credit card details for a free trial?" diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.po index 406ab834e..8437cfd78 100644 --- a/packages/intl/locale/pseudo-LOCALE.po +++ b/packages/intl/locale/pseudo-LOCALE.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2026-06-16 13:15+0500\n" +"POT-Creation-Date: 2026-06-16 13:42+0500\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -771,11 +771,8 @@ msgid "Add to notebook" msgstr "" #: src/strings.ts:990 -msgid "Add your first note" -msgstr "" - #: src/strings.ts:2843 -msgid "Add Your First Note" +msgid "Add your first note" msgstr "" #: src/strings.ts:991 @@ -1878,7 +1875,7 @@ msgid "Confirm new password" msgstr "" #: src/strings.ts:1501 -msgid "Confirm Password" +msgid "Confirm password" msgstr "" #: src/strings.ts:2748 @@ -2027,7 +2024,7 @@ msgid "Create a tag to group related notes together." msgstr "" #: src/strings.ts:1870 -msgid "Create Account" +msgid "Create account" msgstr "" #: src/strings.ts:2689 @@ -3292,7 +3289,7 @@ msgid "Free plan" msgstr "" #: src/strings.ts:2815 -msgid "Frequently Asked Questions" +msgid "Frequently asked questions" msgstr "" #: src/strings.ts:627 @@ -4109,7 +4106,7 @@ msgid "Login to upload attachments. [Read more](https://help.notesnook.com/faqs/ msgstr "" #: src/strings.ts:542 -msgid "Login to your Account" +msgid "Login to your account" msgstr "" #: src/strings.ts:776 @@ -4443,7 +4440,7 @@ msgid "Newest - oldest" msgstr "" #: src/strings.ts:2837 -msgid "Newest First" +msgid "Newest first" msgstr "" #: src/strings.ts:1156 @@ -4455,7 +4452,7 @@ msgid "Next" msgstr "" #: src/strings.ts:2831 -msgid "Next Billing Date" +msgid "Next billing date" msgstr "" #: src/strings.ts:2410 @@ -4766,7 +4763,7 @@ msgid "Oldest - newest" msgstr "" #: src/strings.ts:2838 -msgid "Oldest First" +msgid "Oldest first" msgstr "" #: src/strings.ts:736 @@ -4963,7 +4960,7 @@ msgid "Payment method" msgstr "" #: src/strings.ts:2823 -msgid "Payment Summary" +msgid "Payment summary" msgstr "" #: src/strings.ts:788 @@ -5308,7 +5305,7 @@ msgid "Private key required" msgstr "" #: src/strings.ts:2732 -msgid "Private Key:" +msgid "Private key:" msgstr "" #: src/strings.ts:829 @@ -5364,7 +5361,7 @@ msgid "Public key required" msgstr "" #: src/strings.ts:2731 -msgid "Public Key:" +msgid "Public key:" msgstr "" #: src/strings.ts:486 @@ -5504,7 +5501,7 @@ msgid "Recover your account" msgstr "" #: src/strings.ts:2847 -msgid "Recovery Code" +msgid "Recovery code" msgstr "" #: src/strings.ts:1021 @@ -6208,7 +6205,7 @@ msgid "Select nth day of the month to repeat the reminder." msgstr "" #: src/strings.ts:2814 -msgid "Select Plan" +msgid "Select plan" msgstr "" #: src/strings.ts:1838 @@ -7189,7 +7186,7 @@ msgid "Turns off syncing completely on this device. Any changes made will remain msgstr "" #: src/strings.ts:110 -msgid "Two Factor Authentication" +msgid "Two factor authentication" msgstr "" #: src/strings.ts:494 @@ -7731,7 +7728,7 @@ msgid "What went wrong?" msgstr "" #: src/strings.ts:2822 -msgid "What's Included" +msgid "What's included" msgstr "" #: src/strings.ts:2541 diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.ts index 7e88e7899..00c76f5eb 100644 --- a/packages/intl/src/strings.ts +++ b/packages/intl/src/strings.ts @@ -107,7 +107,7 @@ export const strings = { }, alreadyHaveAccount: () => t`Already have an account?`, login: () => t`Login`, - "2fa": () => t`Two Factor Authentication`, + "2fa": () => t`Two factor authentication`, select2faMethod: () => t`Choose 2FA Method`, select2faCodeHelpText: () => t`Select how you would like to recieve the code`, "2faCodeHelpText": { @@ -539,7 +539,7 @@ $day$: Current day (eg. Monday)`, appliedDark: () => t`Applied as dark theme`, appliedLight: () => t`Applied as light theme`, basic: () => t`Basic`, - loginToYourAccount: () => t`Login to your Account`, + loginToYourAccount: () => t`Login to your account`, continue: () => t`Continue`, unlockWithBiometrics: () => t`Unlock with biometrics`, fileCheck: () => t`Run file check`, @@ -1498,7 +1498,7 @@ $day$: Current day (eg. Monday)`, newPassword: () => t`New password`, email: () => t`Email`, emailInvalid: () => t`Invalid email`, - confirmPassword: () => t`Confirm Password`, + confirmPassword: () => t`Confirm password`, currentPin: () => t`Current pin`, currentPassword: () => t`Current password`, newPin: () => t`New pin`, @@ -1867,7 +1867,7 @@ For example: newEmail: () => t`New Email`, accountPassword: () => t`Account password`, phoneNumber: () => t`Phone number`, - createAccount: () => t`Create Account`, + createAccount: () => t`Create account`, accountRecoverHelpText: () => t`You will receive instructions on how to recover your account on this email`, enterRecoveryKey: () => t`Enter account recovery key`, @@ -2728,8 +2728,8 @@ Use this if changes from other devices are not appearing on this device. This wi expiresOn: () => t`Expires on`, changingInboxPgpKeysNotice: () => t`Changing Inbox PGP keys will delete all your unsynced inbox items.`, - publicKey: () => t`Public Key:`, - privateKey: () => t`Private Key:`, + publicKey: () => t`Public key:`, + privateKey: () => t`Private key:`, invalidPgpKeyPair: () => t`Invalid PGP key pair. Please check your keys and try again.`, inboxKeysSaved: () => t`Inbox keys saved`, @@ -2811,16 +2811,16 @@ Continue without attachments?`, enterPgpPublicKey: () => t`Enter your PGP public key`, enterPgpPrivateKey: () => t`Enter your PGP private key`, expiryDateRemoved: () => t`Expiry date removed`, - selectPlan: () => t`Select Plan`, - frequentlyAskedQuestions: () => t`Frequently Asked Questions`, + selectPlan: () => t`Select plan`, + frequentlyAskedQuestions: () => t`Frequently asked questions`, testimonials: () => t`Testimonials`, billingType: { annual: () => t`Billed annually`, monthly: () => t`Billed monthly`, oneTime: () => t`One time purchase` }, - whatsIncluded: () => t`What's Included`, - paymentSummary: () => t`Payment Summary`, + whatsIncluded: () => t`What's included`, + paymentSummary: () => t`Payment summary`, planWhatsIncluded: { unlimitedNotes: () => t`Unlimited notes and attachments`, endToEnd: () => t`End-to-end encryption (XChaCha20)`, @@ -2828,23 +2828,23 @@ Continue without attachments?`, freeTrial: (days: number) => t`Free ${days} days trial, cancel anytime`, remind: () => t`Remind before your trial ends` }, - nextBillingDate: () => t`Next Billing Date`, + nextBillingDate: () => t`Next billing date`, freeTrialIncludes: (duration: number) => t`${duration} days free trial includes all features`, noTagsYet: () => t`No tags yet`, tagsEmptyBody: () => t`Create your first tag to start organizing your workspace.`, - newestFirst: () => t`Newest First`, - oldestFirst: () => t`Oldest First`, + newestFirst: () => t`Newest first`, + oldestFirst: () => t`Oldest first`, notePlaceholder: { title: () => t`No notes yet`, description: () => t`Your thoughts deserve a home. Create your first note and start organizing your life today.`, - button: () => t`Add Your First Note` + button: () => t`Add your first note` }, settingUpYourAccount: () => t`Setting up your account...`, accountAlmostReady: () => t`Your account is almost ready, please wait.`, - recoveryCodeTitle: () => t`Recovery Code`, + recoveryCodeTitle: () => t`Recovery code`, provideValidMultiFactorAuthRecoveryCode: () => t`Please provide a valid multi factor authentication recovery code.`, provideValidMultiFactorAuthCode: () =>