Bug 913717 - Fix placeholder text for hosted apps. r=paul
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 09 Sep 2013 11:14:06 -0500
changeset 146660 22374252348314a0c9d8db01312323e322c026bf
parent 146659 dc1cc7a33ec99248a914249d39aeb6414ee39462
child 146661 99f92e712d48c6df8087020530c2405bf9ce3a20
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerspaul
bugs913717
milestone26.0a1
Bug 913717 - Fix placeholder text for hosted apps. r=paul
browser/devtools/app-manager/content/projects.xhtml
browser/locales/en-US/chrome/browser/devtools/app-manager.dtd
--- a/browser/devtools/app-manager/content/projects.xhtml
+++ b/browser/devtools/app-manager/content/projects.xhtml
@@ -20,17 +20,17 @@
     <aside id="sidebar">
       <div id="project-list" template='{"type":"attribute","path":"projects.length","name":"projects-count"}'>
         <div template-loop='{"arrayPath":"projects","childSelector":"#project-item-template"}'></div>
         <div id="no-project">&projects.noProject;</div>
       </div>
       <div id="new-packaged-project" onclick="UI.addPackaged()">&projects.addPackaged;</div>
       <div id="new-hosted-project">&projects.addHosted;
         <form onsubmit="UI.addHosted(); return false;" id="new-hosted-project-wrapper">
-          <input value="" id="url-input" type="url" pattern="https?://.+" placeholder="&projects.hostedManifestPlaceHolder;" size="50" />
+          <input value="" id="url-input" type="url" pattern="https?://.+" placeholder="&projects.hostedManifestPlaceHolder2;" size="50" />
           <div onclick="UI.addHosted()" id="new-hosted-project-click"></div>
           <input type="submit" hidden="true"></input>
         </form>
       </div>
     </aside>
     <section id="lense"></section>
   </body>
 
--- a/browser/locales/en-US/chrome/browser/devtools/app-manager.dtd
+++ b/browser/locales/en-US/chrome/browser/devtools/app-manager.dtd
@@ -40,10 +40,10 @@
 <!ENTITY projects.title "Local Apps">
 <!ENTITY projects.appDetails "App Details">
 <!ENTITY projects.removeApp "Remove">
 <!ENTITY projects.reloadFiles "Refresh">
 <!ENTITY projects.installApp "Install">
 <!ENTITY projects.startApp "Start">
 <!ENTITY projects.stopApp "Stop">
 <!ENTITY projects.debugApp "Debug">
-<!ENTITY projects.hostedManifestPlaceHolder "http://example.com/app/webapp.manifest">
+<!ENTITY projects.hostedManifestPlaceHolder2 "http://example.com/app/manifest.webapp">
 <!ENTITY projects.noProject "No project linked. Add a new packaged app below (a directory) or a hosted app (link to a manifest file).">