Bug 533019 - Default Browser setting: Make strings localizable [r=mark.finkle]
authorAlex Pakhotin <alexp@mozilla.com>
Wed, 17 Feb 2010 14:57:04 -0500
changeset 1355 85f85d86b25bb4cd4caed628c72fa0862f1f5d23
parent 1354 17b09ff81487f7eb71d7100b5781a48704622638
child 1356 0bb0f13605618ba39a008a364e3bab688706dadf
push id1207
push usermfinkle@mozilla.com
push dateWed, 17 Feb 2010 19:57:32 +0000
reviewersmark.finkle
bugs533019
Bug 533019 - Default Browser setting: Make strings localizable [r=mark.finkle]
chrome/content/browser.xul
locales/en-US/chrome/preferences.dtd
--- a/chrome/content/browser.xul
+++ b/chrome/content/browser.xul
@@ -389,18 +389,18 @@
               <setting id="prefs-uilanguage" title="&language.title;" type="control">
                 <menulist id="prefs-languages" oncommand="PreferencesView.updateLocale();">
                   <menupopup>
                     <menuitem id="prefs-languages-auto" label="&language.auto;" value="auto"/>
                   </menupopup>
                 </menulist>
                </setting>
 #ifdef WINCE
-              <setting id="prefs-default-browser" type="bool" title="Default Browser" oncommand="BrowserUI.updateDefaultBrowser(this.value);">
-                Make &brandShortName; your default browser
+              <setting id="prefs-default-browser" type="bool" title="&defaultBrowser.title;" oncommand="BrowserUI.updateDefaultBrowser(this.value);">
+                &defaultBrowser.description;
               </setting>
 #endif
               <settings id="prefs-content" label="&content.title;">
                 <setting pref="permissions.default.image" title="&showImages.title;" type="boolint" on="1" off="2"/>
                 <setting pref="javascript.enabled" type="bool" title="&enableJavaScript.title;"/>
               </settings>
               <settings id="prefs-privacy" label="&privacy.title;">
                 <setting pref="network.cookie.cookieBehavior" title="&allowCookies.title;" type="boolint" on="0" off="2"/>
--- a/locales/en-US/chrome/preferences.dtd
+++ b/locales/en-US/chrome/preferences.dtd
@@ -7,8 +7,10 @@
 <!ENTITY enablePlugins.title                       "Enable Plugins">
 <!ENTITY privacy.title                             "Privacy &amp; Security">
 <!ENTITY allowCookies.title                        "Allow cookies">
 <!ENTITY clearPrivateData2.title                   "Clear private data">
 <!ENTITY clearPrivateData.button                   "Clear">
 <!ENTITY rememberPasswords.title                   "Remember passwords">
 <!ENTITY language.title                            "Language">
 <!ENTITY language.auto                             "Auto-detect">
+<!ENTITY defaultBrowser.title                      "Default Browser">
+<!ENTITY defaultBrowser.description                "Make &brandShortName; your default browser">