Add more descriptive titles for web vault rows (#5404)

* Add more descriptive titles for web vault rows

* Swap example strings
This commit is contained in:
Robyn MacCallum 2023-05-09 14:03:31 -04:00 committed by GitHub
parent 4174ba3afd
commit 8dc7ead853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View File

@ -24,7 +24,7 @@
[routerLink]="[]" [routerLink]="[]"
[queryParams]="{ itemId: cipher.id }" [queryParams]="{ itemId: cipher.id }"
queryParamsHandling="merge" queryParamsHandling="merge"
title="{{ 'editItem' | i18n }}" title="{{ 'editItemWithName' | i18n : cipher.name }}"
type="button" type="button"
> >
{{ cipher.name }} {{ cipher.name }}

View File

@ -21,6 +21,7 @@
type="button" type="button"
class="tw-w-full tw-overflow-hidden tw-text-ellipsis tw-text-start" class="tw-w-full tw-overflow-hidden tw-text-ellipsis tw-text-start"
linkType="secondary" linkType="secondary"
title="{{ 'viewCollectionWithName' | i18n : collection.name }}"
[routerLink]="[]" [routerLink]="[]"
[queryParams]="{ collectionId: collection.id }" [queryParams]="{ collectionId: collection.id }"
queryParamsHandling="merge" queryParamsHandling="merge"

View File

@ -2751,6 +2751,24 @@
} }
} }
}, },
"viewCollectionWithName": {
"message": "View collection - $NAME$",
"placeholders": {
"name": {
"content": "$1",
"example": "Collection1"
}
}
},
"editItemWithName": {
"message": "Edit item - $NAME$",
"placeholders": {
"name": {
"content": "$1",
"example": "Google Login"
}
}
},
"copiedPasswordItemId": { "copiedPasswordItemId": {
"message": "Copied password for item $ID$.", "message": "Copied password for item $ID$.",
"placeholders": { "placeholders": {