Ejegg has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/354606 )
Change subject: Use normalized key for supplemental_address_1 ...................................................................... Use normalized key for supplemental_address_1 Change-Id: If176acf49f515956c97541139fbe9d66d790952a --- M adyen_gateway/BlankAddressFields.php M adyen_gateway/config/var_map.yaml M gateway_common/DonationData.php M gateway_common/DonationQueue.php M gateway_common/donation.api.php M gateway_common/i18n/interface/af.json M gateway_common/i18n/interface/ast.json M gateway_common/i18n/interface/ba.json M gateway_common/i18n/interface/bg.json M gateway_common/i18n/interface/cs.json M gateway_common/i18n/interface/cy.json M gateway_common/i18n/interface/de.json M gateway_common/i18n/interface/en.json M gateway_common/i18n/interface/es.json M gateway_common/i18n/interface/fr.json M gateway_common/i18n/interface/gl.json M gateway_common/i18n/interface/he.json M gateway_common/i18n/interface/it.json M gateway_common/i18n/interface/ka.json M gateway_common/i18n/interface/ksh.json M gateway_common/i18n/interface/lij.json M gateway_common/i18n/interface/lt.json M gateway_common/i18n/interface/mk.json M gateway_common/i18n/interface/nb.json M gateway_common/i18n/interface/nl.json M gateway_common/i18n/interface/pt-br.json M gateway_common/i18n/interface/pt.json M gateway_common/i18n/interface/qqq.json M gateway_common/i18n/interface/roa-tara.json M gateway_common/i18n/interface/ru.json M gateway_common/i18n/interface/sv.json M gateway_common/i18n/interface/uk.json M gateway_common/i18n/interface/vi.json M gateway_common/i18n/interface/zh-hans.json M tests/phpunit/DonationDataTest.php 35 files changed, 37 insertions(+), 38 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface refs/changes/06/354606/1 diff --git a/adyen_gateway/BlankAddressFields.php b/adyen_gateway/BlankAddressFields.php index a4675ca..a440c15 100644 --- a/adyen_gateway/BlankAddressFields.php +++ b/adyen_gateway/BlankAddressFields.php @@ -11,7 +11,7 @@ 'city', 'state', 'street', - 'street_supplemental', + 'supplemental_address_1', 'postal_code', ); diff --git a/adyen_gateway/config/var_map.yaml b/adyen_gateway/config/var_map.yaml index 5fae1d1..7629aca 100644 --- a/adyen_gateway/config/var_map.yaml +++ b/adyen_gateway/config/var_map.yaml @@ -4,7 +4,7 @@ billingAddress.postalCode: postal_code billingAddress.stateOrProvince: state billingAddress.street: street -billingAddress.houseNumberOrName: street_supplemental +billingAddress.houseNumberOrName: supplemental_address_1 billingAddressType: billing_address_type blockedMethods: blocked_methods card.cardHolderName: full_name diff --git a/gateway_common/DonationData.php b/gateway_common/DonationData.php index bfd3178..d7a7ac8 100644 --- a/gateway_common/DonationData.php +++ b/gateway_common/DonationData.php @@ -46,7 +46,7 @@ 'fname', 'lname', 'street', - 'street_supplemental', + 'supplemental_address_1', 'city', 'state', 'postal_code', @@ -917,7 +917,7 @@ 'fname', 'lname', 'street', - 'street_supplemental', + 'supplemental_address_1', 'city', 'state', 'country', diff --git a/gateway_common/DonationQueue.php b/gateway_common/DonationQueue.php index a32df89..890a188 100644 --- a/gateway_common/DonationQueue.php +++ b/gateway_common/DonationQueue.php @@ -178,7 +178,7 @@ 'risk_score' => 'risk_score', 'state_province' => 'state', 'street_address' => 'street', - 'supplemental_address_1' => 'street_supplemental', + 'supplemental_address_1' => 'supplemental_address_1', 'subscr_id' => 'subscr_id', 'utm_campaign' => 'utm_campaign', 'utm_medium' => 'utm_medium', @@ -217,7 +217,6 @@ 'last_name' => 'lname', 'state_province' => 'state', 'street_address' => 'street', - 'supplemental_address_1' => 'street_supplemental', ); foreach ( $rekey as $wire => $normal ){ diff --git a/gateway_common/donation.api.php b/gateway_common/donation.api.php index 16c82c6..df596ad 100644 --- a/gateway_common/donation.api.php +++ b/gateway_common/donation.api.php @@ -122,7 +122,7 @@ 'fname' => $this->defineParam( false ), 'lname' => $this->defineParam( false ), 'street' => $this->defineParam( false ), - 'street_supplemental' => $this->defineParam( false ), + 'supplemental_address_1' => $this->defineParam( false ), 'city' => $this->defineParam( false ), 'state' => $this->defineParam( false ), 'postal_code' => $this->defineParam( false ), diff --git a/gateway_common/i18n/interface/af.json b/gateway_common/i18n/interface/af.json index 40ffbcf..5a02da9 100644 --- a/gateway_common/i18n/interface/af.json +++ b/gateway_common/i18n/interface/af.json @@ -266,7 +266,7 @@ "apihelp-donate-param-fname": "Voornaam.", "apihelp-donate-param-lname": "Van.", "apihelp-donate-param-street": "Eerste reël van straatadres.", - "apihelp-donate-param-street_supplemental": "Tweede reël van straatadres.", + "apihelp-donate-param-supplemental_address_1": "Tweede reël van straatadres.", "apihelp-donate-param-city": "Stad.", "apihelp-donate-param-postal_code": "Poskode.", "apihelp-donate-param-email": "E-posadres.", diff --git a/gateway_common/i18n/interface/ast.json b/gateway_common/i18n/interface/ast.json index fd4cea0..4cdb6bd 100644 --- a/gateway_common/i18n/interface/ast.json +++ b/gateway_common/i18n/interface/ast.json @@ -389,7 +389,7 @@ "apihelp-donate-param-fname": "Nome(s).", "apihelp-donate-param-lname": "Apellíu(os).", "apihelp-donate-param-street": "Primera llinia de la direición.", - "apihelp-donate-param-street_supplemental": "Segunda llinia de la direición.", + "apihelp-donate-param-supplemental_address_1": "Segunda llinia de la direición.", "apihelp-donate-param-city": "Ciudá.", "apihelp-donate-param-state": "Abreviatura del estáu.", "apihelp-donate-param-postal_code": "Códigu postal.", diff --git a/gateway_common/i18n/interface/ba.json b/gateway_common/i18n/interface/ba.json index a8ba134..a8cb7c3 100644 --- a/gateway_common/i18n/interface/ba.json +++ b/gateway_common/i18n/interface/ba.json @@ -394,7 +394,7 @@ "apihelp-donate-param-fname": "Исем.", "apihelp-donate-param-lname": "Фамилия.", "apihelp-donate-param-street": "Адрестың беренсе юлы.", - "apihelp-donate-param-street_supplemental": "Адрестың икенсе юлы.", + "apihelp-donate-param-supplemental_address_1": "Адрестың икенсе юлы.", "apihelp-donate-param-city": "Ҡала.", "apihelp-donate-param-postal_code": "Почта индексы", "apihelp-donate-param-email": "Электрон почта адресы", diff --git a/gateway_common/i18n/interface/bg.json b/gateway_common/i18n/interface/bg.json index 8d18f21..b98d0cd 100644 --- a/gateway_common/i18n/interface/bg.json +++ b/gateway_common/i18n/interface/bg.json @@ -383,7 +383,7 @@ "apihelp-donate-param-fname": "Собствено име.", "apihelp-donate-param-lname": "Фамилно име.", "apihelp-donate-param-street": "Адрес (ред 1).", - "apihelp-donate-param-street_supplemental": "Адрес (ред 2).", + "apihelp-donate-param-supplemental_address_1": "Адрес (ред 2).", "apihelp-donate-param-city": "Град.", "apihelp-donate-param-state": "Съкращение на щата.", "apihelp-donate-param-postal_code": "Пощенски код.", diff --git a/gateway_common/i18n/interface/cs.json b/gateway_common/i18n/interface/cs.json index 56e3b20..6a05f36 100644 --- a/gateway_common/i18n/interface/cs.json +++ b/gateway_common/i18n/interface/cs.json @@ -389,7 +389,7 @@ "apihelp-donate-param-fname": "Křestní jméno.", "apihelp-donate-param-lname": "Příjmení.", "apihelp-donate-param-street": "První řádek adresy.", - "apihelp-donate-param-street_supplemental": "Druhý řádek adresy.", + "apihelp-donate-param-supplemental_address_1": "Druhý řádek adresy.", "apihelp-donate-param-city": "Město.", "apihelp-donate-param-state": "Zkratka státu.", "apihelp-donate-param-postal_code": "PSČ.", diff --git a/gateway_common/i18n/interface/cy.json b/gateway_common/i18n/interface/cy.json index 8287cc5..000224c 100644 --- a/gateway_common/i18n/interface/cy.json +++ b/gateway_common/i18n/interface/cy.json @@ -375,7 +375,7 @@ "apihelp-donate-param-fname": "Enw cyntaf.", "apihelp-donate-param-lname": "Enw olaf.", "apihelp-donate-param-street": "Llinell gyntaf eich cyfeiriad.", - "apihelp-donate-param-street_supplemental": "Ail linell eich cyfeiriad.", + "apihelp-donate-param-supplemental_address_1": "Ail linell eich cyfeiriad.", "apihelp-donate-param-city": "Tref.", "apihelp-donate-param-email": "Cyfeiriad ebost.", "apihelp-donate-example-1": "Cyfranwch." diff --git a/gateway_common/i18n/interface/de.json b/gateway_common/i18n/interface/de.json index 03a858a..05ea7a7 100644 --- a/gateway_common/i18n/interface/de.json +++ b/gateway_common/i18n/interface/de.json @@ -408,7 +408,7 @@ "apihelp-donate-param-fname": "Vorname.", "apihelp-donate-param-lname": "Nachname.", "apihelp-donate-param-street": "Erste Zeile der Straßenanschrift.", - "apihelp-donate-param-street_supplemental": "Zweite Zeile der Straßenanschrift.", + "apihelp-donate-param-supplemental_address_1": "Zweite Zeile der Straßenanschrift.", "apihelp-donate-param-city": "Stadt.", "apihelp-donate-param-state": "Staatenkürzel.", "apihelp-donate-param-postal_code": "Postleitzahl.", diff --git a/gateway_common/i18n/interface/en.json b/gateway_common/i18n/interface/en.json index bb58ec4..e4b6bfe 100644 --- a/gateway_common/i18n/interface/en.json +++ b/gateway_common/i18n/interface/en.json @@ -435,7 +435,7 @@ "apihelp-donate-param-fname": "First name.", "apihelp-donate-param-lname": "Last name.", "apihelp-donate-param-street": "First line of street address.", - "apihelp-donate-param-street_supplemental": "Second line of street address.", + "apihelp-donate-param-supplemental_address_1": "Second line of street address.", "apihelp-donate-param-city": "City.", "apihelp-donate-param-state": "State abbreviation.", "apihelp-donate-param-postal_code": "Postal code.", diff --git a/gateway_common/i18n/interface/es.json b/gateway_common/i18n/interface/es.json index 4fb3b9f..757dc23 100644 --- a/gateway_common/i18n/interface/es.json +++ b/gateway_common/i18n/interface/es.json @@ -431,7 +431,7 @@ "apihelp-donate-param-fname": "Nombre(s).", "apihelp-donate-param-lname": "Apellido(s).", "apihelp-donate-param-street": "Dirección, 1.ª línea.", - "apihelp-donate-param-street_supplemental": "Dirección, 2.ª línea.", + "apihelp-donate-param-supplemental_address_1": "Dirección, 2.ª línea.", "apihelp-donate-param-city": "Ciudad.", "apihelp-donate-param-state": "Abreviatura del estado.", "apihelp-donate-param-postal_code": "Código postal.", diff --git a/gateway_common/i18n/interface/fr.json b/gateway_common/i18n/interface/fr.json index cdf162e..da41ad6 100644 --- a/gateway_common/i18n/interface/fr.json +++ b/gateway_common/i18n/interface/fr.json @@ -433,7 +433,7 @@ "apihelp-donate-param-fname": "Prénom", "apihelp-donate-param-lname": "Nom", "apihelp-donate-param-street": "Première ligne d’adresse.", - "apihelp-donate-param-street_supplemental": "Deuxième ligne d’adresse.", + "apihelp-donate-param-supplemental_address_1": "Deuxième ligne d’adresse.", "apihelp-donate-param-city": "Ville.", "apihelp-donate-param-state": "Abréviation de l’État ou de la province.", "apihelp-donate-param-postal_code": "Code postal", diff --git a/gateway_common/i18n/interface/gl.json b/gateway_common/i18n/interface/gl.json index 6f131e0..c21e4ea 100644 --- a/gateway_common/i18n/interface/gl.json +++ b/gateway_common/i18n/interface/gl.json @@ -406,7 +406,7 @@ "apihelp-donate-param-fname": "Nome.", "apihelp-donate-param-lname": "Apelidos.", "apihelp-donate-param-street": "Primeira liña do enderezo.", - "apihelp-donate-param-street_supplemental": "Segunda liña do enderezo.", + "apihelp-donate-param-supplemental_address_1": "Segunda liña do enderezo.", "apihelp-donate-param-city": "Cidade.", "apihelp-donate-param-state": "Abreviatura do estado.", "apihelp-donate-param-postal_code": "Código postal.", diff --git a/gateway_common/i18n/interface/he.json b/gateway_common/i18n/interface/he.json index a98aec1..2ea11db 100644 --- a/gateway_common/i18n/interface/he.json +++ b/gateway_common/i18n/interface/he.json @@ -405,7 +405,7 @@ "apihelp-donate-param-fname": "שם פרטי.", "apihelp-donate-param-lname": "שם משפחה.", "apihelp-donate-param-street": "השורה הראשונה של הכתובת.", - "apihelp-donate-param-street_supplemental": "השורה השנייה של הכתובת.", + "apihelp-donate-param-supplemental_address_1": "השורה השנייה של הכתובת.", "apihelp-donate-param-city": "עיר.", "apihelp-donate-param-state": "קיצור מדינה.", "apihelp-donate-param-postal_code": "מיקוד.", diff --git a/gateway_common/i18n/interface/it.json b/gateway_common/i18n/interface/it.json index e8cc434..f8e555a 100644 --- a/gateway_common/i18n/interface/it.json +++ b/gateway_common/i18n/interface/it.json @@ -417,7 +417,7 @@ "apihelp-donate-param-fname": "Nome.", "apihelp-donate-param-lname": "Cognome.", "apihelp-donate-param-street": "Prima riga dell'indirizzo stradale.", - "apihelp-donate-param-street_supplemental": "Seconda riga dell'indirizzo stradale.", + "apihelp-donate-param-supplemental_address_1": "Seconda riga dell'indirizzo stradale.", "apihelp-donate-param-city": "Città.", "apihelp-donate-param-state": "Abbreviazione stato.", "apihelp-donate-param-postal_code": "CAP.", diff --git a/gateway_common/i18n/interface/ka.json b/gateway_common/i18n/interface/ka.json index 23b810e..568a5dd 100644 --- a/gateway_common/i18n/interface/ka.json +++ b/gateway_common/i18n/interface/ka.json @@ -351,7 +351,7 @@ "apihelp-donate-param-fname": "პირველი სახელი", "apihelp-donate-param-lname": "უკანასკნელი სახელი", "apihelp-donate-param-street": "ქუჩის მისამართის პირველი ხაზი", - "apihelp-donate-param-street_supplemental": "ქუჩის მისამართის მეორე ხაზი", + "apihelp-donate-param-supplemental_address_1": "ქუჩის მისამართის მეორე ხაზი", "apihelp-donate-param-city": "ქალაქი", "apihelp-donate-param-state": "შტატის აბრევიატურა", "apihelp-donate-param-postal_code": "საფოსტო კოდი", diff --git a/gateway_common/i18n/interface/ksh.json b/gateway_common/i18n/interface/ksh.json index f45aa7e..d277718 100644 --- a/gateway_common/i18n/interface/ksh.json +++ b/gateway_common/i18n/interface/ksh.json @@ -417,7 +417,7 @@ "apihelp-donate-param-fname": "Vörnahme.", "apihelp-donate-param-lname": "Nohnahme.", "apihelp-donate-param-street": "Adräß eezde Reih.", - "apihelp-donate-param-street_supplemental": "Adräß zwaite Reih.", + "apihelp-donate-param-supplemental_address_1": "Adräß zwaite Reih.", "apihelp-donate-param-city": "Schtadt.", "apihelp-donate-param-state": "Köözel för e Bondesland.", "apihelp-donate-param-postal_code": "Poßleizahl.", diff --git a/gateway_common/i18n/interface/lij.json b/gateway_common/i18n/interface/lij.json index 641a276..2a43832 100644 --- a/gateway_common/i18n/interface/lij.json +++ b/gateway_common/i18n/interface/lij.json @@ -387,7 +387,7 @@ "apihelp-donate-param-fname": "Nomme", "apihelp-donate-param-lname": "Cognomme", "apihelp-donate-param-street": "Primma riga de l'indiriçço.", - "apihelp-donate-param-street_supplemental": "Segonda riga de l'indiriçço.", + "apihelp-donate-param-supplemental_address_1": "Segonda riga de l'indiriçço.", "apihelp-donate-param-city": "Çitæ", "apihelp-donate-param-state": "Abreviaçion stato.", "apihelp-donate-param-postal_code": "Coddiçe postâ", diff --git a/gateway_common/i18n/interface/lt.json b/gateway_common/i18n/interface/lt.json index c29ae35..c70bcd3 100644 --- a/gateway_common/i18n/interface/lt.json +++ b/gateway_common/i18n/interface/lt.json @@ -387,7 +387,7 @@ "apihelp-donate-param-fname": "Vardas.", "apihelp-donate-param-lname": "Pavardė.", "apihelp-donate-param-street": "Pirma adreso eilutė.", - "apihelp-donate-param-street_supplemental": "Antra adreso eilutė.", + "apihelp-donate-param-supplemental_address_1": "Antra adreso eilutė.", "apihelp-donate-param-city": "Miestas.", "apihelp-donate-param-state": "Valstijos santrumpa.", "apihelp-donate-param-postal_code": "Pašto kodas.", diff --git a/gateway_common/i18n/interface/mk.json b/gateway_common/i18n/interface/mk.json index 7e2e579..6651727 100644 --- a/gateway_common/i18n/interface/mk.json +++ b/gateway_common/i18n/interface/mk.json @@ -405,7 +405,7 @@ "apihelp-donate-param-fname": "Име.", "apihelp-donate-param-lname": "Презиме.", "apihelp-donate-param-street": "Прв ред на уличната адреса.", - "apihelp-donate-param-street_supplemental": "Втор ред на уличната адреса.", + "apihelp-donate-param-supplemental_address_1": "Втор ред на уличната адреса.", "apihelp-donate-param-city": "Град.", "apihelp-donate-param-state": "Кратенка за сој. покраина/држава.", "apihelp-donate-param-postal_code": "Поштенски број.", diff --git a/gateway_common/i18n/interface/nb.json b/gateway_common/i18n/interface/nb.json index a8b27c0..754dc4f 100644 --- a/gateway_common/i18n/interface/nb.json +++ b/gateway_common/i18n/interface/nb.json @@ -400,7 +400,7 @@ "apihelp-donate-param-fname": "Fornavn.", "apihelp-donate-param-lname": "Etternavn.", "apihelp-donate-param-street": "Første linje i gateadresse.", - "apihelp-donate-param-street_supplemental": "Andre linje i gateadresse.", + "apihelp-donate-param-supplemental_address_1": "Andre linje i gateadresse.", "apihelp-donate-param-city": "By.", "apihelp-donate-param-state": "Delstatsforkortelse.", "apihelp-donate-param-postal_code": "Postnummer.", diff --git a/gateway_common/i18n/interface/nl.json b/gateway_common/i18n/interface/nl.json index ffc8ed2..f4c3334 100644 --- a/gateway_common/i18n/interface/nl.json +++ b/gateway_common/i18n/interface/nl.json @@ -396,7 +396,7 @@ "apihelp-donate-param-fname": "Voornaam.", "apihelp-donate-param-lname": "Achternaam.", "apihelp-donate-param-street": "Eerste regel van het adres.", - "apihelp-donate-param-street_supplemental": "Tweede regel van het adres.", + "apihelp-donate-param-supplemental_address_1": "Tweede regel van het adres.", "apihelp-donate-param-city": "Plaats.", "apihelp-donate-param-state": "Afkorting van de staat.", "apihelp-donate-param-postal_code": "Postcode.", diff --git a/gateway_common/i18n/interface/pt-br.json b/gateway_common/i18n/interface/pt-br.json index d54b99a..cc42980 100644 --- a/gateway_common/i18n/interface/pt-br.json +++ b/gateway_common/i18n/interface/pt-br.json @@ -407,7 +407,7 @@ "apihelp-donate-param-fname": "Primeiro nome.", "apihelp-donate-param-lname": "Último nome.", "apihelp-donate-param-street": "Primeira linha do endereço.", - "apihelp-donate-param-street_supplemental": "Segunda linha do endereço.", + "apihelp-donate-param-supplemental_address_1": "Segunda linha do endereço.", "apihelp-donate-param-city": "Cidade.", "apihelp-donate-param-state": "Abreviação do Estado.", "apihelp-donate-param-postal_code": "Caixa postal.", diff --git a/gateway_common/i18n/interface/pt.json b/gateway_common/i18n/interface/pt.json index 2b2e0a0..47fe72a 100644 --- a/gateway_common/i18n/interface/pt.json +++ b/gateway_common/i18n/interface/pt.json @@ -414,7 +414,7 @@ "apihelp-donate-param-fname": "Primeiro nome.", "apihelp-donate-param-lname": "Último nome.", "apihelp-donate-param-street": "Primeira linha da morada.", - "apihelp-donate-param-street_supplemental": "Segunda linha da morada.", + "apihelp-donate-param-supplemental_address_1": "Segunda linha da morada.", "apihelp-donate-param-city": "Cidade.", "apihelp-donate-param-state": "Abreviatura do estado.", "apihelp-donate-param-postal_code": "Código postal.", diff --git a/gateway_common/i18n/interface/qqq.json b/gateway_common/i18n/interface/qqq.json index 6041b8e..154c0ae 100644 --- a/gateway_common/i18n/interface/qqq.json +++ b/gateway_common/i18n/interface/qqq.json @@ -460,7 +460,7 @@ "apihelp-donate-param-fname": "{{doc-apihelp-param|donate|fname}}\n{{Identical|First name}}", "apihelp-donate-param-lname": "{{doc-apihelp-param|donate|lname}}\n{{Identical|Last name}}", "apihelp-donate-param-street": "{{doc-apihelp-param|donate|street}}", - "apihelp-donate-param-street_supplemental": "{{doc-apihelp-param|donate|street_supplemental}}", + "apihelp-donate-param-supplemental_address_1": "{{doc-apihelp-param|donate|supplemental_address_1}}", "apihelp-donate-param-city": "{{doc-apihelp-param|donate|city}}\n{{Identical|City}}", "apihelp-donate-param-state": "{{doc-apihelp-param|donate|state}}", "apihelp-donate-param-postal_code": "{{doc-apihelp-param|donate|postal_code}}\n{{Identical|Postal code}}", diff --git a/gateway_common/i18n/interface/roa-tara.json b/gateway_common/i18n/interface/roa-tara.json index f0d9111..82bb666 100644 --- a/gateway_common/i18n/interface/roa-tara.json +++ b/gateway_common/i18n/interface/roa-tara.json @@ -403,7 +403,7 @@ "apihelp-donate-param-fname": "Prime nome.", "apihelp-donate-param-lname": "Urteme nome.", "apihelp-donate-param-street": "Prima linèe da vie de l'indirizze.", - "apihelp-donate-param-street_supplemental": "Seconda linèe d'a vie de l'indirizze.", + "apihelp-donate-param-supplemental_address_1": "Seconda linèe d'a vie de l'indirizze.", "apihelp-donate-param-city": "Cetate.", "apihelp-donate-param-state": "Abbreviazione d'u state.", "apihelp-donate-param-postal_code": "Codece d'avviamende postale.", diff --git a/gateway_common/i18n/interface/ru.json b/gateway_common/i18n/interface/ru.json index 579a403..7e5bb06 100644 --- a/gateway_common/i18n/interface/ru.json +++ b/gateway_common/i18n/interface/ru.json @@ -409,7 +409,7 @@ "apihelp-donate-param-fname": "Имя.", "apihelp-donate-param-lname": "Фамилия.", "apihelp-donate-param-street": "Первая строка адреса.", - "apihelp-donate-param-street_supplemental": "Вторая строка адреса.", + "apihelp-donate-param-supplemental_address_1": "Вторая строка адреса.", "apihelp-donate-param-city": "Город.", "apihelp-donate-param-postal_code": "Почтовый индекс.", "apihelp-donate-param-email": "Адрес электронной почты.", diff --git a/gateway_common/i18n/interface/sv.json b/gateway_common/i18n/interface/sv.json index 55b30f7..040e493 100644 --- a/gateway_common/i18n/interface/sv.json +++ b/gateway_common/i18n/interface/sv.json @@ -412,7 +412,7 @@ "apihelp-donate-param-fname": "Förnamn.", "apihelp-donate-param-lname": "Efternamn.", "apihelp-donate-param-street": "Första raden för gatuadressen.", - "apihelp-donate-param-street_supplemental": "Andra raden för gatuadressen.", + "apihelp-donate-param-supplemental_address_1": "Andra raden för gatuadressen.", "apihelp-donate-param-city": "Stad.", "apihelp-donate-param-state": "Delstatsförkortning.", "apihelp-donate-param-postal_code": "Postnummer.", diff --git a/gateway_common/i18n/interface/uk.json b/gateway_common/i18n/interface/uk.json index 018d27b..444d3fb 100644 --- a/gateway_common/i18n/interface/uk.json +++ b/gateway_common/i18n/interface/uk.json @@ -409,7 +409,7 @@ "apihelp-donate-param-fname": "Ім'я.", "apihelp-donate-param-lname": "Прізвище.", "apihelp-donate-param-street": "Перший рядок адреси вулиці.", - "apihelp-donate-param-street_supplemental": "Другий рядок адреси вулиці.", + "apihelp-donate-param-supplemental_address_1": "Другий рядок адреси вулиці.", "apihelp-donate-param-city": "Місто.", "apihelp-donate-param-state": "Абревіатура штату.", "apihelp-donate-param-postal_code": "Поштовий індекс.", diff --git a/gateway_common/i18n/interface/vi.json b/gateway_common/i18n/interface/vi.json index 6bb3d86..39b95c3 100644 --- a/gateway_common/i18n/interface/vi.json +++ b/gateway_common/i18n/interface/vi.json @@ -396,7 +396,7 @@ "apihelp-donate-param-fname": "Tên.", "apihelp-donate-param-lname": "Họ.", "apihelp-donate-param-street": "Dòng đầu tiên của địa chỉ đường phố.", - "apihelp-donate-param-street_supplemental": "Dòng thứ hai của địa chỉ đường phố.", + "apihelp-donate-param-supplemental_address_1": "Dòng thứ hai của địa chỉ đường phố.", "apihelp-donate-param-city": "Thành phố.", "apihelp-donate-param-state": "Viết tắt tỉnh bang.", "apihelp-donate-param-postal_code": "Mã bưu chính.", diff --git a/gateway_common/i18n/interface/zh-hans.json b/gateway_common/i18n/interface/zh-hans.json index 733b24b..9bb6e33 100644 --- a/gateway_common/i18n/interface/zh-hans.json +++ b/gateway_common/i18n/interface/zh-hans.json @@ -431,7 +431,7 @@ "apihelp-donate-param-fname": "名。", "apihelp-donate-param-lname": "姓。", "apihelp-donate-param-street": "街道地址的第一行。", - "apihelp-donate-param-street_supplemental": "街道地址的第二行。", + "apihelp-donate-param-supplemental_address_1": "街道地址的第二行。", "apihelp-donate-param-city": "城市。", "apihelp-donate-param-state": "州缩写。", "apihelp-donate-param-postal_code": "邮政编码。", diff --git a/tests/phpunit/DonationDataTest.php b/tests/phpunit/DonationDataTest.php index fdb502c..267d88a 100644 --- a/tests/phpunit/DonationDataTest.php +++ b/tests/phpunit/DonationDataTest.php @@ -134,7 +134,7 @@ 'language' => 'en', 'gateway' => 'globalcollect', 'owa_ref' => 'http://localhost/defaultTestData', - 'street_supplemental' => '3rd floor', + 'supplemental_address_1' => '3rd floor', 'payment_submethod' => 'amex', 'user_ip' => '12.12.12.12', 'server_ip' => $request->getIP(), @@ -184,7 +184,7 @@ 'language' => 'en', 'gateway' => 'globalcollect', 'owa_ref' => 'http://localhost/getTestData', - 'street_supplemental' => '3rd floor', + 'supplemental_address_1' => '3rd floor', 'payment_submethod' => 'amex', 'user_ip' => $request->getIP(), 'server_ip' => $request->getIP(), -- To view, visit https://gerrit.wikimedia.org/r/354606 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If176acf49f515956c97541139fbe9d66d790952a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: master Gerrit-Owner: Ejegg <eeggles...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits