[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 <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith 2024-10-25 17:04:39 +02:00 committed by GitHub
parent 122c3c7809
commit 3b82a82416
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 8 deletions

View File

@ -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"

View File

@ -1,5 +1,5 @@
<popup-page>
<popup-header slot="header" [pageTitle]="'passwordHistory' | i18n" showBackButton>
<popup-header slot="header" [pageTitle]="'generatorHistory' | i18n" showBackButton>
<ng-container slot="end">
<app-pop-out></app-pop-out>
</ng-container>

View File

@ -8,7 +8,7 @@
<tools-credential-generator />
<bit-item>
<a type="button" bit-item-content routerLink="/generator-history">
{{ "passwordHistory" | i18n }}
{{ "generatorHistory" | i18n }}
<i slot="end" class="bwi bwi-angle-right" aria-hidden="true"></i>
</a>
</bit-item>

View File

@ -1,7 +1,7 @@
<div class="tw-flex tw-flex-col tw-h-full tw-justify-center">
<div class="tw-text-center">
<bit-icon [icon]="noCredentialsIcon" aria-hidden="true"></bit-icon>
<h2 bitTypography="h4" class="tw-mt-3">{{ "noPasswordsToShow" | i18n }}</h2>
<div>{{ "noRecentlyGeneratedPassword" | i18n }}</div>
<h2 bitTypography="h4" class="tw-mt-3">{{ "nothingToShow" | i18n }}</h2>
<div>{{ "nothingGeneratedRecently" | i18n }}</div>
</div>
</div>