Bug 541791 - about dialog "about:license" link target shouldn't be localizable, r=gavin
authorPhil Ringnalda <philringnalda@gmail.com>
Mon, 25 Jan 2010 00:41:24 -0800
changeset 37487 b020c6b1588daeda71e3d3cfc30ff09dbc885bad
parent 37486 90b4886e734a373ba56522b2ffabcb456faab9e4
child 37488 83eac7a5262a398d7336b6d8fed7dc3bf1608e90
child 37563 3d6a406c0067d9bbeec975e0d3a84d1e6662369a
push id11330
push userphilringnalda@gmail.com
push dateMon, 25 Jan 2010 18:55:28 +0000
treeherderautoland@b020c6b1588d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs541791
milestone1.9.3a1pre
Bug 541791 - about dialog "about:license" link target shouldn't be localizable, r=gavin
browser/base/content/aboutDialog.xul
browser/locales/en-US/chrome/browser/aboutDialog.dtd
--- a/browser/base/content/aboutDialog.xul
+++ b/browser/base/content/aboutDialog.xul
@@ -81,17 +81,17 @@
 
   <deck id="modes" flex="1">
     <vbox flex="1" id="clientBox">
 #expand <label id="version" value="&aboutVersion; __MOZ_APP_VERSION__"/>
       <label id="distribution"/>
       <label id="distributionId"/>
       <description id="copyright">
         <label
-        class="text-link" href="&licenseLink;"
+        class="text-link" href="about:license"
         >&licenseLinkText;</label>&licenseLinkSuffix;&logoTrademark;
       </description>
       <textbox id="userAgent" multiline="true" readonly="true" flex="1"/>
     </vbox>
     <vbox flex="1" id="creditsBox">
       <iframe id="creditsIframe" flex="1"/>
     </vbox>    
   </deck>
--- a/browser/locales/en-US/chrome/browser/aboutDialog.dtd
+++ b/browser/locales/en-US/chrome/browser/aboutDialog.dtd
@@ -2,11 +2,10 @@
 <!ENTITY copyright                  "Credits">
 <!ENTITY copyright.accesskey        "C">
 <!ENTITY copyrightGNOME.accesskey   "r">
 <!ENTITY aboutLink                  "&lt; About &brandFullName;">
 <!ENTITY aboutLink.accesskey        "A">
 <!ENTITY aboutVersion               "version">
 <!ENTITY closeCmdGNOME.label        "Close">  
 <!ENTITY closeCmdGNOME.accesskey    "C">
-<!ENTITY licenseLink                "about:license">
 <!ENTITY licenseLinkText            "Licensing information">
 <!ENTITY licenseLinkSuffix          ".">