Bug 526454 - Link to plugin check page from about:plugins. r=josh, ui-r=faaborg
authorSaint Wesonga <wesongathedeveloper@yahoo.com>
Wed, 03 Mar 2010 09:51:58 +0100
changeset 38874 8a435c8dfb77ef74769cfc3f8110091589073695
parent 38873 9b67b2b96718f3302a3f768b01d0713b7293ee4d
child 38875 d093647cd0af8c9517453ed6735763d315fb3597
push idunknown
push userunknown
push dateunknown
reviewersjosh, faaborg
bugs526454
milestone1.9.3a3pre
Bug 526454 - Link to plugin check page from about:plugins. r=josh, ui-r=faaborg
dom/locales/en-US/chrome/plugins.properties
toolkit/content/plugins.html
toolkit/locales/en-US/chrome/global-region/region.properties
--- a/dom/locales/en-US/chrome/plugins.properties
+++ b/dom/locales/en-US/chrome/plugins.properties
@@ -1,14 +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
 nopluginsareenabled_label=No enabled plugins found
 findmore_label=Find more information about browser plugins at
+findpluginupdates_label=Find updates for installed 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
--- a/toolkit/content/plugins.html
+++ b/toolkit/content/plugins.html
@@ -97,16 +97,20 @@
     document.writeln("<h1 id=\"plugs\">" + pluginsbundle.GetStringFromName("installedplugins_label") + "<\/h1>");
   else
     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=\"findpluginupdates\">" + pluginsbundle.GetStringFromName("findpluginupdates_label") + " ");
+  document.writeln("<a href=\"" + regionbundle.GetStringFromName("pluginupdates_url") + "\">" + regionbundle.GetStringFromName("pluginupdates_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>");
 
   for (var i = 0; i < numPlugins; i++)
   {
     var plugin = navigator.plugins[i];
 
--- a/toolkit/locales/en-US/chrome/global-region/region.properties
+++ b/toolkit/locales/en-US/chrome/global-region/region.properties
@@ -1,11 +1,13 @@
 #
 #   Localizable URLs
 #
 pluginStartupMessage=Starting Plugin for type
 
 # plug-ins URLs
 more_plugins_label=mozilla.org
 more_plugins_url=https://pfs.mozilla.org/plugins/
+pluginupdates_label=mozilla.com/plugincheck
+pluginupdates_url=http://www.mozilla.com/plugincheck/
 plugindoc_label=plugindoc.mozdev.org
 plugindoc_url=http://plugindoc.mozdev.org/