[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": { "passwordHistory": {
"message": "Password history" "message": "Password history"
}, },
"generatorHistory": {
"message": "Generator history"
},
"back": { "back": {
"message": "Back" "message": "Back"
}, },
@ -1910,11 +1913,11 @@
"clearHistory": { "clearHistory": {
"message": "Clear history" "message": "Clear history"
}, },
"noPasswordsToShow": { "nothingToShow": {
"message": "No passwords to show" "message": "Nothing to show"
}, },
"noRecentlyGeneratedPassword": { "nothingGeneratedRecently": {
"message": "You haven't generated a password recently" "message": "You haven't generated anything recently"
}, },
"remove": { "remove": {
"message": "Remove" "message": "Remove"

View File

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

View File

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

View File

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