extracted built-in server settings into a separate category
authorEgor.Ushakov <egor.ushakov@jetbrains.com>
Fri, 15 May 2015 16:13:56 +0000 (19:13 +0300)
committerEgor.Ushakov <egor.ushakov@jetbrains.com>
Fri, 15 May 2015 16:13:56 +0000 (19:13 +0300)
platform/built-in-server/src/org/jetbrains/builtInWebServer/BuiltInServerOptions.java
platform/platform-resources-en/src/messages/XmlBundle.properties

index f6c2abf4f1e9370aef263c03b20ef4e840bce4dd..407e7f7d2160379688ac02bb499bcc78c6c508db 100644 (file)
@@ -13,6 +13,7 @@ import com.intellij.util.xmlb.XmlSerializerUtil;
 import com.intellij.util.xmlb.annotations.Attribute;
 import com.intellij.xdebugger.settings.DebuggerConfigurableProvider;
 import com.intellij.xdebugger.settings.DebuggerSettingsCategory;
+import com.intellij.xml.XmlBundle;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 import org.jetbrains.ide.BuiltInServerManager;
@@ -46,7 +47,8 @@ public class BuiltInServerOptions implements PersistentStateComponent<BuiltInSer
     @Override
     public Collection<? extends Configurable> getConfigurables(@NotNull DebuggerSettingsCategory category) {
       if (category == DebuggerSettingsCategory.GENERAL) {
-        return Collections.singletonList(SimpleConfigurable.create("builtInServer", "", BuiltInServerConfigurableUi.class, getInstance()));
+        return Collections.singletonList(SimpleConfigurable.create("builtInServer", XmlBundle
+          .message("setting.builtin.server.category.label"), BuiltInServerConfigurableUi.class, getInstance()));
       }
       return Collections.emptyList();
     }
index 719cef2f616bf5b2a126311f7aeba86636598c27..f1f562b21bb8996a934bce25b3de5980c5463b8e 100644 (file)
@@ -239,5 +239,6 @@ start.browser.with.js.debugger=with &JavaScript debugger
 javascript.debugger.settings.choose.file.title=Select
 javascript.debugger.settings.choose.file.subtitle=Select file to debug JavaScript in
 
-setting.value.builtin.server.port.label=Built-in server &port:
+setting.builtin.server.category.label=Built-in server
+setting.value.builtin.server.port.label=&Port\:
 setting.value.can.accept.external.connections=Can accept &external connections
\ No newline at end of file