mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[PS-2022] Add autofill values for german websites (#4210)
* Add autofill values for german websites * Added commonly used fieldnames for German websites --------- Co-authored-by: Daniel James Smith <djsmith@web.de>
This commit is contained in:
@@ -277,7 +277,13 @@ export class IdentityAutoFillConstants {
|
|||||||
|
|
||||||
static readonly FullNameFieldNameValues: string[] = ["full-name", "your-name"];
|
static readonly FullNameFieldNameValues: string[] = ["full-name", "your-name"];
|
||||||
|
|
||||||
static readonly TitleFieldNames: string[] = ["honorific-prefix", "prefix", "title"];
|
static readonly TitleFieldNames: string[] = [
|
||||||
|
"honorific-prefix",
|
||||||
|
"prefix",
|
||||||
|
"title",
|
||||||
|
// German
|
||||||
|
"anrede",
|
||||||
|
];
|
||||||
|
|
||||||
static readonly FirstnameFieldNames: string[] = [
|
static readonly FirstnameFieldNames: string[] = [
|
||||||
// English
|
// English
|
||||||
@@ -323,6 +329,9 @@ export class IdentityAutoFillConstants {
|
|||||||
"billing-addr",
|
"billing-addr",
|
||||||
"mail-addr",
|
"mail-addr",
|
||||||
"bill-addr",
|
"bill-addr",
|
||||||
|
// German
|
||||||
|
"strasse",
|
||||||
|
"adresse",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly AddressFieldNameValues: string[] = [
|
static readonly AddressFieldNameValues: string[] = [
|
||||||
@@ -365,6 +374,9 @@ export class IdentityAutoFillConstants {
|
|||||||
"address-code",
|
"address-code",
|
||||||
"address-postal-code",
|
"address-postal-code",
|
||||||
"address-zip-code",
|
"address-zip-code",
|
||||||
|
// German
|
||||||
|
"plz",
|
||||||
|
"postleitzahl",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly CityFieldNames: string[] = [
|
static readonly CityFieldNames: string[] = [
|
||||||
@@ -373,6 +385,10 @@ export class IdentityAutoFillConstants {
|
|||||||
"address-level-2",
|
"address-level-2",
|
||||||
"address-city",
|
"address-city",
|
||||||
"address-town",
|
"address-town",
|
||||||
|
// German
|
||||||
|
"ort",
|
||||||
|
"stadt",
|
||||||
|
"wohnort",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly StateFieldNames: string[] = [
|
static readonly StateFieldNames: string[] = [
|
||||||
@@ -382,6 +398,8 @@ export class IdentityAutoFillConstants {
|
|||||||
"address-level-1",
|
"address-level-1",
|
||||||
"address-state",
|
"address-state",
|
||||||
"address-province",
|
"address-province",
|
||||||
|
// German
|
||||||
|
"bundesland",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly CountryFieldNames: string[] = [
|
static readonly CountryFieldNames: string[] = [
|
||||||
@@ -391,6 +409,8 @@ export class IdentityAutoFillConstants {
|
|||||||
"address-country",
|
"address-country",
|
||||||
"address-country-name",
|
"address-country-name",
|
||||||
"address-country-code",
|
"address-country-code",
|
||||||
|
// German
|
||||||
|
"land",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly PhoneFieldNames: string[] = [
|
static readonly PhoneFieldNames: string[] = [
|
||||||
@@ -400,6 +420,11 @@ export class IdentityAutoFillConstants {
|
|||||||
"tel",
|
"tel",
|
||||||
"telephone",
|
"telephone",
|
||||||
"phone-number",
|
"phone-number",
|
||||||
|
// German
|
||||||
|
"telefon",
|
||||||
|
"telefonnummer",
|
||||||
|
"mobil",
|
||||||
|
"handy",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly UserNameFieldNames: string[] = ["user-name", "user-id", "screen-name"];
|
static readonly UserNameFieldNames: string[] = ["user-name", "user-id", "screen-name"];
|
||||||
@@ -409,6 +434,8 @@ export class IdentityAutoFillConstants {
|
|||||||
"company-name",
|
"company-name",
|
||||||
"organization",
|
"organization",
|
||||||
"organization-name",
|
"organization-name",
|
||||||
|
// German
|
||||||
|
"firma",
|
||||||
];
|
];
|
||||||
|
|
||||||
static readonly IsoCountries: { [id: string]: string } = {
|
static readonly IsoCountries: { [id: string]: string } = {
|
||||||
|
|||||||
Reference in New Issue
Block a user