Bug 866081 - Change two labels and their names in plugins.properties, replacing "enabled" with "installed". r=bsmedberg

This commit is contained in:
Maria Grazia Alastra 2013-04-30 15:12:54 -04:00
parent fe11e1f820
commit dc527aa116
2 changed files with 5 additions and 5 deletions

View File

@ -7,8 +7,8 @@
# have to be escaped in a way that they show up correctly in HTML!
title_label=About Plugins
enabledplugins_label=Enabled plugins
nopluginsareenabled_label=No enabled plugins found
installedplugins_label=Installed plugins
nopluginsareinstalled_label=No installed plugins found
findpluginupdates_label=Find updates for installed plugins at
file_label=File:
path_label=Path:

View File

@ -61,14 +61,14 @@
AddonManager.getAddonsByTypes(["plugin"], function (aPlugins) {
var fragment = document.createDocumentFragment();
// "Enabled plugins"
// "Installed plugins"
var id, label;
if (aPlugins.length > 0) {
id = "plugs";
label = "enabledplugins_label";
label = "installedplugins_label";
} else {
id = "noplugs";
label = "nopluginsareenabled_label";
label = "nopluginsareinstalled_label";
}
var enabledplugins = document.createElement("h1");
enabledplugins.setAttribute("id", id);