From 35f01fa140dc41f4793a4bdb1537f1e10868f76b Mon Sep 17 00:00:00 2001 From: khartlage Date: Sat, 8 Nov 2003 22:31:05 +0000 Subject: [PATCH] initial nl support for phphelp plugin --- net.sourceforge.phpeclipse.phphelp.nl1/.classpath | 37 ++++++++++++++++++++ net.sourceforge.phpeclipse.phphelp.nl1/.project | 31 ++++++++++++++++ net.sourceforge.phpeclipse.phphelp.nl1/.template | 4 ++ .../build.properties | 4 ++ .../fragment.xml | 14 +++++++ .../plugin_de.properties | 7 ++++ .../plugin_es.properties | 7 ++++ .../plugin_fr.properties | 7 ++++ .../plugin_it.properties | 7 ++++ .../plugin_ja.properties | 7 ++++ .../plugin_ko.properties | 7 ++++ .../plugin_pt_BR.properties | 7 ++++ .../plugin_zh_CN.properties | 7 ++++ .../plugin_zh_TW.properties | 7 ++++ .../PHPHelpPreferenceMessages_de.properties | 4 ++ .../PHPHelpPreferenceMessages_es.properties | 4 ++ .../PHPHelpPreferenceMessages_fr.properties | 4 ++ .../PHPHelpPreferenceMessages_it.properties | 4 ++ .../PHPHelpPreferenceMessages_ja.properties | 4 ++ .../PHPHelpPreferenceMessages_ko.properties | 4 ++ .../PHPHelpPreferenceMessages_pt_BR.properties | 4 ++ .../PHPHelpPreferenceMessages_zh_CN.properties | 4 ++ .../PHPHelpPreferenceMessages_zh_TW.properties | 4 ++ .../plugin.properties | 4 ++- net.sourceforge.phpeclipse.phphelp/plugin.xml | 4 +- .../phpdt/phphelp/PHPHelpPreferenceMessages.java | 36 +++++++++++++++++++ .../phphelp/PHPHelpPreferenceMessages.properties | 4 ++ .../phpdt/phphelp/PHPHelpPreferencePage.java | 8 ++-- 28 files changed, 238 insertions(+), 7 deletions(-) create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/.classpath create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/.project create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/.template create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/build.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/fragment.xml create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_es.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_fr.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_it.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_ja.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_ko.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_pt_BR.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_CN.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_TW.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_de.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_es.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_fr.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_it.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ja.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ko.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_pt_BR.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_CN.properties create mode 100644 net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_TW.properties create mode 100644 net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.java create mode 100644 net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.properties diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/.classpath b/net.sourceforge.phpeclipse.phphelp.nl1/.classpath new file mode 100644 index 0000000..a9fe7c5 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/.classpath @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/.project b/net.sourceforge.phpeclipse.phphelp.nl1/.project new file mode 100644 index 0000000..60edb67 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/.project @@ -0,0 +1,31 @@ + + + net.sourceforge.phpeclipse.phphelp.nl1 + + + net.sourceforge.phpeclipse + net.sourceforge.phpeclipse.nl1 + net.sourceforge.phpeclipse.phphelp + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/.template b/net.sourceforge.phpeclipse.phphelp.nl1/.template new file mode 100644 index 0000000..f3bcd41 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/.template @@ -0,0 +1,4 @@ + +
+

