From 3b82a8241696e0d24fd3349385219436dc8478cb Mon Sep 17 00:00:00 2001 From: Daniel James Smith <2670567+djsmith85@users.noreply.github.com> Date: Fri, 25 Oct 2024 17:04:39 +0200 Subject: [PATCH] [PM-13658] Update copy of password history to generator history (#11710) * Update copy from password history to generator history * Update copy on empty state --------- Co-authored-by: Daniel James Smith --- apps/browser/src/_locales/en/messages.json | 11 +++++++---- .../credential-generator-history.component.html | 2 +- .../generator/credential-generator.component.html | 2 +- .../src/empty-credential-history.component.html | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index b8c263652e..0c6dfe9e54 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -1794,6 +1794,9 @@ "passwordHistory": { "message": "Password history" }, + "generatorHistory": { + "message": "Generator history" + }, "back": { "message": "Back" }, @@ -1910,11 +1913,11 @@ "clearHistory": { "message": "Clear history" }, - "noPasswordsToShow": { - "message": "No passwords to show" + "nothingToShow": { + "message": "Nothing to show" }, - "noRecentlyGeneratedPassword": { - "message": "You haven't generated a password recently" + "nothingGeneratedRecently": { + "message": "You haven't generated anything recently" }, "remove": { "message": "Remove" diff --git a/apps/browser/src/tools/popup/generator/credential-generator-history.component.html b/apps/browser/src/tools/popup/generator/credential-generator-history.component.html index 48f0479d8d..06b503534b 100644 --- a/apps/browser/src/tools/popup/generator/credential-generator-history.component.html +++ b/apps/browser/src/tools/popup/generator/credential-generator-history.component.html @@ -1,5 +1,5 @@ - + diff --git a/apps/browser/src/tools/popup/generator/credential-generator.component.html b/apps/browser/src/tools/popup/generator/credential-generator.component.html index fd278592e6..aed02b4617 100644 --- a/apps/browser/src/tools/popup/generator/credential-generator.component.html +++ b/apps/browser/src/tools/popup/generator/credential-generator.component.html @@ -8,7 +8,7 @@ - {{ "passwordHistory" | i18n }} + {{ "generatorHistory" | i18n }} diff --git a/libs/tools/generator/components/src/empty-credential-history.component.html b/libs/tools/generator/components/src/empty-credential-history.component.html index ee28dc5895..f7f35fe936 100644 --- a/libs/tools/generator/components/src/empty-credential-history.component.html +++ b/libs/tools/generator/components/src/empty-credential-history.component.html @@ -1,7 +1,7 @@
-

{{ "noPasswordsToShow" | i18n }}

-
{{ "noRecentlyGeneratedPassword" | i18n }}
+

{{ "nothingToShow" | i18n }}

+
{{ "nothingGeneratedRecently" | i18n }}