Bug 841572 - Change default toggle labels from Yes/No to On/Off [r=ally]
authorMatt Brubeck <mbrubeck@mozilla.com>
Fri, 15 Feb 2013 13:46:42 -0800
changeset 122067 f9a6c523cca476084094df484481c20e5c911262
parent 122066 bb00c745a2586d6a4be0fd2093a61e7c81fcd442
child 122068 49567747a7609cd2ec4374e016f43546fd740fd7
push id23078
push usermbrubeck@mozilla.com
push dateFri, 15 Feb 2013 21:47:54 +0000
treeherdermozilla-inbound@49567747a760 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersally
bugs841572
milestone21.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 841572 - Change default toggle labels from Yes/No to On/Off [r=ally]
browser/metro/base/content/bindings/toggleswitch.xml
browser/metro/locales/en-US/chrome/checkbox.dtd
--- a/browser/metro/base/content/bindings/toggleswitch.xml
+++ b/browser/metro/base/content/bindings/toggleswitch.xml
@@ -12,18 +12,18 @@
 <bindings
     xmlns="http://www.mozilla.org/xbl"
     xmlns:xbl="http://www.mozilla.org/xbl"
     xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <binding id="checkbox-toggleswitch" display="xul:box" extends="chrome://global/content/bindings/checkbox.xml#checkbox-baseline">
     <content>
       <xul:hbox>
-        <xul:description anonid="onlabel" class="onlabel" value="&checkbox.yes.label;" xbl:inherits="value=onlabel"/>
-        <xul:description anonid="offlabel" class="offlabel" value="&checkbox.no.label;" xbl:inherits="value=offlabel"/>
+        <xul:description anonid="onlabel" class="onlabel" value="&checkbox.on.label;" xbl:inherits="value=onlabel"/>
+        <xul:description anonid="offlabel" class="offlabel" value="&checkbox.off.label;" xbl:inherits="value=offlabel"/>
         <xul:radiogroup anonid="group" xbl:inherits="disabled">
           <xul:radio anonid="on" class="checkbox-radio-on"/>
           <xul:radio anonid="off" class="checkbox-radio-off"/>
         </xul:radiogroup>
       </xul:hbox>
     </content>
     <implementation>
       <constructor><![CDATA[
--- a/browser/metro/locales/en-US/chrome/checkbox.dtd
+++ b/browser/metro/locales/en-US/chrome/checkbox.dtd
@@ -1,6 +1,6 @@
 <!-- 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/. -->
 
-<!ENTITY checkbox.yes.label    "Yes">
-<!ENTITY checkbox.no.label     "No">
+<!ENTITY checkbox.on.label    "On">
+<!ENTITY checkbox.off.label     "Off">