Bug 1268175 - Change button title in about:config warning r?Gijs draft
authorJustin Dolske <dolske@mozilla.com>
Wed, 27 Apr 2016 12:14:48 -0700
changeset 356966 552c719784498cf36da07877753e7cda884e57f7
parent 356965 86730d0a82093d705e44f33a34973d28b269f1ea
child 519544 2a84b73095c525c0644752540aa3d0c413bc3e68
push id16668
push userjdolske@mozilla.com
push dateWed, 27 Apr 2016 19:15:07 +0000
reviewersGijs
bugs1268175
milestone49.0a1
Bug 1268175 - Change button title in about:config warning r?Gijs MozReview-Commit-ID: 3YJu4hWkrwn
toolkit/components/viewconfig/content/config.xul
toolkit/locales/en-US/chrome/global/config.dtd
--- a/toolkit/components/viewconfig/content/config.xul
+++ b/toolkit/components/viewconfig/content/config.xul
@@ -57,17 +57,17 @@
     <vbox id="warningBox" class="container">
       <hbox class="title" flex="1">
         <label id="warningTitle" class="title-text" flex="1">&aboutWarningTitle.label;</label>
       </hbox>
       <vbox class="description" flex="1">
         <label id="warningText">&aboutWarningText.label;</label>
         <checkbox id="showWarningNextTime" label="&aboutWarningCheckbox.label;" checked="true"/>
         <hbox class="button-container">
-          <button id="warningButton" class="primary" oncommand="ShowPrefs();" label="&aboutWarningButton.label;"/>
+          <button id="warningButton" class="primary" oncommand="ShowPrefs();" label="&aboutWarningButton2.label;"/>
         </hbox>
       </vbox>
     </vbox>
     <spacer flex="2"/>
   </vbox>
   <vbox flex="1">
     <hbox id="filterRow" align="center">
       <label value="&searchPrefs.label;" accesskey="&searchPrefs.accesskey;" control="textbox"/>
--- a/toolkit/locales/en-US/chrome/global/config.dtd
+++ b/toolkit/locales/en-US/chrome/global/config.dtd
@@ -3,17 +3,17 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <!ENTITY window.title "about:config">
 
 <!-- about:config warning page -->
 <!-- LOCALIZATION NOTE: aboutWarningTitle.label should be attention grabbing and playful -->
 <!ENTITY aboutWarningTitle.label "This might void your warranty!">
 <!ENTITY aboutWarningText.label "Changing these advanced settings can be harmful to the stability, security, and performance of this application. You should only continue if you are sure of what you are doing.">
-<!ENTITY aboutWarningButton.label "I'll be careful, I promise!">
+<!ENTITY aboutWarningButton2.label "I accept the risk!">
 <!ENTITY aboutWarningCheckbox.label "Show this warning next time">
 
 <!ENTITY searchPrefs.label "Search:">
 <!ENTITY searchPrefs.accesskey "r">
 <!ENTITY focusSearch.key "r">
 <!ENTITY focusSearch2.key "f">
 
 <!-- Columns -->