Bug 1372077 - [Form Autofill] Change the label "Country" to "Country or Region" in preferences. r=lchang
authorScott Wu <scottcwwu@gmail.com>
Tue, 25 Jul 2017 17:16:15 +0800
changeset 420326 eb3f99693329f22e23c0c380c3869bb4d0567c94
parent 420325 e52caa844728f5db71e1875f9de00c91c414b8f4
child 420327 38b225af571bfdb4fd5255293738311c069230ca
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslchang
bugs1372077
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1372077 - [Form Autofill] Change the label "Country" to "Country or Region" in preferences. r=lchang Increases the width of the label and the dialog to fit "Country or Region" in one line. MozReview-Commit-ID: AXkOlz8leGt
browser/extensions/formautofill/locales/en-US/formautofill.properties
browser/extensions/formautofill/skin/shared/editAddress.css
--- a/browser/extensions/formautofill/locales/en-US/formautofill.properties
+++ b/browser/extensions/formautofill/locales/en-US/formautofill.properties
@@ -45,13 +45,13 @@ additionalName = Middle Name
 familyName = Last Name
 organization = Company
 streetAddress = Street Address
 city = City
 province = Province
 state = State
 postalCode = Postal Code
 zip = Zip Code
-country = Country
+country = Country or Region
 tel = Phone
 email = Email
 cancel = Cancel
 save = Save
--- a/browser/extensions/formautofill/skin/shared/editAddress.css
+++ b/browser/extensions/formautofill/skin/shared/editAddress.css
@@ -1,12 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+html {
+  width: 620px;
+}
+
 body {
   font-size: 1rem;
 }
 
 form,
 label,
 div {
   display: flex;
@@ -17,28 +21,28 @@ form {
 }
 
 label {
   margin: 0 0 0.5em;
 }
 
 label > span {
   box-sizing: border-box;
-  flex: 0 0 8em;
+  flex: 0 0 9.5em;
   padding-inline-end: 0.5em;
   align-self: center;
   text-align: end;
   -moz-user-select: none;
 }
 
 input,
 select {
   box-sizing: border-box;
   flex: 1 0 auto;
-  width: calc(50% - 8em);
+  width: calc(50% - 9.5em);
 }
 
 option {
   padding: 5px 10px;
 }
 
 textarea {
   resize: none;