--- a/eric6/i18n/eric6_es.ts Sun Mar 28 15:12:16 2021 +0200 +++ b/eric6/i18n/eric6_es.ts Sun Mar 28 15:20:24 2021 +0200 @@ -47952,6 +47952,134 @@ </message> </context> <context> + <name>PathlibChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="15"/> + <source>os.chmod('foo', 0o444) should be replaced by foo_path.chmod(0o444)</source> + <translation>os.chmod('foo', 0o444) debe reemplazarse por foo_path.chmod(0o444)</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="18"/> + <source>os.mkdir('foo') should be replaced by foo_path.mkdir()</source> + <translation>os.mkdir('foo') debe reemplazarse por foo_path.mkdir()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="21"/> + <source>os.makedirs('foo/bar') should be replaced by bar_path.mkdir(parents=True)</source> + <translation>os.makedirs('foo/bar') debe reemplazarse por bar_path.mkdir(parents=True)</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="25"/> + <source>os.rename('foo', 'bar') should be replaced by foo_path.rename(Path('bar'))</source> + <translation>os.rename('foo', 'bar') debe reemplazarse por foo_path.rename(Path('bar'))</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="29"/> + <source>os.replace('foo', 'bar') should be replaced by foo_path.replace(Path('bar'))</source> + <translation>os.replace('foo', 'bar') debe reemplazarse por foo_path.replace(Path('bar'))</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="33"/> + <source>os.rmdir('foo') should be replaced by foo_path.rmdir()</source> + <translation>os.rmdir('foo') debe reemplazarse por foo_path.rmdir()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="36"/> + <source>os.remove('foo') should be replaced by foo_path.unlink()</source> + <translation>os.remove('foo') debe reemplazarse por foo_path.unlink()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="39"/> + <source>os.unlink('foo'') should be replaced by foo_path.unlink()</source> + <translation>os.unlink('foo'') debe reemplazarse por foo_path.unlink()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="42"/> + <source>os.getcwd() should be replaced by Path.cwd()</source> + <translation>os.getcwd() debe reemplazarse por Path.cwd()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="45"/> + <source>os.readlink('foo') should be replaced by foo_path.readlink()</source> + <translation>os.readlink('foo') debe reemplazarse por foo_path.readlink()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="48"/> + <source>os.stat('foo') should be replaced by foo_path.stat() or foo_path.owner() or foo_path.group()</source> + <translation>os.stat('foo') debe reemplazarse por foo_path.stat() or foo_path.owner() or foo_path.group()</translation> + </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>os.path.abspath('foo') debe reemplazarse por foo_path.resolve()</translation> + </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> + <translation>os.path.exists('foo') debe reemplazarse por foo_path.exists()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="59"/> + <source>os.path.expanduser('~/foo') should be replaced by foo_path.expanduser()</source> + <translation>os.path.expanduser('~/foo') debe reemplazarse por foo_path.expanduser()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="63"/> + <source>os.path.isdir('foo') should be replaced by foo_path.is_dir()</source> + <translation>os.path.isdir('foo') debe reemplazarse por foo_path.is_dir()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="66"/> + <source>os.path.isfile('foo') should be replaced by foo_path.is_file()</source> + <translation>os.path.isfile('foo') debe reemplazarse por foo_path.is_file()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="69"/> + <source>os.path.islink('foo') should be replaced by foo_path.is_symlink()</source> + <translation>os.path.islink('foo') debe reemplazarse por foo_path.is_symlink()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="72"/> + <source>os.path.isabs('foo') should be replaced by foo_path.is_absolute()</source> + <translation>os.path.isabs('foo') debe reemplazarse por foo_path.is_absolute()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="75"/> + <source>os.path.join('foo', 'bar') should be replaced by foo_path / 'bar'</source> + <translation>os.path.join('foo', 'bar') debe reemplazarse por foo_path / 'bar'</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="79"/> + <source>os.path.basename('foo/bar') should be replaced by bar_path.name</source> + <translation>os.path.basename('foo/bar') debe reemplazarse por bar_path.name</translation> + </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>os.path.dirname('foo/bar') debe reemplazarse por bar_path.parent</translation> + </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>os.path.samefile('foo', 'bar') debe reemplazarse por foo_path.samefile(bar_path)</translation> + </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>os.path.splitext('foo.bar') debe reemplazarse por foo_path.suffix</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="93"/> + <source>open('foo') should be replaced by Path('foo').open()</source> + <translation>open('foo') debe reemplazarse por Path('foo').open()</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py" line="97"/> + <source>py.path.local is in maintenance mode, use pathlib instead</source> + <translation>py.path.local está en modo de mantenimiento, usar pathlib en su lugar</translation> + </message> +</context> +<context> <name>PersonalDataDialog</name> <message> <location filename="../WebBrowser/PersonalInformationManager/PersonalDataDialog.ui" line="14"/>