1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00: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
2 changed files with 6 additions and 6 deletions

View File

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

View File

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