*/
package net.sourceforge.phpdt.internal.ui.util;
-import net.sourceforge.phpeclipse.ui.IPreferenceConstants;
-import net.sourceforge.phpeclipse.ui.overlaypages.Util;
+import java.util.ArrayList;
+import java.util.StringTokenizer;
+
+import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import org.eclipse.core.resources.IFile;
+import org.eclipse.jface.preference.IPreferenceStore;
/**
* @author khartlage
- *
+ *
*/
public class PHPFileUtil {
- public final static String[] PHP_EXTENSIONS = {
- "php",
- "php3",
- "php4",
- "php5",
- "phtml",
- "module", // drupal
- "inc",
- "class"
- };
-// public final static String[] HTML_EXTENSIONS = {
-// "html",
-// "htm",
-// "xhtml"
-// };
- public final static String[] SMARTY_EXTENSIONS = {
- "tpl"
- };
-
- public static boolean isPHPFile(IFile file) {
+ private static String[] PHP_EXTENSIONS = null;
+
+ // {
+ // "php",
+ // "php3",
+ // "php4",
+ // "php5",
+ // "phtml",
+ // "module", // drupal
+ // "inc",
+ // "class"
+ // };
+ // public final static String[] HTML_EXTENSIONS = {
+ // "html",
+ // "htm",
+ // "xhtml"
+ // };
+ public final static String[] SMARTY_EXTENSIONS = { "tpl" };
+
+ public static boolean isPHPFile(IFile file) {
String extension = file.getFileExtension();
return isPHPFileName(file.getLocation().toString());
}
public final static String getFileExtension(String name) {
- int index = name.lastIndexOf('.');
- if (index == -1)
- return null;
- if (index == (name.length() - 1))
- return null; //$NON-NLS-1$
- return name.substring(index + 1);
-}
-
+ int index = name.lastIndexOf('.');
+ if (index == -1)
+ return null;
+ if (index == (name.length() - 1))
+ return null; //$NON-NLS-1$
+ return name.substring(index + 1);
+ }
+
/**
- * Returns true iff str.toLowerCase().endsWith(".php")
- * implementation is not creating extra strings.
+ * Returns true iff str.toLowerCase().endsWith(".php") implementation is not creating extra strings.
*/
public final static boolean isPHPFileName(String name) {
String extension = getFileExtension(name);
- if (extension==null) {
+ if (extension == null) {
return false;
}
extension = extension.toLowerCase();
- for (int i=0;i<PHP_EXTENSIONS.length;i++) {
+ PHP_EXTENSIONS = getExtensions();
+ if (PHP_EXTENSIONS == null) {
+ return false;
+ }
+ for (int i = 0; i < PHP_EXTENSIONS.length; i++) {
if (extension.equals(PHP_EXTENSIONS[i])) {
return true;
}
}
return false;
}
-
+
/**
- * Returns true iff str.toLowerCase().endsWith(".html")
- * implementation is not creating extra strings.
+ * Returns true iff str.toLowerCase().endsWith(".html") implementation is not creating extra strings.
*/
-// public final static boolean isHTML_FileName(String name) {
-// String extension = getFileExtension(name);
-// if (extension==null) {
-// return false;
-// }
-// extension = extension.toLowerCase();
-// for (int i=0;i<HTML_EXTENSIONS.length;i++) {
-// if (extension.equals(HTML_EXTENSIONS[i])) {
-// return true;
-// }
-// }
-// return false;
-// }
-
+ // public final static boolean isHTML_FileName(String name) {
+ // String extension = getFileExtension(name);
+ // if (extension==null) {
+ // return false;
+ // }
+ // extension = extension.toLowerCase();
+ // for (int i=0;i<HTML_EXTENSIONS.length;i++) {
+ // if (extension.equals(HTML_EXTENSIONS[i])) {
+ // return true;
+ // }
+ // }
+ // return false;
+ // }
/**
- * Returns true iff str.toLowerCase().endsWith(".tpl")
- * implementation is not creating extra strings.
+ * Returns true iff str.toLowerCase().endsWith(".tpl") implementation is not creating extra strings.
*/
-// public final static boolean isTPL_FileName(String name) {
-// String extension = getFileExtension(name);
-// if (extension==null) {
-// return false;
-// }
-// extension = extension.toLowerCase();
-// for (int i=0;i<SMARTY_EXTENSIONS.length;i++) {
-// if (extension.equals(SMARTY_EXTENSIONS[i])) {
-// return true;
-// }
-// }
-// return false;
-// }
-
+ // public final static boolean isTPL_FileName(String name) {
+ // String extension = getFileExtension(name);
+ // if (extension==null) {
+ // return false;
+ // }
+ // extension = extension.toLowerCase();
+ // for (int i=0;i<SMARTY_EXTENSIONS.length;i++) {
+ // if (extension.equals(SMARTY_EXTENSIONS[i])) {
+ // return true;
+ // }
+ // }
+ // return false;
+ // }
/**
- * Returns true iff the file extension is a valid PHP Unit name
- * implementation is not creating extra strings.
- */
- public final static boolean isValidPHPUnitName(String filename) {
- return PHPFileUtil.isPHPFileName(filename);
-// ||
-// PHPFileUtil.isHTML_FileName(filename) ||
-// PHPFileUtil.isTPL_FileName(filename);
- }
-}
+ * Returns true iff the file extension is a valid PHP Unit name implementation is not creating extra strings.
+ */
+ public final static boolean isValidPHPUnitName(String filename) {
+ return PHPFileUtil.isPHPFileName(filename);
+ // ||
+ // PHPFileUtil.isHTML_FileName(filename) ||
+ // PHPFileUtil.isTPL_FileName(filename);
+ }
+
+ /**
+ * @return Returns the PHP extensions.
+ */
+ public static String[] getExtensions() {
+ if (PHP_EXTENSIONS == null) {
+ ArrayList list = new ArrayList();
+ final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
+ String extensions = store.getString(PHPeclipsePlugin.PHP_EXTENSION_PREFS);
+ extensions = extensions.trim();
+ if (extensions.length() != 0) {
+ StringTokenizer tokenizer = new StringTokenizer(extensions, " ,;:/-|");
+ String token;
+ while (tokenizer.hasMoreTokens()) {
+ token = tokenizer.nextToken();
+ if (token != null && token.length() >= 1) {
+ list.add(token);
+ }
+ }
+ if (list.size() != 0) {
+ PHP_EXTENSIONS = new String[list.size()];
+ for (int i = 0; i < list.size(); i++) {
+ PHP_EXTENSIONS[i] = (String) list.get(i);
+ }
+ }
+ }
+ }
+ return PHP_EXTENSIONS;
+ }
+
+ /**
+ * @param php_extensions
+ * The PHP extensions to set.
+ */
+ public static void setExtensins(String[] php_extensions) {
+ PHP_EXTENSIONS = php_extensions;
+ }
+}
\ No newline at end of file
// public static final String LOCALHOST_PREF = "_localhost";
// public static final String DOCUMENTROOT_PREF = "_documentroot";
-// public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser";
-// public static final String SHOW_EXTERNAL_PREVIEW_PREF = "_show_external_preview";
-// public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
public static final String MYSQL_RUN_PREF = "_mysql_run_pref";
public static final String MYSQL_START_BACKGROUND = "_mysql_start_background";
public static final String MYSQL_PREF = "__mysql_start";
public static final String SHOW_OUTPUT_IN_CONSOLE = "_show_output_in_console";
public static final String PHP_RUN_PREF = "_php_run_pref";
public static final String EXTERNAL_PARSER_PREF = "_external_parser";
+ public static final String PHP_EXTENSION_PREFS = "_php_parser_extensions";
public static final String PHP_PARSER_DEFAULT = "_php_parser_default";
// public static final String PHP_INTERNAL_PARSER = "_php_internal_parser";
// public static final String PHP_EXTERNAL_PARSER = "_php_external_parser";
package net.sourceforge.phpeclipse;
+import net.sourceforge.phpdt.internal.ui.util.PHPFileUtil;
import net.sourceforge.phpeclipse.preferences.PHPPreferencesMessages;
import org.eclipse.jface.preference.BooleanFieldEditor;
-import org.eclipse.jface.preference.DirectoryFieldEditor;
import org.eclipse.jface.preference.FileFieldEditor;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;
public class PHPEclipseBasePreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
+ StringFieldEditor phpParserExtensionsSFE;
+
StringFieldEditor apacheStartSFE;
StringFieldEditor apacheStopSFE;
}
protected void performDefaults() {
+ phpParserExtensionsSFE.loadDefault();
apacheStartSFE.loadDefault();
apacheStopSFE.loadDefault();
apacheRestartSFE.loadDefault();
}
public boolean performOk() {
-
+ PHPFileUtil.setExtensins(null);
+ phpParserExtensionsSFE.store();
apacheStartSFE.store();
apacheStopSFE.store();
apacheRestartSFE.store();
composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
composite.setLayout(new GridLayout());
+ // allowed PHP file extensions for parsing
+ Composite phpParserExtensionsComposite = new Composite(composite, SWT.NULL);
+ phpParserExtensionsComposite.setLayout(new GridLayout());
+ phpParserExtensionsComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+ phpParserExtensionsSFE = new StringFieldEditor(IPreferenceConstants.PHP_EXTENSION_PREFS, PHPPreferencesMessages
+ .getString("PHPBasePreferencePage.phpExtensionPrefs"), phpParserExtensionsComposite);
+ phpParserExtensionsSFE.setPreferencePage(this);
+ phpParserExtensionsSFE.setPreferenceStore(getPreferenceStore());
+ phpParserExtensionsSFE.load();
+
//Create apache
Composite apacheSettingsComposite = new Composite(composite, SWT.NULL);
apacheSettingsComposite.setLayout(new GridLayout());
store.setDefault(MYSQL_RUN_PREF, "/apache/mysql/bin/mysqld");
store.setDefault(APACHE_RUN_PREF, "/apache/apache");
}
+ store.setDefault(PHP_EXTENSION_PREFS, "php,php3,php4,php5,phtml,inc,module,class");
store.setDefault(MYSQL_PREF, "--standalone");
store.setDefault(APACHE_START_PREF, "-c \"DocumentRoot \"{0}\"\"");
store.setDefault(APACHE_STOP_PREF, "-k shutdown");
+++ /dev/null
-#########################################
-# PHPProjectLibraryPage
-#########################################
-
-PHPProjectLibraryPage.elementNotIProject=FEHLER: Element ist kein IProject
-PHPProjectLibraryPage.project=Projekt
-PHPProjectLibraryPage.tabName=Projekte
-
-
-#########################################
-# Property Pages
-#########################################
-
-PHPProjectPropertyPage.phpProjectClosed=Das ausgewählte Projekt ist ein PHP Projekt, aber es ist geschlossen.
-PHPProjectPropertyPage.performOkExceptionDialogTitle=Kann nicht sichern
-PHPProjectPropertyPage.performOkExceptionDialogMessage=FEHLER: Kann die Projekt Eigenschaften nicht sichern
-
-PHPObfuscatorPropertyPage.hasnature=PHP Projekt.
-PHPObfuscatorPropertyPage.publish=Obfuscator Ausgabe Verzeichnis:
-PHPObfuscatorPropertyPage.dialogtitle=PHP
-PHPObfuscatorPropertyPage.projecterror=Kann das neue Projekt nicht anlegen.
-PHPObfuscatorPropertyPage.properties=PHP Obfuscator Projekt Eigenschaften
-
-#########################################
-# Preference Pages
-#########################################
-PHPBasePreferencePage.description=PHP Voreinstellungen
-PHPBasePreferencePage.websettingsGroup=Webserver Einstellungen
-PHPBasePreferencePage.websettingsGroup.localhost=Localhost
-PHPBasePreferencePage.websettingsGroup.docroot=DocumentRoot
-PHPBasePreferencePage.websettingsGroup.browser=Externes Browser Kommando
-PHPBasePreferencePage.websettingsGroup.useexternal=Benutze externen Browser
-PHPBasePreferencePage.websettingsGroup.showexternalpreview=Vorschau beim Öffnen des Editors (nur win32)
-PHPBasePreferencePage.apacheGroup=Apache Einstellungen
-PHPBasePreferencePage.apacheGroup.run=Apache
-PHPBasePreferencePage.apacheGroup.start=Start Apache
-PHPBasePreferencePage.apacheGroup.start_background=Im Hintergrund ausführen?
-PHPBasePreferencePage.apacheGroup.stop=Stop Apache
-PHPBasePreferencePage.apacheGroup.stop_background=Im Hintergrund ausführen?
-PHPBasePreferencePage.apacheGroup.restart=Restart Apache
-PHPBasePreferencePage.apacheGroup.restart_background=Im Hintergrund ausführen?
-PHPBasePreferencePage.console.php=Run PHP command
-PHPBasePreferencePage.mySQLGroup=MySQL Einstellungen
-PHPBasePreferencePage.mySQLGroup.run=MySQL
-PHPBasePreferencePage.mySQLGroup.start_background=Im Hintergrund ausführen?
-PHPBasePreferencePage.mySQLGroup.command=Start MySQL
-
-PHPBasePreferencePage.parsers=Parser Einstellungen
-PHPBasePreferencePage.parsers.pos=Parse beim Sichern
-PHPBasePreferencePage.parsers.external=Externer Parser
-PHPBasePreferencePage.parsers.internal=Interner Parser
-PHPBasePreferencePage.parsers.extcommand=Parser command
-PHPBasePreferencePage.parsers.choose=PHP Parser auswählen
-
-PHPEditorSyntaxPreferencePage.description:PHP Editor Preferences
-PHPEditorSyntaxPreferencePage.background:Background settings
-PHPEditorSyntaxPreferencePage.foreground:Foreground settings
-PHPEditorSyntaxPreferencePage.syntax:Syntax highlighting
-PHPEditorSyntaxPreferencePage.color:Colour
-PHPEditorSyntaxPreferencePage.bold:Bold
-PHPEditorSyntaxPreferencePage.italic:Italic
-PHPEditorSyntaxPreferencePage.underline:Underline
-PHPEditorSyntaxPreferencePage.multiLineComment=Multi-line comment
-PHPEditorSyntaxPreferencePage.singleLineComment=Single-line comment
-PHPEditorSyntaxPreferencePage.keywords=Keywords
-PHPEditorSyntaxPreferencePage.variables=Variables
-PHPEditorSyntaxPreferencePage.types=Types
-PHPEditorSyntaxPreferencePage.functions=Functions
-PHPEditorSyntaxPreferencePage.constants=Constants
-PHPEditorSyntaxPreferencePage.strings=Strings
-PHPEditorSyntaxPreferencePage.others=Others
-PHPEditorSyntaxPreferencePage.syntaxdialog=Custom PHP Syntax File:
-PHPEditorSyntaxPreferencePage.browse=Browse..
-PHPEditorSyntaxPreferencePage.textfont=Text font
-
-PHPLanguagePreferencePage.description=PHP Editor Language
-PHPLanguagePreferencePage.preflingo=PHP Language Preference
-PHPLanguagePreferencePage.choose=Choose Language
-PHPLanguagePreferencePage.english=Englisch
-PHPLanguagePreferencePage.german=Deutsch
-PHPLanguagePreferencePage.french=Frensch
-PHPLanguagePreferencePage.spanish=Spanish
+++ /dev/null
-#########################################
-# PHPProjectLibraryPage
-#########################################
-
-PHPProjectLibraryPage.elementNotIProject=ERREUR: L'élément n'est pas un IProject
-PHPProjectLibraryPage.project=Projet
-PHPProjectLibraryPage.tabName=Projets
-
-
-#########################################
-# Property Pages
-#########################################
-
-PHPProjectPropertyPage.phpProjectClosed=Le project choisi est un projet PHP, mais est fermé.
-PHPProjectPropertyPage.performOkExceptionDialogTitle=Impossible de sauver
-PHPProjectPropertyPage.performOkExceptionDialogMessage=ERREUR: Impossible de sauver les propriétés du projet.
-
-PHPObfuscatorPropertyPage.hasnature=Is PHP project.
-PHPObfuscatorPropertyPage.publish=Obfuscator directory:
-PHPObfuscatorPropertyPage.dialogtitle=PHP
-PHPObfuscatorPropertyPage.projecterror=Could not create the new project.
-PHPObfuscatorPropertyPage.properties=PHP Obfuscator Project Properties
-
-#########################################
-# Preference Pages
-#########################################
-PHPBasePreferencePage.description=PHP Preferences
-PHPBasePreferencePage.websettingsGroup=Configuration du serveur Web
-PHPBasePreferencePage.websettingsGroup.localhost=Localhost
-PHPBasePreferencePage.websettingsGroup.docroot=DocumentRoot
-PHPBasePreferencePage.websettingsGroup.browser=Commande du navigateur externe
-PHPBasePreferencePage.websettingsGroup.useexternal=Utiliser navigateur externe
-PHPBasePreferencePage.websettingsGroup.showexternalpreview=Show preview on editor load (win32 only)
-PHPBasePreferencePage.apacheGroup=Configuration Apache
-PHPBasePreferencePage.apacheGroup.run=Apache
-PHPBasePreferencePage.apacheGroup.start=Lancer Apache
-PHPBasePreferencePage.apacheGroup.start_background=Run in background mode
-PHPBasePreferencePage.apacheGroup.stop=Stopper Apache
-PHPBasePreferencePage.apacheGroup.stop_background=Run in background mode
-PHPBasePreferencePage.apacheGroup.restart=Relancer Apache
-PHPBasePreferencePage.apacheGroup.restart_background=Run in background mode
-PHPBasePreferencePage.console.php=Run PHP command
-PHPBasePreferencePage.mySQLGroup=Configuration MySQL
-PHPBasePreferencePage.mySQLGroup.run=MySQL
-PHPBasePreferencePage.mySQLGroup.start_background=Run in background mode
-PHPBasePreferencePage.mySQLGroup.command=Lancer MySQL
-
-PHPBasePreferencePage.parsers=Configuration de parsing
-PHPBasePreferencePage.parsers.pos=Parser à la sauvegarde
-PHPBasePreferencePage.parsers.external=Externe
-PHPBasePreferencePage.parsers.internal=Interne
-PHPBasePreferencePage.parsers.extcommand=Parser command
-PHPBasePreferencePage.parsers.choose=Choisissez un parseur PHP
-
-PHPEditorSyntaxPreferencePage.description:Configuration de l'éditeur PHP
-PHPEditorSyntaxPreferencePage.background:Paramètres d'arrière plan
-PHPEditorSyntaxPreferencePage.foreground:Paramètres d'avant plan
-PHPEditorSyntaxPreferencePage.syntax:Coloration syntaxique
-PHPEditorSyntaxPreferencePage.color:Couleur
-PHPEditorSyntaxPreferencePage.bold:Gras
-PHPEditorSyntaxPreferencePage.italic:Italique
-PHPEditorSyntaxPreferencePage.underline:Sousligné
-PHPEditorSyntaxPreferencePage.multiLineComment=Commentaire Multi-ligne
-PHPEditorSyntaxPreferencePage.singleLineComment=Commenaire Mono-ligne
-PHPEditorSyntaxPreferencePage.keywords=Mots clef
-PHPEditorSyntaxPreferencePage.variables=Variables
-PHPEditorSyntaxPreferencePage.types=Types
-PHPEditorSyntaxPreferencePage.functions=Fonctions
-PHPEditorSyntaxPreferencePage.constants=Constantes
-PHPEditorSyntaxPreferencePage.strings=Strings
-PHPEditorSyntaxPreferencePage.others=Autres
-PHPEditorSyntaxPreferencePage.syntaxdialog=Fichier de syntaxe PHP personnalisé :
-PHPEditorSyntaxPreferencePage.browse=Parcourir..
-PHPEditorSyntaxPreferencePage.textfont=Text font
-
-PHPLanguagePreferencePage.description=PHP Langue de l'éditeur
-PHPLanguagePreferencePage.preflingo=PHP Configuration de langue
-PHPLanguagePreferencePage.choose=Choisissez une langue
-PHPLanguagePreferencePage.english=English
-PHPLanguagePreferencePage.german=Deutsch
-PHPLanguagePreferencePage.french=Francais
-PHPLanguagePreferencePage.spanish=Spanish
+++ /dev/null
-#########################################
-# PHPProjectLibraryPage
-#########################################
-
-PHPProjectLibraryPage.elementNotIProject=ERROR: Element not IProject
-PHPProjectLibraryPage.project=Project
-PHPProjectLibraryPage.tabName=Projects
-
-
-#########################################
-# Property Pages
-#########################################
-
-PHPProjectPropertyPage.phpProjectClosed=The project selected is a PHP project, but is closed.
-PHPProjectPropertyPage.performOkExceptionDialogTitle=Unable to save
-PHPProjectPropertyPage.performOkExceptionDialogMessage=ERROR: Unable to save project properties.
-
-PHPObfuscatorPropertyPage.hasnature=Is PHP project.
-PHPObfuscatorPropertyPage.publish=Obfuscator directory:
-PHPObfuscatorPropertyPage.dialogtitle=PHP
-PHPObfuscatorPropertyPage.projecterror=Could not create the new project.
-PHPObfuscatorPropertyPage.properties=PHP Obfuscator Project Properties
-
-#########################################
-# Preference Pages
-#########################################
-PHPBasePreferencePage.description=PHP Preferences
-PHPBasePreferencePage.websettingsGroup=Webserver Settings
-PHPBasePreferencePage.websettingsGroup.localhost=Localhost
-PHPBasePreferencePage.websettingsGroup.docroot=DocumentRoot
-PHPBasePreferencePage.websettingsGroup.browser=External browser command
-PHPBasePreferencePage.websettingsGroup.useexternal=Use external browser
-PHPBasePreferencePage.websettingsGroup.showexternalpreview=Show preview on editor load (win32 only)
-PHPBasePreferencePage.apacheGroup=Apache Settings
-PHPBasePreferencePage.apacheGroup.run=Apache
-PHPBasePreferencePage.apacheGroup.start=Start Apache
-PHPBasePreferencePage.apacheGroup.start_background=Run in background mode
-PHPBasePreferencePage.apacheGroup.stop=Stop Apache
-PHPBasePreferencePage.apacheGroup.stop_background=Run in background mode
-PHPBasePreferencePage.apacheGroup.restart=Restart Apache
-PHPBasePreferencePage.apacheGroup.restart_background=Run in background mode
-PHPBasePreferencePage.console.php=Run PHP command
-PHPBasePreferencePage.mySQLGroup=MySQL Settings
-PHPBasePreferencePage.mySQLGroup.run=MySQL
-PHPBasePreferencePage.mySQLGroup.start_background=Run in background mode
-PHPBasePreferencePage.mySQLGroup.command=Start MySQL
-PHPBasePreferencePage.parsers=Parsing settings
-PHPBasePreferencePage.parsers.pos=Parse on save
-PHPBasePreferencePage.parsers.external=External
-PHPBasePreferencePage.parsers.internal=Internal
-PHPBasePreferencePage.parsers.extcommand=Parser command
-PHPBasePreferencePage.parsers.choose=Choose PHP Parser
-
-PHPEditorSyntaxPreferencePage.description:PHP Editor Preferences
-PHPEditorSyntaxPreferencePage.background:Background settings
-PHPEditorSyntaxPreferencePage.foreground:Foreground settings
-PHPEditorSyntaxPreferencePage.syntax:Syntax highlighting
-PHPEditorSyntaxPreferencePage.color:Colour
-PHPEditorSyntaxPreferencePage.bold:Bold
-PHPEditorSyntaxPreferencePage.italic:Italic
-PHPEditorSyntaxPreferencePage.underline:Underline
-PHPEditorSyntaxPreferencePage.multiLineComment=Multi-line comment
-PHPEditorSyntaxPreferencePage.singleLineComment=Single-line comment
-PHPEditorSyntaxPreferencePage.keywords=Keywords
-PHPEditorSyntaxPreferencePage.variables=Variables
-PHPEditorSyntaxPreferencePage.types=Types
-PHPEditorSyntaxPreferencePage.functions=Functions
-PHPEditorSyntaxPreferencePage.constants=Constants
-PHPEditorSyntaxPreferencePage.strings=Strings
-PHPEditorSyntaxPreferencePage.others=Others
-PHPEditorSyntaxPreferencePage.syntaxdialog=Custom PHP Syntax File:
-PHPEditorSyntaxPreferencePage.browse=Browse..
-PHPEditorSyntaxPreferencePage.textfont=Text font
-
-PHPLanguagePreferencePage.description=PHP Editor Language
-PHPLanguagePreferencePage.preflingo=PHP Language Preference
-PHPLanguagePreferencePage.choose=Choose Language
-PHPLanguagePreferencePage.english=English
-PHPLanguagePreferencePage.german=German
-PHPLanguagePreferencePage.french=French
-PHPLanguagePreferencePage.spanish=Spanish
+++ /dev/null
-#########################################
-# PHPProjectLibraryPage
-#########################################
-
-PHPProjectLibraryPage.elementNotIProject=ERROR: El elemento no es IProject
-PHPProjectLibraryPage.project=Proyecto
-PHPProjectLibraryPage.tabName=Proyectos
-
-
-#########################################
-# Property Pages
-#########################################
-
-PHPProjectPropertyPage.phpProjectClosed=El proyecto seleccionado es un proyecto PHP, pero está cerrado.
-PHPProjectPropertyPage.performOkExceptionDialogTitle=No se pudo guardar.
-PHPProjectPropertyPage.performOkExceptionDialogMessage=ERROR: No se pudo guardar las propiedades del proyecto.
-
-PHPObfuscatorPropertyPage.hasnature=Is PHP project.
-PHPObfuscatorPropertyPage.publish=Obfuscator directory:
-PHPObfuscatorPropertyPage.dialogtitle=PHP
-PHPObfuscatorPropertyPage.projecterror=Could not create the new project.
-PHPObfuscatorPropertyPage.properties=PHP Obfuscator Project Properties
-
-#########################################
-# Preference Pages
-#########################################
-PHPBasePreferencePage.description=Preferencias PHP
-PHPBasePreferencePage.websettingsGroup=Configuración Webserver
-PHPBasePreferencePage.websettingsGroup.localhost=Localhost
-PHPBasePreferencePage.websettingsGroup.docroot=DocumentRoot
-PHPBasePreferencePage.websettingsGroup.browser=Comando navegador externo
-PHPBasePreferencePage.websettingsGroup.useexternal=Usar navegador externo
-PHPBasePreferencePage.websettingsGroup.showexternalpreview=Show preview on editor load (win32 only)
-PHPBasePreferencePage.apacheGroup=Configuración Apache
-PHPBasePreferencePage.apacheGroup.run=Apache
-PHPBasePreferencePage.apacheGroup.start=Arranchar Apache
-PHPBasePreferencePage.apacheGroup.start_background=Run in background mode
-PHPBasePreferencePage.apacheGroup.stop=Parar Apache
-PHPBasePreferencePage.apacheGroup.stop_background=Run in background mode
-PHPBasePreferencePage.apacheGroup.restart=Reiniciar Apache
-PHPBasePreferencePage.apacheGroup.restart_background=Run in background mode
-PHPBasePreferencePage.console.php=Run PHP command
-PHPBasePreferencePage.mySQLGroup=Configuración MySQL
-PHPBasePreferencePage.mySQLGroup.run=MySQL
-PHPBasePreferencePage.mySQLGroup.start_background=Run in background mode
-PHPBasePreferencePage.mySQLGroup.command=Arranchar MySQL
-
-PHPBasePreferencePage.console.php=Run PHP command
-
-PHPBasePreferencePage.parsers=Configuración Parser
-PHPBasePreferencePage.parsers.pos=Parsear al guardar
-PHPBasePreferencePage.parsers.external=Externo
-PHPBasePreferencePage.parsers.internal=Interno
-PHPBasePreferencePage.parsers.extcommand=Parser command
-PHPBasePreferencePage.parsers.choose=Escoja Parser PHP
-
-PHPEditorSyntaxPreferencePage.description:Preferencias Editor PHP
-PHPEditorSyntaxPreferencePage.background:Background settings
-PHPEditorSyntaxPreferencePage.foreground:Preferencias primer plano
-PHPEditorSyntaxPreferencePage.syntax:Resaltar sintaxis
-PHPEditorSyntaxPreferencePage.color:Color
-PHPEditorSyntaxPreferencePage.bold:Negrita
-PHPEditorSyntaxPreferencePage.italic:Cursiva
-PHPEditorSyntaxPreferencePage.underline:Subrayado
-PHPEditorSyntaxPreferencePage.multiLineComment=Comentario varias líneas
-PHPEditorSyntaxPreferencePage.singleLineComment=Comentario una línia
-PHPEditorSyntaxPreferencePage.keywords=Palabras clave
-PHPEditorSyntaxPreferencePage.variables=Variables
-PHPEditorSyntaxPreferencePage.types=Tipos
-PHPEditorSyntaxPreferencePage.functions=Funciones
-PHPEditorSyntaxPreferencePage.constants=Constantes
-PHPEditorSyntaxPreferencePage.strings=Cadenas
-PHPEditorSyntaxPreferencePage.others=Otros
-PHPEditorSyntaxPreferencePage.syntaxdialog=Fichero de sintaxis personalizado:
-PHPEditorSyntaxPreferencePage.browse=Examinar..
-PHPEditorSyntaxPreferencePage.textfont=Fuente del texto
-
-PHPLanguagePreferencePage.description=Idioma editor PHP
-PHPLanguagePreferencePage.preflingo=Configuración idioma PHP
-PHPLanguagePreferencePage.choose=Escoja idioma
-PHPLanguagePreferencePage.english=Inglés
-PHPLanguagePreferencePage.german=Alemán
-PHPLanguagePreferencePage.french=Francés
-PHPLanguagePreferencePage.spanish=Español
PHPBasePreferencePage.parsers.internal=Internal
PHPBasePreferencePage.parsers.extcommand=Parser command
PHPBasePreferencePage.parsers.choose=Choose PHP Parser
+PHPBasePreferencePage.phpExtensionPrefs=PHP file extensions (internal Parser)
PHPEditorSyntaxPreferencePage.description:PHP Editor Preferences
PHPEditorSyntaxPreferencePage.background:Background settings