avoid OutOfBoundsException and break of format action, when marker positions are...
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / phphelp / PHPHelpPreferencePage.java
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());