Thu, 13 Sep 2012 18:25:40 +0200
Merged in Spanish translations.
--- a/ChangeLog Sun Sep 09 18:41:08 2012 +0200 +++ b/ChangeLog Thu Sep 13 18:25:40 2012 +0200 @@ -1,5 +1,11 @@ ChangeLog --------- +Version 0.3.0 +- bug fixes +- adaptation to the extended project plug-in interface for registering + project types +- Spanish translations + Version 0.2.0 - bug fixes
--- a/PKGLIST Sun Sep 09 18:41:08 2012 +0200 +++ b/PKGLIST Thu Sep 13 18:25:40 2012 +0200 @@ -33,5 +33,6 @@ ProjectPyramid/__init__.py ProjectPyramid/i18n/pyramid_de.qm ProjectPyramid/i18n/pyramid_en.qm +ProjectPyramid/i18n/pyramid_es.qm ProjectPyramid/icons/pyramid.png ProjectPyramid/icons/pyramid64.png
--- a/PluginProjectPyramid.py Sun Sep 09 18:41:08 2012 +0200 +++ b/PluginProjectPyramid.py Thu Sep 13 18:25:40 2012 +0200 @@ -29,7 +29,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "0.2.0" +version = "0.3.0" className = "ProjectPyramidPlugin" packageName = "ProjectPyramid" shortDescription = "Project support for Pyramid projects." @@ -181,10 +181,18 @@ self.__mainMenu = self.__object.initMenu() - self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), - self.fileTypesCallback, - lexerAssociationCallback=self.lexerAssociationCallback, - binaryTranslationsCallback=self.binaryTranslationsCallback) + try: + self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), + self.fileTypesCallback, + lexerAssociationCallback=self.lexerAssociationCallback, + binaryTranslationsCallback=self.binaryTranslationsCallback, + progLanguages=["Python2", "Python3"]) + except TypeError: + # for backward compatibility + self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), + self.fileTypesCallback, + lexerAssociationCallback=self.lexerAssociationCallback, + binaryTranslationsCallback=self.binaryTranslationsCallback) Preferences.setProjectBrowserFlagsDefault("Pyramid", SourcesBrowserFlag | \ FormsBrowserFlag | \
--- a/PluginPyramid.e4p Sun Sep 09 18:41:08 2012 +0200 +++ b/PluginPyramid.e4p Thu Sep 13 18:25:40 2012 +0200 @@ -39,6 +39,7 @@ <Translation>ProjectPyramid/i18n/pyramid_es.ts</Translation> <Translation>ProjectPyramid/i18n/pyramid_en.ts</Translation> <Translation>ProjectPyramid/i18n/pyramid_en.qm</Translation> + <Translation>ProjectPyramid/i18n/pyramid_es.qm</Translation> </Translations> <Resources/> <Interfaces/>
--- a/ProjectPyramid/i18n/pyramid_es.ts Sun Sep 09 18:41:08 2012 +0200 +++ b/ProjectPyramid/i18n/pyramid_es.ts Thu Sep 13 18:25:40 2012 +0200 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.0" language="es_ES"> +<!DOCTYPE TS><TS version="2.0" language="es_ES" sourcelanguage=""> <context> <name>CreateParametersDialog</name> <message> @@ -605,7 +604,7 @@ <context> <name>ProjectPyramidPlugin</name> <message> - <location filename="PluginProjectPyramid.py" line="184"/> + <location filename="PluginProjectPyramid.py" line="192"/> <source>Pyramid</source> <translation></translation> </message>