aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Macdonald2013-02-12 11:45:09 (EST)
committersfranklin2013-02-12 12:07:02 (EST)
commit483eb89fa2673eab6a2d28b8eb9a668024d01694 (patch)
treeb211b85d8efaee539105c87cdda6c9be2e54b870
parent4802ae7ac0de98f8a9dc7532d1eb2eb79a9f96e1 (diff)
downloadorg.eclipse.orion.client-483eb89fa2673eab6a2d28b8eb9a668024d01694.zip
org.eclipse.orion.client-483eb89fa2673eab6a2d28b8eb9a668024d01694.tar.gz
org.eclipse.orion.client-483eb89fa2673eab6a2d28b8eb9a668024d01694.tar.bz2
Bug 400498 - "Disable the plugin" tooltip on Plugin page unexternalized
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/settings/nls/root/messages.js4
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/widgets/plugin/PluginList.js8
2 files changed, 8 insertions, 4 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/settings/nls/root/messages.js b/bundles/org.eclipse.orion.client.ui/web/orion/settings/nls/root/messages.js
index 941da2c..72dc8df 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/settings/nls/root/messages.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/settings/nls/root/messages.js
@@ -85,6 +85,10 @@ define({
"Install": "Install",
"Install a plugin by specifying its URL": "Install a plugin by specifying its URL",
"Plugin URL:": "Plugin URL:",
+ "Disable": "Disable",
+ "DisableTooltip": "Disable the plugin",
+ "Enable": "Enable",
+ "EnableTooltip": "Enable the plugin",
"Reload all": "Reload all",
"Reload all installed plugins": "Reload all installed plugins",
"Create a new Orion Plugin": "Create a new Orion Plugin",
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/plugin/PluginList.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/plugin/PluginList.js
index e4a47fe..8b14b96 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/plugin/PluginList.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/plugin/PluginList.js
@@ -199,8 +199,8 @@ define(['i18n!orion/settings/nls/messages', 'require', 'orion/Deferred', 'orion/
var pluginRegistry = this.settings.pluginRegistry;
var disablePluginCommand = new mCommands.Command({
- name: "Disable",
- tooltip: "Disable the plugin",
+ name: messages["Disable"],
+ tooltip: messages["DisableTooltip"],
id: "orion.disablePlugin", //$NON-NLS-0$
imageClass: "core-sprite-stop", //$NON-NLS-0$
visibleWhen: function(url) { // we expect a URL
@@ -219,8 +219,8 @@ define(['i18n!orion/settings/nls/messages', 'require', 'orion/Deferred', 'orion/
var enablePluginCommand = new mCommands.Command({
- name: "Enable",
- tooltip: "Enable the plugin",
+ name: messages["Enable"],
+ tooltip: messages["EnableTooltip"],
id: "orion.enablePlugin", //$NON-NLS-0$
imageClass: "core-sprite-start", //$NON-NLS-0$
visibleWhen: function(url) { // we expect a URL