Tips on working with this plug-in project

  • For the view of the new plug-in at a glance, go to the Overview.
  • You can test the contributions of this plug-in by launching another instance of the workbench. On the Run menu, click Run As and choose Run-time Workbench from the available choices.
  • You can add more functionality to this plug-in by adding extensions using the New Extension Wizard.
  • The plug-in project contains Java code that you can debug. Place breakpoints in Java classes. On the Run menu, select Debug As and choose Run-time Workbench from the available choices.
  • +
    diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/build.properties b/net.sourceforge.phpeclipse.phphelp.nl1/build.properties new file mode 100644 index 0000000..88fae7a --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/build.properties @@ -0,0 +1,4 @@ +source.nl1.jar = src/ +bin.includes = fragment.xml,\ + *.jar,\ + nl1.jar diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/fragment.xml b/net.sourceforge.phpeclipse.phphelp.nl1/fragment.xml new file mode 100644 index 0000000..85ebba1 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/fragment.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties new file mode 100644 index 0000000..7364008 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Hilfe +providerName=phpeclipse.de +phphelpLabel=PHP Hilfe +phphelpFormat=Hilfe (WIN_32 *.chm Format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_es.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_es.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_es.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_fr.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_fr.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_fr.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_it.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_it.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_it.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_ja.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_ja.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_ja.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_ko.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_ko.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_ko.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_pt_BR.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_pt_BR.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_pt_BR.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_CN.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_CN.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_CN.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_TW.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_TW.properties new file mode 100644 index 0000000..4b79c2b --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_TW.properties @@ -0,0 +1,7 @@ +######################################### +# +######################################### +pluginName=PHP Plugin Help +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_de.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_de.properties new file mode 100644 index 0000000..7e29a54 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_de.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Einstellungen (nur WIN_32) +PHPHelpPreferencePage.PHPHelp.format=Zeige Hilfe im *.chm Format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm Datei: +PHPHelpPreferencePage.PHPHelp.command=PHP Hilfe Kommando: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_es.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_es.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_es.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_fr.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_fr.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_fr.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_it.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_it.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_it.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ja.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ja.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ja.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ko.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ko.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ko.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_pt_BR.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_pt_BR.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_pt_BR.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_CN.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_CN.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_CN.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_TW.properties b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_TW.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_TW.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp/plugin.properties b/net.sourceforge.phpeclipse.phphelp/plugin.properties index 0a31e89..4b79c2b 100644 --- a/net.sourceforge.phpeclipse.phphelp/plugin.properties +++ b/net.sourceforge.phpeclipse.phphelp/plugin.properties @@ -2,4 +2,6 @@ # ######################################### pluginName=PHP Plugin Help -providerName=EclipseProject.de +providerName=phpeclipse.de +phphelpLabel=PHP Help +phphelpFormat=Help (WIN_32 *.chm format) diff --git a/net.sourceforge.phpeclipse.phphelp/plugin.xml b/net.sourceforge.phpeclipse.phphelp/plugin.xml index bb1da88..fa76cf1 100644 --- a/net.sourceforge.phpeclipse.phphelp/plugin.xml +++ b/net.sourceforge.phpeclipse.phphelp/plugin.xml @@ -23,7 +23,7 @@ targetID="#PHPEditorContext" id="net.sourceforge.phpdt.phphelp.actions.popup.editor"> @@ -40,7 +40,7 @@ diff --git a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.java b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.java new file mode 100644 index 0000000..255ef1d --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.java @@ -0,0 +1,36 @@ +package net.sourceforge.phpdt.phphelp; + +import java.util.MissingResourceException; +import java.util.ResourceBundle; + +/** + * @author jsurfer + * + * + */ +public class PHPHelpPreferenceMessages { + + private static final String BUNDLE_NAME = "net.sourceforge.phpdt.phphelp.PHPHelpPreferenceMessages"; //$NON-NLS-1$ + + private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); + + /** + * + */ + private PHPHelpPreferenceMessages() { + + // TODO Auto-generated constructor stub + } + /** + * @param key + * @return + */ + public static String getString(String key) { + // TODO Auto-generated method stub + try { + return RESOURCE_BUNDLE.getString(key); + } catch (MissingResourceException e) { + return '!' + key + '!'; + } + } +} diff --git a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.properties b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.properties new file mode 100644 index 0000000..fbe1682 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.properties @@ -0,0 +1,4 @@ +PHPHelpPreferencePage.PHPHelpSettings=PHP Help Settings (WIN_32 only) +PHPHelpPreferencePage.PHPHelp.format=Show Help in *.chm format? +PHPHelpPreferencePage.PHPHelp.chm.file=PHP *.chm file: +PHPHelpPreferencePage.PHPHelp.command=PHP Help command: diff --git a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferencePage.java b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferencePage.java index 6f0475e..dbfac90 100644 --- a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferencePage.java +++ b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferencePage.java @@ -25,7 +25,7 @@ public class PHPHelpPreferencePage public PHPHelpPreferencePage() { super(); setPreferenceStore(PHPHelpPlugin.getDefault().getPreferenceStore()); - setDescription("PHP Help Settings (WIN_32 only)"); //$NON-NLS-1$ + setDescription(PHPHelpPreferenceMessages.getString("PHPHelpPreferencePage.PHPHelpSettings")); //$NON-NLS-1$ } public void init(IWorkbench workbench) { @@ -64,7 +64,7 @@ public class PHPHelpPreferencePage phpCHMHelpEnabled = new BooleanFieldEditor( PHPHelpPlugin.PHP_CHM_ENABLED, - "Show Help in *.chm format?", + PHPHelpPreferenceMessages.getString("PHPHelpPreferencePage.PHPHelp.format"), //$NON-NLS-1$ composite); phpCHMHelpEnabled.setPreferencePage(this); phpCHMHelpEnabled.setPreferenceStore(getPreferenceStore()); @@ -74,7 +74,7 @@ public class PHPHelpPreferencePage phpCHMHelpFile = new FileFieldEditor( PHPHelpPlugin.PHP_CHM_FILE, - "PHP *.chm file:", + PHPHelpPreferenceMessages.getString("PHPHelpPreferencePage.PHPHelp.chm.file"), //$NON-NLS-1$ composite); phpCHMHelpFile.setPreferencePage(this); phpCHMHelpFile.setPreferenceStore(getPreferenceStore()); @@ -84,7 +84,7 @@ public class PHPHelpPreferencePage phpCHMHelpCommand = new StringFieldEditor( PHPHelpPlugin.PHP_CHM_COMMAND, - "PHP Help command:", + PHPHelpPreferenceMessages.getString("PHPHelpPreferencePage.PHPHelp.command"), //$NON-NLS-1$ composite); phpCHMHelpCommand.setPreferencePage(this); phpCHMHelpCommand.setPreferenceStore(getPreferenceStore()); -- 1.7.1