--- a/eric6/i18n/eric6_empty.ts Thu Oct 01 17:34:48 2020 +0200 +++ b/eric6/i18n/eric6_empty.ts Thu Oct 01 17:39:16 2020 +0200 @@ -10775,7 +10775,7 @@ <context> <name>Editor</name> <message> - <location filename="../QScintilla/Editor.py" line="3094"/> + <location filename="../QScintilla/Editor.py" line="3097"/> <source>Open File</source> <translation type="unfinished"></translation> </message> @@ -10865,7 +10865,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7832"/> + <location filename="../QScintilla/Editor.py" line="7835"/> <source>Check spelling...</source> <translation type="unfinished"></translation> </message> @@ -11135,7 +11135,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5602"/> + <location filename="../QScintilla/Editor.py" line="5605"/> <source>Enable breakpoint</source> <translation type="unfinished"></translation> </message> @@ -11250,387 +11250,387 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="1947"/> + <location filename="../QScintilla/Editor.py" line="1950"/> <source>Modification of Read Only file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="1947"/> + <location filename="../QScintilla/Editor.py" line="1950"/> <source>You are attempting to change a read only file. Please save to a different file first.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="2657"/> + <location filename="../QScintilla/Editor.py" line="2660"/> <source>Printing...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="2674"/> + <location filename="../QScintilla/Editor.py" line="2677"/> <source>Printing completed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="2676"/> - <source>Error while printing</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../QScintilla/Editor.py" line="2679"/> + <source>Error while printing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../QScintilla/Editor.py" line="2682"/> <source>Printing aborted</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="3034"/> + <location filename="../QScintilla/Editor.py" line="3037"/> <source>File Modified</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="3034"/> + <location filename="../QScintilla/Editor.py" line="3037"/> <source><p>The file <b>{0}</b> has unsaved changes.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="3094"/> + <location filename="../QScintilla/Editor.py" line="3097"/> <source><p>The file <b>{0}</b> could not be opened.</p><p>Reason: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="3283"/> + <location filename="../QScintilla/Editor.py" line="3286"/> <source>Save File</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="3220"/> + <location filename="../QScintilla/Editor.py" line="3223"/> <source><p>The file <b>{0}</b> could not be saved.<br/>Reason: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="3283"/> + <location filename="../QScintilla/Editor.py" line="3286"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="4764"/> + <location filename="../QScintilla/Editor.py" line="4767"/> <source>Autocompletion</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="4764"/> + <location filename="../QScintilla/Editor.py" line="4767"/> <source>Autocompletion is not available because there is no autocompletion source set.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="4894"/> + <location filename="../QScintilla/Editor.py" line="4897"/> <source>Auto-Completion Provider</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="4894"/> + <location filename="../QScintilla/Editor.py" line="4897"/> <source>The completion list provider '{0}' was already registered. Ignoring duplicate request.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5173"/> + <location filename="../QScintilla/Editor.py" line="5176"/> <source>Call-Tips Provider</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5173"/> + <location filename="../QScintilla/Editor.py" line="5176"/> <source>The call-tips provider '{0}' was already registered. Ignoring duplicate request.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5605"/> + <location filename="../QScintilla/Editor.py" line="5608"/> <source>Disable breakpoint</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5980"/> + <location filename="../QScintilla/Editor.py" line="5983"/> <source>Code Coverage</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5980"/> + <location filename="../QScintilla/Editor.py" line="5983"/> <source>Please select a coverage file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6043"/> + <location filename="../QScintilla/Editor.py" line="6046"/> <source>Show Code Coverage Annotations</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6036"/> + <location filename="../QScintilla/Editor.py" line="6039"/> <source>All lines have been covered.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6043"/> + <location filename="../QScintilla/Editor.py" line="6046"/> <source>There is no coverage file available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6160"/> + <location filename="../QScintilla/Editor.py" line="6163"/> <source>Profile Data</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6160"/> + <location filename="../QScintilla/Editor.py" line="6163"/> <source>Please select a profile file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6322"/> + <location filename="../QScintilla/Editor.py" line="6325"/> <source>Syntax Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6322"/> + <location filename="../QScintilla/Editor.py" line="6325"/> <source>No syntax error message available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6534"/> + <location filename="../QScintilla/Editor.py" line="6537"/> <source>Warning</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6534"/> + <location filename="../QScintilla/Editor.py" line="6537"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6596"/> - <source>Style: {0}</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../QScintilla/Editor.py" line="6599"/> + <source>Style: {0}</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../QScintilla/Editor.py" line="6602"/> <source>Warning: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6606"/> + <location filename="../QScintilla/Editor.py" line="6609"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6711"/> + <location filename="../QScintilla/Editor.py" line="6714"/> <source>Macro Name</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6711"/> + <location filename="../QScintilla/Editor.py" line="6714"/> <source>Select a macro name:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6739"/> + <location filename="../QScintilla/Editor.py" line="6742"/> <source>Load macro file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6782"/> + <location filename="../QScintilla/Editor.py" line="6785"/> <source>Macro files (*.macro)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6765"/> <source>Error loading macro</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6765"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6782"/> + <location filename="../QScintilla/Editor.py" line="6785"/> <source>Save macro file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6799"/> + <location filename="../QScintilla/Editor.py" line="6802"/> <source>Save macro</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6799"/> + <location filename="../QScintilla/Editor.py" line="6802"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6815"/> + <location filename="../QScintilla/Editor.py" line="6818"/> <source>Error saving macro</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6815"/> + <location filename="../QScintilla/Editor.py" line="6818"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6828"/> + <location filename="../QScintilla/Editor.py" line="6831"/> <source>Start Macro Recording</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6828"/> + <location filename="../QScintilla/Editor.py" line="6831"/> <source>Macro recording is already active. Start new?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6854"/> + <location filename="../QScintilla/Editor.py" line="6857"/> <source>Macro Recording</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6854"/> + <location filename="../QScintilla/Editor.py" line="6857"/> <source>Enter name of the macro:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6984"/> + <location filename="../QScintilla/Editor.py" line="6987"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6990"/> + <location filename="../QScintilla/Editor.py" line="6993"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6994"/> + <location filename="../QScintilla/Editor.py" line="6997"/> <source>File changed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7164"/> + <location filename="../QScintilla/Editor.py" line="7167"/> <source>{0} (ro)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7305"/> + <location filename="../QScintilla/Editor.py" line="7308"/> <source>Drop Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7305"/> + <location filename="../QScintilla/Editor.py" line="7308"/> <source><p><b>{0}</b> is not a file.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7326"/> + <location filename="../QScintilla/Editor.py" line="7329"/> <source>Resources</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7328"/> + <location filename="../QScintilla/Editor.py" line="7331"/> <source>Add file...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7330"/> + <location filename="../QScintilla/Editor.py" line="7333"/> <source>Add files...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7332"/> - <source>Add aliased file...</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../QScintilla/Editor.py" line="7335"/> + <source>Add aliased file...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../QScintilla/Editor.py" line="7338"/> <source>Add localized resource...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7339"/> + <location filename="../QScintilla/Editor.py" line="7342"/> <source>Add resource frame</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7358"/> + <location filename="../QScintilla/Editor.py" line="7361"/> <source>Add file resource</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7374"/> + <location filename="../QScintilla/Editor.py" line="7377"/> <source>Add file resources</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7401"/> + <location filename="../QScintilla/Editor.py" line="7404"/> <source>Add aliased file resource</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7401"/> + <location filename="../QScintilla/Editor.py" line="7404"/> <source>Alias for file <b>{0}</b>:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7467"/> + <location filename="../QScintilla/Editor.py" line="7470"/> <source>Package Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7467"/> + <location filename="../QScintilla/Editor.py" line="7470"/> <source>Include class attributes?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7489"/> + <location filename="../QScintilla/Editor.py" line="7492"/> <source>Imports Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7489"/> + <location filename="../QScintilla/Editor.py" line="7492"/> <source>Include imports from external modules?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7503"/> + <location filename="../QScintilla/Editor.py" line="7506"/> <source>Application Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7503"/> + <location filename="../QScintilla/Editor.py" line="7506"/> <source>Include module names?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7835"/> + <location filename="../QScintilla/Editor.py" line="7838"/> <source>Add to dictionary</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7837"/> + <location filename="../QScintilla/Editor.py" line="7840"/> <source>Ignore All</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8253"/> + <location filename="../QScintilla/Editor.py" line="8256"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8253"/> + <location filename="../QScintilla/Editor.py" line="8256"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8342"/> + <location filename="../QScintilla/Editor.py" line="8345"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8342"/> + <location filename="../QScintilla/Editor.py" line="8345"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -11655,12 +11655,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8463"/> + <location filename="../QScintilla/Editor.py" line="8466"/> <source>EditorConfig Properties</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8463"/> + <location filename="../QScintilla/Editor.py" line="8466"/> <source><p>The EditorConfig properties for file <b>{0}</b> could not be loaded.</p></source> <translation type="unfinished"></translation> </message> @@ -13102,12 +13102,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EditorGeneralPage.py" line="217"/> + <location filename="../Preferences/ConfigurationPages/EditorGeneralPage.py" line="213"/> <source>Tab and Indent Override</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EditorGeneralPage.py" line="217"/> + <location filename="../Preferences/ConfigurationPages/EditorGeneralPage.py" line="213"/> <source>Shall the selected entries really be removed?</source> <translation type="unfinished"></translation> </message> @@ -13564,30 +13564,50 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="23"/> - <source>Language:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="40"/> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="57"/> <source>Tab Width:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="47"/> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="64"/> <source>Enter the tab width</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="76"/> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="93"/> <source>Indentation width:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="83"/> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="100"/> <source>Enter the indentation width</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="23"/> + <source>Lexer Language:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="36"/> + <source>Select the lexer language to override</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="43"/> + <source>Alternative Lexer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.ui" line="50"/> + <source>Select the alternative lexer to override</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.py" line="51"/> + <source>Alternative</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>EditorMarkerMap</name> @@ -44882,12 +44902,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/MiniEditor.py" line="3487"/> + <location filename="../QScintilla/MiniEditor.py" line="3490"/> <source>EditorConfig Properties</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/MiniEditor.py" line="3487"/> + <location filename="../QScintilla/MiniEditor.py" line="3490"/> <source><p>The EditorConfig properties for file <b>{0}</b> could not be loaded.</p></source> <translation type="unfinished"></translation> </message> @@ -86593,12 +86613,12 @@ <context> <name>eric6</name> <message> - <location filename="../eric6.py" line="397"/> + <location filename="../eric6.py" line="398"/> <source>Starting...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../eric6.py" line="402"/> + <location filename="../eric6.py" line="403"/> <source>Generating Main Window...</source> <translation type="unfinished"></translation> </message>