prepare to move UrlOpener to platform-api

This commit is contained in:
Vladimir Krivosheev
2014-02-07 17:18:18 +01:00
parent aecf185bba
commit 982376729f
12 changed files with 18 additions and 18 deletions
@@ -29,19 +29,19 @@
<properties/>
<border type="none"/>
<children>
<component id="852e3" class="javax.swing.JLabel">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/XmlBundle" key="label.text.path.to.profiles.ini"/>
</properties>
</component>
<hspacer id="d637d">
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
</hspacer>
<component id="852e3" class="javax.swing.JLabel">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="messages/IdeBundle" key="label.text.path.to.profiles.ini"/>
</properties>
</component>
</children>
</grid>
<component id="a31a5" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="myProfilesIniPathField">
@@ -66,7 +66,7 @@
</constraints>
<properties>
<labelFor value="c6e14"/>
<text resource-bundle="messages/XmlBundle" key="label.text.profile"/>
<text resource-bundle="messages/IdeBundle" key="label.text.profile"/>
</properties>
</component>
<hspacer id="d3289">
@@ -15,6 +15,7 @@
*/
package com.intellij.ide.browsers.firefox;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.PathChooserDialog;
import com.intellij.openapi.options.Configurable;
@@ -25,7 +26,6 @@ import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.ui.DocumentAdapter;
import com.intellij.xml.XmlBundle;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.Nullable;
@@ -50,7 +50,7 @@ public class FirefoxSettingsConfigurable implements Configurable {
public FirefoxSettingsConfigurable(FirefoxSettings settings) {
mySettings = settings;
myProfilesIniPathField.addBrowseFolderListener(XmlBundle.message("chooser.title.select.profiles.ini.file"), null, null, PROFILES_INI_CHOOSER_DESCRIPTOR);
myProfilesIniPathField.addBrowseFolderListener(IdeBundle.message("chooser.title.select.profiles.ini.file"), null, null, PROFILES_INI_CHOOSER_DESCRIPTOR);
myProfilesIniPathField.getTextField().getDocument().addDocumentListener(new DocumentAdapter() {
@Override
protected void textChanged(DocumentEvent e) {
@@ -144,7 +144,7 @@ public class FirefoxSettingsConfigurable implements Configurable {
@Override
@Nls
public String getDisplayName() {
return XmlBundle.message("display.name.firefox.settings");
return IdeBundle.message("display.name.firefox.settings");
}
@Override
@@ -3,6 +3,12 @@ error.cannot.start.browser=Cannot start browser: {0}
error.please.specify.path.to.web.browser=Please specify a path to web browser in {0} | Web Browsers
title.browser.not.found=Browser Not Found
chooser.title.select.profiles.ini.file=Select \"profiles.ini\" File
label.text.path.to.profiles.ini=Path to \"profiles.ini\":
label.text.profile=&Profile:
button.text.settings=Settings...
display.name.firefox.settings=Firefox Settings
browsers.explorer=Internet Explorer
browsers.safari=Safari
browsers.opera=Opera
@@ -222,12 +222,6 @@ cant.rename.file=Can't rename {0} to {1}
cant.delete.file=Can't delete file {0}
select.xsd.schema.dialog.title=Select XSD Schema
chooser.title.select.profiles.ini.file=Select \"profiles.ini\" File
label.text.path.to.profiles.ini=Path to \"profiles.ini\":
label.text.profile=&Profile:
button.text.settings=Settings...
display.name.firefox.settings=Firefox Settings
emmet.title=Emmet
emmet.configuration.title=Emmet (Zen Coding)
emmet.enable.label=&Enable XML Emmet