--- a/eric7/i18n/eric7_pt.ts Tue Nov 09 19:33:55 2021 +0100 +++ b/eric7/i18n/eric7_pt.ts Tue Nov 09 19:34:26 2021 +0100 @@ -11677,7 +11677,7 @@ <translation>Descomentar</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8868" /> + <location filename="../QScintilla/Editor.py" line="8867" /> <location filename="../QScintilla/Editor.py" line="861" /> <source>Generate Docstring</source> <translation type="unfinished" /> @@ -11910,7 +11910,7 @@ <translation type="unfinished">Verificação ortográfica</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8001" /> + <location filename="../QScintilla/Editor.py" line="8000" /> <location filename="../QScintilla/Editor.py" line="1197" /> <source>Check spelling...</source> <translation>Verificação ortográfica...</translation> @@ -11971,7 +11971,7 @@ <translation>Editar ponto de interrupção...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5723" /> + <location filename="../QScintilla/Editor.py" line="5722" /> <location filename="../QScintilla/Editor.py" line="1276" /> <source>Enable breakpoint</source> <translation>Habilitar pontos de interrupção</translation> @@ -12215,336 +12215,336 @@ <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="5306" /> + <location filename="../QScintilla/Editor.py" line="5305" /> <source>Call-Tips Provider</source> <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="5307" /> + <location filename="../QScintilla/Editor.py" line="5306" /> <source>The call-tips provider '{0}' was already registered. Ignoring duplicate request.</source> <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="5726" /> + <location filename="../QScintilla/Editor.py" line="5725" /> <source>Disable breakpoint</source> <translation>Inabilitar ponto de interrupção</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6092" /> + <source>Code Coverage</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6093" /> - <source>Code Coverage</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6094" /> <source>Please select a coverage file</source> <translation type="unfinished" /> </message> <message> + <location filename="../QScintilla/Editor.py" line="6155" /> + <location filename="../QScintilla/Editor.py" line="6148" /> + <source>Show Code Coverage Annotations</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../QScintilla/Editor.py" line="6149" /> + <source>All lines have been covered.</source> + <translation>Foram cobertas as linhas todas.</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6156" /> - <location filename="../QScintilla/Editor.py" line="6149" /> - <source>Show Code Coverage Annotations</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6150" /> - <source>All lines have been covered.</source> - <translation>Foram cobertas as linhas todas.</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6157" /> <source>There is no coverage file available.</source> <translation type="unfinished" /> </message> <message> + <location filename="../QScintilla/Editor.py" line="6272" /> + <source>Profile Data</source> + <translation>Dados de Perfil</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6273" /> - <source>Profile Data</source> - <translation>Dados de Perfil</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6274" /> <source>Please select a profile file</source> <translation>Escolha um ficheiro de perfil por favor</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6434" /> + <location filename="../QScintilla/Editor.py" line="6428" /> + <source>Syntax Error</source> + <translation>Erro de Sintaxe</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6435" /> - <location filename="../QScintilla/Editor.py" line="6429" /> - <source>Syntax Error</source> - <translation>Erro de Sintaxe</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6436" /> <source>No syntax error message available.</source> <translation>Não está disponível a mensagem de erro de sintaxe.</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6646" /> + <location filename="../QScintilla/Editor.py" line="6640" /> + <source>Warning</source> + <translation>Aviso</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6647" /> - <location filename="../QScintilla/Editor.py" line="6641" /> - <source>Warning</source> - <translation>Aviso</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6648" /> <source>No warning messages available.</source> <translation>Não estão disponíveis mensagens de aviso.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6708" /> + <location filename="../QScintilla/Editor.py" line="6707" /> <source>Style: {0}</source> <translation>Estilo: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6711" /> + <location filename="../QScintilla/Editor.py" line="6710" /> <source>Warning: {0}</source> <translation>Aviso: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6718" /> + <location filename="../QScintilla/Editor.py" line="6717" /> <source>Error: {0}</source> <translation>Erro: {0}</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6823" /> + <source>Macro Name</source> + <translation>Nome de Macro</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6824" /> - <source>Macro Name</source> - <translation>Nome de Macro</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6825" /> <source>Select a macro name:</source> <translation>Selecionar um nome de macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6852" /> + <location filename="../QScintilla/Editor.py" line="6851" /> <source>Load macro file</source> <translation>Carregar ficheiro macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6896" /> - <location filename="../QScintilla/Editor.py" line="6854" /> + <location filename="../QScintilla/Editor.py" line="6895" /> + <location filename="../QScintilla/Editor.py" line="6853" /> <source>Macro files (*.macro)</source> <translation>Ficheiros Macro (*.macro)</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6873" /> + <location filename="../QScintilla/Editor.py" line="6864" /> + <source>Error loading macro</source> + <translation>Erro ao carregar macro</translation> + </message> + <message> + <location filename="../QScintilla/Editor.py" line="6865" /> + <source><p>The macro file <b>{0}</b> could not be read.</p></source> + <translation><p>O ficheiro macro <b>{0}</b> não se pode ler.</p></translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6874" /> - <location filename="../QScintilla/Editor.py" line="6865" /> - <source>Error loading macro</source> - <translation>Erro ao carregar macro</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6866" /> - <source><p>The macro file <b>{0}</b> could not be read.</p></source> - <translation><p>O ficheiro macro <b>{0}</b> não se pode ler.</p></translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6875" /> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>O ficheiro macro <b>{0}</b> está corrompido.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6894" /> + <location filename="../QScintilla/Editor.py" line="6893" /> <source>Save macro file</source> <translation>Gravar ficheiro macro</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6910" /> + <source>Save macro</source> + <translation>Gravar macro</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6911" /> - <source>Save macro</source> - <translation>Gravar macro</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6912" /> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>O ficheiro macro <b>{0}</b> já existe. Sobreescrever-lo?</p></translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6925" /> + <source>Error saving macro</source> + <translation>Erro ao gravar macro</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6926" /> - <source>Error saving macro</source> - <translation>Erro ao gravar macro</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6927" /> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>O ficheiro macro <b>{0}</b> não pode ser escrito.</p></translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6938" /> + <source>Start Macro Recording</source> + <translation>Iniciar Registo de Macro</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6939" /> - <source>Start Macro Recording</source> - <translation>Iniciar Registo de Macro</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6940" /> <source>Macro recording is already active. Start new?</source> <translation>A gravação de macro já está ativada. Começar nova?</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6964" /> + <source>Macro Recording</source> + <translation>Gravação de Macro</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6965" /> - <source>Macro Recording</source> - <translation>Gravação de Macro</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6966" /> <source>Enter name of the macro:</source> <translation>Introduza o nome de macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7118" /> + <location filename="../QScintilla/Editor.py" line="7117" /> <source><p>The file <b>{0}</b> has been changed while it was opened in eric. Reread it?</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="7124" /> + <location filename="../QScintilla/Editor.py" line="7123" /> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>Aviso:</b> Perderá todas as alterações uma vez que o volte a abrir.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7130" /> + <location filename="../QScintilla/Editor.py" line="7129" /> <source>File changed</source> <translation>Ficheiro alterado</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7181" /> + <location filename="../QScintilla/Editor.py" line="7180" /> <source>{0} (ro)</source> <translation /> </message> <message> + <location filename="../QScintilla/Editor.py" line="7477" /> + <source>Drop Error</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7478" /> - <source>Drop Error</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7479" /> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> não é um ficheiro.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7497" /> + <location filename="../QScintilla/Editor.py" line="7496" /> <source>Resources</source> <translation>Recursos</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7500" /> + <location filename="../QScintilla/Editor.py" line="7499" /> <source>Add file...</source> <translation>Adicionar Ficheiro...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7502" /> + <location filename="../QScintilla/Editor.py" line="7501" /> <source>Add files...</source> <translation>Adicionar Ficheiros...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7504" /> + <location filename="../QScintilla/Editor.py" line="7503" /> <source>Add aliased file...</source> <translation>Adicionar ficheiro com pseudónimo...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7507" /> + <location filename="../QScintilla/Editor.py" line="7506" /> <source>Add localized resource...</source> <translation>Adicionar recursos localizado...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7511" /> + <location filename="../QScintilla/Editor.py" line="7510" /> <source>Add resource frame</source> <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="7531" /> + <location filename="../QScintilla/Editor.py" line="7530" /> <source>Add file resource</source> <translation>Adicionar recurso de ficheiro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7547" /> + <location filename="../QScintilla/Editor.py" line="7546" /> <source>Add file resources</source> <translation>Adicionar recursos de ficheiro</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7573" /> + <location filename="../QScintilla/Editor.py" line="7566" /> + <source>Add aliased file resource</source> + <translation>Adicionar recurso de ficheiro com pseudónimo</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7574" /> - <location filename="../QScintilla/Editor.py" line="7567" /> - <source>Add aliased file resource</source> - <translation>Adicionar recurso de ficheiro com pseudónimo</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7575" /> <source>Alias for file <b>{0}</b>:</source> <translation>Pseudónimo para o ficheiro <b>{0}</b>:</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7639" /> + <source>Package Diagram</source> + <translation>Diagrama do Pacote</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7640" /> - <source>Package Diagram</source> - <translation>Diagrama do Pacote</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7641" /> <source>Include class attributes?</source> <translation>Incluir atributos de classes?</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7658" /> + <source>Imports Diagram</source> + <translation>Diagrama de Imports</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7659" /> - <source>Imports Diagram</source> - <translation>Diagrama de Imports</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7660" /> <source>Include imports from external modules?</source> <translation>Incluir imports de módulos externos?</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7672" /> + <source>Application Diagram</source> + <translation>Diagrama da Aplicação</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7673" /> - <source>Application Diagram</source> - <translation>Diagrama da Aplicação</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7674" /> <source>Include module names?</source> <translation>Incluir nome dos módulos?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8003" /> + <location filename="../QScintilla/Editor.py" line="8002" /> <source>Add to dictionary</source> <translation>Adicionar dicionário</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8005" /> + <location filename="../QScintilla/Editor.py" line="8004" /> <source>Ignore All</source> <translation>Ignorar Tudo</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="8418" /> + <source>Sort Lines</source> + <translation>Ordenar Linhas</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="8419" /> - <source>Sort Lines</source> - <translation>Ordenar Linhas</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="8420" /> <source>The selection contains illegal data for a numerical sort.</source> <translation>A seleção contém dados ilegais para uma ordenação numérica.</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="8509" /> + <source>Register Mouse Click Handler</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/Editor.py" line="8510" /> - <source>Register Mouse Click Handler</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="8511" /> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="8604" /> + <location filename="../QScintilla/Editor.py" line="8603" /> <source>{0:4d} {1}</source> <comment>line number, source code</comment> <translation type="unfinished" /> </message> <message> - <location filename="../QScintilla/Editor.py" line="8609" /> + <location filename="../QScintilla/Editor.py" line="8608" /> <source>{0:4d} {1} => {2}</source> <comment>line number, source code, file name</comment> <translation type="unfinished" /> </message> <message> + <location filename="../QScintilla/Editor.py" line="8673" /> + <source>EditorConfig Properties</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/Editor.py" line="8674" /> - <source>EditorConfig Properties</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="8675" /> <source><p>The EditorConfig properties for file <b>{0}</b> could not be loaded.</p></source> <translation type="unfinished" /> </message> @@ -55367,72 +55367,92 @@ <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="53" /> - <source>os.path.abspath('foo') should be replaced by foo_path.resolve()</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="56" /> - <source>os.path.exists('foo') should be replaced by foo_path.exists()</source> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="52" /> + <source>os.listdir(path='foo') should be replaced by foo_path.iterdir()</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="55" /> + <source>os.link('bar', 'foo') should be replaced by foo_path.hardlink_to('bar')</source> <translation type="unfinished" /> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="59" /> + <source>os.symlink('bar', 'foo') should be replaced by foo_path.symlink_to('bar')</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="64" /> + <source>os.path.abspath('foo') should be replaced by foo_path.resolve()</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="67" /> + <source>os.path.exists('foo') should be replaced by foo_path.exists()</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="70" /> <source>os.path.expanduser('~/foo') should be replaced by foo_path.expanduser()</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="63" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="74" /> <source>os.path.isdir('foo') should be replaced by foo_path.is_dir()</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="66" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="77" /> <source>os.path.isfile('foo') should be replaced by foo_path.is_file()</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="69" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="80" /> <source>os.path.islink('foo') should be replaced by foo_path.is_symlink()</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="72" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="83" /> <source>os.path.isabs('foo') should be replaced by foo_path.is_absolute()</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="75" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="86" /> <source>os.path.join('foo', 'bar') should be replaced by foo_path / 'bar'</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="79" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="90" /> <source>os.path.basename('foo/bar') should be replaced by bar_path.name</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="82" /> - <source>os.path.dirname('foo/bar') should be replaced by bar_path.parent</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="85" /> - <source>os.path.samefile('foo', 'bar') should be replaced by foo_path.samefile(bar_path)</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="89" /> - <source>os.path.splitext('foo.bar') should be replaced by foo_path.suffix</source> - <translation type="unfinished" /> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="93" /> + <source>os.path.dirname('foo/bar') should be replaced by bar_path.parent</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="96" /> + <source>os.path.samefile('foo', 'bar') should be replaced by foo_path.samefile(bar_path)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="100" /> + <source>os.path.splitext('foo.bar') should be replaced by foo_path.suffix</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="103" /> + <source>os.path.relpath('/bar/foo', start='bar') should be replaced by foo_path.relative_to('/bar')</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="108" /> <source>open('foo') should be replaced by Path('foo').open()</source> <translation type="unfinished" /> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="97" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="112" /> <source>py.path.local is in maintenance mode, use pathlib instead</source> <translation type="unfinished" /> </message>