Skip to content

Commit

Permalink
fix: add backup password hint (#15613)
Browse files Browse the repository at this point in the history
* fix: self leave conversation shouldn't be archieved automatically

* fix: backup password hint
  • Loading branch information
arjita-mitra committed Aug 18, 2023
1 parent 5af80a4 commit 7583bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/i18n/en-US.json
Expand Up @@ -230,6 +230,7 @@
"backupImportIncompatibleErrorHeadline": "Wrong backup",
"backupImportIncompatibleErrorSecondary": "You cannot restore history from a different account.",
"backupImportPasswordErrorHeadline": "Wrong Password",
"backupPasswordHint": "Use at least {{minPasswordLength}} characters, with one lowercase letter, one capital letter, a number, and a special character.",
"backupImportPasswordErrorSecondary": "Please verify your input and try again",
"backupImportProgressHeadline": "Preparing…",
"backupImportProgressSecondary": "Restoring history · {{processed}} of {{total}} — {{progress}}%",
Expand Down
2 changes: 1 addition & 1 deletion src/script/components/Modals/PrimaryModal/PrimaryModal.tsx
Expand Up @@ -231,7 +231,7 @@ export const PrimaryModalComponent: FC = () => {
}
autoComplete="password"
pattern=".{2,64}"
helperText={t('accountForm.passwordHelp', {
helperText={t('backupPasswordHint', {
minPasswordLength: Config.getConfig().NEW_PASSWORD_MINIMUM_LENGTH.toString(),
})}
/>
Expand Down

0 comments on commit 7583bf8

Please sign in to comment.