Tue, 29 Oct 2013 22:30:48 +0100
Merged with code styles issues cleaned.
diff -r c7adc68350dd -r e654970c913e .hgtags --- a/.hgtags Sun Oct 27 22:43:17 2013 +0100 +++ b/.hgtags Tue Oct 29 22:30:48 2013 +0100 @@ -19,3 +19,4 @@ 147b03c964be9e5b4854e78fc779cce37ad7a0d1 release-1.1.1 989c961c33ab2eed7eb76f3dffbc4bcffdb85c0c release-1.2.0 795db57eef40311f69f8f73dfd7449e1aee3dc4e release-1.3.0 +71c83a661c83bfdb31c9890fb0f0e50cef41844b release-1.3.1
diff -r c7adc68350dd -r e654970c913e ChangeLog --- a/ChangeLog Sun Oct 27 22:43:17 2013 +0100 +++ b/ChangeLog Tue Oct 29 22:30:48 2013 +0100 @@ -8,6 +8,9 @@ - handling of translations in Windows fixed - improved error management if setup.cfg isn't completely +Version 1.3.1 +- fixed code style issues + Version 1.3.0 - bug fixes - added a menu entry to call a translations editor from the translations viewer @@ -28,7 +31,8 @@ - first stable release Version 0.4.0 -- bug fix related to uninstalling the plug-in via the external plug-in uninstaller +- bug fix related to uninstalling the plug-in via the external plug-in + uninstaller Version 0.3.0 - bug fixes
diff -r c7adc68350dd -r e654970c913e PluginProjectPyramid.py --- a/PluginProjectPyramid.py Sun Oct 27 22:43:17 2013 +0100 +++ b/PluginProjectPyramid.py Tue Oct 29 22:30:48 2013 +0100 @@ -32,7 +32,8 @@ className = "ProjectPyramidPlugin" packageName = "ProjectPyramid" shortDescription = "Project support for Pyramid projects." -longDescription = """This plugin implements project support for Pyramid projects.""" +longDescription = \ + """This plugin implements project support for Pyramid projects.""" needsRestart = False pyqtApi = 2 # End-of-Header @@ -46,6 +47,7 @@ """ Module function to create the Pyramid configuration page. + @param configDlg reference to the configuration dialog @return reference to the configuration page """ global pyramidPluginObject @@ -62,11 +64,10 @@ """ if e5App().getObject("UserInterface").versionIsNewer('5.0.99', '20120101'): return { - "pyramidPage": \ - [QCoreApplication.translate("ProjectPyramidPlugin", "Pyramid"), - os.path.join("ProjectPyramid", "icons", - "pyramid.png"), - createPyramidPage, None, None], + "pyramidPage": [ + QCoreApplication.translate("ProjectPyramidPlugin", "Pyramid"), + os.path.join("ProjectPyramid", "icons", "pyramid.png"), + createPyramidPage, None, None], } else: return {} @@ -76,6 +77,7 @@ """ Module function to return the API files made available by this plugin. + @param language language to get APIs for (string) @return list of API filenames (list of string) """ if language in ["Python3", "Python2"]: @@ -124,7 +126,8 @@ "VirtualEnvironmentPy3": "", "Python2ConsoleType": "python", "Python3ConsoleType": "python", - "PyramidDocUrl": "http://docs.pylonsproject.org/en/latest/docs/pyramid.html", + "PyramidDocUrl": "http://docs.pylonsproject.org/en/latest/" + "docs/pyramid.html", "TranslationsEditor": "", } if isWindowsPlatform(): @@ -161,7 +164,8 @@ if self.__ui.versionIsNewer('5.0.99', '20120101'): error = "" else: - error = self.trUtf8("eric5 version is too old, {0}, {1} or newer needed.")\ + error = self.trUtf8( + "eric5 version is too old, {0}, {1} or newer needed.")\ .format("5.1.0", "20120101") return False @@ -189,41 +193,45 @@ if self.__supportedVariants: try: - self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), + self.__e5project.registerProjectType( + "Pyramid", self.trUtf8("Pyramid"), self.fileTypesCallback, lexerAssociationCallback=self.lexerAssociationCallback, binaryTranslationsCallback=self.binaryTranslationsCallback, progLanguages=self.__supportedVariants[:]) except TypeError: # for backward compatibility - self.__e5project.registerProjectType("Pyramid", self.trUtf8("Pyramid"), + self.__e5project.registerProjectType( + "Pyramid", self.trUtf8("Pyramid"), self.fileTypesCallback, lexerAssociationCallback=self.lexerAssociationCallback, binaryTranslationsCallback=self.binaryTranslationsCallback) - from Project.ProjectBrowser import SourcesBrowserFlag, FormsBrowserFlag, \ - TranslationsBrowserFlag, OthersBrowserFlag - Preferences.setProjectBrowserFlagsDefault("Pyramid", - SourcesBrowserFlag | \ - FormsBrowserFlag | \ - TranslationsBrowserFlag | \ - OthersBrowserFlag, + from Project.ProjectBrowser import SourcesBrowserFlag, \ + FormsBrowserFlag, TranslationsBrowserFlag, OthersBrowserFlag + Preferences.setProjectBrowserFlagsDefault( + "Pyramid", + SourcesBrowserFlag | FormsBrowserFlag | + TranslationsBrowserFlag | OthersBrowserFlag, ) if self.__e5project.isOpen(): self.__projectOpened() self.__object.projectOpenedHooks() - e5App().getObject("Project").projectOpened.connect(self.__projectOpened) - e5App().getObject("Project").projectClosed.connect(self.__projectClosed) - e5App().getObject("Project").newProject.connect(self.__projectOpened) + e5App().getObject("Project").projectOpened.connect( + self.__projectOpened) + e5App().getObject("Project").projectClosed.connect( + self.__projectClosed) + e5App().getObject("Project").newProject.connect( + self.__projectOpened) e5App().getObject("Project").projectOpenedHooks.connect( self.__object.projectOpenedHooks) e5App().getObject("Project").projectClosedHooks.connect( - self.__object.projectClosedHooks) + self.__object.projectClosedHooks) e5App().getObject("Project").newProjectHooks.connect( - self.__object.projectOpenedHooks) + self.__object.projectOpenedHooks) return None, True @@ -233,9 +241,12 @@ """ e5App().unregisterPluginObject("ProjectPyramid") - e5App().getObject("Project").projectOpened.disconnect(self.__projectOpened) - e5App().getObject("Project").projectClosed.disconnect(self.__projectClosed) - e5App().getObject("Project").newProject.disconnect(self.__projectOpened) + e5App().getObject("Project").projectOpened.disconnect( + self.__projectOpened) + e5App().getObject("Project").projectClosed.disconnect( + self.__projectClosed) + e5App().getObject("Project").newProject.disconnect( + self.__projectOpened) e5App().getObject("Project").projectOpenedHooks.disconnect( self.__object.projectOpenedHooks) @@ -258,8 +269,8 @@ if self.__ui is not None: loc = self.__ui.getLocale() if loc and loc != "C": - locale_dir = \ - os.path.join(os.path.dirname(__file__), "ProjectPyramid", "i18n") + locale_dir = os.path.join( + os.path.dirname(__file__), "ProjectPyramid", "i18n") translation = "pyramid_%s" % loc translator = QTranslator(None) loaded = translator.load(translation, locale_dir) @@ -267,8 +278,8 @@ self.__translator = translator e5App().installTranslator(self.__translator) else: - print("Warning: translation file '{0}' could not be loaded.".format( - translation)) + print("Warning: translation file '{0}' could not be" + " loaded.".format(translation)) print("Using default.") def __projectOpened(self): @@ -279,7 +290,8 @@ projectAct = self.__ui.getMenuBarAction("project") actions = self.__ui.menuBar().actions() insertAct = actions[actions.index(projectAct) + 1] - self.__mainAct = self.__ui.menuBar().insertMenu(insertAct, self.__mainMenu) + self.__mainAct = self.__ui.menuBar().insertMenu( + insertAct, self.__mainMenu) def __projectClosed(self): """ @@ -292,7 +304,8 @@ def fileTypesCallback(self): """ - Public method get the filetype associations of the Pyramid project type. + Public method get the filetype associations of the Pyramid project + type. @return dictionary with file type associations """ @@ -314,11 +327,12 @@ def lexerAssociationCallback(self, filename): """ - Public method to get the lexer association of the Pyramid project type for - a file. + Public method to get the lexer association of the Pyramid project type + for a file. @param filename name of the file (string) - @return name of the lexer (string) (Pygments lexers are prefixed with 'Pygments|') + @return name of the lexer (string) (Pygments lexers are prefixed with + 'Pygments|') """ for pattern, language in self.lexerAssociations.items(): if fnmatch.fnmatch(filename, pattern): @@ -343,11 +357,10 @@ Public method to retrieve the various settings. @param key the key of the value to get - @param prefClass preferences class used as the storage area @return the requested setting """ - return Preferences.Prefs.settings.value(self.PreferencesKey + "/" + key, - self.__defaults[key]) + return Preferences.Prefs.settings.value( + self.PreferencesKey + "/" + key, self.__defaults[key]) def setPreferences(self, key, value): """ @@ -355,9 +368,9 @@ @param key the key of the setting to be set (string) @param value the value to be set - @param prefClass preferences class used as the storage area """ - Preferences.Prefs.settings.setValue(self.PreferencesKey + "/" + key, value) + Preferences.Prefs.settings.setValue( + self.PreferencesKey + "/" + key, value) if key in ["VirtualEnvironmentPy2", "VirtualEnvironmentPy3"]: self.__reregisterProjectType() @@ -378,14 +391,18 @@ self.__supportedVariants = supportedVariants if self.__supportedVariants: try: - self.__e5project.registerProjectType("Pyramid", + self.__e5project.registerProjectType( + "Pyramid", self.trUtf8("Pyramid"), self.fileTypesCallback, lexerAssociationCallback=self.lexerAssociationCallback, - binaryTranslationsCallback=self.binaryTranslationsCallback, + binaryTranslationsCallback= + self.binaryTranslationsCallback, progLanguages=self.__supportedVariants[:]) except TypeError: # for backward compatibility - self.__e5project.registerProjectType("Pyramid", + self.__e5project.registerProjectType( + "Pyramid", self.trUtf8("Pyramid"), self.fileTypesCallback, lexerAssociationCallback=self.lexerAssociationCallback, - binaryTranslationsCallback=self.binaryTranslationsCallback) + binaryTranslationsCallback= + self.binaryTranslationsCallback)
diff -r c7adc68350dd -r e654970c913e PluginProjectPyramid.zip Binary file PluginProjectPyramid.zip has changed
diff -r c7adc68350dd -r e654970c913e PluginPyramid.e4p --- a/PluginPyramid.e4p Sun Oct 27 22:43:17 2013 +0100 +++ b/PluginPyramid.e4p Tue Oct 29 22:30:48 2013 +0100 @@ -264,16 +264,22 @@ <value> <dict> <key> + <string>DocstringType</string> + </key> + <value> + <string>eric</string> + </value> + <key> <string>ExcludeFiles</string> </key> <value> - <string>*/ThirdParty/*, */coverage/*, */Ui_*.py, */Examples/*, */*_rc.py</string> + <string>*/Ui_*.py</string> </value> <key> <string>ExcludeMessages</string> </key> <value> - <string>E24, E501, W293</string> + <string>E24, W293, N802, N803, N807, N808, N821</string> </value> <key> <string>FixCodes</string> @@ -285,7 +291,13 @@ <string>FixIssues</string> </key> <value> - <bool>True</bool> + <bool>False</bool> + </value> + <key> + <string>HangClosing</string> + </key> + <value> + <bool>False</bool> </value> <key> <string>IncludeMessages</string> @@ -294,6 +306,18 @@ <string></string> </value> <key> + <string>MaxLineLength</string> + </key> + <value> + <int>79</int> + </value> + <key> + <string>NoFixCodes</string> + </key> + <value> + <string>E501</string> + </value> + <key> <string>RepeatMessages</string> </key> <value>
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/ConfigurationPage/PyramidPage.py --- a/ProjectPyramid/ConfigurationPage/PyramidPage.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/ConfigurationPage/PyramidPage.py Tue Oct 29 22:30:48 2013 +0100 @@ -14,7 +14,8 @@ from E5Gui.E5Completers import E5DirCompleter from E5Gui import E5FileDialog -from Preferences.ConfigurationPages.ConfigurationPageBase import ConfigurationPageBase +from Preferences.ConfigurationPages.ConfigurationPageBase import \ + ConfigurationPageBase from .Ui_PyramidPage import Ui_PyramidPage import Utilities @@ -88,24 +89,26 @@ """ Public slot to save the Pyramid configuration. """ - self.__plugin.setPreferences("ConsoleCommand", - self.consoleCommandCombo.currentText()) + self.__plugin.setPreferences( + "ConsoleCommand", self.consoleCommandCombo.currentText()) - self.__plugin.setPreferences("VirtualEnvironmentPy2", - self.virtualEnvPy2Edit.text()) - self.__plugin.setPreferences("VirtualEnvironmentPy3", - self.virtualEnvPy3Edit.text()) + self.__plugin.setPreferences( + "VirtualEnvironmentPy2", self.virtualEnvPy2Edit.text()) + self.__plugin.setPreferences( + "VirtualEnvironmentPy3", self.virtualEnvPy3Edit.text()) - self.__plugin.setPreferences("Python2ConsoleType", + self.__plugin.setPreferences( + "Python2ConsoleType", self.py2ShellCombo.itemData(self.py2ShellCombo.currentIndex())) - self.__plugin.setPreferences("Python3ConsoleType", + self.__plugin.setPreferences( + "Python3ConsoleType", self.py3ShellCombo.itemData(self.py3ShellCombo.currentIndex())) - self.__plugin.setPreferences("PyramidDocUrl", - self.urlEdit.text()) + self.__plugin.setPreferences( + "PyramidDocUrl", self.urlEdit.text()) - self.__plugin.setPreferences("TranslationsEditor", - self.translationsEdit.text()) + self.__plugin.setPreferences( + "TranslationsEditor", self.translationsEdit.text()) @pyqtSlot() def on_virtualEnvPy3Button_clicked(self): @@ -123,7 +126,8 @@ E5FileDialog.Options(E5FileDialog.Option(0))) if virtualEnv: - self.virtualEnvPy3Edit.setText(Utilities.toNativeSeparators(virtualEnv)) + self.virtualEnvPy3Edit.setText(Utilities.toNativeSeparators( + virtualEnv)) @pyqtSlot() def on_virtualEnvPy2Button_clicked(self): @@ -141,12 +145,14 @@ E5FileDialog.Options(E5FileDialog.Option(0))) if virtualEnv: - self.virtualEnvPy2Edit.setText(Utilities.toNativeSeparators(virtualEnv)) + self.virtualEnvPy2Edit.setText(Utilities.toNativeSeparators( + virtualEnv)) @pyqtSlot() def on_translationsButton_clicked(self): """ - Private slot to select the translations editor via a file selection dialog. + Private slot to select the translations editor via a file selection + dialog. """ editor = E5FileDialog.getOpenFileName( self,
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/CreateParametersDialog.py --- a/ProjectPyramid/CreateParametersDialog.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/CreateParametersDialog.py Tue Oct 29 22:30:48 2013 +0100 @@ -67,7 +67,8 @@ self.scaffoldCombo.addItem(scaffold.strip()) self.scaffoldCombo.setCurrentIndex(0) else: - E5MessageBox.critical(None, + E5MessageBox.critical( + None, self.trUtf8('Process Generation Error'), errMsg) @@ -94,7 +95,7 @@ Private slot to update the dialog. """ self.__okButton.setEnabled( - bool(self.scaffoldCombo.currentText()) and \ + bool(self.scaffoldCombo.currentText()) and bool(self.nameEdit.text()) )
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/DistributionTypeSelectionDialog.py --- a/ProjectPyramid/DistributionTypeSelectionDialog.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/DistributionTypeSelectionDialog.py Tue Oct 29 22:30:48 2013 +0100 @@ -18,12 +18,14 @@ from E5Gui import E5MessageBox -from .Ui_DistributionTypeSelectionDialog import Ui_DistributionTypeSelectionDialog +from .Ui_DistributionTypeSelectionDialog import \ + Ui_DistributionTypeSelectionDialog import Preferences -class DistributionTypeSelectionDialog(QDialog, Ui_DistributionTypeSelectionDialog): +class DistributionTypeSelectionDialog( + QDialog, Ui_DistributionTypeSelectionDialog): """ Class implementing a dialog to select the distribution file formats. """ @@ -31,7 +33,8 @@ """ Constructor - @param project reference to the project object (ProjectPyramid.Project.Project) + @param project reference to the project object + (ProjectPyramid.Project.Project) @param projectPath path of the Pyramid project (string) @param parent reference to the parent widget (QWidget) """ @@ -58,20 +61,24 @@ else: if not finished: errMsg = self.trUtf8( - "The python setup.py command did not finish within 30s.") + "The python setup.py command did not finish within" + " 30s.") else: errMsg = self.trUtf8("Could not start the pcreate executable.") if not errMsg: for line in output.splitlines(): line = line.strip() if line.startswith("--formats="): - format, description = line.replace("--formats=", "").split(None, 1) - itm = QListWidgetItem("{0} ({1})".format(format, description), - self.formatsList) + format, description = line.replace("--formats=", "")\ + .split(None, 1) + itm = QListWidgetItem( + "{0} ({1})".format(format, description), + self.formatsList) itm.setFlags(itm.flags() | Qt.ItemIsUserCheckable) itm.setCheckState(Qt.Unchecked) else: - E5MessageBox.critical(None, + E5MessageBox.critical( + None, self.trUtf8('Process Generation Error'), errMsg)
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.PluginProjectPyramid.html --- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.PluginProjectPyramid.html Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.PluginProjectPyramid.html Tue Oct 29 22:30:48 2013 +0100 @@ -196,7 +196,8 @@ <h4>ProjectPyramidPlugin.fileTypesCallback</h4> <b>fileTypesCallback</b>(<i></i>) <p> - Public method get the filetype associations of the Pyramid project type. + Public method get the filetype associations of the Pyramid project + type. </p><dl> <dt>Returns:</dt> <dd> @@ -211,9 +212,6 @@ <dt><i>key</i></dt> <dd> the key of the value to get -</dd><dt><i>prefClass</i></dt> -<dd> -preferences class used as the storage area </dd> </dl><dl> <dt>Returns:</dt> @@ -224,8 +222,8 @@ <h4>ProjectPyramidPlugin.lexerAssociationCallback</h4> <b>lexerAssociationCallback</b>(<i>filename</i>) <p> - Public method to get the lexer association of the Pyramid project type for - a file. + Public method to get the lexer association of the Pyramid project type + for a file. </p><dl> <dt><i>filename</i></dt> <dd> @@ -234,7 +232,8 @@ </dl><dl> <dt>Returns:</dt> <dd> -name of the lexer (string) (Pygments lexers are prefixed with 'Pygments|') +name of the lexer (string) (Pygments lexers are prefixed with + 'Pygments|') </dd> </dl><a NAME="ProjectPyramidPlugin.setPreferences" ID="ProjectPyramidPlugin.setPreferences"></a> <h4>ProjectPyramidPlugin.setPreferences</h4> @@ -248,9 +247,6 @@ </dd><dt><i>value</i></dt> <dd> the value to be set -</dd><dt><i>prefClass</i></dt> -<dd> -preferences class used as the storage area </dd> </dl> <div align="right"><a href="#top">Up</a></div> @@ -261,6 +257,11 @@ <p> Module function to return the API files made available by this plugin. </p><dl> +<dt><i>language</i></dt> +<dd> +language to get APIs for (string) +</dd> +</dl><dl> <dt>Returns:</dt> <dd> list of API filenames (list of string) @@ -274,6 +275,11 @@ <p> Module function to create the Pyramid configuration page. </p><dl> +<dt><i>configDlg</i></dt> +<dd> +reference to the configuration dialog +</dd> +</dl><dl> <dt>Returns:</dt> <dd> reference to the configuration page
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.ConfigurationPage.PyramidPage.html --- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.ConfigurationPage.PyramidPage.html Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.ConfigurationPage.PyramidPage.html Tue Oct 29 22:30:48 2013 +0100 @@ -91,7 +91,8 @@ <h4>PyramidPage.on_translationsButton_clicked</h4> <b>on_translationsButton_clicked</b>(<i></i>) <p> - Private slot to select the translations editor via a file selection dialog. + Private slot to select the translations editor via a file selection + dialog. </p><a NAME="PyramidPage.on_virtualEnvPy2Button_clicked" ID="PyramidPage.on_virtualEnvPy2Button_clicked"></a> <h4>PyramidPage.on_virtualEnvPy2Button_clicked</h4> <b>on_virtualEnvPy2Button_clicked</b>(<i></i>)
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.DistributionTypeSelectionDialog.html --- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.DistributionTypeSelectionDialog.html Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.DistributionTypeSelectionDialog.html Tue Oct 29 22:30:48 2013 +0100 @@ -76,7 +76,8 @@ </p><dl> <dt><i>project</i></dt> <dd> -reference to the project object (ProjectPyramid.Project.Project) +reference to the project object + (ProjectPyramid.Project.Project) </dd><dt><i>projectPath</i></dt> <dd> path of the Pyramid project (string)
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html --- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html Tue Oct 29 22:30:48 2013 +0100 @@ -223,7 +223,8 @@ <h4>Project.__buildDistribution</h4> <b>__buildDistribution</b>(<i></i>) <p> - Private slot to build a distribution file for the current Pyramid project. + Private slot to build a distribution file for the current Pyramid + project. </p><a NAME="Project.__createProject" ID="Project.__createProject"></a> <h4>Project.__createProject</h4> <b>__createProject</b>(<i></i>) @@ -270,9 +271,9 @@ </dl><dl> <dt>Returns:</dt> <dd> -list of full executable names, if the executable file is accessible - via the searchpath defined by the PATH environment variable, or an - empty list otherwise. +list of full executable names, if the executable file is + accessible via the searchpath defined by the PATH environment + variable, or an empty list otherwise. </dd> </dl><a NAME="Project.__getInitDbCommand" ID="Project.__getInitDbCommand"></a> <h4>Project.__getInitDbCommand</h4> @@ -348,7 +349,8 @@ </dl><dl> <dt>Raises <b>PyramidNoProjectSelectedException</b>:</dt> <dd> -raised, if no project is selected +raised, if no project is + selected </dd> </dl><a NAME="Project.__projectFilteredList" ID="Project.__projectFilteredList"></a> <h4>Project.__projectFilteredList</h4> @@ -388,7 +390,8 @@ </dl><dl> <dt>Raises <b>PyramidNoProjectSelectedException</b>:</dt> <dd> -raised, if no project is selected +raised, if no project is + selected </dd> </dl><a NAME="Project.__pyramidInfo" ID="Project.__pyramidInfo"></a> <h4>Project.__pyramidInfo</h4> @@ -425,12 +428,7 @@ <b>__selectProject</b>(<i></i>) <p> Private method to select a Pyramid project to work with. -</p><dl> -<dt>Returns:</dt> -<dd> -selected project (string) -</dd> -</dl><a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a> +</p><a NAME="Project.__serverProcFinished" ID="Project.__serverProcFinished"></a> <h4>Project.__serverProcFinished</h4> <b>__serverProcFinished</b>(<i></i>) <p> @@ -449,7 +447,8 @@ <h4>Project.__setupDevelop</h4> <b>__setupDevelop</b>(<i></i>) <p> - Private slot to set up the development environment for the current project. + Private slot to set up the development environment for the current + project. </p><a NAME="Project.__showDocumentation" ID="Project.__showDocumentation"></a> <h4>Project.__showDocumentation</h4> <b>__showDocumentation</b>(<i></i>)
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.PyramidDialog.html --- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.PyramidDialog.html Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.PyramidDialog.html Tue Oct 29 22:30:48 2013 +0100 @@ -168,7 +168,8 @@ <h4>PyramidDialog.finish</h4> <b>finish</b>(<i></i>) <p> - Public slot called when the process finished or the user pressed the button. + Public slot called when the process finished or the user pressed the + button. </p><a NAME="PyramidDialog.keyPressEvent" ID="PyramidDialog.keyPressEvent"></a> <h4>PyramidDialog.keyPressEvent</h4> <b>keyPressEvent</b>(<i>evt</i>) @@ -247,7 +248,8 @@ </dl><dl> <dt>Returns:</dt> <dd> -flag indicating a successful start of the first process (boolean) +flag indicating a successful start of the first process + (boolean) </dd> </dl><a NAME="PyramidDialog.startProcess" ID="PyramidDialog.startProcess"></a> <h4>PyramidDialog.startProcess</h4>
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.PyramidRoutesDialog.html --- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.PyramidRoutesDialog.html Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.PyramidRoutesDialog.html Tue Oct 29 22:30:48 2013 +0100 @@ -106,7 +106,8 @@ </p><dl> <dt><i>project</i></dt> <dd> -reference to the project object (ProjectPyramid.Project.Project) +reference to the project object + (ProjectPyramid.Project.Project) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) @@ -149,7 +150,8 @@ <h4>PyramidRoutesDialog.finish</h4> <b>finish</b>(<i></i>) <p> - Public slot called when the process finished or the user pressed the button. + Public slot called when the process finished or the user pressed the + button. </p><a NAME="PyramidRoutesDialog.keyPressEvent" ID="PyramidRoutesDialog.keyPressEvent"></a> <h4>PyramidRoutesDialog.keyPressEvent</h4> <b>keyPressEvent</b>(<i>evt</i>) @@ -196,10 +198,7 @@ <p> Public slot used to start the process. </p><dl> -<dt><i>command</i></dt> -<dd> -command to start (string) -</dd><dt><i>projectPath</i></dt> +<dt><i>projectPath</i></dt> <dd> path to the Pyramid project (string) </dd>
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/FormSelectionDialog.py --- a/ProjectPyramid/FormSelectionDialog.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/FormSelectionDialog.py Tue Oct 29 22:30:48 2013 +0100 @@ -29,7 +29,8 @@ self.setupUi(self) self.__templates = { - "html5": [self.trUtf8("Standard HTML 5 template"), + "html5": [ + self.trUtf8("Standard HTML 5 template"), '''<!DOCTYPE html>\n''' ''' <head>\n''' ''' <title></title>\n''' @@ -40,8 +41,9 @@ ''' <body>\n''' ''' </body>\n''' '''</html>\n''' - ], - "simple": [self.trUtf8("Standard HTML template"), + ], + "simple": [ + self.trUtf8("Standard HTML template"), '''<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"\n''' ''' "http://www.w3.org/TR/html4/strict.dtd">\n''' ''' <head>\n''' @@ -53,29 +55,40 @@ ''' <body>\n''' ''' </body>\n''' '''</html>\n''' - ], - "complex": [self.trUtf8("Chameleon template"), - '''<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n''' + ], + "complex": [ + self.trUtf8("Chameleon template"), + '''<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0''' + ''' Strict//EN"\n''' ''' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n''' - '''<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"\n''' + '''<html xmlns="http://www.w3.org/1999/xhtml"''' + ''' xml:lang="en"\n''' ''' xmlns:tal="http://xml.zope.org/namespaces/tal">\n''' - ''' xmlns:metal="http://xml.zope.org/namespaces/metal">\n''' + ''' xmlns:metal="http://xml.zope.org/namespaces/''' + '''metal">\n''' '''<head>\n''' - ''' <title>The Pyramid Web Application Development Framework</title>\n''' + ''' <title>The Pyramid Web Application Development''' + ''' Framework</title>\n''' ''' <meta http-equiv="Content-Type"\n''' ''' content="text/html;charset=UTF-8"/>\n''' - ''' <meta name="keywords" content="python web application" />\n''' - ''' <meta name="description" content="pyramid web application" />\n''' + ''' <meta name="keywords" content="python web application"''' + ''' />\n''' + ''' <meta name="description" content="pyramid web''' + ''' application" />\n''' ''' <link rel="shortcut icon"\n''' - ''' href="${request.static_url('site:static/favicon.ico')}" />\n''' + ''' href="${request.static_url('site:static/''' + '''favicon.ico')}" />\n''' ''' <link rel="stylesheet"\n''' - ''' href="${request.static_url('site:static/pylons.css')}"\n''' + ''' href="${request.static_url('site:static/''' + '''pylons.css')}"\n''' ''' type="text/css" media="screen" charset="utf-8" />\n''' ''' <link rel="stylesheet"\n''' - ''' href="http://static.pylonsproject.org/fonts/nobile/stylesheet.css"\n''' + ''' href="http://static.pylonsproject.org/fonts/nobile/''' + '''stylesheet.css"\n''' ''' media="screen" />\n''' ''' <link rel="stylesheet"\n''' - ''' href="http://static.pylonsproject.org/fonts/neuton/stylesheet.css"\n''' + ''' href="http://static.pylonsproject.org/fonts/neuton/''' + '''stylesheet.css"\n''' ''' media="screen" />\n''' ''' <!--[if lte IE 6]>\n''' ''' <link rel="stylesheet"\n''' @@ -93,12 +106,14 @@ ''' </div>\n''' ''' </div>\n''' ''' <div id="footer">\n''' - ''' <div class="footer">© Copyright 2012, Somebody.</div>\n''' + ''' <div class="footer">© Copyright 2012, Somebody.''' + '''</div>\n''' ''' </div>\n''' '''</body>\n''' '''</html>\n''' - ], - "sections": [self.trUtf8("Mako template with sections"), + ], + "sections": [ + self.trUtf8("Mako template with sections"), '''## -*- coding: utf-8 -*-\n''' '''\n''' '''<!DOCTYPE html>\n''' @@ -123,10 +138,12 @@ '''<%def name="header()"><a name="top"></a></%def>\n''' '''<%def name="tabs()"></%def>\n''' '''<%def name="menu()"></%def>\n''' - '''<%def name="heading()"><h1>${c.heading or 'No Title'}</h1></%def>\n''' + '''<%def name="heading()"><h1>${c.heading or 'No Title'}''' + '''</h1></%def>\n''' '''<%def name="breadcrumbs()"></%def>\n''' - '''<%def name="footer()"><p><a href="#top">Top ^</a></p></%def>\n''' - ], + '''<%def name="footer()"><p><a href="#top">Top ^</a></p>''' + '''</%def>\n''' + ], } self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok)
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/Project.py --- a/ProjectPyramid/Project.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/Project.py Tue Oct 29 22:30:48 2013 +0100 @@ -20,7 +20,8 @@ import sys from PyQt4.QtCore import QObject, QFileInfo, QTimer, QUrl -from PyQt4.QtGui import QMenu, QDialog, QInputDialog, QDesktopServices, QLineEdit +from PyQt4.QtGui import QMenu, QDialog, QInputDialog, QDesktopServices, \ + QLineEdit from PyQt4.QtCore import QProcess as QProcessPyQt from E5Gui.E5Application import e5App @@ -107,10 +108,11 @@ """ self.actions = [] - self.selectProjectAct = E5Action(self.trUtf8('Current Pyramid Project'), - "", - 0, 0, - self, 'pyramid_current_project') + self.selectProjectAct = E5Action( + self.trUtf8('Current Pyramid Project'), + "", + 0, 0, + self, 'pyramid_current_project') self.selectProjectAct.setStatusTip(self.trUtf8( 'Selects the current Pyramid project')) self.selectProjectAct.setWhatsThis(self.trUtf8( @@ -125,10 +127,11 @@ ## create actions below ## ############################### - self.createProjectAct = E5Action(self.trUtf8('Create Pyramid Project'), - self.trUtf8('Create Pyramid &Project'), - 0, 0, - self, 'pyramid_create_project') + self.createProjectAct = E5Action( + self.trUtf8('Create Pyramid Project'), + self.trUtf8('Create Pyramid &Project'), + 0, 0, + self, 'pyramid_create_project') self.createProjectAct.setStatusTip(self.trUtf8( 'Creates a new Pyramid project')) self.createProjectAct.setWhatsThis(self.trUtf8( @@ -142,10 +145,11 @@ ## run actions below ## ############################## - self.runServerAct = E5Action(self.trUtf8('Run Server'), - self.trUtf8('Run &Server'), - 0, 0, - self, 'pyramid_run_server') + self.runServerAct = E5Action( + self.trUtf8('Run Server'), + self.trUtf8('Run &Server'), + 0, 0, + self, 'pyramid_run_server') self.runServerAct.setStatusTip(self.trUtf8( 'Starts the Pyramid Web server')) self.runServerAct.setWhatsThis(self.trUtf8( @@ -156,10 +160,11 @@ self.runServerAct.triggered[()].connect(self.__runServer) self.actions.append(self.runServerAct) - self.runLoggingServerAct = E5Action(self.trUtf8('Run Server with Logging'), - self.trUtf8('Run Server with &Logging'), - 0, 0, - self, 'pyramid_run_logging_server') + self.runLoggingServerAct = E5Action( + self.trUtf8('Run Server with Logging'), + self.trUtf8('Run Server with &Logging'), + 0, 0, + self, 'pyramid_run_logging_server') self.runLoggingServerAct.setStatusTip(self.trUtf8( 'Starts the Pyramid Web server with logging')) self.runLoggingServerAct.setWhatsThis(self.trUtf8( @@ -170,12 +175,14 @@ self.runLoggingServerAct.triggered[()].connect(self.__runLoggingServer) self.actions.append(self.runLoggingServerAct) - self.runBrowserAct = E5Action(self.trUtf8('Run Web-Browser'), - self.trUtf8('Run &Web-Browser'), - 0, 0, - self, 'pyramid_run_browser') + self.runBrowserAct = E5Action( + self.trUtf8('Run Web-Browser'), + self.trUtf8('Run &Web-Browser'), + 0, 0, + self, 'pyramid_run_browser') self.runBrowserAct.setStatusTip(self.trUtf8( - 'Starts the default Web-Browser with the URL of the Pyramid Web server')) + 'Starts the default Web-Browser with the URL of the Pyramid Web' + ' server')) self.runBrowserAct.setWhatsThis(self.trUtf8( """<b>Run Web-Browser</b>""" """<p>Starts the default Web-Browser with the URL of the """ @@ -184,10 +191,11 @@ self.runBrowserAct.triggered[()].connect(self.__runBrowser) self.actions.append(self.runBrowserAct) - self.runPythonShellAct = E5Action(self.trUtf8('Start Pyramid Python Console'), - self.trUtf8('Start Pyramid &Python Console'), - 0, 0, - self, 'pyramid_python_console') + self.runPythonShellAct = E5Action( + self.trUtf8('Start Pyramid Python Console'), + self.trUtf8('Start Pyramid &Python Console'), + 0, 0, + self, 'pyramid_python_console') self.runPythonShellAct.setStatusTip(self.trUtf8( 'Starts an interactive Python interpreter')) self.runPythonShellAct.setWhatsThis(self.trUtf8( @@ -201,10 +209,11 @@ ## setup actions below ## ############################## - self.setupDevelopAct = E5Action(self.trUtf8('Setup Development Environment'), - self.trUtf8('Setup &Development Environment'), - 0, 0, - self, 'pyramid_setup_development') + self.setupDevelopAct = E5Action( + self.trUtf8('Setup Development Environment'), + self.trUtf8('Setup &Development Environment'), + 0, 0, + self, 'pyramid_setup_development') self.setupDevelopAct.setStatusTip(self.trUtf8( 'Setup the Pyramid project in development mode')) self.setupDevelopAct.setWhatsThis(self.trUtf8( @@ -219,17 +228,18 @@ ## database actions below ## ############################### - self.initializeDbAct = E5Action(self.trUtf8('Initialize Database'), - self.trUtf8('Initialize &Database'), - 0, 0, - self, 'pyramid_initialize_database') + self.initializeDbAct = E5Action( + self.trUtf8('Initialize Database'), + self.trUtf8('Initialize &Database'), + 0, 0, + self, 'pyramid_initialize_database') self.initializeDbAct.setStatusTip(self.trUtf8( 'Initializes (or re-initializes) the database of the current' ' Pyramid project')) self.initializeDbAct.setWhatsThis(self.trUtf8( """<b>Initialize Database</b>""" - """<p>Initializes (or re-initializes) the database of the current""" - """ Pyramid project.</p>""" + """<p>Initializes (or re-initializes) the database of the""" + """ current Pyramid project.</p>""" )) self.initializeDbAct.triggered[()].connect(self.__initializeDatabase) self.actions.append(self.initializeDbAct) @@ -238,10 +248,11 @@ ## show actions below ## ############################### - self.showViewsAct = E5Action(self.trUtf8('Show Matching Views'), - self.trUtf8('Show Matching &Views'), - 0, 0, - self, 'pyramid_show_views') + self.showViewsAct = E5Action( + self.trUtf8('Show Matching Views'), + self.trUtf8('Show Matching &Views'), + 0, 0, + self, 'pyramid_show_views') self.showViewsAct.setStatusTip(self.trUtf8( 'Show views matching a given URL')) self.showViewsAct.setWhatsThis(self.trUtf8( @@ -251,10 +262,11 @@ self.showViewsAct.triggered[()].connect(self.__showMatchingViews) self.actions.append(self.showViewsAct) - self.showRoutesAct = E5Action(self.trUtf8('Show Routes'), - self.trUtf8('Show &Routes'), - 0, 0, - self, 'pyramid_show_routes') + self.showRoutesAct = E5Action( + self.trUtf8('Show Routes'), + self.trUtf8('Show &Routes'), + 0, 0, + self, 'pyramid_show_routes') self.showRoutesAct.setStatusTip(self.trUtf8( 'Show all URL dispatch routes used by a Pyramid application')) self.showRoutesAct.setWhatsThis(self.trUtf8( @@ -265,12 +277,14 @@ self.showRoutesAct.triggered[()].connect(self.__showRoutes) self.actions.append(self.showRoutesAct) - self.showTweensAct = E5Action(self.trUtf8('Show Tween Objects'), - self.trUtf8('Show &Tween Objects'), - 0, 0, - self, 'pyramid_show_routes') + self.showTweensAct = E5Action( + self.trUtf8('Show Tween Objects'), + self.trUtf8('Show &Tween Objects'), + 0, 0, + self, 'pyramid_show_routes') self.showTweensAct.setStatusTip(self.trUtf8( - 'Show all implicit and explicit tween objects used by a Pyramid application')) + 'Show all implicit and explicit tween objects used by a Pyramid' + ' application')) self.showTweensAct.setWhatsThis(self.trUtf8( """<b>Show Tween Objects</b>""" """<p>Show all implicit and explicit tween objects used by a""" @@ -283,10 +297,11 @@ ## distribution actions below ## ################################## - self.buildDistroAct = E5Action(self.trUtf8('Build Distribution'), - self.trUtf8('Build &Distribution'), - 0, 0, - self, 'pyramid_build_distribution') + self.buildDistroAct = E5Action( + self.trUtf8('Build Distribution'), + self.trUtf8('Build &Distribution'), + 0, 0, + self, 'pyramid_build_distribution') self.buildDistroAct.setStatusTip(self.trUtf8( 'Builds a distribution file for the Pyramid project')) self.buildDistroAct.setWhatsThis(self.trUtf8( @@ -301,10 +316,11 @@ ## documentation action below ## ################################## - self.documentationAct = E5Action(self.trUtf8('Documentation'), - self.trUtf8('D&ocumentation'), - 0, 0, - self, 'pyramid_documentation') + self.documentationAct = E5Action( + self.trUtf8('Documentation'), + self.trUtf8('D&ocumentation'), + 0, 0, + self, 'pyramid_documentation') self.documentationAct.setStatusTip(self.trUtf8( 'Shows the help viewer with the Pyramid documentation')) self.documentationAct.setWhatsThis(self.trUtf8( @@ -318,10 +334,11 @@ ## about action below ## ############################## - self.aboutPyramidAct = E5Action(self.trUtf8('About Pyramid'), - self.trUtf8('About P&yramid'), - 0, 0, - self, 'pyramid_about') + self.aboutPyramidAct = E5Action( + self.trUtf8('About Pyramid'), + self.trUtf8('About P&yramid'), + 0, 0, + self, 'pyramid_about') self.aboutPyramidAct.setStatusTip(self.trUtf8( 'Shows some information about Pyramid')) self.aboutPyramidAct.setWhatsThis(self.trUtf8( @@ -378,9 +395,10 @@ editor = self.__plugin.getPreferences("TranslationsEditor") try: if editor: - self.__translationsBrowser.addHookMethodAndMenuEntry("open", - self.openPOEditor, - self.trUtf8("Open with {0}").format(os.path.basename(editor))) + self.__translationsBrowser.addHookMethodAndMenuEntry( + "open", self.openPOEditor, + self.trUtf8("Open with {0}").format( + os.path.basename(editor))) else: self.__translationsBrowser.removeHookMethod("open") except KeyError: @@ -394,26 +412,31 @@ if self.__e5project.getProjectType() == "Pyramid": self.__formsBrowser = \ e5App().getObject("ProjectBrowser").getProjectBrowser("forms") - self.__formsBrowser.addHookMethodAndMenuEntry("newForm", - self.newForm, self.trUtf8("New template...")) + self.__formsBrowser.addHookMethodAndMenuEntry( + "newForm", self.newForm, self.trUtf8("New template...")) if self.__e5project.getProjectLanguage() == "Python2": # Babel and lingua are not yet available for Python 3 self.__e5project.projectLanguageAddedByCode.connect( self.__projectLanguageAdded) self.__translationsBrowser = \ - e5App().getObject("ProjectBrowser").getProjectBrowser("translations") - self.__translationsBrowser.addHookMethodAndMenuEntry("extractMessages", - self.extractMessages, self.trUtf8("Extract Messages")) - self.__translationsBrowser.addHookMethodAndMenuEntry("releaseAll", - self.compileCatalogs, self.trUtf8("Compile All Catalogs")) - self.__translationsBrowser.addHookMethodAndMenuEntry("releaseSelected", - self.compileSelectedCatalogs, + e5App().getObject("ProjectBrowser")\ + .getProjectBrowser("translations") + self.__translationsBrowser.addHookMethodAndMenuEntry( + "extractMessages", self.extractMessages, + self.trUtf8("Extract Messages")) + self.__translationsBrowser.addHookMethodAndMenuEntry( + "releaseAll", self.compileCatalogs, + self.trUtf8("Compile All Catalogs")) + self.__translationsBrowser.addHookMethodAndMenuEntry( + "releaseSelected", self.compileSelectedCatalogs, self.trUtf8("Compile Selected Catalogs")) - self.__translationsBrowser.addHookMethodAndMenuEntry("generateAll", - self.updateCatalogs, self.trUtf8("Update All Catalogs")) - self.__translationsBrowser.addHookMethodAndMenuEntry("generateSelected", - self.updateSelectedCatalogs, self.trUtf8("Update Selected Catalogs")) + self.__translationsBrowser.addHookMethodAndMenuEntry( + "generateAll", self.updateCatalogs, + self.trUtf8("Update All Catalogs")) + self.__translationsBrowser.addHookMethodAndMenuEntry( + "generateSelected", self.updateSelectedCatalogs, + self.trUtf8("Update Selected Catalogs")) self.__hooksInstalled = True @@ -478,9 +501,11 @@ fname += ex if os.path.exists(fname): - res = E5MessageBox.yesNo(self.__ui, + res = E5MessageBox.yesNo( + self.__ui, self.trUtf8("New Form"), - self.trUtf8("""The file already exists! Overwrite it?"""), + self.trUtf8("""The file already exists! Overwrite""" + """ it?"""), icon=E5MessageBox.Warning) if not res: # user selected to not overwrite @@ -491,11 +516,12 @@ f.write(template) f.close() except IOError as e: - E5MessageBox.critical(self, + E5MessageBox.critical( + self.__ui, self.trUtf8("New Form"), - self.trUtf8("<p>The new form file <b>{0}</b> could not be" - " created.<br/>" - "Problem: {1}</p>").format(fname, e)) + self.trUtf8("<p>The new form file <b>{0}</b> could" + " not be created.<br/> Problem: {1}</p>") + .format(fname, e)) return self.__e5project.appendFile(fname) @@ -519,9 +545,9 @@ the environment. @param file filename of the executable (string) - @return list of full executable names, if the executable file is accessible - via the searchpath defined by the PATH environment variable, or an - empty list otherwise. + @return list of full executable names, if the executable file is + accessible via the searchpath defined by the PATH environment + variable, or an empty list otherwise. """ paths = [] @@ -583,8 +609,8 @@ l0 = "" if variant.lower() in l0.lower() or \ "{0}.".format(variant[-1]) in l0 or \ - (variant == "Python2" and \ - "python3" not in l0.lower() and \ + (variant == "Python2" and + "python3" not in l0.lower() and "python" in l0.lower()): variants.append(variant) break @@ -697,11 +723,13 @@ version = self.getPyramidVersion() url = "http://www.pylonsproject.org/projects/pyramid/about" - msgBox = E5MessageBox.E5MessageBox(E5MessageBox.Question, + msgBox = E5MessageBox.E5MessageBox( + E5MessageBox.Question, self.trUtf8("About Pyramid"), self.trUtf8( - "<p>Pyramid is a high-level Python Web framework that encourages rapid " - "development and clean, pragmatic design.</p>" + "<p>Pyramid is a high-level Python Web framework that" + " encourages rapid development and clean, pragmatic" + " design.</p>" "<p><table>" "<tr><td>Version:</td><td>{0}</td></tr>" "<tr><td>URL:</td><td><a href=\"{1}\">" @@ -777,19 +805,22 @@ args.append("--scaffold={0}".format(scaffold)) args.append(project) dlg = PyramidDialog(self.trUtf8("Create Pyramid Project"), - linewrap=False, parent=self.__ui) + linewrap=False, parent=self.__ui) if dlg.startProcess(cmd, args, self.__e5project.getProjectPath()): dlg.exec_() if dlg.normalExit() and not simulate: - # search for files created by pcreate and add them to the project - projectPath = os.path.join(self.__e5project.getProjectPath(), project) + # search for files created by pcreate and add them to the + # project + projectPath = os.path.join( + self.__e5project.getProjectPath(), project) for entry in os.walk(projectPath): for fileName in entry[2]: fullName = os.path.join(entry[0], fileName) self.__e5project.appendFile(fullName) # create the base directory for translations - i18nPath = os.path.join(projectPath, project.lower(), "i18n") + i18nPath = os.path.join( + projectPath, project.lower(), "i18n") if not os.path.exists(i18nPath): os.makedirs(i18nPath) self.__e5project.setDirty(True) @@ -818,8 +849,6 @@ def __selectProject(self): """ Private method to select a Pyramid project to work with. - - @return selected project (string) """ projects = self.__findProjects() if len(projects) == 0: @@ -848,7 +877,8 @@ """ Private method to calculate the full path of the Pyramid project. - @exception PyramidNoProjectSelectedException raised, if no project is selected + @exception PyramidNoProjectSelectedException raised, if no project is + selected @return path of the project (string) """ if self.__currentProject is None: @@ -894,7 +924,7 @@ domain = lowerProject self.__e5project.pdata["TRANSLATIONPATTERN"] = [ os.path.join(project, outputDir, "%language%", - "LC_MESSAGES", "{0}.po".format(domain)) + "LC_MESSAGES", "{0}.po".format(domain)) ] if self.__currentProject is None: @@ -907,7 +937,8 @@ """ Private method to get the name of the current Pyramid project. - @exception PyramidNoProjectSelectedException raised, if no project is selected + @exception PyramidNoProjectSelectedException raised, if no project is + selected @return name of the project (string) """ if self.__currentProject is None: @@ -934,10 +965,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, self.trUtf8('Run Server'), - self.trUtf8('No current Pyramid project selected or no Pyramid ' - 'project created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no' + ' Pyramid project created yet. Aborting...')) return args = Utilities.parseOptionString(consoleCmd) @@ -961,7 +993,8 @@ self.__serverProc.start(args[0], args[1:]) serverProcStarted = self.__serverProc.waitForStarted() if not serverProcStarted: - E5MessageBox.critical(self.__ui, + E5MessageBox.critical( + self.__ui, self.trUtf8('Process Generation Error'), self.trUtf8('The Pyramid server could not be started.')) @@ -989,10 +1022,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, self.trUtf8('Run Web-Browser'), - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return config = configparser.ConfigParser() @@ -1004,10 +1038,11 @@ url = QUrl("http://localhost:{0}".format(port)) res = QDesktopServices.openUrl(url) if not res: - E5MessageBox.critical(self.__ui, + E5MessageBox.critical( + self.__ui, self.trUtf8('Run Web-Browser'), - self.trUtf8('Could not start the web-browser for the URL "{0}".')\ - .format(url.toString())) + self.trUtf8('Could not start the web-browser for the URL' + ' "{0}".').format(url.toString())) def __runPythonShell(self): """ @@ -1019,10 +1054,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, self.trUtf8('Start Pyramid Python Console'), - self.trUtf8('No current Pyramid project selected or no Pyramid ' - 'project created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no' + ' Pyramid project created yet. Aborting...')) return args = Utilities.parseOptionString(consoleCmd) @@ -1030,17 +1066,22 @@ args.append(self.getPyramidCommand("pshell")) language = self.__e5project.getProjectLanguage() if language == "Python2": - consoleType = self.__plugin.getPreferences("Python2ConsoleType") + consoleType = self.__plugin.getPreferences( + "Python2ConsoleType") else: - consoleType = self.__plugin.getPreferences("Python3ConsoleType") + consoleType = self.__plugin.getPreferences( + "Python3ConsoleType") args.append("--python-shell={0}".format(consoleType)) args.append(os.path.join(projectPath, "development.ini")) - started, pid = QProcess.startDetached(args[0], args[1:], projectPath) + started, pid = QProcess.startDetached( + args[0], args[1:], projectPath) if not started: - E5MessageBox.critical(self.__ui, + E5MessageBox.critical( + self.__ui, self.trUtf8('Process Generation Error'), - self.trUtf8('The Pyramid Shell process could not be started.')) + self.trUtf8('The Pyramid Shell process could not be' + ' started.')) ################################################################## ## slots below implement setup functions @@ -1048,16 +1089,18 @@ def __setupDevelop(self): """ - Private slot to set up the development environment for the current project. + Private slot to set up the development environment for the current + project. """ title = self.trUtf8("Setup Development Environment") try: wd = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return cmd = self.getPythonCommand() @@ -1065,8 +1108,10 @@ args.append("setup.py") args.append("develop") - dia = PyramidDialog(title, - msgSuccess=self.trUtf8("Pyramid development environment setup successfully.")) + dia = PyramidDialog( + title, + msgSuccess=self.trUtf8("Pyramid development environment setup" + " successfully.")) res = dia.startProcess(cmd, args, wd) if res: dia.exec_() @@ -1079,19 +1124,22 @@ def __buildDistribution(self): """ - Private slot to build a distribution file for the current Pyramid project. + Private slot to build a distribution file for the current Pyramid + project. """ title = self.trUtf8("Build Distribution File") try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return - from .DistributionTypeSelectionDialog import DistributionTypeSelectionDialog + from .DistributionTypeSelectionDialog import \ + DistributionTypeSelectionDialog dlg = DistributionTypeSelectionDialog(self, projectPath, self.__ui) if dlg.exec_() == QDialog.Accepted: @@ -1103,8 +1151,10 @@ if formats: args.append("--formats={0}".format(','.join(formats))) - dia = PyramidDialog(title, - msgSuccess=self.trUtf8("Python distribution file built successfully.")) + dia = PyramidDialog( + title, + msgSuccess=self.trUtf8("Python distribution file built" + " successfully.")) res = dia.startProcess(cmd, args, projectPath) if res: dia.exec_() @@ -1123,10 +1173,11 @@ cmd = "initialize_{0}_db".format(self.__project()) return self.getPyramidCommand(cmd) except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, self.trUtf8("Initialize Database"), - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return "" def __initializeDatabase(self): @@ -1137,17 +1188,19 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return cmd = self.__getInitDbCommand() args = [] args.append("development.ini") - dia = PyramidDialog(title, + dia = PyramidDialog( + title, msgSuccess=self.trUtf8("Database initialized successfully.")) res = dia.startProcess(cmd, args, projectPath) if res: @@ -1165,10 +1218,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return url, ok = QInputDialog.getText( @@ -1198,10 +1252,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return from .PyramidRoutesDialog import PyramidRoutesDialog @@ -1219,10 +1274,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return cmd = self.getPyramidCommand("ptweens") @@ -1314,10 +1370,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return config = configparser.ConfigParser() @@ -1347,7 +1404,8 @@ args.append("setup.py") args.append("extract_messages") - dia = PyramidDialog(title, + dia = PyramidDialog( + title, msgSuccess=self.trUtf8("\nMessages extracted successfully.")) res = dia.startProcess(cmd, args, projectPath) if res: @@ -1360,14 +1418,16 @@ @param code language code of the new language (string) """ - title = self.trUtf8("Initializing message catalog for '{0}'").format(code) + title = self.trUtf8("Initializing message catalog for '{0}'")\ + .format(code) try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return cmd = self.getPythonCommand() @@ -1377,8 +1437,10 @@ args.append("-l") args.append(code) - dia = PyramidDialog(title, - msgSuccess=self.trUtf8("\nMessage catalog initialized successfully.")) + dia = PyramidDialog( + title, + msgSuccess=self.trUtf8("\nMessage catalog initialized" + " successfully.")) res = dia.startProcess(cmd, args, projectPath) if res: dia.exec_() @@ -1397,10 +1459,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return cmd = self.getPythonCommand() @@ -1408,8 +1471,10 @@ args.append("setup.py") args.append("compile_catalog") - dia = PyramidDialog(title, - msgSuccess=self.trUtf8("\nMessage catalogs compiled successfully.")) + dia = PyramidDialog( + title, + msgSuccess=self.trUtf8("\nMessage catalogs compiled" + " successfully.")) res = dia.startProcess(cmd, args, projectPath) if res: dia.exec_() @@ -1430,15 +1495,17 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return argsLists = [] - for filename in self.__normalizeList(self.__projectFilteredList(filenames)): + for filename in self.__normalizeList( + self.__projectFilteredList(filenames)): locale = self.__getLocale(filename) if locale: args = [] @@ -1450,13 +1517,16 @@ argsLists.append(args) if len(argsLists) == 0: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, self.trUtf8('No locales detected. Aborting...')) return - dia = PyramidDialog(title, - msgSuccess=self.trUtf8("\nMessage catalogs compiled successfully.")) + dia = PyramidDialog( + title, + msgSuccess=self.trUtf8("\nMessage catalogs compiled" + " successfully.")) res = dia.startBatchProcesses(argsLists, projectPath) if res: dia.exec_() @@ -1477,10 +1547,11 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return cmd = self.getPythonCommand() @@ -1488,7 +1559,8 @@ args.append("setup.py") args.append("update_catalog") - dia = PyramidDialog(title, + dia = PyramidDialog( + title, msgSuccess=self.trUtf8("\nMessage catalogs updated successfully.")) res = dia.startProcess(cmd, args, projectPath) if res: @@ -1504,15 +1576,17 @@ try: projectPath = self.__projectPath() except PyramidNoProjectSelectedException: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, - self.trUtf8('No current Pyramid project selected or no Pyramid project' - ' created yet. Aborting...')) + self.trUtf8('No current Pyramid project selected or no Pyramid' + ' project created yet. Aborting...')) return argsLists = [] - for filename in self.__normalizeList(self.__projectFilteredList(filenames)): + for filename in self.__normalizeList( + self.__projectFilteredList(filenames)): locale = self.__getLocale(filename) if locale: args = [] @@ -1524,12 +1598,14 @@ argsLists.append(args) if len(argsLists) == 0: - E5MessageBox.warning(self.__ui, + E5MessageBox.warning( + self.__ui, title, self.trUtf8('No locales detected. Aborting...')) return - dia = PyramidDialog(title, + dia = PyramidDialog( + title, msgSuccess=self.trUtf8("\nMessage catalogs updated successfully.")) res = dia.startBatchProcesses(argsLists, projectPath) if res: @@ -1549,7 +1625,9 @@ wd = "" started, pid = QProcess.startDetached(editor, [poFile], wd) if not started: - E5MessageBox.critical(None, + E5MessageBox.critical( + None, self.trUtf8('Process Generation Error'), - self.trUtf8('The translations editor process ({0}) could not' - ' be started.').format(os.path.basename(editor))) + self.trUtf8('The translations editor process ({0}) could' + ' not be started.').format( + os.path.basename(editor)))
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/PyramidDialog.py --- a/ProjectPyramid/PyramidDialog.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/PyramidDialog.py Tue Oct 29 22:30:48 2013 +0100 @@ -79,7 +79,8 @@ def finish(self): """ - Public slot called when the process finished or the user pressed the button. + Public slot called when the process finished or the user pressed the + button. """ if self.proc is not None and \ self.proc.state() != QProcess.NotRunning: @@ -95,7 +96,8 @@ self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) - self.buttonBox.button(QDialogButtonBox.Close).setFocus(Qt.OtherFocusReason) + self.buttonBox.button(QDialogButtonBox.Close).setFocus( + Qt.OtherFocusReason) if self.argsLists: args = self.argsLists[0][:] @@ -146,7 +148,8 @@ self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setFocus(Qt.OtherFocusReason) + self.buttonBox.button(QDialogButtonBox.Cancel).setFocus( + Qt.OtherFocusReason) if showArgs: self.resultbox.append(command + ' ' + ' '.join(args)) @@ -165,7 +168,8 @@ if not procStarted: self.buttonBox.setFocus() self.inputGroup.setEnabled(False) - E5MessageBox.critical(self, + E5MessageBox.critical( + self, self.trUtf8('Process Generation Error'), self.trUtf8( 'The process {0} could not be started. ' @@ -183,7 +187,8 @@ @param argsLists list of lists of arguments for the processes (list of list of string) @param workingDir working directory for the process (string) - @return flag indicating a successful start of the first process (boolean) + @return flag indicating a successful start of the first process + (boolean) """ self.argsLists = argsLists[:] self.workingDir = workingDir @@ -223,8 +228,8 @@ """ if self.proc is not None: out = str(self.proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - 'replace') + Preferences.getSystem("IOEncoding"), + 'replace') self.resultbox.insertPlainText(out) self.resultbox.ensureCursorVisible() @@ -239,8 +244,8 @@ """ if self.proc is not None: err = str(self.proc.readAllStandardError(), - Preferences.getSystem("IOEncoding"), - 'replace') + Preferences.getSystem("IOEncoding"), + 'replace') self.errorGroup.show() self.errors.insertPlainText(err) self.errors.ensureCursorVisible()
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/PyramidRoutesDialog.py --- a/ProjectPyramid/PyramidRoutesDialog.py Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/PyramidRoutesDialog.py Tue Oct 29 22:30:48 2013 +0100 @@ -33,7 +33,8 @@ """ Constructor - @param project reference to the project object (ProjectPyramid.Project.Project) + @param project reference to the project object + (ProjectPyramid.Project.Project) @param parent reference to the parent widget (QWidget) """ super(PyramidRoutesDialog, self).__init__(parent) @@ -51,7 +52,8 @@ def finish(self): """ - Public slot called when the process finished or the user pressed the button. + Public slot called when the process finished or the user pressed the + button. """ if self.proc is not None and \ self.proc.state() != QProcess.NotRunning: @@ -69,7 +71,8 @@ self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) - self.buttonBox.button(QDialogButtonBox.Close).setFocus(Qt.OtherFocusReason) + self.buttonBox.button(QDialogButtonBox.Close).setFocus( + Qt.OtherFocusReason) def on_buttonBox_clicked(self, button): """ @@ -128,7 +131,6 @@ """ Public slot used to start the process. - @param command command to start (string) @param projectPath path to the Pyramid project (string) @return flag indicating a successful start of the process """ @@ -142,7 +144,8 @@ self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setFocus(Qt.OtherFocusReason) + self.buttonBox.button(QDialogButtonBox.Cancel).setFocus( + Qt.OtherFocusReason) self.proc = QProcess() @@ -161,7 +164,8 @@ if not procStarted: self.buttonBox.setFocus() self.inputGroup.setEnabled(False) - E5MessageBox.critical(self, + E5MessageBox.critical( + self, self.trUtf8('Process Generation Error'), self.trUtf8( 'The process {0} could not be started. ' @@ -181,8 +185,8 @@ """ if self.proc is not None: out = str(self.proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - 'replace') + Preferences.getSystem("IOEncoding"), + 'replace') self.buffer += out def __readStderr(self): @@ -194,8 +198,8 @@ """ if self.proc is not None: err = str(self.proc.readAllStandardError(), - Preferences.getSystem("IOEncoding"), - 'replace') + Preferences.getSystem("IOEncoding"), + 'replace') self.errorGroup.show() self.errors.insertPlainText(err) self.errors.ensureCursorVisible()
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/i18n/pyramid_de.qm Binary file ProjectPyramid/i18n/pyramid_de.qm has changed
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/i18n/pyramid_de.ts --- a/ProjectPyramid/i18n/pyramid_de.ts Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/i18n/pyramid_de.ts Tue Oct 29 22:30:48 2013 +0100 @@ -81,17 +81,17 @@ <translation>Wähle die zu erzeugenden Dateiformate für die Distribution an</translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="60"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="63"/> <source>The python setup.py command did not finish within 30s.</source> <translation>Das python setup.py Kommando endete nicht innerhalb von 30s.</translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="63"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="67"/> <source>Could not start the pcreate executable.</source> <translation>Der pcreate Prozess konnte nicht gestartet werden.</translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="74"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="80"/> <source>Process Generation Error</source> <translation>Fehler bei der Prozessgenerierung</translation> </message> @@ -124,22 +124,22 @@ <translation>Zeigt den Text des ausgewählten Templates</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="32"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="33"/> <source>Standard HTML 5 template</source> <translation>Standard HTML 5 Template</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="101"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="116"/> <source>Mako template with sections</source> <translation>Mako Template mit Abschnitten</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="44"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="46"/> <source>Standard HTML template</source> <translation>Standard HTML Template</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="57"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="60"/> <source>Chameleon template</source> <translation>Chameleon Template</translation> </message> @@ -147,492 +147,492 @@ <context> <name>Project</name> <message> - <location filename="../../ProjectPyramid/Project.py" line="110"/> + <location filename="../../ProjectPyramid/Project.py" line="111"/> <source>Current Pyramid Project</source> <translation>Aktuelles Pyramid Projekt</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="114"/> + <location filename="../../ProjectPyramid/Project.py" line="116"/> <source>Selects the current Pyramid project</source> <translation>Wählt das aktuelle Pyramid Projekt aus</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="116"/> + <location filename="../../ProjectPyramid/Project.py" line="118"/> <source><b>Current Pyramid Project</b><p>Selects the Pyramid project. Used for multi-project Pyramid projects to switch between the projects.</p></source> <translation><b>Aktuelles Pyramid Projekt</b><p>Wählt das Pyramid Projekt aus. Wird bei Multiprojekt Pyramid Projekten eingesetzt, um zwischen den Projekten umzuschalten.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="779"/> + <location filename="../../ProjectPyramid/Project.py" line="807"/> <source>Create Pyramid Project</source> <translation>Pyramid Projekt erstellen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="128"/> + <location filename="../../ProjectPyramid/Project.py" line="130"/> <source>Create Pyramid &Project</source> <translation>Pyramid &Projekt erstellen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="132"/> + <location filename="../../ProjectPyramid/Project.py" line="135"/> <source>Creates a new Pyramid project</source> <translation>Erstellt ein neues Pyramid Projekt</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="134"/> + <location filename="../../ProjectPyramid/Project.py" line="137"/> <source><b>Create Pyramid Project</b><p>Creates a new Pyramid project using "pcreate".</p></source> <translation><b>Pyramid Projekt erstellen</b><p>Erstellt ein neues Pyramid Projekt mittels "pcreate".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="937"/> + <location filename="../../ProjectPyramid/Project.py" line="968"/> <source>Run Server</source> <translation>Server starten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="145"/> + <location filename="../../ProjectPyramid/Project.py" line="148"/> <source>Run &Server</source> <translation>&Server starten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="149"/> + <location filename="../../ProjectPyramid/Project.py" line="153"/> <source>Starts the Pyramid Web server</source> <translation>Startet den Pyramid Web Server</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="151"/> + <location filename="../../ProjectPyramid/Project.py" line="155"/> <source><b>Run Server</b><p>Starts the Pyramid Web server using "pserve --reload development.ini".</p></source> <translation><b>Server starten</b><p>Startet den Pyramid Web Server mittels "pserve --reload development.ini".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="159"/> + <location filename="../../ProjectPyramid/Project.py" line="163"/> <source>Run Server with Logging</source> <translation>Server mit Logging starten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="159"/> + <location filename="../../ProjectPyramid/Project.py" line="163"/> <source>Run Server with &Logging</source> <translation>Server mit &Logging starten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="163"/> + <location filename="../../ProjectPyramid/Project.py" line="168"/> <source>Starts the Pyramid Web server with logging</source> <translation>Startet den Pyramid Web Server mit Logging</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="165"/> + <location filename="../../ProjectPyramid/Project.py" line="170"/> <source><b>Run Server with Logging</b><p>Starts the Pyramid Web server with logging using "pserve --log-file=server.log --reload development.ini".</p></source> <translation><b>Server mit Logging starten</b><p>Startet den Pyramid Web Server mit Logging mittels "pserve --log-file=server.log --reload development.ini".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1007"/> + <location filename="../../ProjectPyramid/Project.py" line="1041"/> <source>Run Web-Browser</source> <translation>Web-Browser starten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="173"/> + <location filename="../../ProjectPyramid/Project.py" line="178"/> <source>Run &Web-Browser</source> <translation>Web-&Browser starten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="177"/> + <location filename="../../ProjectPyramid/Project.py" line="183"/> <source>Starts the default Web-Browser with the URL of the Pyramid Web server</source> <translation>Startet den Standard Web-Browser mit der URL des Pyramid Web-Servers</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="179"/> + <location filename="../../ProjectPyramid/Project.py" line="186"/> <source><b>Run Web-Browser</b><p>Starts the default Web-Browser with the URL of the Pyramid Web server.</p></source> <translation><b>Web-Browser starten</b><p>Startet den Standard Web-Browser mit der URL des Pyramid Web-Servers.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1022"/> + <location filename="../../ProjectPyramid/Project.py" line="1057"/> <source>Start Pyramid Python Console</source> <translation>Starte Pyramid Python Konsole</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="187"/> + <location filename="../../ProjectPyramid/Project.py" line="194"/> <source>Start Pyramid &Python Console</source> <translation>Starte Pyramid &Python Konsole</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="191"/> + <location filename="../../ProjectPyramid/Project.py" line="199"/> <source>Starts an interactive Python interpreter</source> <translation>Startet einen interaktiven Python Interpreter</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="193"/> + <location filename="../../ProjectPyramid/Project.py" line="201"/> <source><b>Start Pyramid Python Console</b><p>Starts an interactive Python interpreter.</p></source> <translation><b>Starte Pyramid Python Konsole</b><p>Startet einen interaktiven Python Interpreter</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1053"/> + <location filename="../../ProjectPyramid/Project.py" line="1095"/> <source>Setup Development Environment</source> <translation>Entwicklungsumgebung einrichten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="204"/> + <location filename="../../ProjectPyramid/Project.py" line="212"/> <source>Setup &Development Environment</source> <translation>Entwicklungs&umgebung einrichten</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="208"/> + <location filename="../../ProjectPyramid/Project.py" line="217"/> <source>Setup the Pyramid project in development mode</source> <translation>Richtet das Pyramid Projekt im Entwicklungsmodus ein</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="210"/> + <location filename="../../ProjectPyramid/Project.py" line="219"/> <source><b>Setup Development Environment</b><p>Setup the Pyramid project in development mode using "python setup.py develop".</p></source> <translation><b>Entwicklungsumgebung einrichten</b><p>Richtet das Pyramid Projekt im Entwicklungsmodus mittels "python setup.py develop" ein.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1136"/> + <location filename="../../ProjectPyramid/Project.py" line="1187"/> <source>Initialize Database</source> <translation>Datenbank initialisieren</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="222"/> + <location filename="../../ProjectPyramid/Project.py" line="231"/> <source>Initialize &Database</source> <translation>&Datenbank initialisieren</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="226"/> + <location filename="../../ProjectPyramid/Project.py" line="236"/> <source>Initializes (or re-initializes) the database of the current Pyramid project</source> <translation>Initialisiert (oder reinitialisiert) die Datenbank des aktuellen Pyramid Projektes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="229"/> + <location filename="../../ProjectPyramid/Project.py" line="239"/> <source><b>Initialize Database</b><p>Initializes (or re-initializes) the database of the current Pyramid project.</p></source> <translation><b>Datenbank initialisieren</b><p>Initialisiert (oder reinitialisiert) die Datenbank des aktuellen Pyramid Projektes.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1174"/> + <location filename="../../ProjectPyramid/Project.py" line="1228"/> <source>Show Matching Views</source> <translation>Passende Ansichten anzeigen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="241"/> + <location filename="../../ProjectPyramid/Project.py" line="251"/> <source>Show Matching &Views</source> <translation>Passende &Ansichten anzeigen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="245"/> + <location filename="../../ProjectPyramid/Project.py" line="256"/> <source>Show views matching a given URL</source> <translation>Zeigt Ansichten zu einer gegebenen URL an</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="247"/> + <location filename="../../ProjectPyramid/Project.py" line="258"/> <source><b>Show Matching Views</b><p>Show views matching a given URL.</p></source> <translation><b>Passende Ansichten anzeigen</b><p>Zeigt Ansichten zu einer gegebenen URL an.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1197"/> + <location filename="../../ProjectPyramid/Project.py" line="1251"/> <source>Show Routes</source> <translation>Routen anzeigen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="254"/> + <location filename="../../ProjectPyramid/Project.py" line="265"/> <source>Show &Routes</source> <translation>&Routen anzeigen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="258"/> + <location filename="../../ProjectPyramid/Project.py" line="270"/> <source>Show all URL dispatch routes used by a Pyramid application</source> <translation>Zeigt alle durch eine Pyramid Anwendung verwendete URL Routen an</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="260"/> + <location filename="../../ProjectPyramid/Project.py" line="272"/> <source><b>Show Routes</b><p>Show all URL dispatch routes used by a Pyramid application in the order in which they are evaluated.</p></source> <translation><b>Routen anzeigen</b><p>Zeigt alle durch eine Pyramid Anwendung verwendete URL Routen in der Reihenfolge ihrer Auswertung an.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1218"/> + <location filename="../../ProjectPyramid/Project.py" line="1273"/> <source>Show Tween Objects</source> <translation>Tween Objekte anzeigen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="268"/> + <location filename="../../ProjectPyramid/Project.py" line="280"/> <source>Show &Tween Objects</source> <translation>&Tween Objekte anzeigen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="272"/> + <location filename="../../ProjectPyramid/Project.py" line="285"/> <source>Show all implicit and explicit tween objects used by a Pyramid application</source> <translation>Zeigt alle von einer Pyramid Anwendung verwendeten impliziten und expliziten Tween Objekte an</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="274"/> + <location filename="../../ProjectPyramid/Project.py" line="288"/> <source><b>Show Tween Objects</b><p>Show all implicit and explicit tween objects used by a Pyramid application.</p></source> <translation><b>Tween Objekte anzeigen</b><p>Zeigt alle von einer Pyramid Anwendung verwendeten impliziten und expliziten Tween Objekte an.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="286"/> + <location filename="../../ProjectPyramid/Project.py" line="300"/> <source>Build Distribution</source> <translation>Distribution erzeugen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="286"/> + <location filename="../../ProjectPyramid/Project.py" line="300"/> <source>Build &Distribution</source> <translation>&Distribution erzeugen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="290"/> + <location filename="../../ProjectPyramid/Project.py" line="305"/> <source>Builds a distribution file for the Pyramid project</source> <translation>Erzeugt Dateien zur Distribution eines Pyramid Projektes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="292"/> + <location filename="../../ProjectPyramid/Project.py" line="307"/> <source><b>Build Distribution</b><p>Builds a distribution file for the Pyramid project using "python setup.py sdist".</p></source> <translation><b>Distribution erzeugen</b><p>Erzeugt Dateien zur Distribution eines Pyramid Projektes mittels "python setup.py sdist".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="304"/> + <location filename="../../ProjectPyramid/Project.py" line="319"/> <source>Documentation</source> <translation>Dokumentation</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="304"/> + <location filename="../../ProjectPyramid/Project.py" line="319"/> <source>D&ocumentation</source> <translation>D&okumentation</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="308"/> + <location filename="../../ProjectPyramid/Project.py" line="324"/> <source>Shows the help viewer with the Pyramid documentation</source> <translation>Zeigt die Hilfeanzeige mit der Pyramid Dokumentation</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="310"/> + <location filename="../../ProjectPyramid/Project.py" line="326"/> <source><b>Documentation</b><p>Shows the help viewer with the Pyramid documentation.</p></source> <translation><b>Dokumentation</b><p>Zeigt die Hilfeanzeige mit der Pyramid Dokumentation.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="700"/> + <location filename="../../ProjectPyramid/Project.py" line="726"/> <source>About Pyramid</source> <translation>Über Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="321"/> + <location filename="../../ProjectPyramid/Project.py" line="337"/> <source>About P&yramid</source> <translation>Über P&yramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="325"/> + <location filename="../../ProjectPyramid/Project.py" line="342"/> <source>Shows some information about Pyramid</source> <translation>Zeigt einige Informationen über Pyramid an</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="327"/> + <location filename="../../ProjectPyramid/Project.py" line="344"/> <source><b>About Pyramid</b><p>Shows some information about Pyramid.</p></source> <translation><b>Über Pyramid</b><p>Zeigt einige Informationen über Pyramid an.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="342"/> + <location filename="../../ProjectPyramid/Project.py" line="359"/> <source>P&yramid</source> <translation>P&yramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="397"/> + <location filename="../../ProjectPyramid/Project.py" line="415"/> <source>New template...</source> <translation>Neues Template...</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="406"/> + <location filename="../../ProjectPyramid/Project.py" line="425"/> <source>Extract Messages</source> <translation>Texte extrahieren</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="408"/> + <location filename="../../ProjectPyramid/Project.py" line="428"/> <source>Compile All Catalogs</source> <translation>Alle Kataloge übersetzen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="410"/> + <location filename="../../ProjectPyramid/Project.py" line="431"/> <source>Compile Selected Catalogs</source> <translation>Ausgewählte Kataloge übersetzen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="413"/> + <location filename="../../ProjectPyramid/Project.py" line="434"/> <source>Update All Catalogs</source> <translation>Alle Kataloge aktualisieren</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="415"/> + <location filename="../../ProjectPyramid/Project.py" line="437"/> <source>Update Selected Catalogs</source> <translation>Ausgewählte Kataloge aktualisieren</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="458"/> + <location filename="../../ProjectPyramid/Project.py" line="481"/> <source>Chameleon Templates (*.pt);;Chameleon Text Templates (*.txt);;Mako Templates (*.mako);;Mako Templates (*.mak);;HTML Files (*.html);;HTML Files (*.htm);;All Files (*)</source> <translation>Chameleon Templates (*.pt);;Chameleon Text Templates (*.txt);;Mako Templates (*.mako);;Mako Templates (*.mak);;HTML Dateien (*.html);;HTML Dateien (*.htm);;Alle Dateien (*)</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="494"/> + <location filename="../../ProjectPyramid/Project.py" line="519"/> <source>New Form</source> <translation>Neues Formular</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="481"/> + <location filename="../../ProjectPyramid/Project.py" line="504"/> <source>The file already exists! Overwrite it?</source> <translation>Die Datei existiert bereits. Überschreiben?</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="494"/> - <source><p>The new form file <b>{0}</b> could not be created.<br/>Problem: {1}</p></source> - <translation><p>Die neue Formulardatei <b>{0}</b> konnte nicht erstellt werden.<br/>Problem: {1}</p></translation> - </message> - <message> - <location filename="../../ProjectPyramid/Project.py" line="837"/> + <location filename="../../ProjectPyramid/Project.py" line="866"/> <source>Select Pyramid Project</source> <translation>Pyramid Projekt auswählen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="837"/> + <location filename="../../ProjectPyramid/Project.py" line="866"/> <source>Select the Pyramid project to work with.</source> <translation>Wähle das Pyramid Projekt aus, mit dem gearbeitet werden soll.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="875"/> + <location filename="../../ProjectPyramid/Project.py" line="905"/> <source>None</source> <translation>keines</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="878"/> + <location filename="../../ProjectPyramid/Project.py" line="908"/> <source>&Current Pyramid Project ({0})</source> <translation>&Aktuelles Pyramid Projekt ({0})</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1507"/> + <location filename="../../ProjectPyramid/Project.py" line="1579"/> <source>No current Pyramid project selected or no Pyramid project created yet. Aborting...</source> <translation>Kein aktuelles Pyramid Projekt ausgewählt oder noch keines erstellt. Abbruch...</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1552"/> + <location filename="../../ProjectPyramid/Project.py" line="1628"/> <source>Process Generation Error</source> <translation>Fehler bei der Prozessgenerierung</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="964"/> + <location filename="../../ProjectPyramid/Project.py" line="996"/> <source>The Pyramid server could not be started.</source> <translation>Der Pyramid Server konnte nicht gestartet werden.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1007"/> + <location filename="../../ProjectPyramid/Project.py" line="1041"/> <source>Could not start the web-browser for the URL "{0}".</source> <translation>Der Web-Browser konnte nicht für die URL "{0}" gestartet werden.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1041"/> + <location filename="../../ProjectPyramid/Project.py" line="1080"/> <source>The Pyramid Shell process could not be started.</source> <translation>Der Pyramid Konsolenprozess konnte nicht gestartet werden.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1068"/> + <location filename="../../ProjectPyramid/Project.py" line="1111"/> <source>Pyramid development environment setup successfully.</source> <translation>Die Pyramid Entwicklungsumgebung wurde erfolgreich eingerichtet.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1084"/> + <location filename="../../ProjectPyramid/Project.py" line="1130"/> <source>Build Distribution File</source> <translation>Distributionsdateien erzeugen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1106"/> + <location filename="../../ProjectPyramid/Project.py" line="1154"/> <source>Python distribution file built successfully.</source> <translation>Python Distributionsdateien erfolgreich erzeugt.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1150"/> + <location filename="../../ProjectPyramid/Project.py" line="1202"/> <source>Database initialized successfully.</source> <translation>Datenbank erfolgreich initialisiert.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1174"/> + <location filename="../../ProjectPyramid/Project.py" line="1228"/> <source>Enter the URL to be matched:</source> <translation>Gib die zu überprüfende URL ein:</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1313"/> + <location filename="../../ProjectPyramid/Project.py" line="1369"/> <source>Extract messages</source> <translation>Texte extrahieren</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1350"/> + <location filename="../../ProjectPyramid/Project.py" line="1407"/> <source> Messages extracted successfully.</source> <translation>Texte erfolgreich extrahiert.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1380"/> + <location filename="../../ProjectPyramid/Project.py" line="1440"/> <source> Message catalog initialized successfully.</source> <translation> Textkatalog erfolgreich initialisiert.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1429"/> + <location filename="../../ProjectPyramid/Project.py" line="1494"/> <source>Compiling message catalogs</source> <translation>Übersetze Textkataloge</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1458"/> + <location filename="../../ProjectPyramid/Project.py" line="1526"/> <source> Message catalogs compiled successfully.</source> <translation> Textkataloge erfolgreich übersetzt.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1527"/> + <location filename="../../ProjectPyramid/Project.py" line="1601"/> <source>No locales detected. Aborting...</source> <translation>Keine Sprachen erkannt. Abbruch...</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1503"/> + <location filename="../../ProjectPyramid/Project.py" line="1575"/> <source>Updating message catalogs</source> <translation>Aktualisiere Textkataloge</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1532"/> + <location filename="../../ProjectPyramid/Project.py" line="1607"/> <source> Message catalogs updated successfully.</source> <translation> Textkataloge erfolgreich aktualisiert.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1363"/> + <location filename="../../ProjectPyramid/Project.py" line="1421"/> <source>Initializing message catalog for '{0}'</source> <translation>Initialisiere Textkatalog für '{0}'</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="700"/> + <location filename="../../ProjectPyramid/Project.py" line="726"/> <source><p>Pyramid is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.</p><p><table><tr><td>Version:</td><td>{0}</td></tr><tr><td>URL:</td><td><a href="{1}">{1}</a></td></tr></table></p></source> <translation><p>Pyramid ist ein Python Web-Framework, das eine schnelle Entwicklung und ein klares, pragmatisches Design fördert.</p><table><tr><td>Version:</td><td>{0}</td></tr><tr><td>URL:</td><td><a href="{1}">{1}</a></td></tr></table></p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="381"/> + <location filename="../../ProjectPyramid/Project.py" line="398"/> <source>Open with {0}</source> <translation>Mit [0} öffnen</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1552"/> + <location filename="../../ProjectPyramid/Project.py" line="1628"/> <source>The translations editor process ({0}) could not be started.</source> <translation>Der Prozess für den Übersetzungseditor ({0}) konnte nicht gestartet werden.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1328"/> + <location filename="../../ProjectPyramid/Project.py" line="1385"/> <source>No setup.cfg found or no "extract_messages" section found in setup.cfg.</source> <translation>Keine setup.cfg gefunden bzw. keine Sektion "extract_messages" in setup.cfg vorhanden.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1334"/> + <location filename="../../ProjectPyramid/Project.py" line="1391"/> <source>No "output_file" option found in setup.cfg.</source> <translation>Keine Option "output_file" in setup.cfg vorhanden.</translation> </message> + <message> + <location filename="../../ProjectPyramid/Project.py" line="519"/> + <source><p>The new form file <b>{0}</b> could not be created.<br/> Problem: {1}</p></source> + <translation><p>Die neue Formulardatei <b>{0}</b> konnte nicht erstellt werden.<br/> Problem: {1}</p></translation> + </message> </context> <context> <name>ProjectPyramidPlugin</name> <message> - <location filename="../../PluginProjectPyramid.py" line="388"/> + <location filename="../../PluginProjectPyramid.py" line="403"/> <source>Pyramid</source> <translation>Pyramid</translation> </message> <message> - <location filename="../../PluginProjectPyramid.py" line="164"/> + <location filename="../../PluginProjectPyramid.py" line="167"/> <source>eric5 version is too old, {0}, {1} or newer needed.</source> <translation>Die eric5 Version ist zu alt; {0}, {1} oder neuer wird benötigt.</translation> </message> @@ -695,12 +695,12 @@ <translation>Alt+K</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidDialog.py" line="168"/> + <location filename="../../ProjectPyramid/PyramidDialog.py" line="171"/> <source>Process Generation Error</source> <translation>Fehler bei der Prozessgenerierung</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidDialog.py" line="168"/> + <location filename="../../ProjectPyramid/PyramidDialog.py" line="171"/> <source>The process {0} could not be started. Ensure, that it is in the search path.</source> <translation>Der Prozess {0} konnte nicht gestartet werden. Bitte stellen sie sicher, dass er sich im Suchpfad befindet.</translation> </message> @@ -783,27 +783,27 @@ <translation>Gib die URL für die Pyramid Dokumentation ein</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="63"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="64"/> <source>Plain Python</source> <translation>Normales Python</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="64"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="65"/> <source>IPython</source> <translation>IPython</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="65"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="66"/> <source>bpython</source> <translation>bpython</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="119"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="122"/> <source>Select Virtual Environment for Python 3</source> <translation>Wähle die virtuelle Umgebung für Python 3</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="137"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="141"/> <source>Select Virtual Environment for Python 2</source> <translation>Wähle die virtuelle Umgebung für Python 2</translation> </message> @@ -813,7 +813,7 @@ <translation>Konsole</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="151"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="157"/> <source>Translations Editor</source> <translation>Übersetzungseditor</translation> </message> @@ -828,7 +828,7 @@ <translation>Wähle den Übersetzungseditor über einen Auswahldialog aus</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="151"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="157"/> <source>All Files (*)</source> <translation>Alle Dateien (*)</translation> </message> @@ -886,22 +886,22 @@ <translation>Alt+K</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="102"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="105"/> <source>No routes found.</source> <translation>Keine Routen gefunden.</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="135"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="137"/> <source>Getting routes...</source> <translation>Ermittle Routen...</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="164"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="167"/> <source>Process Generation Error</source> <translation>Fehler bei der Prozessgenerierung</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="164"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="167"/> <source>The process {0} could not be started. Ensure, that it is in the search path.</source> <translation>Der Prozess {0} konnte nicht gestartet werden. Bitte stellen sie sicher, dass er sich im Suchpfad befindet.</translation> </message>
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/i18n/pyramid_en.ts --- a/ProjectPyramid/i18n/pyramid_en.ts Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/i18n/pyramid_en.ts Tue Oct 29 22:30:48 2013 +0100 @@ -81,17 +81,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="60"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="63"/> <source>The python setup.py command did not finish within 30s.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="63"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="67"/> <source>Could not start the pcreate executable.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="74"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="80"/> <source>Process Generation Error</source> <translation type="unfinished"></translation> </message> @@ -124,22 +124,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="32"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="33"/> <source>Standard HTML 5 template</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="101"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="116"/> <source>Mako template with sections</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="44"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="46"/> <source>Standard HTML template</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="57"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="60"/> <source>Chameleon template</source> <translation type="unfinished"></translation> </message> @@ -147,489 +147,489 @@ <context> <name>Project</name> <message> - <location filename="../../ProjectPyramid/Project.py" line="110"/> + <location filename="../../ProjectPyramid/Project.py" line="111"/> <source>Current Pyramid Project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="114"/> + <location filename="../../ProjectPyramid/Project.py" line="116"/> <source>Selects the current Pyramid project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="116"/> + <location filename="../../ProjectPyramid/Project.py" line="118"/> <source><b>Current Pyramid Project</b><p>Selects the Pyramid project. Used for multi-project Pyramid projects to switch between the projects.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="779"/> + <location filename="../../ProjectPyramid/Project.py" line="807"/> <source>Create Pyramid Project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="128"/> + <location filename="../../ProjectPyramid/Project.py" line="130"/> <source>Create Pyramid &Project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="132"/> + <location filename="../../ProjectPyramid/Project.py" line="135"/> <source>Creates a new Pyramid project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="134"/> + <location filename="../../ProjectPyramid/Project.py" line="137"/> <source><b>Create Pyramid Project</b><p>Creates a new Pyramid project using "pcreate".</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="937"/> + <location filename="../../ProjectPyramid/Project.py" line="968"/> <source>Run Server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="145"/> + <location filename="../../ProjectPyramid/Project.py" line="148"/> <source>Run &Server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="149"/> + <location filename="../../ProjectPyramid/Project.py" line="153"/> <source>Starts the Pyramid Web server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="151"/> + <location filename="../../ProjectPyramid/Project.py" line="155"/> <source><b>Run Server</b><p>Starts the Pyramid Web server using "pserve --reload development.ini".</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="159"/> + <location filename="../../ProjectPyramid/Project.py" line="163"/> <source>Run Server with Logging</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="159"/> - <source>Run Server with &Logging</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../../ProjectPyramid/Project.py" line="163"/> + <source>Run Server with &Logging</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ProjectPyramid/Project.py" line="168"/> <source>Starts the Pyramid Web server with logging</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="165"/> + <location filename="../../ProjectPyramid/Project.py" line="170"/> <source><b>Run Server with Logging</b><p>Starts the Pyramid Web server with logging using "pserve --log-file=server.log --reload development.ini".</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1007"/> + <location filename="../../ProjectPyramid/Project.py" line="1041"/> <source>Run Web-Browser</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="173"/> + <location filename="../../ProjectPyramid/Project.py" line="178"/> <source>Run &Web-Browser</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="177"/> + <location filename="../../ProjectPyramid/Project.py" line="183"/> <source>Starts the default Web-Browser with the URL of the Pyramid Web server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="179"/> + <location filename="../../ProjectPyramid/Project.py" line="186"/> <source><b>Run Web-Browser</b><p>Starts the default Web-Browser with the URL of the Pyramid Web server.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1022"/> + <location filename="../../ProjectPyramid/Project.py" line="1057"/> <source>Start Pyramid Python Console</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="187"/> + <location filename="../../ProjectPyramid/Project.py" line="194"/> <source>Start Pyramid &Python Console</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="191"/> + <location filename="../../ProjectPyramid/Project.py" line="199"/> <source>Starts an interactive Python interpreter</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="193"/> + <location filename="../../ProjectPyramid/Project.py" line="201"/> <source><b>Start Pyramid Python Console</b><p>Starts an interactive Python interpreter.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1053"/> + <location filename="../../ProjectPyramid/Project.py" line="1095"/> <source>Setup Development Environment</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="204"/> + <location filename="../../ProjectPyramid/Project.py" line="212"/> <source>Setup &Development Environment</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="208"/> + <location filename="../../ProjectPyramid/Project.py" line="217"/> <source>Setup the Pyramid project in development mode</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="210"/> + <location filename="../../ProjectPyramid/Project.py" line="219"/> <source><b>Setup Development Environment</b><p>Setup the Pyramid project in development mode using "python setup.py develop".</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1136"/> + <location filename="../../ProjectPyramid/Project.py" line="1187"/> <source>Initialize Database</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="222"/> + <location filename="../../ProjectPyramid/Project.py" line="231"/> <source>Initialize &Database</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="226"/> + <location filename="../../ProjectPyramid/Project.py" line="236"/> <source>Initializes (or re-initializes) the database of the current Pyramid project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="229"/> + <location filename="../../ProjectPyramid/Project.py" line="239"/> <source><b>Initialize Database</b><p>Initializes (or re-initializes) the database of the current Pyramid project.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1174"/> + <location filename="../../ProjectPyramid/Project.py" line="1228"/> <source>Show Matching Views</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="241"/> + <location filename="../../ProjectPyramid/Project.py" line="251"/> <source>Show Matching &Views</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="245"/> + <location filename="../../ProjectPyramid/Project.py" line="256"/> <source>Show views matching a given URL</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="247"/> + <location filename="../../ProjectPyramid/Project.py" line="258"/> <source><b>Show Matching Views</b><p>Show views matching a given URL.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1197"/> + <location filename="../../ProjectPyramid/Project.py" line="1251"/> <source>Show Routes</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="254"/> + <location filename="../../ProjectPyramid/Project.py" line="265"/> <source>Show &Routes</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="258"/> + <location filename="../../ProjectPyramid/Project.py" line="270"/> <source>Show all URL dispatch routes used by a Pyramid application</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="260"/> + <location filename="../../ProjectPyramid/Project.py" line="272"/> <source><b>Show Routes</b><p>Show all URL dispatch routes used by a Pyramid application in the order in which they are evaluated.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1218"/> + <location filename="../../ProjectPyramid/Project.py" line="1273"/> <source>Show Tween Objects</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="268"/> + <location filename="../../ProjectPyramid/Project.py" line="280"/> <source>Show &Tween Objects</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="272"/> + <location filename="../../ProjectPyramid/Project.py" line="285"/> <source>Show all implicit and explicit tween objects used by a Pyramid application</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="274"/> + <location filename="../../ProjectPyramid/Project.py" line="288"/> <source><b>Show Tween Objects</b><p>Show all implicit and explicit tween objects used by a Pyramid application.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="286"/> + <location filename="../../ProjectPyramid/Project.py" line="300"/> <source>Build Distribution</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="286"/> + <location filename="../../ProjectPyramid/Project.py" line="300"/> <source>Build &Distribution</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="290"/> + <location filename="../../ProjectPyramid/Project.py" line="305"/> <source>Builds a distribution file for the Pyramid project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="292"/> + <location filename="../../ProjectPyramid/Project.py" line="307"/> <source><b>Build Distribution</b><p>Builds a distribution file for the Pyramid project using "python setup.py sdist".</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="304"/> + <location filename="../../ProjectPyramid/Project.py" line="319"/> <source>Documentation</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="304"/> + <location filename="../../ProjectPyramid/Project.py" line="319"/> <source>D&ocumentation</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="308"/> + <location filename="../../ProjectPyramid/Project.py" line="324"/> <source>Shows the help viewer with the Pyramid documentation</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="310"/> + <location filename="../../ProjectPyramid/Project.py" line="326"/> <source><b>Documentation</b><p>Shows the help viewer with the Pyramid documentation.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="700"/> + <location filename="../../ProjectPyramid/Project.py" line="726"/> <source>About Pyramid</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="321"/> + <location filename="../../ProjectPyramid/Project.py" line="337"/> <source>About P&yramid</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="325"/> + <location filename="../../ProjectPyramid/Project.py" line="342"/> <source>Shows some information about Pyramid</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="327"/> + <location filename="../../ProjectPyramid/Project.py" line="344"/> <source><b>About Pyramid</b><p>Shows some information about Pyramid.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="342"/> + <location filename="../../ProjectPyramid/Project.py" line="359"/> <source>P&yramid</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="397"/> + <location filename="../../ProjectPyramid/Project.py" line="415"/> <source>New template...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="406"/> + <location filename="../../ProjectPyramid/Project.py" line="425"/> <source>Extract Messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="408"/> + <location filename="../../ProjectPyramid/Project.py" line="428"/> <source>Compile All Catalogs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="410"/> + <location filename="../../ProjectPyramid/Project.py" line="431"/> <source>Compile Selected Catalogs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="413"/> + <location filename="../../ProjectPyramid/Project.py" line="434"/> <source>Update All Catalogs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="415"/> + <location filename="../../ProjectPyramid/Project.py" line="437"/> <source>Update Selected Catalogs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="458"/> - <source>Chameleon Templates (*.pt);;Chameleon Text Templates (*.txt);;Mako Templates (*.mako);;Mako Templates (*.mak);;HTML Files (*.html);;HTML Files (*.htm);;All Files (*)</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../ProjectPyramid/Project.py" line="494"/> - <source>New Form</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../../ProjectPyramid/Project.py" line="481"/> + <source>Chameleon Templates (*.pt);;Chameleon Text Templates (*.txt);;Mako Templates (*.mako);;Mako Templates (*.mak);;HTML Files (*.html);;HTML Files (*.htm);;All Files (*)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ProjectPyramid/Project.py" line="519"/> + <source>New Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ProjectPyramid/Project.py" line="504"/> <source>The file already exists! Overwrite it?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="494"/> - <source><p>The new form file <b>{0}</b> could not be created.<br/>Problem: {1}</p></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../ProjectPyramid/Project.py" line="837"/> + <location filename="../../ProjectPyramid/Project.py" line="866"/> <source>Select Pyramid Project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="837"/> + <location filename="../../ProjectPyramid/Project.py" line="866"/> <source>Select the Pyramid project to work with.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="875"/> + <location filename="../../ProjectPyramid/Project.py" line="905"/> <source>None</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="878"/> + <location filename="../../ProjectPyramid/Project.py" line="908"/> <source>&Current Pyramid Project ({0})</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1507"/> + <location filename="../../ProjectPyramid/Project.py" line="1579"/> <source>No current Pyramid project selected or no Pyramid project created yet. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1552"/> + <location filename="../../ProjectPyramid/Project.py" line="1628"/> <source>Process Generation Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="964"/> + <location filename="../../ProjectPyramid/Project.py" line="996"/> <source>The Pyramid server could not be started.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1007"/> + <location filename="../../ProjectPyramid/Project.py" line="1041"/> <source>Could not start the web-browser for the URL "{0}".</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1041"/> + <location filename="../../ProjectPyramid/Project.py" line="1080"/> <source>The Pyramid Shell process could not be started.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1068"/> + <location filename="../../ProjectPyramid/Project.py" line="1111"/> <source>Pyramid development environment setup successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1084"/> + <location filename="../../ProjectPyramid/Project.py" line="1130"/> <source>Build Distribution File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1106"/> + <location filename="../../ProjectPyramid/Project.py" line="1154"/> <source>Python distribution file built successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1150"/> + <location filename="../../ProjectPyramid/Project.py" line="1202"/> <source>Database initialized successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1174"/> + <location filename="../../ProjectPyramid/Project.py" line="1228"/> <source>Enter the URL to be matched:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1313"/> + <location filename="../../ProjectPyramid/Project.py" line="1369"/> <source>Extract messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1350"/> + <location filename="../../ProjectPyramid/Project.py" line="1407"/> <source> Messages extracted successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1380"/> + <location filename="../../ProjectPyramid/Project.py" line="1440"/> <source> Message catalog initialized successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1429"/> + <location filename="../../ProjectPyramid/Project.py" line="1494"/> <source>Compiling message catalogs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1458"/> + <location filename="../../ProjectPyramid/Project.py" line="1526"/> <source> Message catalogs compiled successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1527"/> + <location filename="../../ProjectPyramid/Project.py" line="1601"/> <source>No locales detected. Aborting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1503"/> + <location filename="../../ProjectPyramid/Project.py" line="1575"/> <source>Updating message catalogs</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1532"/> + <location filename="../../ProjectPyramid/Project.py" line="1607"/> <source> Message catalogs updated successfully.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1363"/> + <location filename="../../ProjectPyramid/Project.py" line="1421"/> <source>Initializing message catalog for '{0}'</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="700"/> + <location filename="../../ProjectPyramid/Project.py" line="726"/> <source><p>Pyramid is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.</p><p><table><tr><td>Version:</td><td>{0}</td></tr><tr><td>URL:</td><td><a href="{1}">{1}</a></td></tr></table></p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="381"/> + <location filename="../../ProjectPyramid/Project.py" line="398"/> <source>Open with {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1552"/> + <location filename="../../ProjectPyramid/Project.py" line="1628"/> <source>The translations editor process ({0}) could not be started.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1328"/> + <location filename="../../ProjectPyramid/Project.py" line="1385"/> <source>No setup.cfg found or no "extract_messages" section found in setup.cfg.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1334"/> + <location filename="../../ProjectPyramid/Project.py" line="1391"/> <source>No "output_file" option found in setup.cfg.</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../../ProjectPyramid/Project.py" line="519"/> + <source><p>The new form file <b>{0}</b> could not be created.<br/> Problem: {1}</p></source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPyramidPlugin</name> <message> - <location filename="../../PluginProjectPyramid.py" line="388"/> + <location filename="../../PluginProjectPyramid.py" line="403"/> <source>Pyramid</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../PluginProjectPyramid.py" line="164"/> + <location filename="../../PluginProjectPyramid.py" line="167"/> <source>eric5 version is too old, {0}, {1} or newer needed.</source> <translation type="unfinished"></translation> </message> @@ -692,12 +692,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidDialog.py" line="168"/> + <location filename="../../ProjectPyramid/PyramidDialog.py" line="171"/> <source>Process Generation Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidDialog.py" line="168"/> + <location filename="../../ProjectPyramid/PyramidDialog.py" line="171"/> <source>The process {0} could not be started. Ensure, that it is in the search path.</source> <translation type="unfinished"></translation> </message> @@ -780,27 +780,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="63"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="64"/> <source>Plain Python</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="64"/> - <source>IPython</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="65"/> + <source>IPython</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="66"/> <source>bpython</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="119"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="122"/> <source>Select Virtual Environment for Python 3</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="137"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="141"/> <source>Select Virtual Environment for Python 2</source> <translation type="unfinished"></translation> </message> @@ -810,7 +810,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="151"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="157"/> <source>Translations Editor</source> <translation type="unfinished"></translation> </message> @@ -825,7 +825,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="151"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="157"/> <source>All Files (*)</source> <translation type="unfinished"></translation> </message> @@ -883,22 +883,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="102"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="105"/> <source>No routes found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="135"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="137"/> <source>Getting routes...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="164"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="167"/> <source>Process Generation Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="164"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="167"/> <source>The process {0} could not be started. Ensure, that it is in the search path.</source> <translation type="unfinished"></translation> </message>
diff -r c7adc68350dd -r e654970c913e ProjectPyramid/i18n/pyramid_es.ts --- a/ProjectPyramid/i18n/pyramid_es.ts Sun Oct 27 22:43:17 2013 +0100 +++ b/ProjectPyramid/i18n/pyramid_es.ts Tue Oct 29 22:30:48 2013 +0100 @@ -81,17 +81,17 @@ <translation>Comprobar los formatos de archivo de distribución que deberían ser generados</translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="60"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="63"/> <source>The python setup.py command did not finish within 30s.</source> <translation>El comando python setup.py no ha terminado en 30s o menos.</translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="63"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="67"/> <source>Could not start the pcreate executable.</source> <translation>No se ha podido iniciar el ejecutable de pcreate.</translation> </message> <message> - <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="74"/> + <location filename="../../ProjectPyramid/DistributionTypeSelectionDialog.py" line="80"/> <source>Process Generation Error</source> <translation>Error de Generación de Proceso</translation> </message> @@ -124,22 +124,22 @@ <translation>Muestra el texto de la plantilla seleccionada</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="32"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="33"/> <source>Standard HTML 5 template</source> <translation>Plantilla Estándar HTML 5</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="101"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="116"/> <source>Mako template with sections</source> <translation>Plantilla Mako con secciones</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="44"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="46"/> <source>Standard HTML template</source> <translation>Plantilla Estándar HTML</translation> </message> <message> - <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="57"/> + <location filename="../../ProjectPyramid/FormSelectionDialog.py" line="60"/> <source>Chameleon template</source> <translation>Plantilla Chameleon</translation> </message> @@ -147,334 +147,334 @@ <context> <name>Project</name> <message> - <location filename="../../ProjectPyramid/Project.py" line="110"/> + <location filename="../../ProjectPyramid/Project.py" line="111"/> <source>Current Pyramid Project</source> <translation>Proyecto Pyramid Actual</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="114"/> + <location filename="../../ProjectPyramid/Project.py" line="116"/> <source>Selects the current Pyramid project</source> <translation>Selecciona el proyecto Piramid actual</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="116"/> + <location filename="../../ProjectPyramid/Project.py" line="118"/> <source><b>Current Pyramid Project</b><p>Selects the Pyramid project. Used for multi-project Pyramid projects to switch between the projects.</p></source> <translation><b>Proyecto Pyramid Actual</b><p>Seleciona el proyecto Pyramid. Se utiliza en proyectos Pyramid multi-proyecto Pyramid projects para cambiar entre proyectos.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="779"/> + <location filename="../../ProjectPyramid/Project.py" line="807"/> <source>Create Pyramid Project</source> <translation>Crear Proyecto Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="128"/> + <location filename="../../ProjectPyramid/Project.py" line="130"/> <source>Create Pyramid &Project</source> <translation>Crear &Proyecto Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="132"/> + <location filename="../../ProjectPyramid/Project.py" line="135"/> <source>Creates a new Pyramid project</source> <translation>Crea un nuevo proyecto Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="134"/> + <location filename="../../ProjectPyramid/Project.py" line="137"/> <source><b>Create Pyramid Project</b><p>Creates a new Pyramid project using "pcreate".</p></source> <translation><b>Crear Proyecto Pyramid </b><p>Crea un nuevo proyecto Pyramid usando "pcreate".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="937"/> + <location filename="../../ProjectPyramid/Project.py" line="968"/> <source>Run Server</source> <translation>Lanzar Servidor</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="145"/> + <location filename="../../ProjectPyramid/Project.py" line="148"/> <source>Run &Server</source> <translation>Lanzar &Servidor</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="149"/> + <location filename="../../ProjectPyramid/Project.py" line="153"/> <source>Starts the Pyramid Web server</source> <translation>Inicia el servidor Web de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="151"/> + <location filename="../../ProjectPyramid/Project.py" line="155"/> <source><b>Run Server</b><p>Starts the Pyramid Web server using "pserve --reload development.ini".</p></source> <translation><b>Lanzar Servidor</b><p>Inicia el servidor Web de Pyramid usando "pserve --reload development.ini".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="159"/> + <location filename="../../ProjectPyramid/Project.py" line="163"/> <source>Run Server with Logging</source> <translation>Lanzar Servidor con Log</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="159"/> + <location filename="../../ProjectPyramid/Project.py" line="163"/> <source>Run Server with &Logging</source> <translation>Lanzar Servidor con &Log</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="163"/> + <location filename="../../ProjectPyramid/Project.py" line="168"/> <source>Starts the Pyramid Web server with logging</source> <translation>Inicia el servidor Web de Pyramid con log</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="165"/> + <location filename="../../ProjectPyramid/Project.py" line="170"/> <source><b>Run Server with Logging</b><p>Starts the Pyramid Web server with logging using "pserve --log-file=server.log --reload development.ini".</p></source> <translation><b>Lanzar Servidor con Log</b><p>Inicia el servidor Web de Pyramid con log usando "pserve --log-file=server.log --reload development.ini".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1007"/> + <location filename="../../ProjectPyramid/Project.py" line="1041"/> <source>Run Web-Browser</source> <translation>Lanzar Navegador Web</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="173"/> + <location filename="../../ProjectPyramid/Project.py" line="178"/> <source>Run &Web-Browser</source> <translation>Lanzar Navegador &Web</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="177"/> + <location filename="../../ProjectPyramid/Project.py" line="183"/> <source>Starts the default Web-Browser with the URL of the Pyramid Web server</source> <translation>Inicia el Navegador Web por defecto con la URL del servidor Web de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="179"/> + <location filename="../../ProjectPyramid/Project.py" line="186"/> <source><b>Run Web-Browser</b><p>Starts the default Web-Browser with the URL of the Pyramid Web server.</p></source> <translation><b>Lanzar Navegador Web</b><p>Inicia el Navegador Web por defecto con la URL del servidor Web de Pyramid.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1022"/> + <location filename="../../ProjectPyramid/Project.py" line="1057"/> <source>Start Pyramid Python Console</source> <translation>Iniciar Consola Python de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="187"/> + <location filename="../../ProjectPyramid/Project.py" line="194"/> <source>Start Pyramid &Python Console</source> <translation>Iniciar Consola &Python de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="191"/> + <location filename="../../ProjectPyramid/Project.py" line="199"/> <source>Starts an interactive Python interpreter</source> <translation>Inicia un intérprete interactivo de Python</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="193"/> + <location filename="../../ProjectPyramid/Project.py" line="201"/> <source><b>Start Pyramid Python Console</b><p>Starts an interactive Python interpreter.</p></source> <translation><b>Iniciar Consola Python de Pyramid</b><p>Inicia un intérprete interactivo de Python.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1053"/> + <location filename="../../ProjectPyramid/Project.py" line="1095"/> <source>Setup Development Environment</source> <translation>Configurar Entorno de Desarrollo</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="204"/> + <location filename="../../ProjectPyramid/Project.py" line="212"/> <source>Setup &Development Environment</source> <translation>Configurar Entorno de &Desarrollo</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="208"/> + <location filename="../../ProjectPyramid/Project.py" line="217"/> <source>Setup the Pyramid project in development mode</source> <translation>Configurar el proyecto Pyramid en modo de desarrollo</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="210"/> + <location filename="../../ProjectPyramid/Project.py" line="219"/> <source><b>Setup Development Environment</b><p>Setup the Pyramid project in development mode using "python setup.py develop".</p></source> <translation><b>Configurar Entorno de Desarrollo</b><p>Configurar el proyecto Pyramid en modo de desarrollo usando "python setup.py develop".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1136"/> + <location filename="../../ProjectPyramid/Project.py" line="1187"/> <source>Initialize Database</source> <translation>Inicializar Base de Datos</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="222"/> + <location filename="../../ProjectPyramid/Project.py" line="231"/> <source>Initialize &Database</source> <translation>Inicializar Base de &Datos</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="226"/> + <location filename="../../ProjectPyramid/Project.py" line="236"/> <source>Initializes (or re-initializes) the database of the current Pyramid project</source> <translation>Inicializa (o reinicializa) la base de datos del proyecto Pyramid actual</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="229"/> + <location filename="../../ProjectPyramid/Project.py" line="239"/> <source><b>Initialize Database</b><p>Initializes (or re-initializes) the database of the current Pyramid project.</p></source> <translation><b>Inicializar Base de Datos</b><p>Inicializa (o reinicializa) la base de datos del proyecto Pyramid actual.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1174"/> + <location filename="../../ProjectPyramid/Project.py" line="1228"/> <source>Show Matching Views</source> <translation>Mostrar Vistas Concordantes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="241"/> + <location filename="../../ProjectPyramid/Project.py" line="251"/> <source>Show Matching &Views</source> <translation>Mostrar &Vistas Concordantes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="245"/> + <location filename="../../ProjectPyramid/Project.py" line="256"/> <source>Show views matching a given URL</source> <translation>Mostrar vistas que concuerdan con una URL dada</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="247"/> + <location filename="../../ProjectPyramid/Project.py" line="258"/> <source><b>Show Matching Views</b><p>Show views matching a given URL.</p></source> <translation><b>Mostrar Vistas Concordantes</b><p>Mostrar vistas que concuerdan con una URL dada.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1197"/> + <location filename="../../ProjectPyramid/Project.py" line="1251"/> <source>Show Routes</source> <translation>Mostrar Rutas</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="254"/> + <location filename="../../ProjectPyramid/Project.py" line="265"/> <source>Show &Routes</source> <translation>Mostrar &Rutas</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="258"/> + <location filename="../../ProjectPyramid/Project.py" line="270"/> <source>Show all URL dispatch routes used by a Pyramid application</source> <translation>Mostrar todas las rutas URL de despacho usadas por una aplicación Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="260"/> + <location filename="../../ProjectPyramid/Project.py" line="272"/> <source><b>Show Routes</b><p>Show all URL dispatch routes used by a Pyramid application in the order in which they are evaluated.</p></source> <translation><b>Mostrar Rutas</b><p>Mostrar todas las rutas URL de despacho usadas por una aplicación Pyramid en el orden en que son evaluadas.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1218"/> + <location filename="../../ProjectPyramid/Project.py" line="1273"/> <source>Show Tween Objects</source> <translation>Mostrar Objetos Gemelos</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="268"/> + <location filename="../../ProjectPyramid/Project.py" line="280"/> <source>Show &Tween Objects</source> <translation>Mos&trar Objetos Gemelos</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="272"/> + <location filename="../../ProjectPyramid/Project.py" line="285"/> <source>Show all implicit and explicit tween objects used by a Pyramid application</source> <translation>Mostrar todos los objetos gemelos implícitos y explícitos usados por una aplicación Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="274"/> + <location filename="../../ProjectPyramid/Project.py" line="288"/> <source><b>Show Tween Objects</b><p>Show all implicit and explicit tween objects used by a Pyramid application.</p></source> <translation><b>Mostrar Objetos Gemelos</b><p>Mostrar todos los objetos gemelos implícitos y explícitos usados por una aplicación Pyramid.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="286"/> + <location filename="../../ProjectPyramid/Project.py" line="300"/> <source>Build Distribution</source> <translation>Construir Distribución</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="286"/> + <location filename="../../ProjectPyramid/Project.py" line="300"/> <source>Build &Distribution</source> <translation>Construir &Distribución</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="290"/> + <location filename="../../ProjectPyramid/Project.py" line="305"/> <source>Builds a distribution file for the Pyramid project</source> <translation>Construye un archivo de distribución para el proyecto Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="292"/> + <location filename="../../ProjectPyramid/Project.py" line="307"/> <source><b>Build Distribution</b><p>Builds a distribution file for the Pyramid project using "python setup.py sdist".</p></source> <translation><b>Construir Distribución</b><p>Construye un archivo de distribución para el proyecto Pyramid usando "python setup.py sdist".</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="304"/> + <location filename="../../ProjectPyramid/Project.py" line="319"/> <source>Documentation</source> <translation>Documentación</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="304"/> + <location filename="../../ProjectPyramid/Project.py" line="319"/> <source>D&ocumentation</source> <translation>D&ocumentación</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="308"/> + <location filename="../../ProjectPyramid/Project.py" line="324"/> <source>Shows the help viewer with the Pyramid documentation</source> <translation>Muestra el visor de ayuda con la documentación de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="310"/> + <location filename="../../ProjectPyramid/Project.py" line="326"/> <source><b>Documentation</b><p>Shows the help viewer with the Pyramid documentation.</p></source> <translation><b>Documentación</b><p>Muestra el visor de ayuda con la documentación de Pyramid.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="700"/> + <location filename="../../ProjectPyramid/Project.py" line="726"/> <source>About Pyramid</source> <translation>Acerca de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="321"/> + <location filename="../../ProjectPyramid/Project.py" line="337"/> <source>About P&yramid</source> <translation>Acerca de P&yramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="325"/> + <location filename="../../ProjectPyramid/Project.py" line="342"/> <source>Shows some information about Pyramid</source> <translation>Muestra información sobre Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="327"/> + <location filename="../../ProjectPyramid/Project.py" line="344"/> <source><b>About Pyramid</b><p>Shows some information about Pyramid.</p></source> <translation><b>Acerca de Pyramid</b><p>Muestra información acerca de Pyramid.</p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="342"/> + <location filename="../../ProjectPyramid/Project.py" line="359"/> <source>P&yramid</source> <translation>P&yramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="397"/> + <location filename="../../ProjectPyramid/Project.py" line="415"/> <source>New template...</source> <translation>Nueva Plantilla...</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="406"/> + <location filename="../../ProjectPyramid/Project.py" line="425"/> <source>Extract Messages</source> <translation>Extraer Mensajes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="408"/> + <location filename="../../ProjectPyramid/Project.py" line="428"/> <source>Compile All Catalogs</source> <translation>Compilar Todos los Catálogos</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="410"/> + <location filename="../../ProjectPyramid/Project.py" line="431"/> <source>Compile Selected Catalogs</source> <translation>Compilar Catálogos Seleccionados</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="413"/> + <location filename="../../ProjectPyramid/Project.py" line="434"/> <source>Update All Catalogs</source> <translation>Actualizar Todos los Catálogos</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="415"/> + <location filename="../../ProjectPyramid/Project.py" line="437"/> <source>Update Selected Catalogs</source> <translation>Actualizar Catálogos Seleccionados</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="458"/> + <location filename="../../ProjectPyramid/Project.py" line="481"/> <source>Chameleon Templates (*.pt);;Chameleon Text Templates (*.txt);;Mako Templates (*.mako);;Mako Templates (*.mak);;HTML Files (*.html);;HTML Files (*.htm);;All Files (*)</source> <translation>Plantillas Chameleon (*.pt);;Plantillas de Texto Chameleon (*.txt);;Plantillas Mako (*.mako);;Plantillas Mako (*.mak);;Archivos HTML (*.html);;Archivos HTML (*.htm);;Todos los Archivos (*)</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="494"/> + <location filename="../../ProjectPyramid/Project.py" line="519"/> <source>New Form</source> <translation>Nuevo Formulario</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="481"/> + <location filename="../../ProjectPyramid/Project.py" line="504"/> <source>The file already exists! Overwrite it?</source> <translation>¡El archivo ya existe!¿Sobreescribirlo?</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="494"/> + <location filename="../Project.py" line="494"/> <source><p>The new form file <b>{0}</b> could not be created.<br/>Problem: {1}</p></source> - <translation><p>No ha podido crearse el nuevo archivo de formulario <b>{0}</b>.<br/>Problema: {1}</p></translation> + <translation type="obsolete"><p>No ha podido crearse el nuevo archivo de formulario <b>{0}</b>.<br/>Problema: {1}</p></translation> </message> <message> <location filename="ProjectPyramid/Project.py" line="500"/> @@ -482,160 +482,165 @@ <translation type="obsolete"><p>Pyramid es un framework Web de alto nivel para Python que promueve desarrollo rápido, y diseño pragmático y limpio.</p><p>URL: <a href="{0}">{0}</a></p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="837"/> + <location filename="../../ProjectPyramid/Project.py" line="866"/> <source>Select Pyramid Project</source> <translation>Seleccionar Proyecto Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="837"/> + <location filename="../../ProjectPyramid/Project.py" line="866"/> <source>Select the Pyramid project to work with.</source> <translation>Seleccionar el proyecto Pyramid con el que trabajar.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="875"/> + <location filename="../../ProjectPyramid/Project.py" line="905"/> <source>None</source> <translation>Ninguno</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="878"/> + <location filename="../../ProjectPyramid/Project.py" line="908"/> <source>&Current Pyramid Project ({0})</source> <translation>Proyecto Pyramid A&ctual ({0})</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1507"/> + <location filename="../../ProjectPyramid/Project.py" line="1579"/> <source>No current Pyramid project selected or no Pyramid project created yet. Aborting...</source> <translation>No se ha seleccionado proyecto Pyramid actual o no hay creado todavía ningún proyecto Pyramid. Abortando...</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1552"/> + <location filename="../../ProjectPyramid/Project.py" line="1628"/> <source>Process Generation Error</source> <translation>Error de Generación de Proceso</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="964"/> + <location filename="../../ProjectPyramid/Project.py" line="996"/> <source>The Pyramid server could not be started.</source> <translation>No se ha podido iniciar el servidor de Pyramid.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1007"/> + <location filename="../../ProjectPyramid/Project.py" line="1041"/> <source>Could not start the web-browser for the URL "{0}".</source> <translation>No se ha podido inicialr el navegador web para la URL "{0}".</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1041"/> + <location filename="../../ProjectPyramid/Project.py" line="1080"/> <source>The Pyramid Shell process could not be started.</source> <translation>No se ha podido iniciar el proceso Shell de Pyramid.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1068"/> + <location filename="../../ProjectPyramid/Project.py" line="1111"/> <source>Pyramid development environment setup successfully.</source> <translation>Entorno de desarrollo de Pyramid configurado con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1084"/> + <location filename="../../ProjectPyramid/Project.py" line="1130"/> <source>Build Distribution File</source> <translation>Construir Archivo de Distribución</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1106"/> + <location filename="../../ProjectPyramid/Project.py" line="1154"/> <source>Python distribution file built successfully.</source> <translation>Archivo de distribución Python construido con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1150"/> + <location filename="../../ProjectPyramid/Project.py" line="1202"/> <source>Database initialized successfully.</source> <translation>Base de Datos inicializada con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1174"/> + <location filename="../../ProjectPyramid/Project.py" line="1228"/> <source>Enter the URL to be matched:</source> <translation>Introducir la URL a ser concordada:</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1313"/> + <location filename="../../ProjectPyramid/Project.py" line="1369"/> <source>Extract messages</source> <translation>Extraer mensajes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1350"/> + <location filename="../../ProjectPyramid/Project.py" line="1407"/> <source> Messages extracted successfully.</source> <translation>Mensajes extraídos con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1380"/> + <location filename="../../ProjectPyramid/Project.py" line="1440"/> <source> Message catalog initialized successfully.</source> <translation>Catálogo de Mensajes inicializado con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1429"/> + <location filename="../../ProjectPyramid/Project.py" line="1494"/> <source>Compiling message catalogs</source> <translation>Compilando catálogos de mensajes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1458"/> + <location filename="../../ProjectPyramid/Project.py" line="1526"/> <source> Message catalogs compiled successfully.</source> <translation>Catálogo de Mensajes compilado con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1527"/> + <location filename="../../ProjectPyramid/Project.py" line="1601"/> <source>No locales detected. Aborting...</source> <translation>No se han detectado traducciones. Abortando...</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1503"/> + <location filename="../../ProjectPyramid/Project.py" line="1575"/> <source>Updating message catalogs</source> <translation>Actualizando catálogos de mensajes</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1532"/> + <location filename="../../ProjectPyramid/Project.py" line="1607"/> <source> Message catalogs updated successfully.</source> <translation>Catálogo de Mensajes actualizado con éxito.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1363"/> + <location filename="../../ProjectPyramid/Project.py" line="1421"/> <source>Initializing message catalog for '{0}'</source> <translation>Inicializando catálogo de mensajes para '{0}'</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="700"/> + <location filename="../../ProjectPyramid/Project.py" line="726"/> <source><p>Pyramid is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.</p><p><table><tr><td>Version:</td><td>{0}</td></tr><tr><td>URL:</td><td><a href="{1}">{1}</a></td></tr></table></p></source> <translation><p>Pyramid es un framework Web de alto nivel para Python que promueve desarrollo rápido, y diseño pragmático y limpio.</p><p><table><tr><td>Versión:</td><td>{0}</td></tr><tr><td>URL:</td><td><a href="{1}">{1}</a></td></tr></table></p></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="381"/> + <location filename="../../ProjectPyramid/Project.py" line="398"/> <source>Open with {0}</source> <translation>Abrir con {0}</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1552"/> + <location filename="../../ProjectPyramid/Project.py" line="1628"/> <source>The translations editor process ({0}) could not be started.</source> <translation>El proceso de edición de traducciones ({0}) no ha podido ser iniciado.</translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1328"/> + <location filename="../../ProjectPyramid/Project.py" line="1385"/> <source>No setup.cfg found or no "extract_messages" section found in setup.cfg.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../ProjectPyramid/Project.py" line="1334"/> + <location filename="../../ProjectPyramid/Project.py" line="1391"/> <source>No "output_file" option found in setup.cfg.</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../../ProjectPyramid/Project.py" line="519"/> + <source><p>The new form file <b>{0}</b> could not be created.<br/> Problem: {1}</p></source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPyramidPlugin</name> <message> - <location filename="../../PluginProjectPyramid.py" line="388"/> + <location filename="../../PluginProjectPyramid.py" line="403"/> <source>Pyramid</source> <translation></translation> </message> <message> - <location filename="../../PluginProjectPyramid.py" line="164"/> + <location filename="../../PluginProjectPyramid.py" line="167"/> <source>eric5 version is too old, {0}, {1} or newer needed.</source> <translation>La versión de eric5 es demasiado antigua, {0}, es necesaria {1} o más reciente .</translation> </message> @@ -698,12 +703,12 @@ <translation>Alt+P</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidDialog.py" line="168"/> + <location filename="../../ProjectPyramid/PyramidDialog.py" line="171"/> <source>Process Generation Error</source> <translation>Error de Generación de Proceso</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidDialog.py" line="168"/> + <location filename="../../ProjectPyramid/PyramidDialog.py" line="171"/> <source>The process {0} could not be started. Ensure, that it is in the search path.</source> <translation>No se ha podido iniciar el proceso {0}. Asegúrese de que está en la ruta de búsqueda.</translation> </message> @@ -786,27 +791,27 @@ <translation>Introducir la URL de la documentación de Pyramid</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="63"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="64"/> <source>Plain Python</source> <translation>Python normal</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="64"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="65"/> <source>IPython</source> <translation>IPython</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="65"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="66"/> <source>bpython</source> <translation>bpython</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="119"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="122"/> <source>Select Virtual Environment for Python 3</source> <translation>Seleccionar Entorno Virtual para Python 3</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="137"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="141"/> <source>Select Virtual Environment for Python 2</source> <translation>Seleccionar Entorno Virtual para Python 2</translation> </message> @@ -816,7 +821,7 @@ <translation>Comando de Consola</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="151"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="157"/> <source>Translations Editor</source> <translation>Editor de Traducciones</translation> </message> @@ -831,7 +836,7 @@ <translation>Seleccionar el editor de traducciones vía un diálogo de selección de archivo</translation> </message> <message> - <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="151"/> + <location filename="../../ProjectPyramid/ConfigurationPage/PyramidPage.py" line="157"/> <source>All Files (*)</source> <translation>Todos los Archivos (*)</translation> </message> @@ -889,22 +894,22 @@ <translation>Alt+P</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="102"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="105"/> <source>No routes found.</source> <translation>No se han hallado rutas.</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="135"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="137"/> <source>Getting routes...</source> <translation>Obteniendo rutas...</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="164"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="167"/> <source>Process Generation Error</source> <translation>Error de Generación de Proceso</translation> </message> <message> - <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="164"/> + <location filename="../../ProjectPyramid/PyramidRoutesDialog.py" line="167"/> <source>The process {0} could not be started. Ensure, that it is in the search path.</source> <translation>No se ha podido iniciar el proceso {0}. Asegúrese de que está en la ruta de búsqueda.</translation> </message>