Bug 1586487 - Make "Change…" button localizable. r=flod,fluent-reviewers
authorEdouard Oger <eoger@fastmail.com>
Sun, 06 Oct 2019 05:09:05 +0000
changeset 496459 f4719f626670ccd72c2c7e40302b1aec2ab093f5
parent 496458 2d6a37b8fd82b196876e0e730fd2a3b89fc1ab56
child 496460 9e28f08d69e558d1b76ae3fa8c24691e8e17ab49
push id97255
push usereoger@mozilla.com
push dateSun, 06 Oct 2019 14:17:11 +0000
treeherderautoland@f4719f626670 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflod, fluent-reviewers
bugs1586487
milestone71.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 1586487 - Make "Change…" button localizable. r=flod,fluent-reviewers Differential Revision: https://phabricator.services.mozilla.com/D48273
browser/components/preferences/in-content/sync.inc.xul
browser/locales/en-US/browser/preferences/preferences.ftl
--- a/browser/components/preferences/in-content/sync.inc.xul
+++ b/browser/components/preferences/in-content/sync.inc.xul
@@ -229,18 +229,18 @@
                   </html:div>
                   <html:div engine_preference="services.sync.engine.prefs">
                     <image class="sync-engine-image sync-engine-prefs"/>
                     <label data-l10n-id="sync-currently-syncing-prefs"/>
                   </html:div>
                 </html:div>
                 <hbox>
                   <button id="syncChangeOptions"
-                          label="Change…"
-                          is="highlightable-button"/>
+                          is="highlightable-button"
+                          data-l10n-id="sync-change-options"/>
                   <spacer flex="1"/>
                 </hbox>
               </vbox>
             </vbox>
           </deck>
         </groupbox>
       </vbox>
     </hbox>
--- a/browser/locales/en-US/browser/preferences/preferences.ftl
+++ b/browser/locales/en-US/browser/preferences/preferences.ftl
@@ -777,16 +777,20 @@ sync-currently-syncing-addresses = Addre
 sync-currently-syncing-creditcards = Credit cards
 sync-currently-syncing-addons = Add-ons
 sync-currently-syncing-prefs =
     { PLATFORM() ->
         [windows] Options
        *[other] Preferences
     }
 
+sync-change-options =
+    .label = Change…
+    .accesskey = C
+
 ## The "Choose what to sync" dialog.
 
 sync-choose-what-to-sync-dialog =
     .title = Choose What To Sync
     .style = width: 36em; min-height: 35em;
     .buttonlabelaccept = Save Changes
     .buttonaccesskeyaccept = S
     .buttonlabelextra2 = Disconnect…