From 6d1a1b5e16b1fe228f9696f39e57b4d5ba3100f2 Mon Sep 17 00:00:00 2001 From: Sergej Schwabauer Date: Tue, 22 Mar 2022 10:56:09 +0100 Subject: [PATCH] Added Info if Master PW Lost --- config/package-solution.json | 1 + src/webparts/passwordVault/components/PasswordVault.tsx | 5 +++++ src/webparts/passwordVault/loc/de-de.js | 3 ++- src/webparts/passwordVault/loc/en-us.js | 3 ++- src/webparts/passwordVault/loc/mystrings.d.ts | 1 + 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/config/package-solution.json b/config/package-solution.json index cf753b8f0..ad26b8192 100644 --- a/config/package-solution.json +++ b/config/package-solution.json @@ -5,6 +5,7 @@ "id": "d091b369-f63d-459c-846e-5a4323e31745", "version": "1.0.0.0", "includeClientSideAssets": true, + "skipFeatureDeployment": true, "isDomainIsolated": false, "developer": { "name": "SPFXAppDev", diff --git a/src/webparts/passwordVault/components/PasswordVault.tsx b/src/webparts/passwordVault/components/PasswordVault.tsx index 69b3f423a..e1966e788 100644 --- a/src/webparts/passwordVault/components/PasswordVault.tsx +++ b/src/webparts/passwordVault/components/PasswordVault.tsx @@ -244,6 +244,10 @@ export default class PasswordVault extends SPFxAppDevWebPartComponent + + {strings.DontLoseMasterpasswordLabel} +
@@ -350,6 +354,7 @@ export default class PasswordVault extends SPFxAppDevWebPartComponent
+ } ); diff --git a/src/webparts/passwordVault/loc/de-de.js b/src/webparts/passwordVault/loc/de-de.js index c7ce87a95..f27a8ee9f 100644 --- a/src/webparts/passwordVault/loc/de-de.js +++ b/src/webparts/passwordVault/loc/de-de.js @@ -13,6 +13,7 @@ define([], function() { "WrongPasswordLabel": "Falsches Passwort", "OpenVaultLabel": "Tresor entsperren", "UsernameCopiedLabel": "Benutzername kopiert", - "PasswordCopiedLabel": "Passwort kopiert" + "PasswordCopiedLabel": "Passwort kopiert", + "DontLoseMasterpasswordLabel": "Wenn Sie das Master passwort vergessen, können Sie den Tresor nicht mehr entsperren und alle Daten gehen verloren. Es ist nicht möglich das Passwort wiederherzustellen." } }); \ No newline at end of file diff --git a/src/webparts/passwordVault/loc/en-us.js b/src/webparts/passwordVault/loc/en-us.js index 93caae3c5..2204415cc 100644 --- a/src/webparts/passwordVault/loc/en-us.js +++ b/src/webparts/passwordVault/loc/en-us.js @@ -13,6 +13,7 @@ define([], function() { "WrongPasswordLabel": "Wrong Password", "OpenVaultLabel": "Open vault", "UsernameCopiedLabel": "Username copied", - "PasswordCopiedLabel": "Password copied" + "PasswordCopiedLabel": "Password copied", + "DontLoseMasterpasswordLabel": "If you forget the master password, you will not be able to unlock the vault and all data will be lost. It is not possible to recover the password." } }); \ No newline at end of file diff --git a/src/webparts/passwordVault/loc/mystrings.d.ts b/src/webparts/passwordVault/loc/mystrings.d.ts index 8a311b462..405634401 100644 --- a/src/webparts/passwordVault/loc/mystrings.d.ts +++ b/src/webparts/passwordVault/loc/mystrings.d.ts @@ -13,6 +13,7 @@ declare interface IPasswordVaultWebPartStrings { OpenVaultLabel: string; UsernameCopiedLabel: string; PasswordCopiedLabel: string; + DontLoseMasterpasswordLabel: string; } declare module 'PasswordVaultWebPartStrings' {