refactor, feat: added proton auth support, added instruction for proton, added errors, some refactor and cleanup

This commit is contained in:
2025-08-08 17:21:54 +03:00
parent 52d053e024
commit eaf6aefd5b
12 changed files with 170 additions and 115 deletions

View File

@@ -10,7 +10,9 @@ export const colors = {
export const content = {
addTotpsHint:
"For add a 2FA TOTP record you must have otpauth:// link or otpauth-migration:// link from Google Authenticator Migration QR-Code",
"For add a 2FA TOTP record you must have otpauth:// link otpauth-migration://" +
"link from Google Authenticator Migration QR-Code or Proton authenticator Export JSON string." +
"If you have a questions - check instruction below!",
totpRecordsHint: "TOTP records:",
createButton: {
placeHolder: "otpauth(-migration)://",
@@ -24,6 +26,14 @@ export const content = {
label: "Change TOTP link",
placeHolder: "otpauth(-migration)://",
},
renameButtons: {
rename: "Rename",
renameIssuer: "Rename Issuer",
renameClient: "Rename Client"
},
saveButton: {
label: "Save"
},
deleteButton: {
label: "Delete",
},