From 5b96e8a5aaf03c749bac177628f3579f13df93e6 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 + packages/intl/locale/en.po | 55 +++++++++---------- packages/intl/locale/pseudo-LOCALE.po | 31 +++++------ packages/intl/src/strings.ts | 26 ++++----- 7 files changed, 62 insertions(+), 66 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 2eab0981e..e86ad6555 100644 --- a/apps/mobile/app/services/settings.ts +++ b/apps/mobile/app/services/settings.ts @@ -133,6 +133,8 @@ function init() { scale.fontScale = settings.fontScale; } + settings.introCompleted = false; + useSettingStore.getState().setSettings({ ...settings }); migrateAppLock(); } diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po index 05638c0a2..97de1cf00 100644 --- a/packages/intl/locale/en.po +++ b/packages/intl/locale/en.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2026-07-23 08:49+0500\n" +"POT-Creation-Date: 2026-07-23 08:50+0500\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -789,13 +789,10 @@ msgid "Add to notebook" msgstr "Add to notebook" #: src/strings.ts:990 +#: src/strings.ts:2861 msgid "Add your first note" msgstr "Add your first note" -#: src/strings.ts:2861 -msgid "Add Your First Note" -msgstr "Add Your First Note" - #: src/strings.ts:991 msgid "Add your first notebook" msgstr "Add your first notebook" @@ -1915,8 +1912,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" @@ -2064,8 +2061,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" @@ -4167,8 +4164,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" @@ -4501,8 +4498,8 @@ msgid "Newest - oldest" msgstr "Newest - oldest" #: src/strings.ts:2855 -msgid "Newest First" -msgstr "Newest First" +msgid "Newest first" +msgstr "Newest first" #: src/strings.ts:1156 msgid "Newly created notes will be uncategorized" @@ -4513,8 +4510,8 @@ msgid "Next" msgstr "Next" #: src/strings.ts:2849 -msgid "Next Billing Date" -msgstr "Next Billing Date" +msgid "Next billing date" +msgstr "Next billing date" #: src/strings.ts:2410 msgid "Next match" @@ -4834,8 +4831,8 @@ msgid "Oldest - newest" msgstr "Oldest - newest" #: src/strings.ts:2856 -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" @@ -5031,8 +5028,8 @@ msgid "Payment method" msgstr "Payment method" #: src/strings.ts:2841 -msgid "Payment Summary" -msgstr "Payment Summary" +msgid "Payment summary" +msgstr "Payment summary" #: src/strings.ts:788 msgid "PDF is password protected" @@ -5380,8 +5377,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." @@ -5436,8 +5433,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" @@ -5576,8 +5573,8 @@ msgid "Recover your account" msgstr "Recover your account" #: src/strings.ts:2865 -msgid "Recovery Code" -msgstr "Recovery Code" +msgid "Recovery code" +msgstr "Recovery code" #: src/strings.ts:1021 msgid "Recovery codes copied!" @@ -7276,8 +7273,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" @@ -7839,8 +7836,8 @@ msgid "What went wrong?" msgstr "What went wrong?" #: src/strings.ts:2840 -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 95e4eb4e2..289aee7c6 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-07-23 08:49+0500\n" +"POT-Creation-Date: 2026-07-23 08:50+0500\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -789,11 +789,8 @@ msgid "Add to notebook" msgstr "" #: src/strings.ts:990 -msgid "Add your first note" -msgstr "" - #: src/strings.ts:2861 -msgid "Add Your First Note" +msgid "Add your first note" msgstr "" #: src/strings.ts:991 @@ -1904,7 +1901,7 @@ msgid "Confirm new password" msgstr "" #: src/strings.ts:1501 -msgid "Confirm Password" +msgid "Confirm password" msgstr "" #: src/strings.ts:2748 @@ -2053,7 +2050,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 @@ -4147,7 +4144,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 @@ -4481,7 +4478,7 @@ msgid "Newest - oldest" msgstr "" #: src/strings.ts:2855 -msgid "Newest First" +msgid "Newest first" msgstr "" #: src/strings.ts:1156 @@ -4493,7 +4490,7 @@ msgid "Next" msgstr "" #: src/strings.ts:2849 -msgid "Next Billing Date" +msgid "Next billing date" msgstr "" #: src/strings.ts:2410 @@ -4808,7 +4805,7 @@ msgid "Oldest - newest" msgstr "" #: src/strings.ts:2856 -msgid "Oldest First" +msgid "Oldest first" msgstr "" #: src/strings.ts:736 @@ -5005,7 +5002,7 @@ msgid "Payment method" msgstr "<<<<<<< HEAD" #: src/strings.ts:2841 -msgid "Payment Summary" +msgid "Payment summary" msgstr "" #: src/strings.ts:788 @@ -5354,7 +5351,7 @@ msgid "Private key required" msgstr "" #: src/strings.ts:2732 -msgid "Private Key:" +msgid "Private key:" msgstr "" #: src/strings.ts:829 @@ -5410,7 +5407,7 @@ msgid "Public key required" msgstr "" #: src/strings.ts:2731 -msgid "Public Key:" +msgid "Public key:" msgstr "" #: src/strings.ts:486 @@ -5550,7 +5547,7 @@ msgid "Recover your account" msgstr "" #: src/strings.ts:2865 -msgid "Recovery Code" +msgid "Recovery code" msgstr "" #: src/strings.ts:1021 @@ -7235,7 +7232,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 @@ -7789,7 +7786,7 @@ msgid "What went wrong?" msgstr "<<<<<<< HEAD" #: src/strings.ts:2840 -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 4b839d627..19c37a942 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`, @@ -2837,8 +2837,8 @@ Continue without attachments?`, 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)`, @@ -2846,23 +2846,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: () =>