Bug 496198 - about:plugins lies when all plugins are disabled, r=joshmoz, ui-r=faaborg
authorSaint Wesonga <wesongathedeveloper@yahoo.com>
Sun, 17 Jan 2010 15:23:00 -0800
changeset 37444 11180eb153e1c0de8ba69f9fcf6033d84830e859
parent 37443 d1f6d326c5a1aad44d0d5ad3b8274bb4b9f93b5e
child 37445 8e6feb78a56a74d53a2905696ea204548cd1954d
push idunknown
push userunknown
push dateunknown
reviewersjoshmoz, faaborg
bugs496198
milestone1.9.3a1pre
Bug 496198 - about:plugins lies when all plugins are disabled, r=joshmoz, ui-r=faaborg
dom/locales/en-US/chrome/plugins.properties
toolkit/content/plugins.html
--- a/dom/locales/en-US/chrome/plugins.properties
+++ b/dom/locales/en-US/chrome/plugins.properties
@@ -1,15 +1,15 @@
 # LOCALIZATION NOTE (plugins.properties):
 #    Those strings are inserted into an HTML page, so you all HTML characters
 #    have to be escaped in a way that they show up correctly in HTML!
 
 title_label=About Plugins
 installedplugins_label=Installed plugins
-nopluginsareinstalled_label=No plugins are installed
+nopluginsareenabled_label=No enabled plugins found
 findmore_label=Find more information about browser plugins at
 installhelp_label=Help for installing plugins is available from
 file_label=File:
 version_label=Version:
 mimetype_label=MIME Type
 description_label=Description
 suffixes_label=Suffixes
 enabled_label=Enabled
--- a/toolkit/content/plugins.html
+++ b/toolkit/content/plugins.html
@@ -91,17 +91,17 @@
   navigator.plugins.refresh(false);
 
 
   var numPlugins = navigator.plugins.length;
 
   if (numPlugins > 0)
     document.writeln("<h1 id=\"plugs\">" + pluginsbundle.GetStringFromName("installedplugins_label") + "<\/h1>");
   else
-    document.writeln("<h1 id=\"noplugs\">" + pluginsbundle.GetStringFromName("nopluginsareinstalled_label") + "<\/h1>");
+    document.writeln("<h1 id=\"noplugs\">" + pluginsbundle.GetStringFromName("nopluginsareenabled_label") + "<\/h1>");
 
   document.writeln("<div id=\"findmore\">" + pluginsbundle.GetStringFromName("findmore_label") + " ");
   document.writeln("<a href=\"" + regionbundle.GetStringFromName("more_plugins_url") + "\">" + regionbundle.GetStringFromName("more_plugins_label") + "<\/a>.");
   document.writeln("<\/div>");
 
   document.writeln("<div id=\"installhelp\">" + pluginsbundle.GetStringFromName("installhelp_label") + " ");
   document.writeln("<a href=\"" + regionbundle.GetStringFromName("plugindoc_url") + "\">" + regionbundle.GetStringFromName("plugindoc_label") + "<\/a>.");
   document.writeln("<\/div><hr>");