initial nl support for phphelp plugin
authorkhartlage <khartlage>
Sat, 8 Nov 2003 22:31:05 +0000 (22:31 +0000)
committerkhartlage <khartlage>
Sat, 8 Nov 2003 22:31:05 +0000 (22:31 +0000)
28 files changed:
net.sourceforge.phpeclipse.phphelp.nl1/.classpath [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/.project [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/.template [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/build.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/fragment.xml [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_es.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_fr.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_it.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_ja.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_ko.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_pt_BR.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_CN.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/plugin_zh_TW.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_de.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_es.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_fr.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_it.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ja.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_ko.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_pt_BR.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_CN.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp.nl1/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages_zh_TW.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp/plugin.properties
net.sourceforge.phpeclipse.phphelp/plugin.xml
net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.java [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferenceMessages.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/phphelp/PHPHelpPreferencePage.java

diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/.classpath b/net.sourceforge.phpeclipse.phphelp.nl1/.classpath
new file mode 100644 (file)
index 0000000..a9fe7c5
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+    <classpathentry kind="src" path="src/"/>
+    <classpathentry kind="src" path="/net.sourceforge.phpeclipse.phphelp"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.resources_2.1.1/resources.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.resources_2.1.1/resourcessrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui_2.1.1/ui.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui_2.1.1/uisrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.swt.win32_2.1.1/ws/win32/swt.jar" sourcepath="ORG_ECLIPSE_PLATFORM_WIN32_SOURCE_SRC/org.eclipse.swt.win32_2.1.1/ws/win32/swtsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.text_2.1.0/text.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.text_2.1.0/textsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.jface_2.1.1/jface.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jface_2.1.1/jfacesrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.jface.text_2.1.0/jfacetext.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jface.text_2.1.0/jfacetextsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.views_2.1.0/views.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.views_2.1.0/viewssrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.workbench_2.1.1/workbench.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.workbench_2.1.1/workbenchsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.win32_2.1.0/workbenchwin32.jar" sourcepath="ORG_ECLIPSE_PLATFORM_WIN32_SOURCE_SRC/org.eclipse.ui.win32_2.1.0/workbenchwin32src.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.workbench.texteditor_2.1.0/texteditor.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.workbench.texteditor_2.1.0/texteditorsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.editors_2.1.0/editors.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.editors_2.1.0/editorssrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.help_2.1.1/help.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.help_2.1.1/helpsrc.zip"/>
+    <classpathentry kind="src" path="/net.sourceforge.phpeclipse"/>
+    <classpathentry kind="src" path="/net.sourceforge.phpeclipse.nl1"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.1.1/boot.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.boot_2.1.1/bootsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.1.1/runtime.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.runtime_2.1.1/runtimesrc.zip"/>
+    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+    <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/.project b/net.sourceforge.phpeclipse.phphelp.nl1/.project
new file mode 100644 (file)
index 0000000..60edb67
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>net.sourceforge.phpeclipse.phphelp.nl1</name>
+       <comment></comment>
+       <projects>
+               <project>net.sourceforge.phpeclipse</project>
+               <project>net.sourceforge.phpeclipse.nl1</project>
+               <project>net.sourceforge.phpeclipse.phphelp</project>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/.template b/net.sourceforge.phpeclipse.phphelp.nl1/.template
new file mode 100644 (file)
index 0000000..f3bcd41
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<form>\r
+   <p/><p><b>Tips on working with this plug-in project</b></p><li>For the view of the new plug-in at a glance, go to the <img href="pageImage"/><a href="OverviewPage">Overview</a>.</li><li>You can test the contributions of this plug-in by launching another instance of the workbench. On the <b>Run</b> menu, click <b>Run As</b> and choose <img href="runTimeWorkbenchImage"/><a href="action.run">Run-time Workbench</a> from the available choices.</li><li>You can add more functionality to this plug-in by adding extensions using the <a href="action.newExtension">New Extension Wizard</a>.</li><li>The plug-in project contains Java code that you can debug. Place breakpoints in Java classes. On the <b>Run</b> menu, select <b>Debug As</b> and choose <img href="runTimeWorkbenchImage"/><a href="action.debug">Run-time Workbench</a> from the available choices.</li>\r
+</form>\r
diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/build.properties b/net.sourceforge.phpeclipse.phphelp.nl1/build.properties
new file mode 100644 (file)
index 0000000..88fae7a
--- /dev/null
@@ -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 (file)
index 0000000..85ebba1
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fragment
+   id="net.sourceforge.phpeclipse.phphelp.nl1"
+   name="PHPeclipse PHPHelp NL Support"
+   version="1.0.4"
+   provider-name="phpeclipse.de"
+   plugin-id="net.sourceforge.phpeclipse.phphelp"
+   plugin-version="1.0.4"
+   match="greaterOrEqual">
+
+   <runtime>
+      <library name="nl1.jar"/>
+   </runtime>
+</fragment>
diff --git a/net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties b/net.sourceforge.phpeclipse.phphelp.nl1/plugin_de.properties
new file mode 100644 (file)
index 0000000..7364008
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..4b79c2b
--- /dev/null
@@ -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 (file)
index 0000000..7e29a54
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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:
index 0a31e89..4b79c2b 100644 (file)
@@ -2,4 +2,6 @@
 #
 #########################################
 pluginName=PHP Plugin Help 
-providerName=EclipseProject.de
+providerName=phpeclipse.de
+phphelpLabel=PHP Help
+phphelpFormat=Help (WIN_32 *.chm format)
index bb1da88..fa76cf1 100644 (file)
@@ -23,7 +23,7 @@
             targetID="#PHPEditorContext"
             id="net.sourceforge.phpdt.phphelp.actions.popup.editor">
          <action
-               label="PHP Help"
+               label="%phphelpLabel"
                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
                menubarPath="additions"
                id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
@@ -40,7 +40,7 @@
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
-            name="Help (WIN_32 chm format)"
+            name="%phphelpFormat"
             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
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 (file)
index 0000000..255ef1d
--- /dev/null
@@ -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 (file)
index 0000000..fbe1682
--- /dev/null
@@ -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:
index 6f0475e..dbfac90 100644 (file)
@@ -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());