Sun, 08 Feb 2015 13:09:00 +0100
Added the capability to show a file's mime type and to add it to the text mime types list to the project others browser and the file browser.
--- a/APIs/Python3/eric6.api Sat Feb 07 12:43:00 2015 +0100 +++ b/APIs/Python3/eric6.api Sun Feb 08 13:09:00 2015 +0100 @@ -8481,6 +8481,7 @@ eric6.Utilities.FtpUtilities.FtpDirLineParser.parseLine?4(line) eric6.Utilities.FtpUtilities.FtpDirLineParser?1(parent=None) eric6.Utilities.MimeTypes.isTextFile?4(filename) +eric6.Utilities.MimeTypes.mimeType?4(filename) eric6.Utilities.ModuleParser.Attribute.addAssignment?4(lineno) eric6.Utilities.ModuleParser.Attribute?1(module, name, file, lineno, isSignal=False) eric6.Utilities.ModuleParser.Class.addAttribute?4(name, attr)
--- a/Documentation/Help/source.qhp Sat Feb 07 12:43:00 2015 +0100 +++ b/Documentation/Help/source.qhp Sun Feb 08 13:09:00 2015 +0100 @@ -1756,6 +1756,7 @@ <keyword name="Browser.__refreshDirectory" id="Browser.__refreshDirectory" ref="eric6.UI.Browser.html#Browser.__refreshDirectory" /> <keyword name="Browser.__removeToplevel" id="Browser.__removeToplevel" ref="eric6.UI.Browser.html#Browser.__removeToplevel" /> <keyword name="Browser.__replaceInDirectory" id="Browser.__replaceInDirectory" ref="eric6.UI.Browser.html#Browser.__replaceInDirectory" /> + <keyword name="Browser.__showMimeType" id="Browser.__showMimeType" ref="eric6.UI.Browser.html#Browser.__showMimeType" /> <keyword name="Browser._contextMenuRequested" id="Browser._contextMenuRequested" ref="eric6.UI.Browser.html#Browser._contextMenuRequested" /> <keyword name="Browser._copyToClipboard" id="Browser._copyToClipboard" ref="eric6.UI.Browser.html#Browser._copyToClipboard" /> <keyword name="Browser._editPixmap" id="Browser._editPixmap" ref="eric6.UI.Browser.html#Browser._editPixmap" /> @@ -9078,6 +9079,7 @@ <keyword name="ProjectOthersBrowser.__showContextMenu" id="ProjectOthersBrowser.__showContextMenu" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser.__showContextMenu" /> <keyword name="ProjectOthersBrowser.__showContextMenuBack" id="ProjectOthersBrowser.__showContextMenuBack" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser.__showContextMenuBack" /> <keyword name="ProjectOthersBrowser.__showContextMenuMulti" id="ProjectOthersBrowser.__showContextMenuMulti" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser.__showContextMenuMulti" /> + <keyword name="ProjectOthersBrowser.__showMimeType" id="ProjectOthersBrowser.__showMimeType" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser.__showMimeType" /> <keyword name="ProjectOthersBrowser._contextMenuRequested" id="ProjectOthersBrowser._contextMenuRequested" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser._contextMenuRequested" /> <keyword name="ProjectOthersBrowser._createPopupMenus" id="ProjectOthersBrowser._createPopupMenus" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser._createPopupMenus" /> <keyword name="ProjectOthersBrowser._editPixmap" id="ProjectOthersBrowser._editPixmap" ref="eric6.Project.ProjectOthersBrowser.html#ProjectOthersBrowser._editPixmap" /> @@ -13386,6 +13388,7 @@ <keyword name="maximum_line_length" id="maximum_line_length" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#maximum_line_length" /> <keyword name="messageHandler" id="messageHandler" ref="eric6.E5Gui.E5ErrorMessage.html#messageHandler" /> <keyword name="messageHandlerInstalled" id="messageHandlerInstalled" ref="eric6.E5Gui.E5ErrorMessage.html#messageHandlerInstalled" /> + <keyword name="mimeType" id="mimeType" ref="eric6.Utilities.MimeTypes.html#mimeType" /> <keyword name="missing_whitespace" id="missing_whitespace" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#missing_whitespace" /> <keyword name="missing_whitespace_around_operator" id="missing_whitespace_around_operator" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#missing_whitespace_around_operator" /> <keyword name="mute_string" id="mute_string" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#mute_string" />
--- a/Documentation/Source/eric6.Project.ProjectOthersBrowser.html Sat Feb 07 12:43:00 2015 +0100 +++ b/Documentation/Source/eric6.Project.ProjectOthersBrowser.html Sun Feb 08 13:09:00 2015 +0100 @@ -103,6 +103,9 @@ <td><a href="#ProjectOthersBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> <td>Private slot called by the multiMenu aboutToShow signal.</td> </tr><tr> +<td><a href="#ProjectOthersBrowser.__showMimeType">__showMimeType</a></td> +<td>Private slot to show the mime type of the selected entry.</td> +</tr><tr> <td><a href="#ProjectOthersBrowser._contextMenuRequested">_contextMenuRequested</a></td> <td>Protected slot to show the context menu.</td> </tr><tr> @@ -168,6 +171,11 @@ <b>__showContextMenuMulti</b>(<i></i>) <p> Private slot called by the multiMenu aboutToShow signal. +</p><a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a> +<h4>ProjectOthersBrowser.__showMimeType</h4> +<b>__showMimeType</b>(<i></i>) +<p> + Private slot to show the mime type of the selected entry. </p><a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a> <h4>ProjectOthersBrowser._contextMenuRequested</h4> <b>_contextMenuRequested</b>(<i>coord</i>)
--- a/Documentation/Source/eric6.UI.Browser.html Sat Feb 07 12:43:00 2015 +0100 +++ b/Documentation/Source/eric6.UI.Browser.html Sun Feb 08 13:09:00 2015 +0100 @@ -123,6 +123,9 @@ <td><a href="#Browser.__replaceInDirectory">__replaceInDirectory</a></td> <td>Private slot to handle the Find&Replace in directory popup menu entry.</td> </tr><tr> +<td><a href="#Browser.__showMimeType">__showMimeType</a></td> +<td>Private slot to show the mime type of the selected entry.</td> +</tr><tr> <td><a href="#Browser._contextMenuRequested">_contextMenuRequested</a></td> <td>Protected slot to show the context menu of the listview.</td> </tr><tr> @@ -238,6 +241,11 @@ <b>__replaceInDirectory</b>(<i></i>) <p> Private slot to handle the Find&Replace in directory popup menu entry. +</p><a NAME="Browser.__showMimeType" ID="Browser.__showMimeType"></a> +<h4>Browser.__showMimeType</h4> +<b>__showMimeType</b>(<i></i>) +<p> + Private slot to show the mime type of the selected entry. </p><a NAME="Browser._contextMenuRequested" ID="Browser._contextMenuRequested"></a> <h4>Browser._contextMenuRequested</h4> <b>_contextMenuRequested</b>(<i>coord</i>)
--- a/Documentation/Source/eric6.Utilities.MimeTypes.html Sat Feb 07 12:43:00 2015 +0100 +++ b/Documentation/Source/eric6.Utilities.MimeTypes.html Sun Feb 08 13:09:00 2015 +0100 @@ -36,6 +36,9 @@ <tr> <td><a href="#isTextFile">isTextFile</a></td> <td>Function to test, if the given file is a text (i.e.</td> +</tr><tr> +<td><a href="#mimeType">mimeType</a></td> +<td>Function to get the mime type of a file.</td> </tr> </table> <hr /><hr /> @@ -56,5 +59,23 @@ </dd> </dl> <div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="mimeType" ID="mimeType"></a> +<h2>mimeType</h2> +<b>mimeType</b>(<i>filename</i>) +<p> + Function to get the mime type of a file. +</p><dl> +<dt><i>filename</i></dt> +<dd> +name of the file to be checked (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +mime type of the file (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file
--- a/Project/ProjectOthersBrowser.py Sat Feb 07 12:43:00 2015 +0100 +++ b/Project/ProjectOthersBrowser.py Sun Feb 08 13:09:00 2015 +0100 @@ -14,12 +14,15 @@ from PyQt5.QtGui import QDesktopServices from PyQt5.QtWidgets import QDialog, QMenu +from E5Gui import E5MessageBox + from .ProjectBrowserModel import ProjectBrowserFileItem, \ ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \ ProjectBrowserOthersType from .ProjectBaseBrowser import ProjectBaseBrowser import Utilities.MimeTypes +import Preferences class ProjectOthersBrowser(ProjectBaseBrowser): @@ -74,6 +77,9 @@ self.editPixmapAct = self.menu.addAction( self.tr('Open in Icon Editor'), self._editPixmap) self.menu.addSeparator() + self.mimeTypeAct = self.menu.addAction( + self.tr('Show Mime-Type'), self.__showMimeType) + self.menu.addSeparator() self.renameFileAct = self.menu.addAction( self.tr('Rename file'), self._renameFile) self.menuActions.append(self.renameFileAct) @@ -159,9 +165,11 @@ itm = self.model().item(index) if isinstance(itm, ProjectBrowserFileItem): self.editPixmapAct.setVisible(itm.isPixmapFile()) + self.mimeTypeAct.setVisible(True) self.menu.popup(self.mapToGlobal(coord)) elif isinstance(itm, ProjectBrowserDirectoryItem): self.editPixmapAct.setVisible(False) + self.mimeTypeAct.setVisible(False) self.menu.popup(self.mapToGlobal(coord)) else: self.backMenu.popup(self.mapToGlobal(coord)) @@ -242,6 +250,44 @@ else: QDesktopServices.openUrl(QUrl(itm.fileName())) + def __showMimeType(self): + """ + Private slot to show the mime type of the selected entry. + """ + itmList = self.getSelectedItems() + if itmList: + mimetype = Utilities.MimeTypes.mimeType(itmList[0].fileName()) + if mimetype is None: + E5MessageBox.warning( + self, + self.tr("Show Mime-Type"), + self.tr("""The mime type of the file could not be""" + """ determined.""")) + elif mimetype.split("/")[0] == "text": + E5MessageBox.information( + self, + self.tr("Show Mime-Type"), + self.tr("""The file has the mime type <b>{0}</b>.""") + .format(mimetype)) + else: + textMimeTypesList = Preferences.getUI("TextMimeTypes") + if mimetype in textMimeTypesList: + E5MessageBox.information( + self, + self.tr("Show Mime-Type"), + self.tr("""The file has the mime type <b>{0}</b>.""") + .format(mimetype)) + else: + ok = E5MessageBox.yesNo( + self, + self.tr("Show Mime-Type"), + self.tr("""The file has the mime type <b>{0}</b>.""" + """<br/> Shall it be added to the list of""" + """ text mime types?""").format(mimetype)) + if ok: + textMimeTypesList.append(mimetype) + Preferences.setUI("TextMimeTypes", textMimeTypesList) + def __removeItem(self): """ Private slot to remove the selected entry from the OTHERS project
--- a/UI/Browser.py Sat Feb 07 12:43:00 2015 +0100 +++ b/UI/Browser.py Sun Feb 08 13:09:00 2015 +0100 @@ -17,7 +17,7 @@ from PyQt5.QtWidgets import QTreeView, QApplication, QMenu, QAbstractItemView from E5Gui.E5Application import e5App -from E5Gui import E5FileDialog +from E5Gui import E5FileDialog, E5MessageBox from .BrowserModel import BrowserModel, BrowserDirectoryItem, \ BrowserFileItem, BrowserClassItem, BrowserMethodItem, \ @@ -196,6 +196,10 @@ self.unittestAct = self.sourceMenu.addAction( QCoreApplication.translate('Browser', 'Run unittest...'), self.handleUnittest) + self.sourceMenu.addSeparator() + self.mimeTypeAct = self.sourceMenu.addAction( + self.tr('Show Mime-Type'), self.__showMimeType) + self.sourceMenu.addSeparator() self.sourceMenu.addAction( QCoreApplication.translate('Browser', 'Copy Path to Clipboard'), self._copyToClipboard) @@ -207,6 +211,10 @@ self.editPixmapAct = self.menu.addAction( QCoreApplication.translate('Browser', 'Open in Icon Editor'), self._editPixmap) + self.menu.addSeparator() + self.mimeTypeAct = self.menu.addAction( + self.tr('Show Mime-Type'), self.__showMimeType) + self.menu.addSeparator() self.menu.addAction( QCoreApplication.translate('Browser', 'Copy Path to Clipboard'), self._copyToClipboard) @@ -440,6 +448,46 @@ itm.fileName(), itm.attributeObject().lineno) self._activating = False + def __showMimeType(self): + """ + Private slot to show the mime type of the selected entry. + """ + itmList = self.getSelectedItems( + [BrowserFileItem, BrowserClassItem, + BrowserMethodItem, BrowserClassAttributeItem]) + if itmList: + mimetype = Utilities.MimeTypes.mimeType(itmList[0].fileName()) + if mimetype is None: + E5MessageBox.warning( + self, + self.tr("Show Mime-Type"), + self.tr("""The mime type of the file could not be""" + """ determined.""")) + elif mimetype.split("/")[0] == "text": + E5MessageBox.information( + self, + self.tr("Show Mime-Type"), + self.tr("""The file has the mime type <b>{0}</b>.""") + .format(mimetype)) + else: + textMimeTypesList = Preferences.getUI("TextMimeTypes") + if mimetype in textMimeTypesList: + E5MessageBox.information( + self, + self.tr("Show Mime-Type"), + self.tr("""The file has the mime type <b>{0}</b>.""") + .format(mimetype)) + else: + ok = E5MessageBox.yesNo( + self, + self.tr("Show Mime-Type"), + self.tr("""The file has the mime type <b>{0}</b>.""" + """<br/> Shall it be added to the list of""" + """ text mime types?""").format(mimetype)) + if ok: + textMimeTypesList.append(mimetype) + Preferences.setUI("TextMimeTypes", textMimeTypesList) + def _editPixmap(self): """ Protected slot to handle the open in icon editor popup menu entry.
--- a/Utilities/MimeTypes.py Sat Feb 07 12:43:00 2015 +0100 +++ b/Utilities/MimeTypes.py Sun Feb 08 13:09:00 2015 +0100 @@ -28,3 +28,13 @@ return True else: return False + + +def mimeType(filename): + """ + Function to get the mime type of a file. + + @param filename name of the file to be checked (string) + @return mime type of the file (string) + """ + return mimetypes.guess_type(filename)[0]
--- a/i18n/eric6_cs.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_cs.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2098,7 +2098,7 @@ <translation>Prohlížeč souborů</translation> </message> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Otevřít</translation> </message> @@ -2108,62 +2108,62 @@ <translation>Spustit unittest...</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Nový adresář toplevel...</translation> </message> <message> - <location filename="../UI/Browser.py" line="234"/> + <location filename="../UI/Browser.py" line="242"/> <source>Add as toplevel directory</source> <translation>Přidat jako toplevel adresář</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Odebrat z toplevelu</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Odebrat z toplevelu</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Hledat v tomto adresáři</translation> </message> <message> - <location filename="../UI/Browser.py" line="490"/> + <location filename="../UI/Browser.py" line="538"/> <source>New toplevel directory</source> <translation>Nový toplevel adresář</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Najít && nahradit v tomto adresáři</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Konfigurovat...</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Otevřit v editoru ikon</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Kopírovat cestu do schránky</translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation>Obnovit složku</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation type="unfinished">Jít na</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation type="unfinished"></translation> </message> @@ -2172,6 +2172,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37630,80 +37650,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Ostatní</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>Prohlížeč Ostatní projektu</b><p>Umožňuje jednoduše vidět všechny adresáře nacházející se v aktuálním projektu. Několik akcí je možné provést přes kontextové menu. Položky, které jsou registrovány v projektu, jsou zobrazeny odlišnou barvou.</p></translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>Přejmenovat soubor</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> + <source>Remove from project</source> + <translation>Odebrat z projektu</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Smazat</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Přidat soubory...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Přidat adresář...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Obnovit</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Rozložit všechny adresáře</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> + <source>Collapse all directories</source> + <translation>Složit všechny adresáře</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>Smazat soubory/adresáře</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>Opravdu chcete odebrat tyto položky z projektu?</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>Konfigurovat...</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>Přejmenovat soubor</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> - <source>Remove from project</source> - <translation>Odebrat z projektu</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Smazat</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Přidat soubory...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Přidat adresář...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Obnovit</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Rozložit všechny adresáře</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="127"/> - <source>Collapse all directories</source> - <translation>Složit všechny adresáře</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>Smazat soubory/adresáře</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>Opravdu chcete odebrat tyto položky z projektu?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>Konfigurovat...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation>Otevřit v editoru ikon</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation>Kopírovat cestu do schránky</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_de.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_de.ts Sun Feb 08 13:09:00 2015 +0100 @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="de" sourcelanguage=""> +<!DOCTYPE TS> +<TS version="2.1" language="de"> <context> <name>AboutDialog</name> <message> @@ -1918,8 +1919,8 @@ </message> <message> <location filename="../Helpviewer/Bookmarks/BookmarksMenu.py" line="145"/> - <source>Open in New &Tab<byte value="x9"/>Ctrl+LMB</source> - <translation>In neuem &Register öffnen<byte value="x9"/>Strg+LMK</translation> + <source>Open in New &Tab Ctrl+LMB</source> + <translation>In neuem &Register öffnen Strg+LMK</translation> </message> </context> <context> @@ -1987,8 +1988,8 @@ </message> <message> <location filename="../Helpviewer/Bookmarks/BookmarksToolBar.py" line="93"/> - <source>Open in New &Tab<byte value="x9"/>Ctrl+LMB</source> - <translation>In neuem &Register öffnen<byte value="x9"/>Strg+LMK</translation> + <source>Open in New &Tab Ctrl+LMB</source> + <translation>In neuem &Register öffnen Strg+LMK</translation> </message> </context> <context> @@ -2100,7 +2101,7 @@ <context> <name>Browser</name> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Öffnen</translation> </message> @@ -2115,62 +2116,62 @@ <translation>Dateibrowser</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Neuer übergeordneter Ordner …</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Vom Anfang entfernen</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="234"/> - <source>Add as toplevel directory</source> - <translation>Als übergeordneten Ordner hinzufügen</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="490"/> - <source>New toplevel directory</source> - <translation>Neuer übergeordneter Ordner</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Vom Anfang entfernen</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="242"/> + <source>Add as toplevel directory</source> + <translation>Als übergeordneten Ordner hinzufügen</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="538"/> + <source>New toplevel directory</source> + <translation>Neuer übergeordneter Ordner</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>In diesem Verzeichnis suchen</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>In diesem Verzeichnis suchen&&ersetzen</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Einstellungen …</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Mit Icon-Editor öffnen</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Pfad in die Zwischenablage kopieren</translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation>Verzeichnis aktualisieren</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation>Gehe zu</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation>Zeile {0}</translation> </message> @@ -2179,6 +2180,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation><b>Das Browserfenster</b><p>Dies erlaubt es Ihnen, sich leicht in der Verzeichnishierarchie Ihres Systems zu bewegen, Python-Programme zu identifizieren und diese in einem Quelltextfenster zu öffnen. Das Fenster stellt verschiedene Hierarchien dar.</p><p>Die erste wird nur angezeigt, wenn ein Programm zum debuggen geöffnet ist. Gewöhnlich werden alle zum Programm zugehörigen Python-Dateien im selben Verzeichnis gespeichert, so dass Sie über diese Hierarchie Zugriff auf das am meisten Benötigte haben.</p><p>Die nächste Hierarchie wird verwendet, um sich in den in der Python-Variable <tt>sys.path</tt> gespeicherten Verzeichnissen zu bewegen.</p><p>Die restlichen Hierachien erlauben die Navigation im gesamten System. Unter Unix wird gewöhnlich ein Verzeichnis mit <tt>/</tt> als Wurzel und eines mit dem Home-Verzeichnis des Nutzers angezeigt. Auf einem Windows-System wird eine Hierarchie pro Laufwerk angezeigt.</p><p>Python-Programme (Dateien mit der Endung <tt>.py</tt>) werden mit einem Python-Symbol dargestellt. Ein Rechtsklick bringt ein Kontextmenü, über das die Datei in einem Editor, zum Debuggen oder für einen Modultest geöffnet werden kann.</p><p>Das Kontextmenü einer Klasse, einer Funktion oder einer Methode öffnet die Datei, in der diese Klasse, Funktion oder Methode definiert ist, und stellt sicher, dass die richtige Codezeile sichtbar ist.</p><p>Qt-Designer-Dateien (Dateien mit der Endung <tt>.ui</tt>) werden mit einem Designer-Symbol dargestellt. Das Kontextmenü dieser Dateien erlaubt es, sie im Qt Designer zu öffnen.</p><p>Qt-Linguist-Dateien (Dateien mit der Endung <tt>.ts</tt>) werden mit einem Linguist-Symbol dargestellt. Das Kontextmenü dieser Dateien erlaubt es, sie im Qt Linguist zu öffnen.</p></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation>MIME-Typ anzeigen</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation>Der MIME-Typ der Datei konnte nicht ermittelt werden.</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation>Die Datei hat den MIME-Typ <b>{0}</b>.</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation>Die Datei hat den MIME-Typ <b>{0}</b>.<br/>Soll sie zur Liste der Text MIME-Typen hinzugefügt werden?</translation> + </message> </context> <context> <name>BrowserModel</name> @@ -15899,8 +15920,8 @@ </message> <message> <location filename="../Helpviewer/HelpBrowserWV.py" line="1094"/> - <source>Open Link in New Tab<byte value="x9"/>Ctrl+LMB</source> - <translation>Link in neuem Fenster öffnen<byte value="x9"/>Strg+LMK</translation> + <source>Open Link in New Tab Ctrl+LMB</source> + <translation>Link in neuem Fenster öffnen Strg+LMK</translation> </message> <message> <location filename="../Helpviewer/HelpBrowserWV.py" line="1167"/> @@ -37662,80 +37683,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Weiteres</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation>Aus dem Projekt entfernen</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Löschen</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Verzeichnis hinzufügen...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> - <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> - <translation><b>Projekt Weitere Browser</b><p>Dies bietet eine Übersicht aller anderen im Projekt enthaltenen Dateien und Verzeichnisse an. Verschiedene Aktionen können über das Kontextmenü ausgeführt werden. Der im Projekt registrierte Eintrag ist farblich hervorgehoben.</p></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Alle Verzeichnisse aufklappen</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Löschen</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Verzeichnis hinzufügen...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> + <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> + <translation><b>Projekt Weitere Browser</b><p>Dies bietet eine Übersicht aller anderen im Projekt enthaltenen Dateien und Verzeichnisse an. Verschiedene Aktionen können über das Kontextmenü ausgeführt werden. Der im Projekt registrierte Eintrag ist farblich hervorgehoben.</p></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Alle Verzeichnisse aufklappen</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation>Alle Verzeichnisse einklappen</translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>Datei umbenennen</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>Dateien/Verzeichnisse löschen</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>Wollen Sie wirklich diese Einträge aus dem Projekt löschen?</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Dateien hinzufügen...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Erneuern</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>Einstellungen...</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>Datei umbenennen</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>Dateien/Verzeichnisse löschen</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>Wollen Sie wirklich diese Einträge aus dem Projekt löschen?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Dateien hinzufügen...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Erneuern</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>Einstellungen...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation>Mit Icon-Editor öffnen</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation>Pfad in die Zwischenablage kopieren</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation>MIME-Typ anzeigen</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation>Der MIME-Typ der Datei konnte nicht ermittelt werden.</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation>Die Datei hat den MIME-Typ <b>{0}</b>.</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation>Die Datei hat den MIME-Typ <b>{0}</b>.<br/>Soll sie zur Liste der Text MIME-Typen hinzugefügt werden?</translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_en.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_en.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2078,7 +2078,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation type="unfinished"></translation> </message> @@ -2088,62 +2088,62 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="234"/> + <location filename="../UI/Browser.py" line="242"/> <source>Add as toplevel directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../UI/Browser.py" line="241"/> - <source>Refresh directory</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="249"/> + <source>Refresh directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="490"/> + <location filename="../UI/Browser.py" line="538"/> <source>New toplevel directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation type="unfinished"></translation> </message> @@ -2152,6 +2152,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37495,80 +37515,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> - <source>Open in Icon Editor</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> + <source>Open in Icon Editor</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> <source>Rename file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> - <source>Copy Path to Clipboard</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> + <source>Copy Path to Clipboard</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> <source>Configure...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> <source>Delete files/directories</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> <source>Do you really want to delete these entries from the project?</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_es.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_es.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2102,7 +2102,7 @@ <translation>Explorador de archivos</translation> </message> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Abrir</translation> </message> @@ -2112,62 +2112,62 @@ <translation>Ejecutar test unitario...</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Nuevo directorio raíz...</translation> </message> <message> - <location filename="../UI/Browser.py" line="234"/> + <location filename="../UI/Browser.py" line="242"/> <source>Add as toplevel directory</source> <translation>Añadir como directorio raíz</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Quitar de la raíz</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Quitar de la raíz</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Buscar en este directorio</translation> </message> <message> - <location filename="../UI/Browser.py" line="490"/> + <location filename="../UI/Browser.py" line="538"/> <source>New toplevel directory</source> <translation>Nuevo directorio raíz</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Buscar&&Reemplazar en este directorio</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Configurar...</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Abrir en Editor de Iconos</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Copiar Ruta al Portapapeles</translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation>Actualizar directorio</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation>Ir a</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation>Línea {0}</translation> </message> @@ -2176,6 +2176,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation><b>La Ventana de Navegación</b><p>Permite navegar facilmente la jerarquía de directorios y archivos del sistema, identificar los programas en Python y abrirlos utilizando la ventana de Visor de Código Fuente. La ventana muestra varias jerarquías separadas.</p><p>La primera jerarquía se muestra solamente si se tiene abierto un programa para depuración y la raíz es el directorio que contiene dicho programa. Usualmente los distintos archivos que forman una aplicación Python son mantenidos en el mismo directorio, por lo tanto esta jerarquía proporciona un acceso sencillo a la mayor parte de lo que resulta necesario.</p><p>La siguiente jerarquía se utiliza para navegar facilmente los directorios especificados en la variable de Python <tt>sys.path</tt>.</p><p>Las restantes jerarquías permiten la navegación por el sistema como un todo. En un sistema UNIX habrá una jerarquía con <tt>/</tt> en la raíz y otra con el directorio home del usuario. En un sistema Windows habrá una jerarquía por cada uno de los drives en el sistema.</p><p>Los programas Python (es decir aquellos archivos con extensión <tt>.py</tt>) se identifican en las jerarquías con un icono de Python. Un click con el botón derecho del ratón muestra un menú contextual que permite abrir el archivo en la ventana Visor de Fuentes, o bien abrir el archivo para depuración o utilizarlo para ejecutar un test unitario.</p><p>El menú contextual de una clase, función o método permite abrir el archivo en donde se define esta clase, función o método y permite asegurar que se muestra la línea de código correcta.</p><p>Los archivos de Qt-Designer (es decir aquellos con extensión <tt>.ui</tt>) son mostrados con un icono de Designer. El menú contextual de estos archivos permite iniciar Qt-Designer a partir de dicho archivo.</p><p>Los archivos de Qt-Linguist (es decir aquellos con extensión <tt>.ts</tt>) son mostrados con un icono de Linguist. El menú contextual de dichos archivos permite iniciar Qt-Linguist a partir de dicho archivo.</p></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37738,80 +37758,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Otros</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>Navegador Otros del Proyecto</b><p>Permite visualizar facilmente todas las otros archivos y directorios que contiene el proyecto actual. A través del menú de contexto se pueden ejecutar varias acciones. La entrada que está registrada en el proyecto se muestra de otro color.</p></translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>Renombrar archivo</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> + <source>Remove from project</source> + <translation>Quitar del proyecto</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Borrar</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Añadir archivos...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Agregar directorio...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Recargar</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Expandir todos los directorios</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> + <source>Collapse all directories</source> + <translation>Contraer todos los directorios</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>Borrar archivos/directorios</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>¿Realmente quiere borrar estas entradas del proyecto?</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>Configurar...</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>Renombrar archivo</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> - <source>Remove from project</source> - <translation>Quitar del proyecto</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Borrar</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Añadir archivos...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Agregar directorio...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Recargar</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Expandir todos los directorios</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="127"/> - <source>Collapse all directories</source> - <translation>Contraer todos los directorios</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>Borrar archivos/directorios</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>¿Realmente quiere borrar estas entradas del proyecto?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>Configurar...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation>Abrir en Editor de Iconos</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation>Copiar Ruta al Portapapeles</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_fr.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_fr.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2100,7 +2100,7 @@ <context> <name>Browser</name> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Ouvrir</translation> </message> @@ -2115,62 +2115,62 @@ <translation>Navigateur de fichiers</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Nouveau répertoire racine...</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Supprimer du niveau racine</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="234"/> - <source>Add as toplevel directory</source> - <translation>Ajouter en tant que répertoire racine</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="490"/> - <source>New toplevel directory</source> - <translation>Nouveau répertoire racine</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Supprimer du niveau racine</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="242"/> + <source>Add as toplevel directory</source> + <translation>Ajouter en tant que répertoire racine</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="538"/> + <source>New toplevel directory</source> + <translation>Nouveau répertoire racine</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Trouver dans ce répertoire</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Configuration...</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Rechercher&&Rempacer dans ce répertoire</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Ouvrir dans Icon Editor</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Copier chemin dans le Presse-Papiers</translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation>Rafraichir répertoire</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation>Aller à</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation>Ligne {0}</translation> </message> @@ -2179,6 +2179,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37646,80 +37666,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Autres</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>Navigateur de fichiers autres</b><p>Permet de voir rapidement tous les autres fichiers et répertoires du projet. Plusieurs actions peuvent être effectuées via le menu contextuel. Une entrée qui est enregistrée dans le projet est affichée avec une couleur différente.</p></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation>Supprimer du projet</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Effacer</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Ajouter un répertoire...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Déployer tous les répertoires</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Effacer</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Ajouter un répertoire...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Déployer tous les répertoires</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation>Contracter tous les répertoires</translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>Renommer le fichier</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>Supprimer fichiers/répertoires</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>Voulez-vous réellement supprimer ces entrées du projet?</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Ajouter des fichiers...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Rafraichir</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>Configuration...</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>Renommer le fichier</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>Supprimer fichiers/répertoires</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>Voulez-vous réellement supprimer ces entrées du projet?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Ajouter des fichiers...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Rafraichir</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>Configuration...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation type="unfinished">Ouvrir dans Icon Editor</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation type="unfinished">Copier chemin dans le Presse-Papiers</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_it.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_it.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2099,7 +2099,7 @@ <context> <name>Browser</name> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Apri</translation> </message> @@ -2114,62 +2114,62 @@ <translation>Browser dei file</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Nuova directory principale...</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Rimuovi dal principale</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="234"/> - <source>Add as toplevel directory</source> - <translation>Aggiungi come directory principale</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="490"/> - <source>New toplevel directory</source> - <translation>Nuova directory principale</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Rimuovi dal principale</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="242"/> + <source>Add as toplevel directory</source> + <translation>Aggiungi come directory principale</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="538"/> + <source>New toplevel directory</source> + <translation>Nuova directory principale</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Trova in questa directory</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Configura...</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Trova&&Sostituisci in questa directory</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Apri nell'editor di icone</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Copia il path nella Clipboard</translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation>Rileggi directory</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation>Vai a</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation>Linea {0}</translation> </message> @@ -2178,6 +2178,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation><b>La finestra di navigazione</b>Questa ti permette di navigare facilmente nella struttura delle directory e dei file sul tuo sistema, identificare i programmi Python e aprirli nella finestra di Visualizzazione dei Sorgenti. La finestra mostra diverse strutture separate.</p><p>La prima struttura è mostrata solo se hai aperto un programma da debuggare e la sua radice è la cartella che contiene il programma. Normalmente tutti i file che compongono un'applicazione Python sono contenuti nella stessa cartella, così questa vista permette un accesso veloce a molto di quello che ti serve.</p><p>La vista successiva è usata per navigare facilmente nelle cartelle specificate nella variabile Python <tt>sys.path</tt>.</p><p>La vista rimanente permette di navigare in tutto il sistema. Su un sistema UNIX c'è una struttura con <tt>/</tt> come radice e un'altra con la home dell'utente. Su un sistema Windows c'è una struttura per ogni disco del sistema.</p><p>I programmi Python (es. quelli con l'estensione <tt>.py</tt>) sono identificati nella vista con l'icona di Python. Il pulsante destro del mouse fa apparire un menù che consente di aprire il file nel Visualizzatore dei Sorgenti, aprire il file per il debug o usarlo per uno unittest.</p><p>Il menù contestuale di una classe, funzione o metodo consente di aprire il file che la definisce e di posizionarsi sulla riga corretta.</p><p>I file di Qt-Designer (es. quelli con estensione <tt>.ui</tt>) sono mostrati con l'icona del Designer. Il menù contestuale di questi file consente di avviare Qt-Designer per quel file.</p><p>I file di Qt-Linguist (es. quelli con estensione <tt>.ts</tt>) sono mostrati con l'icona di Linguist. Il menù contestuale di questi file consente di avviare Qt-Linguist per quel file.</p></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37722,80 +37742,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Altri</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>Browser per altri file nel progetto<b><p>Consente di vedere facilmente tutti gli altri file e directory contenuti nel progetto corrente. Diverse azioni posso essere eseguite con il menù contestuale. Gli elementi che sono registrati nel progetto sono mostrati con un colore diverso.</p></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation>Rimuovi dal progetto</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Cancella</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Aggiungi directory...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Espandi tutte le directory</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Cancella</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Aggiungi directory...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Espandi tutte le directory</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation>Riduci tutte le directory</translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>Rinomina file</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>Cancella file/directory</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>Vuoi veramente cancellare questi elementi dal progetto ?</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Aggiungi files...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Rileggi</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>Configura...</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>Rinomina file</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>Cancella file/directory</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>Vuoi veramente cancellare questi elementi dal progetto ?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Aggiungi files...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Rileggi</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>Configura...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation>Apri nell'editor di icone</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation>Copia il path nella Clipboard</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_pt.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_pt.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2335,7 +2335,7 @@ <translation>Navegador de Ficheiros</translation> </message> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Abrir</translation> </message> @@ -2345,62 +2345,62 @@ <translation>Executar teste unitário...</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Copiar Caminho para a Área de Transferência</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Abrir no Editor de Ícones</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Configurar...</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Diretório de nível superior novo...</translation> </message> <message> - <location filename="../UI/Browser.py" line="234"/> + <location filename="../UI/Browser.py" line="242"/> <source>Add as toplevel directory</source> <translation>Adicionar como diretório de nível superior</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Retirar do nível superior</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="241"/> - <source>Refresh directory</source> - <translation>Atualizar diretório</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Retirar do nível superior</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="249"/> + <source>Refresh directory</source> + <translation>Atualizar diretório</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Encontrar neste diretório</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Encontrar&&Substituir neste diretório</translation> </message> <message> - <location filename="../UI/Browser.py" line="490"/> + <location filename="../UI/Browser.py" line="538"/> <source>New toplevel directory</source> <translation>Diretório de nível superior novo</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation>Ir a</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation>Linha {0}</translation> </message> @@ -2409,6 +2409,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation><b>A Janela de Navegação</b><p>Permite navegar facilmente pela hierarquia dos diretório e ficheiros do sistema, identificar os programas de Python e abri-los na janela do Visualizador de Fontes. A janela mostra várias hierarquias separadas.</p><p>Apenas se mostrará a primeira hierarquia se está aberto um programa para depurar e o seu diretório raíz é o diretório que o contém. Geralmente, os distintos ficheiros que formam uma aplicação Python mantêm-se no mesmo diretório, deste modo a hierarquia dá acesso à maior parte do que se necessite.</p><p>A hierarquia seguinte utiliza-se para navagar facilmente nos diretórios especificados pela variável Python <tt>sys.path</tt>.</p><p>As hierarquias restantes permitem navegar no seu sistema como um todo. Num sistema UNIX haverá uma hierarquia com <tt>/</tt> como raíz e outra com o diretório do usuário. Num sistema Windows haverá uma hierarquia para cada unidade de disco no sistema.</p><p>Os programas Python (como aqueles que têm a extensão <tt>.py</tt>) identificam-se nas hierarquias com um ícone Python. Um clique com o botão direito do rato frará aparecer um menú que permitirá abrir o ficheiro numa janela do Visualizador de Fontes, abrir para depurar ou usá-lo para executar um teste unitário.</p><p>O menú contextual de uma classe, função ou método permite abrir o ficheiro definindo esta classe, função ou método e assegurará que a linha de código correta esteja visível.</p><p>Os ficheiros de Qt-Designer (como os que têm extensão <tt>.ui</tt>) aparecem com o ícone de Designer. O menú contextual destes ficheiros permite abrí-los com Qt-Designer.</p><p>Os ficheiros de Qt-Linguist (como os que têm extensão <tt>.ts</tt>) aparecem com o ícone de Linguist. O menú contextual destes ficheiros permite abrí-los com Qt-Linguist.</p></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -38147,80 +38167,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Outros</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> - <source>Open in Icon Editor</source> - <translation type="unfinished">Abrir no Editor de Ícones</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> + <source>Open in Icon Editor</source> + <translation type="unfinished">Abrir no Editor de Ícones</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> <source>Rename file</source> <translation type="unfinished">Renomear ficheiro</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation type="unfinished">Retirar do projeto</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Apagar</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation type="unfinished">Adicionar Ficheiros...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation type="unfinished">Atualizar</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> - <source>Copy Path to Clipboard</source> - <translation type="unfinished">Copiar Caminho para a Área de Transferência</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Expandir os diretórios todos</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Apagar</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation type="unfinished">Adicionar Ficheiros...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation type="unfinished">Atualizar</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> + <source>Copy Path to Clipboard</source> + <translation type="unfinished">Copiar Caminho para a Área de Transferência</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Expandir os diretórios todos</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation>Colapsar os diretórios todos</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> <source>Configure...</source> <translation>Configurar...</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> <source>Delete files/directories</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> <source>Do you really want to delete these entries from the project?</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_ru.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_ru.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2096,7 +2096,7 @@ <context> <name>Browser</name> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Открыть</translation> </message> @@ -2111,62 +2111,62 @@ <translation>Просмотрщик файлов</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Новый каталог верхнего уровня...</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Удалить из верхнего уровня</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="234"/> - <source>Add as toplevel directory</source> - <translation>Добавить как каталог верхнего уровня</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="490"/> - <source>New toplevel directory</source> - <translation>Новый каталог верхнего уровня</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Удалить из верхнего уровня</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="242"/> + <source>Add as toplevel directory</source> + <translation>Добавить как каталог верхнего уровня</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="538"/> + <source>New toplevel directory</source> + <translation>Новый каталог верхнего уровня</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Найти в этом каталоге</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Найти и изменить в этом каталоге</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Настроить...</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>Открыть в редакторе иконок</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Сопировать путь в буфер обмена</translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation>Обновить каталог</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation>Перейти</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation>Строка: {0}</translation> </message> @@ -2176,6 +2176,26 @@ <translation><b>Окно обозревателя</b><p>Помогает легко перемещаться по дереву каталогов и файлов вашей системы, находить программы на Python и открывать их в окне исходных текстов. Окно показывает несколько разных деревьев</p> <p>Первое дерево показывается только тогда, когда вы отлаживаете программу и корень дерева является каталогом, содержащим программу. Обычно все файлы, составляющие приложение на Python, находятся в одном каталоге, так что это дерево даёт почти всю необходимую информацию.</p><p>Следующее дерево используется для лёгкого перемещения по каталогам, перечисленным в переменной Python <tt>sys.path</tt><p>Оставшиеся деревья позволяют перемещаться по системе в целом. В системах UNIX будут показаны 2 дерева: дерево с вершиной в корневом каталоге (<tt>/</tt>) и домашний каталог пользователя. В Windows для каждого диска будет показано своё дерево.</p><p>Программы на Python (с расширением <tt>.py</tt>) показываются с пиктограммой Python. Доступно контекстное меню, позволяющее открыть программу в редакторе, запустить её на отладку или протестировать с помощью unittest.</p><p>Контекстное меню на классе, функции или методе откроет файл и перейдёт на нужное место</p><p>Файлы описания интерфейса ( <tt>.ui</tt>, отмеченные пиктограммой Дизайнера) могут быть открыты Дизайнером через контекстное меню или по двойному щелчку</p><p>Файлы перевода (<tt>.ts</tt>, отмеченные пиктограммой Лингвиста) могут быть отредактированы с помощью Лингвиста</p></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37851,80 +37871,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Другие</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>Просмотр всего остального</b><p>Позволяет увидеть все файлы и каталоги, содержащиеся в данном проекте. Из контекстного меню доступны некоторые действия над ними. Элементы, являющиеся частью проекта, выделены цветом.</p></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation>Удалить из проекта</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Удалить</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Добавить каталог...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Раскрыть все подкаталоги</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Удалить</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Добавить каталог...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Раскрыть все подкаталоги</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation>Скрыть все подкаталоги</translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>Переименовать файл</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>Удаление файлов/каталогов</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>Вы действительно хотите удалить эти элементы из проекта?</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Добавить файлы...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Обновить</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>Настроить...</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>Переименовать файл</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>Удаление файлов/каталогов</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>Вы действительно хотите удалить эти элементы из проекта?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Добавить файлы...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Обновить</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>Настроить...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation>Открыть в редакторе иконок</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation>Сопировать путь в буфер обмена</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_tr.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_tr.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2096,7 +2096,7 @@ <translation>Dosya-Gözatıcısı</translation> </message> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>Aç</translation> </message> @@ -2106,62 +2106,62 @@ <translation>Test Arabirimini çalıştır...</translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation>Yolu Panoya kopyala</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation>İcon Düzenleyicide Aç</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>Ayarlanıyor...</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>Yeni enüstseviye dizini...</translation> </message> <message> - <location filename="../UI/Browser.py" line="234"/> + <location filename="../UI/Browser.py" line="242"/> <source>Add as toplevel directory</source> <translation>Dizinin en üst seviyesi olarak ekle</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>Enüst seviyeyi kaldır</translation> - </message> - <message> - <location filename="../UI/Browser.py" line="241"/> - <source>Refresh directory</source> - <translation>Dizini tazele</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>Enüst seviyeyi kaldır</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="249"/> + <source>Refresh directory</source> + <translation>Dizini tazele</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>Bu dizin içinde bul</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>Bul&&Değiştir bu dizin içinde</translation> </message> <message> - <location filename="../UI/Browser.py" line="490"/> + <location filename="../UI/Browser.py" line="538"/> <source>New toplevel directory</source> <translation>Yeni enüstseviye dizini</translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation type="unfinished">Buraya git</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation type="unfinished"></translation> </message> @@ -2170,6 +2170,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37607,80 +37627,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>Diğerleri</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>Diğer Proje Gözatıcıları</b><p>Bu kolayca geçerli projedeki diğer diğer dosya ve dizinlere gözatmayı sağlar.Açılan menü aracılığı ile pekçok işlemi gerçekleştirebilirsiniz.Hangi projeyi onayladıysanız farklı renklerde gösterilecektir.</p></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> - <source>Open in Icon Editor</source> - <translation>İcon Düzenleyicide Aç</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> + <source>Open in Icon Editor</source> + <translation>İcon Düzenleyicide Aç</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> <source>Rename file</source> <translation>Dosya adını değiştir</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> <source>Remove from project</source> <translation>Projeden çıkar</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>Sil</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>Dosyaları ekle...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>Dizin ekle...</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>Tazele</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> - <source>Copy Path to Clipboard</source> - <translation>Yolu Panoya kopyala</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>Tüm dizinleri genişlet</translation> - </message> - <message> <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>Sil</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>Dosyaları ekle...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>Dizin ekle...</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>Tazele</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> + <source>Copy Path to Clipboard</source> + <translation>Yolu Panoya kopyala</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>Tüm dizinleri genişlet</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> <source>Collapse all directories</source> <translation>Tüm dizinleri daralt</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> <source>Configure...</source> <translation>Ayarlanıyor...</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> <source>Delete files/directories</source> <translation>Dosyaları/Dizinleri Sil</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> <source>Do you really want to delete these entries from the project?</source> <translation>Bu girişi projeden silmek istediğinizden gerçekten emin misiniz?</translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>
--- a/i18n/eric6_zh_CN.GB2312.ts Sat Feb 07 12:43:00 2015 +0100 +++ b/i18n/eric6_zh_CN.GB2312.ts Sun Feb 08 13:09:00 2015 +0100 @@ -2099,7 +2099,7 @@ <translation>文件浏览器</translation> </message> <message> - <location filename="../UI/Browser.py" line="221"/> + <location filename="../UI/Browser.py" line="229"/> <source>Open</source> <translation>打开</translation> </message> @@ -2109,62 +2109,62 @@ <translation>运行单元测试……</translation> </message> <message> - <location filename="../UI/Browser.py" line="285"/> + <location filename="../UI/Browser.py" line="293"/> <source>Configure...</source> <translation>配置……</translation> </message> <message> - <location filename="../UI/Browser.py" line="280"/> + <location filename="../UI/Browser.py" line="288"/> <source>New toplevel directory...</source> <translation>新顶层文件夹……</translation> </message> <message> - <location filename="../UI/Browser.py" line="234"/> + <location filename="../UI/Browser.py" line="242"/> <source>Add as toplevel directory</source> <translation>添加为顶层文件夹</translation> </message> <message> - <location filename="../UI/Browser.py" line="237"/> - <source>Remove from toplevel</source> - <translation>从顶层移除</translation> - </message> - <message> <location filename="../UI/Browser.py" line="245"/> + <source>Remove from toplevel</source> + <translation>从顶层移除</translation> + </message> + <message> + <location filename="../UI/Browser.py" line="253"/> <source>Find in this directory</source> <translation>在该文件夹中查找</translation> </message> <message> - <location filename="../UI/Browser.py" line="248"/> + <location filename="../UI/Browser.py" line="256"/> <source>Find&&Replace in this directory</source> <translation>在该文件夹中查找和替换(&R)</translation> </message> <message> - <location filename="../UI/Browser.py" line="490"/> + <location filename="../UI/Browser.py" line="538"/> <source>New toplevel directory</source> <translation>新建顶层文件夹</translation> </message> <message> - <location filename="../UI/Browser.py" line="207"/> + <location filename="../UI/Browser.py" line="211"/> <source>Open in Icon Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="252"/> + <location filename="../UI/Browser.py" line="260"/> <source>Copy Path to Clipboard</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="241"/> + <location filename="../UI/Browser.py" line="249"/> <source>Refresh directory</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../UI/Browser.py" line="262"/> + <location filename="../UI/Browser.py" line="270"/> <source>Goto</source> <translation type="unfinished">跳转</translation> </message> <message> - <location filename="../UI/Browser.py" line="366"/> + <location filename="../UI/Browser.py" line="374"/> <source>Line {0}</source> <translation type="unfinished"></translation> </message> @@ -2173,6 +2173,26 @@ <source><b>The Browser Window</b><p>This allows you to easily navigate the hierarchy of directories and files on your system, identify the Python programs and open them up in a Source Viewer window. The window displays several separate hierarchies.</p><p>The first hierarchy is only shown if you have opened a program for debugging and its root is the directory containing that program. Usually all of the separate files that make up a Python application are held in the same directory, so this hierarchy gives you easy access to most of what you will need.</p><p>The next hierarchy is used to easily navigate the directories that are specified in the Python <tt>sys.path</tt> variable.</p><p>The remaining hierarchies allow you navigate your system as a whole. On a UNIX system there will be a hierarchy with <tt>/</tt> at its root and another with the user home directory. On a Windows system there will be a hierarchy for each drive on the system.</p><p>Python programs (i.e. those with a <tt>.py</tt> file name suffix) are identified in the hierarchies with a Python icon. The right mouse button will popup a menu which lets you open the file in a Source Viewer window, open the file for debugging or use it for a unittest run.</p><p>The context menu of a class, function or method allows you to open the file defining this class, function or method and will ensure, that the correct source line is visible.</p><p>Qt-Designer files (i.e. those with a <tt>.ui</tt> file name suffix) are shown with a Designer icon. The context menu of these files allows you to start Qt-Designer with that file.</p><p>Qt-Linguist files (i.e. those with a <tt>.ts</tt> file name suffix) are shown with a Linguist icon. The context menu of these files allows you to start Qt-Linguist with that file.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="461"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="475"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../UI/Browser.py" line="481"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>BrowserModel</name> @@ -37568,80 +37588,100 @@ <context> <name>ProjectOthersBrowser</name> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="55"/> + <location filename="../Project/ProjectOthersBrowser.py" line="58"/> <source>Others</source> <translation>其它</translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="57"/> + <location filename="../Project/ProjectOthersBrowser.py" line="60"/> <source><b>Project Others Browser</b><p>This allows to easily see all other files and directories contained in the current project. Several actions can be executed via the context menu. The entry which is registered in the project is shown in a different colour.</p></source> <translation><b>项目其它浏览器</b><p>可以方便地观察当前项目中的所有其它文件和文件夹。可通过上下文菜单执行多个行为。在项目中注册过的条目将显示成其它颜色。</p></translation> </message> <message> + <location filename="../Project/ProjectOthersBrowser.py" line="83"/> + <source>Rename file</source> + <translation>重命名文件</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="124"/> + <source>Remove from project</source> + <translation>从项目移除</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="127"/> + <source>Delete</source> + <translation>删除</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="110"/> + <source>Add files...</source> + <translation>添加文件……</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="112"/> + <source>Add directory...</source> + <translation>添加文件夹……</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="97"/> + <source>Refresh</source> + <translation>刷新</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="131"/> + <source>Expand all directories</source> + <translation>展开所有文件夹</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="133"/> + <source>Collapse all directories</source> + <translation>折叠所有文件夹</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="136"/> + <source>Configure...</source> + <translation>配置……</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Delete files/directories</source> + <translation>删除文件或文件夹</translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="342"/> + <source>Do you really want to delete these entries from the project?</source> + <translation>确定要从项目中删除这些条目吗?</translation> + </message> + <message> <location filename="../Project/ProjectOthersBrowser.py" line="77"/> - <source>Rename file</source> - <translation>重命名文件</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="118"/> - <source>Remove from project</source> - <translation>从项目移除</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="121"/> - <source>Delete</source> - <translation>删除</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="104"/> - <source>Add files...</source> - <translation>添加文件……</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="106"/> - <source>Add directory...</source> - <translation>添加文件夹……</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="91"/> - <source>Refresh</source> - <translation>刷新</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="125"/> - <source>Expand all directories</source> - <translation>展开所有文件夹</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="127"/> - <source>Collapse all directories</source> - <translation>折叠所有文件夹</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="130"/> - <source>Configure...</source> - <translation>配置……</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Delete files/directories</source> - <translation>删除文件或文件夹</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="296"/> - <source>Do you really want to delete these entries from the project?</source> - <translation>确定要从项目中删除这些条目吗?</translation> - </message> - <message> - <location filename="../Project/ProjectOthersBrowser.py" line="74"/> <source>Open in Icon Editor</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Project/ProjectOthersBrowser.py" line="93"/> + <location filename="../Project/ProjectOthersBrowser.py" line="99"/> <source>Copy Path to Clipboard</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>Show Mime-Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="261"/> + <source>The mime type of the file could not be determined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="275"/> + <source>The file has the mime type <b>{0}</b>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Project/ProjectOthersBrowser.py" line="281"/> + <source>The file has the mime type <b>{0}</b>.<br/> Shall it be added to the list of text mime types?</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>ProjectPage</name>