1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

[PM-8594] use singular version of the copy for filters (#9509)

* use singular for collection and type

* use singular verbiage for cipher type

* use type translations for singularity
This commit is contained in:
Nick Krantz 2024-06-06 09:39:21 -05:00 committed by GitHub
parent 47e66bfeb4
commit a7b45a44e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@
*ngIf="collections.length"
formControlName="collection"
placeholderIcon="bwi-collection"
[placeholderText]="'collections' | i18n"
[placeholderText]="'collection' | i18n"
[options]="collections"
>
</bit-chip-select>
@ -32,7 +32,7 @@
<bit-chip-select
formControlName="cipherType"
placeholderIcon="bwi-list"
[placeholderText]="'types' | i18n"
[placeholderText]="'type' | i18n"
[options]="cipherTypes"
>
</bit-chip-select>

View File

@ -139,22 +139,22 @@ export class VaultPopupListFiltersService {
readonly cipherTypes: ChipSelectOption<CipherType>[] = [
{
value: CipherType.Login,
label: this.i18nService.t("logins"),
label: this.i18nService.t("typeLogin"),
icon: "bwi-globe",
},
{
value: CipherType.Card,
label: this.i18nService.t("cards"),
label: this.i18nService.t("typeCard"),
icon: "bwi-credit-card",
},
{
value: CipherType.Identity,
label: this.i18nService.t("identities"),
label: this.i18nService.t("typeIdentity"),
icon: "bwi-id-card",
},
{
value: CipherType.SecureNote,
label: this.i18nService.t("notes"),
label: this.i18nService.t("note"),
icon: "bwi-sticky-note",
},
];