Sun, 31 Jan 2010 11:48:51 +0000
Refined the flakes integration code.
--- a/APIs/Python3/eric5.api Sat Jan 30 18:43:09 2010 +0000 +++ b/APIs/Python3/eric5.api Sun Jan 31 11:48:51 2010 +0000 @@ -2336,7 +2336,9 @@ eric5.Plugins.AboutPlugin.AboutDialog.licenseText?7 eric5.Plugins.AboutPlugin.AboutDialog.thanksText?7 eric5.Plugins.AboutPlugin.AboutDialog.titleText?7 +eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.SyntaxCheckerDialog.errorRole?7 eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.SyntaxCheckerDialog.filenameRole?7 +eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.SyntaxCheckerDialog.lineRole?7 eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.SyntaxCheckerDialog.on_buttonBox_clicked?4(button) eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.SyntaxCheckerDialog.on_resultList_itemActivated?4(itm, col) eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.SyntaxCheckerDialog.on_showButton_clicked?4()
--- a/Documentation/Source/eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.html Sat Jan 30 18:43:09 2010 +0000 +++ b/Documentation/Source/eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.html Sun Jan 31 11:48:51 2010 +0000 @@ -49,7 +49,7 @@ QDialog, Ui_SyntaxCheckerDialog <h3>Class Attributes</h3> <table> -<tr><td>filenameRole</td></tr><tr><td>warningRole</td></tr> +<tr><td>errorRole</td></tr><tr><td>filenameRole</td></tr><tr><td>lineRole</td></tr><tr><td>warningRole</td></tr> </table> <h3>Methods</h3> <table>
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Jan 30 18:43:09 2010 +0000 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sun Jan 31 11:48:51 2010 +0000 @@ -29,7 +29,9 @@ Class implementing a dialog to display the results of a syntax check run. """ filenameRole = Qt.UserRole + 1 - warningRole = Qt.UserRole + 2 + lineRole = Qt.UserRole + 2 + errorRole = Qt.UserRole + 3 + warningRole = Qt.UserRole + 4 def __init__(self, parent = None): """ @@ -43,7 +45,7 @@ self.showButton = self.buttonBox.addButton(\ self.trUtf8("Show"), QDialogButtonBox.ActionRole) self.showButton.setToolTip(\ - self.trUtf8("Press to show all files containing a syntax error")) + self.trUtf8("Press to show all files containing an issue")) self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) @@ -52,6 +54,7 @@ self.noResults = True self.cancelled = False + self.__lastFileItem = None def __resort(self): """ @@ -70,15 +73,23 @@ @param sourcecode faulty line of code (string) @param isWarning flag indicating a warning message (boolean) """ - itm = QTreeWidgetItem(self.resultList, - [os.path.basename(file), str(line), error, sourcecode]) - itm.setTextAlignment(1, Qt.AlignRight) + if self.__lastFileItem is None: + # It's a new file + self.__lastFileItem = QTreeWidgetItem(self.resultList, [file]) + self.__lastFileItem.setFirstColumnSpanned(True) + self.__lastFileItem.setExpanded(True) + self.__lastFileItem.setData(0, self.filenameRole, file) + + itm = QTreeWidgetItem(self.__lastFileItem, + [str(line), error, sourcecode]) if isWarning: itm.setIcon(0, UI.PixmapCache.getIcon("warning.png")) else: itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png")) - itm.setToolTip(0, file) +## itm.setToolTip(0, file) itm.setData(0, self.filenameRole, file) + itm.setData(0, self.lineRole, line) + itm.setData(0, self.errorRole, error) itm.setData(0, self.warningRole, isWarning) def start(self, fn, codestring = ""): @@ -113,6 +124,8 @@ if self.cancelled: return + self.__lastFileItem = None + if codestring: source = codestring else: @@ -158,7 +171,7 @@ self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) if self.noResults: - self.__createResultItem(self.trUtf8('No syntax errors found.'), "", "", "") + QTreeWidgetItem(self.resultList, [self.trUtf8('No issues found.')]) QApplication.processEvents() self.showButton.setEnabled(False) self.__clearErrors() @@ -189,40 +202,45 @@ """ if self.noResults: return + + if itm.parent(): + fn = Utilities.normabspath(itm.data(0, self.filenameRole)) + lineno = itm.data(0, self.lineRole) + error = itm.data(0, self.errorRole) - fn = Utilities.normabspath(itm.data(0, self.filenameRole)) - lineno = int(itm.text(1)) - error = itm.text(2) - - vm = e5App().getObject("ViewManager") - vm.openSourceFile(fn, lineno) - editor = vm.getOpenEditor(fn) - if itm.data(0, self.warningRole): - editor.toggleFlakesWarning(lineno, True, error) - else: - editor.toggleSyntaxError(lineno, True, error) + vm = e5App().getObject("ViewManager") + vm.openSourceFile(fn, lineno) + editor = vm.getOpenEditor(fn) + + if itm.data(0, self.warningRole): + editor.toggleFlakesWarning(lineno, True, error) + else: + editor.toggleSyntaxError(lineno, True, error) @pyqtSlot() def on_showButton_clicked(self): """ Private slot to handle the "Show" button press. """ + vm = e5App().getObject("ViewManager") + for index in range(self.resultList.topLevelItemCount()): itm = self.resultList.topLevelItem(index) - self.on_resultList_itemActivated(itm, 0) + fn = Utilities.normabspath(itm.data(0, self.filenameRole)) + vm.openSourceFile(fn, 1) - # go through the list again to clear syntax error markers - # for files, that are ok - vm = e5App().getObject("ViewManager") + # go through the list again to clear syntax error and + # py3flakes warning markers for files, that are ok openFiles = vm.getOpenFilenames() errorFiles = [] for index in range(self.resultList.topLevelItemCount()): itm = self.resultList.topLevelItem(index) - errorFiles.append(Utilities.normabspath(itm.text(0))) + errorFiles.append(Utilities.normabspath(itm.data(0, self.filenameRole))) for file in openFiles: if not file in errorFiles: editor = vm.getOpenEditor(file) editor.clearSyntaxError() + editor.clearFlakesWarnings() def __clearErrors(self): """ @@ -233,3 +251,4 @@ for file in openFiles: editor = vm.getOpenEditor(file) editor.clearSyntaxError() + editor.clearFlakesWarnings()
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui Sat Jan 30 18:43:09 2010 +0000 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui Sun Jan 31 11:48:51 2010 +0000 @@ -1,94 +1,84 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>SyntaxCheckerDialog</class> - <widget class="QDialog" name="SyntaxCheckerDialog" > - <property name="geometry" > + <widget class="QDialog" name="SyntaxCheckerDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>572</width> - <height>424</height> + <width>650</width> + <height>500</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Syntax Check Result</string> </property> - <property name="whatsThis" > - <string><b>Syntax Check Results</b> -<p>This dialog shows the results of the syntax check. Double clicking an -entry will open an editor window and position the cursor at the respective line.</p></string> + <property name="whatsThis"> + <string><b>Syntax Check Results</b> +<p>This dialog shows the results of the syntax check. Double clicking an +entry will open an editor window and position the cursor at the respective line.</p></string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <widget class="QTreeWidget" name="resultList" > - <property name="whatsThis" > - <string><b>Result List</b> -<p>This list shows the results of the syntax check. Double clicking + <widget class="QTreeWidget" name="resultList"> + <property name="whatsThis"> + <string><b>Result List</b> +<p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at -the respective line.</p></string> +the respective line.</p></string> </property> - <property name="alternatingRowColors" > + <property name="alternatingRowColors"> <bool>true</bool> </property> - <property name="rootIsDecorated" > - <bool>false</bool> - </property> - <property name="itemsExpandable" > - <bool>false</bool> - </property> - <property name="sortingEnabled" > + <property name="sortingEnabled"> <bool>true</bool> </property> <column> - <property name="text" > - <string>Filename</string> + <property name="text"> + <string>File/Line</string> </property> </column> <column> - <property name="text" > - <string>#</string> + <property name="text"> + <string>Message</string> </property> </column> <column> - <property name="text" > - <string>Syntax Error</string> - </property> - </column> - <column> - <property name="text" > + <property name="text"> <string>Source</string> </property> </column> </widget> </item> <item> - <widget class="QProgressBar" name="checkProgress" > - <property name="toolTip" > + <widget class="QProgressBar" name="checkProgress"> + <property name="toolTip"> <string>Shows the progress of the syntax check action</string> </property> - <property name="value" > + <property name="value"> <number>0</number> </property> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="standardButtons" > + <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> - <layoutdefault spacing="6" margin="6" /> + <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>resultList</tabstop>
--- a/i18n/eric5_cs.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_cs.ts Sun Jan 31 11:48:51 2010 +0000 @@ -31098,12 +31098,12 @@ <context> <name>SyntaxCheckerDialog</name> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Výsledek kontroly syntaxe</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -31112,7 +31112,7 @@ na položku otevře okno editoru a kurzor nastaví na příslušnou řádku.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -31124,42 +31124,57 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>Jméno souboru</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> - <source>#</source> - <translation></translation> + <translation type="obsolete">Jméno souboru</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>Syntaktická chyba</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">Syntaktická chyba</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>Zdroj</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>Zobrazit průběh syntaktické kontroly</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Show</source> <translation>Zobrazit</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Press to show all files containing a syntax error</source> - <translation>Stisknout pro zobrazení všech souborů, které obsahují syntaktické chyby</translation> + <translation type="obsolete">Stisknout pro zobrazení všech souborů, které obsahují syntaktické chyby</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>Syntaktické chyby nebyly nalezeny.</translation> + <translation type="obsolete">Syntaktické chyby nebyly nalezeny.</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">Soubor/Řádek</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">Zpráva</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> </message> </context> <context>
--- a/i18n/eric5_de.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_de.ts Sun Jan 31 11:48:51 2010 +0000 @@ -28958,17 +28958,12 @@ <context> <name>SyntaxCheckerDialog</name> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> - <source>No syntax errors found.</source> - <translation>Keine Syntaxfehler gefunden.</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Resultat der Syntaxprüfung</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -28978,7 +28973,7 @@ Zeile.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -28989,40 +28984,40 @@ Zeile.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> - <source>Filename</source> - <translation>Dateiname</translation> - </message> - <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> - <source>#</source> - <translation>#</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> - <source>Syntax Error</source> - <translation>Syntaxfehler</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> <source>Source</source> <translation>Quelltext</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>Zeigt den Fortschritt der Syntaxprüfung an</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> - <source>Press to show all files containing a syntax error</source> - <translation>Drücken, um alle Dateien mit Syntaxfehlern anzuzeigen</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> <source>Show</source> <translation>Zeige</translation> </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation>Datei/Zeile</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation>Nachricht</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation>Drücken, um alle Dateien mit Problemen anzuzeigen</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation>Keine Probleme gefunden.</translation> + </message> </context> <context> <name>SyntaxCheckerPlugin</name>
--- a/i18n/eric5_es.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_es.ts Sun Jan 31 11:48:51 2010 +0000 @@ -28911,12 +28911,12 @@ <context> <name>SyntaxCheckerDialog</name> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Resultado de la revisión de sintaxis</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -28925,7 +28925,7 @@ entrada se abre una ventana de editor y se posiciona el cursor en la línea adecuada.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -28937,42 +28937,62 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>Nombre de archivo</translation> + <translation type="obsolete">Nombre de archivo</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>#</source> - <translation>#</translation> + <translation type="obsolete">#</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>Error de sintaxis</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">Error de sintaxis</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>Origen</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>Muestra el progreso de la revisión de sintaxis</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Show</source> <translation>Mostrar</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Press to show all files containing a syntax error</source> - <translation>Pulse para mostrar todos los archivos que contienen errores sintácticos</translation> + <translation type="obsolete">Pulse para mostrar todos los archivos que contienen errores sintácticos</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>No se detectaron errores de sintaxis.</translation> + <translation type="obsolete">No se detectaron errores de sintaxis.</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">Archivo/Línea</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">Mensaje</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> </message> </context> <context>
--- a/i18n/eric5_fr.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_fr.ts Sun Jan 31 11:48:51 2010 +0000 @@ -32232,15 +32232,15 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>Aucune erreur de syntaxe trouvée.</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <translation type="obsolete">Aucune erreur de syntaxe trouvée.</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Résultat de la vérification syntaxique</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -32248,7 +32248,7 @@ <p>Cette liste affiche les résultats du vérificateur de syntaxe. Un double-click sur une entrée ouvre une fenêtre d'édition et place le curseur sur la ligne correspondante.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -32259,38 +32259,58 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>Nom de fichier</translation> + <translation type="obsolete">Nom de fichier</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>#</source> - <translation>#</translation> + <translation type="obsolete">#</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>Erreur de syntaxe</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">Erreur de syntaxe</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>Source</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>Affiche la progression du vérificateur syntaxique</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Press to show all files containing a syntax error</source> - <translation>Cliquer pour afficher tous les fichiers contenant des erreurs de syntaxe</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> + <translation type="obsolete">Cliquer pour afficher tous les fichiers contenant des erreurs de syntaxe</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Show</source> <translation>Afficher</translation> </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">Fichier/ligne</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">Message</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>SyntaxCheckerPlugin</name>
--- a/i18n/eric5_it.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_it.ts Sun Jan 31 11:48:51 2010 +0000 @@ -31238,15 +31238,15 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>Nessun errore di sintassi trovato.</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <translation type="obsolete">Nessun errore di sintassi trovato.</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Risultati controllo errori di sintassi</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -31255,7 +31255,7 @@ aprirà l'editor e posizionerà il cursore sulla relativa riga.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -31268,38 +31268,58 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>Nome file</translation> + <translation type="obsolete">Nome file</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>#</source> - <translation>#</translation> + <translation type="obsolete">#</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>Errore di sintassi</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">Errore di sintassi</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>Sorgente</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>Mostra l'avanzamento del controllo della sintassi</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Press to show all files containing a syntax error</source> - <translation>Premi per mostrare tutti i file che contengono errori di sintassi</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> + <translation type="obsolete">Premi per mostrare tutti i file che contengono errori di sintassi</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Show</source> <translation>Mostra</translation> </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">File/Linea</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">Messaggio</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>SyntaxCheckerPlugin</name>
--- a/i18n/eric5_ru.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_ru.ts Sun Jan 31 11:48:51 2010 +0000 @@ -31324,15 +31324,15 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>Синтаксисические ошибки не найдены.</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <translation type="obsolete">Синтаксисические ошибки не найдены.</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Результаты проверки синтаксиса</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -31342,7 +31342,7 @@ на сообветствующую строчку.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -31354,38 +31354,58 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>Имя файла</translation> + <translation type="obsolete">Имя файла</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>#</source> - <translation>#</translation> + <translation type="obsolete">#</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>Синтаксическая ошибка</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">Синтаксическая ошибка</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>Исходный текст</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>Отображает прогресс проверки синтаксиса</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Press to show all files containing a syntax error</source> - <translation>Показать все файлы, содержащие синтаксические ошибки</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> + <translation type="obsolete">Показать все файлы, содержащие синтаксические ошибки</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Show</source> <translation>Показать</translation> </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">Файл/Строка</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">Сообщение</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>SyntaxCheckerPlugin</name>
--- a/i18n/eric5_tr.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_tr.ts Sun Jan 31 11:48:51 2010 +0000 @@ -31538,12 +31538,12 @@ <context> <name>SyntaxCheckerDialog</name> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>Sözdizimi Kontrol Sonucu</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -31552,7 +31552,7 @@ Çit tıklamada hatanın olduğu pozisyonda bir düzenleme penceresi açılır.</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -31562,42 +31562,57 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>Dosyaadı</translation> + <translation type="obsolete">Dosyaadı</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>#</source> - <translation>#</translation> + <translation type="obsolete">#</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>Sözdizimi Hatası</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">Sözdizimi Hatası</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>Kaynak</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> - <source>Show</source> - <translation>Göster</translation> - </message> - <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> - <source>Press to show all files containing a syntax error</source> - <translation type="unfinished"></translation> + <source>Show</source> + <translation>Göster</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>Söz dizimi hatası bulunamadı.</translation> + <translation type="obsolete">Söz dizimi hatası bulunamadı.</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">Dosya/Satır</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">Mesaj</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> </message> </context> <context>
--- a/i18n/eric5_zh_CN.GB2312.ts Sat Jan 30 18:43:09 2010 +0000 +++ b/i18n/eric5_zh_CN.GB2312.ts Sun Jan 31 11:48:51 2010 +0000 @@ -32211,12 +32211,12 @@ <context> <name>SyntaxCheckerDialog</name> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="13"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="14"/> <source>Syntax Check Result</source> <translation>语法检查结果</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="16"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="17"/> <source><b>Syntax Check Results</b> <p>This dialog shows the results of the syntax check. Double clicking an entry will open an editor window and position the cursor at the respective line.</p></source> @@ -32224,7 +32224,7 @@ <p>该对话框显示语法检查的结果。双击条目将打开编辑器窗口并将光标放置在相应行。</p></translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="27"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="28"/> <source><b>Result List</b> <p>This list shows the results of the syntax check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -32236,42 +32236,62 @@ <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> <source>Filename</source> - <translation>文件名</translation> + <translation type="obsolete">文件名</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>#</source> - <translation>#</translation> + <translation type="obsolete">#</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="56"/> <source>Syntax Error</source> - <translation>语法错误</translation> - </message> - <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="61"/> + <translation type="obsolete">语法错误</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="51"/> <source>Source</source> <translation>源文件</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="69"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="59"/> <source>Shows the progress of the syntax check action</source> <translation>显示语法检查行为的进程</translation> </message> <message> - <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="43"/> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Show</source> <translation>显示</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="45"/> <source>Press to show all files containing a syntax error</source> - <translation>显示显示包含一个语法错误的所有文件</translation> + <translation type="obsolete">显示显示包含一个语法错误的所有文件</translation> </message> <message> <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="160"/> <source>No syntax errors found.</source> - <translation>未找到语法错误。</translation> + <translation type="obsolete">未找到语法错误。</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="41"/> + <source>File/Line</source> + <translation type="unfinished">文件/行</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.ui" line="46"/> + <source>Message</source> + <translation type="unfinished">消息</translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="47"/> + <source>Press to show all files containing an issue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py" line="174"/> + <source>No issues found.</source> + <translation type="unfinished"></translation> </message> </context> <context>