IDEA-248093 Internalzation for InstalledSearchOption
authorAlexander Lobas <Alexander.Lobas@jetbrains.com>
Wed, 12 Aug 2020 17:05:24 +0000 (20:05 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 12 Aug 2020 17:10:27 +0000 (17:10 +0000)
GitOrigin-RevId: 07665a87357daf253c994ec2fe9d8913361490c6

platform/platform-api/resources/messages/IdeBundle.properties
platform/platform-impl/src/com/intellij/ide/plugins/PluginManagerConfigurable.java

index ac8e7299498188dad79eaf0851a5472a255d63f9..6a448c6cfc1380da77996d7d57e139051cd501ef 100644 (file)
@@ -1547,7 +1547,12 @@ action.DataSharingOptionsAction.description=Data Sharing Options
 action.InstallFromDiskAction.text=Install Plugin from Disk...
 plugins.configurable.disable.all.downloaded=Disable All Downloaded Plugins
 plugins.configurable.enable.all.downloaded=Enable All Downloaded Plugins
-plugins.configurable.update.available=Update Available
+plugins.configurable.InstalledSearchOption.NeedUpdate=Update available
+plugins.configurable.InstalledSearchOption.Downloaded=Downloaded
+plugins.configurable.InstalledSearchOption.Enabled=Enabled
+plugins.configurable.InstalledSearchOption.Disabled=Disabled
+plugins.configurable.InstalledSearchOption.Invalid=Invalid
+plugins.configurable.InstalledSearchOption.Bundled=Bundled
 plugins.configurable.disable.all=Disable All
 plugins.configurable.enable.all=Enable All
 plugins.configurable.show=Show
index 05d5732df7a57a060313919dad723385bb4ac503..0be2915736ecaba3b8ed948284d8a18956c06eee 100644 (file)
@@ -1462,7 +1462,7 @@ public class PluginManagerConfigurable
     private boolean myState;
 
     private InstalledSearchOptionAction(@NotNull InstalledSearchOption option) {
-      super(option == InstalledSearchOption.NeedUpdate ? IdeBundle.message("plugins.configurable.update.available") : option.name());
+      super(IdeBundle.message("plugins.configurable.InstalledSearchOption." + option.name()));
       myOption = option;
     }