Skip to content

Commit

Permalink
intl: fix strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Oct 19, 2024
1 parent 289832d commit 71b85d2
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 11 deletions.
24 changes: 20 additions & 4 deletions packages/intl/locale/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,10 @@ msgstr "Cancel"
msgid "Cancel download"
msgstr "Cancel download"

#: src/strings.ts:528
msgid "Cancel login"
msgstr "Cancel login"

#: src/strings.ts:1801
msgid "Cancel subscription"
msgstr "Cancel subscription"
Expand Down Expand Up @@ -1328,8 +1332,12 @@ msgid "Create Vault"
msgstr "Create Vault"

#: src/strings.ts:498
msgid "Create your {\"\\n\"}account"
msgstr "Create your {\"\\n\"}account"
#~ msgid "Create your {\"\\n\"}account"
#~ msgstr "Create your {\"\\n\"}account"

#: src/strings.ts:498
msgid "Create your account"
msgstr "Create your account"

#: src/strings.ts:31
msgid "created"
Expand Down Expand Up @@ -2982,8 +2990,16 @@ msgid "Login to encrypt and sync notes"
msgstr "Login to encrypt and sync notes"

#: src/strings.ts:516
msgid "Login to your {\"\\n\"}account"
msgstr "Login to your {\"\\n\"}account"
#~ msgid "Login to your {\"\\n\"}account"
#~ msgstr "Login to your {\"\\n\"}account"

#: src/strings.ts:516
#~ msgid "Login to your \\naccount"
#~ msgstr "Login to your \\naccount"

#: src/strings.ts:516
msgid "Login to your account"
msgstr "Login to your account"

#: src/strings.ts:733
msgid "Logout"
Expand Down
20 changes: 18 additions & 2 deletions packages/intl/locale/pseudo-LOCALE.po
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,10 @@ msgstr ""
msgid "Cancel download"
msgstr ""

#: src/strings.ts:528
msgid "Cancel login"
msgstr ""

#: src/strings.ts:1801
msgid "Cancel subscription"
msgstr ""
Expand Down Expand Up @@ -1321,7 +1325,11 @@ msgid "Create Vault"
msgstr ""

#: src/strings.ts:498
msgid "Create your {\"\\n\"}account"
#~ msgid "Create your {\"\\n\"}account"
#~ msgstr ""

#: src/strings.ts:498
msgid "Create your account"
msgstr ""

#: src/strings.ts:31
Expand Down Expand Up @@ -2968,7 +2976,15 @@ msgid "Login to encrypt and sync notes"
msgstr ""

#: src/strings.ts:516
msgid "Login to your {\"\\n\"}account"
#~ msgid "Login to your {\"\\n\"}account"
#~ msgstr ""

#: src/strings.ts:516
#~ msgid "Login to your \\naccount"
#~ msgstr ""

#: src/strings.ts:516
msgid "Login to your account"
msgstr ""

#: src/strings.ts:733
Expand Down
18 changes: 13 additions & 5 deletions packages/intl/src/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ $headline$: Use starting line of the note as title.`,
},
regenerate: () => t`Regenerate`,
redo: () => t`Redo`,
createYourAccount: () => t`Create your {"\n"}account`,
createYourAccount: () => t`Create your account`,
pinned: () => t`Pinned`,
editNotebook: () => t`Edit notebook`,
newNotebook: () => t`New notebook`,
Expand All @@ -513,7 +513,7 @@ $headline$: Use starting line of the note as title.`,
appliedDark: () => t`Applied as dark theme`,
appliedLight: () => t`Applied as light theme`,
basic: () => t`Basic`,
loginToYourAccount: () => t`Login to your {"\n"}account`,
loginToYourAccount: () => t`Login to your account`,
continue: () => t`Continue`,
unlockWithBiometrics: () => t`Unlock with biometrics`,
fileCheck: () => t`Run file check`,
Expand All @@ -525,7 +525,7 @@ $headline$: Use starting line of the note as title.`,
changePasswordConfirm: () => t`I understand, change my password`,
next: () => t`Next`,
forgotPassword: () => t`Forgot password?`,
cancelLogin: "Cancel login",
cancelLogin: () => t`Cancel login`,
logoutFromDevice: () => t`Logout from this device`,
useAccountPassword: () => t`Use account password`,
addColor: () => t`Add color`,
Expand Down Expand Up @@ -1069,12 +1069,20 @@ $headline$: Use starting line of the note as title.`,
t`Sync your notes in the background even when the app is closed. This is an experimental feature. If you face any issues, please turn it off.`,
forcePullChanges: () => t`Force pull changes`,
forcePullChangesDesc: () =>
t`Use this if changes from other devices are not appearing on this device. This will overwrite the data on this device with the latest data from the server.\n\nThis must only be used for troubleshooting. Using it regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at support@streetwriters.co.`,
[
t`Use this if changes from other devices are not appearing on this device. This will overwrite the data on this device with the latest data from the server.`,
"",
t`This must only be used for troubleshooting. Using it regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at support@streetwriters.co.`
].join("\n"),
forceSyncNotice: () =>
`This must only be used for troubleshooting. Using this regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at support@streetwriters.co.`,
forcePushChanges: () => t`Force push changes`,
forcePushChangesDesc: () =>
t`Use this if changes made on this device are not appearing on other devices. This will overwrite the data on the server with the data from this device.\n\nThis must only be used for troubleshooting. Using it regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at support@streetwriters.co.`,
[
t`Use this if changes made on this device are not appearing on other devices. This will overwrite the data on the server with the data from this device.`,
"",
t`This must only be used for troubleshooting. Using it regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at support@streetwriters.co.`
].join("\n"),
start: () => t`Start`,
customization: () => t`Customization`,
appearance: () => t`Appearance`,
Expand Down

0 comments on commit 71b85d2

Please sign in to comment.