Bug 916597 - [app manager] Fix locales in help.xhtml. r=ochameau

This commit is contained in:
Paul Rouget 2013-09-15 16:05:54 -04:00
Родитель c226a8ee88
Коммит 78979e2433
2 изменённых файлов: 10 добавлений и 39 удалений

Просмотреть файл

@ -24,11 +24,11 @@
<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>
@ -39,35 +39,6 @@
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>

Просмотреть файл

@ -78,8 +78,8 @@
<!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">