Bug 916597 - [app manager] Fix locales in help.xhtml. r=ochameau
authorPaul Rouget <paul@mozilla.com>
Sun, 15 Sep 2013 16:05:54 -0400
changeset 160172 91b7634a29d7a199894a60c05579c6688a975d69
parent 160171 5cfd1ce18d07928318e201174e568ee945513246
child 160173 1189b6cd74b9ed43ffa79f1751f6cb04ffd38bde
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs916597
milestone26.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 916597 - [app manager] Fix locales in help.xhtml. r=ochameau
browser/devtools/app-manager/content/help.xhtml
browser/locales/en-US/chrome/browser/devtools/app-manager.dtd
--- a/browser/devtools/app-manager/content/help.xhtml
+++ b/browser/devtools/app-manager/content/help.xhtml
@@ -19,55 +19,26 @@
   <body>
 
     <h1>&help.title;</h1>
 
     <p>&help.intro;</p>
 
     <p>&help.usefullLinks;</p>
     <ul>
-      <li id="linkToAppMgrDoc">&help.linkToAppMgrDoc;</li>
-      <li id="linkToConfiguringDevice">&help.linkToConfiguringDevice;</li>
-      <li id="linkToTroubleShooting">&help.linkToTroubleShooting;</li>
-      <li id="linkToSimulatorAddon">&help.linkToSimulatorAddon;</li>
-      <li id="linkToAdbHelperAddon">&help.linkToAdbHelperAddon;</li>
+      <li><a target="mdn" href="https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager">&help.appMgrDoc;</a></li>
+      <li><a target="mdn" href="https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Configuring_device">&help.configuringDevice;</a></li>
+      <li><a target="mdn" href="https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Troubleshooting">&help.troubleShooting;</a></li>
+      <li><a target="mdn" href="https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Simulator">&help.simulatorAddon;</a></li>
+      <li><a target="mdn" href="https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Adb_Helper_Add-on">&help.adbHelperAddon;</a></li>
     </ul>
 
     <button id="close-button" onclick="closeHelp()">&help.close;</button>
 
   </body>
 
   <script type="application/javascript;version=1.8">
     function closeHelp() {
       window.parent.postMessage(JSON.stringify({name:"closeHelp"}), "*");
     }
-
-    let a;
-
-    let link_usingAppMgr =       "https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager";
-    let link_configuringDevice = "https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Configuring_device";
-    let link_troubleShooting =   "https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Troubleshooting";
-    let link_installSimulator =  "https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Simulator";
-    let link_installAdbHelper =  "https://developer.mozilla.org/docs/Mozilla/Firefox_OS/Using_the_App_Manager#Adb_Helper_Add-on";
-
-    a = document.querySelector("#linkToAppMgrDoc > a");
-    a.target = "mdn";
-    a.href = link_usingAppMgr;
-
-    a = document.querySelector("#linkToConfiguringDevice > a");
-    a.target = "mdn";
-    a.href = link_configuringDevice;
-
-    a = document.querySelector("#linkToTroubleShooting > a");
-    a.target = "mdn";
-    a.href = link_troubleShooting;
-
-    a = document.querySelector("#linkToSimulatorAddon> a");
-    a.target = "mdn";
-    a.href = link_installSimulator;
-
-    a = document.querySelector("#linkToAdbHelperAddon > a");
-    a.target = "mdn";
-    a.href = link_installAdbHelper;
-
   </script>
 </html>
 
--- a/browser/locales/en-US/chrome/browser/devtools/app-manager.dtd
+++ b/browser/locales/en-US/chrome/browser/devtools/app-manager.dtd
@@ -73,13 +73,13 @@
 <!ENTITY projects.debugAppTooltip "Open Developer Tools connected to this app">
 <!ENTITY projects.hostedManifestPlaceHolder2 "http://example.com/app/manifest.webapp">
 <!ENTITY projects.noProjects "No projects. Add a new packaged app below (local directory) or a hosted app (link to a manifest file).">
 
 <!ENTITY help.title "App Manager">
 <!ENTITY help.close "Close">
 <!ENTITY help.intro "This tool will help you build and install web apps on compatible devices (i.e Firefox OS). The <strong>Apps</strong> tab will assist you in the validation and installation process of your app. The <strong>Device</strong> tab will give you information about the connected device. Use the bottom toolbar to connect to a device or start the simulator.">
 <!ENTITY help.usefullLinks "Useful links:">
-<!ENTITY help.linkToAppMgrDoc "<a>Documentation: Using the App Manager</a>">
-<!ENTITY help.linkToConfiguringDevice "<a>How to setup your Firefox OS device</a>">
-<!ENTITY help.linkToTroubleShooting "<a>Troubleshooting</a>">
-<!ENTITY help.linkToSimulatorAddon "<a>Install Simulator Add-on</a>">
-<!ENTITY help.linkToAdbHelperAddon "<a>Install Adb Helper Add-on</a>">
+<!ENTITY help.appMgrDoc "Documentation: Using the App Manager">
+<!ENTITY help.configuringDevice "How to setup your Firefox OS device">
+<!ENTITY help.troubleShooting "Troubleshooting">
+<!ENTITY help.simulatorAddon "Install Simulator Add-on">
+<!ENTITY help.adbHelperAddon "Install Adb Helper Add-on">