From 62bc040e510bc7b8fad3c52465a00ceb4bffe532 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Sat, 2 Aug 2008 21:04:30 +0400 Subject: [PATCH] wording --- .../src/com/intellij/ide/plugins/InstalledPluginsTableModel.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins-management/src/com/intellij/ide/plugins/InstalledPluginsTableModel.java b/plugins-management/src/com/intellij/ide/plugins/InstalledPluginsTableModel.java index d01d772bd0..3cc6e8a241 100644 --- a/plugins-management/src/com/intellij/ide/plugins/InstalledPluginsTableModel.java +++ b/plugins-management/src/com/intellij/ide/plugins/InstalledPluginsTableModel.java @@ -35,7 +35,10 @@ public class InstalledPluginsTableModel extends PluginTableModel { public InstalledPluginsTableModel(SortableProvider sortableProvider) { super.sortableProvider = sortableProvider; - super.columns = new ColumnInfo[]{new EnabledPluginInfo(), new NameColumnInfo()}; + super.columns = new ColumnInfo[]{ + new EnabledPluginInfo(), + new NameColumnInfo() + }; view = new ArrayList(Arrays.asList(PluginManager.getPlugins())); myEnabled.clear(); @@ -172,13 +175,13 @@ public class InstalledPluginsTableModel extends PluginTableModel { } }); if (!deps.isEmpty()) { - if (Messages.showOkCancelDialog("Plugin has disabled dependant plugins:
" + StringUtil.join(deps, new Function() { + if (Messages.showOkCancelDialog("The following plugins on which this plugin depends are disabled:
" + StringUtil.join(deps, new Function() { public String fun(final PluginId pluginId) { final IdeaPluginDescriptor pluginDescriptor = PluginManager.getPlugin(pluginId); assert pluginDescriptor != null; return pluginDescriptor.getName(); } - }, "
") + "", "Enable dependant plugins?", Messages.getQuestionIcon()) == DialogWrapper.OK_EXIT_CODE) { + }, "
") + "
Would you like to enable them?", "Enable Dependant Plugins", Messages.getQuestionIcon()) == DialogWrapper.OK_EXIT_CODE) { for (PluginId pluginId : deps) { myEnabled.put(pluginId, Boolean.TRUE); } -- 2.11.4.GIT