--- a/eric7/i18n/eric7_ru.ts Tue Nov 09 19:33:55 2021 +0100 +++ b/eric7/i18n/eric7_ru.ts Tue Nov 09 19:34:26 2021 +0100 @@ -10253,7 +10253,7 @@ <translation>Раскомментировать</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>Генерировать строки документации</translation> @@ -10486,7 +10486,7 @@ <translation>Проверка орфографии</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>Проверка орфографии...</translation> @@ -10547,7 +10547,7 @@ <translation>Редактировать точку останова...</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>Установить точку останова</translation> @@ -10791,324 +10791,324 @@ <translation>Список дополнений источника '{0}' уже зарегистрирован. Повторный запрос проигнорирован.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5306" /> + <location filename="../QScintilla/Editor.py" line="5305" /> <source>Call-Tips Provider</source> <translation>Источник всплывающих подсказок</translation> </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>Источник всплывающих подсказок '{0}' уже зарегистрирован. Повторный запрос проигнорирован.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5726" /> + <location filename="../QScintilla/Editor.py" line="5725" /> <source>Disable breakpoint</source> <translation>Убрать точку останова</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6092" /> + <source>Code Coverage</source> + <translation>Покрытие кода</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6093" /> - <source>Code Coverage</source> - <translation>Покрытие кода</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6094" /> <source>Please select a coverage file</source> <translation>Пожалуйста, выберите файл покрытия</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6155" /> + <location filename="../QScintilla/Editor.py" line="6148" /> + <source>Show Code Coverage Annotations</source> + <translation>Показать аннотации по покрытию кода</translation> + </message> + <message> + <location filename="../QScintilla/Editor.py" line="6149" /> + <source>All lines have been covered.</source> + <translation>Все строки были охвачены.</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6156" /> - <location filename="../QScintilla/Editor.py" line="6149" /> - <source>Show Code Coverage Annotations</source> - <translation>Показать аннотации по покрытию кода</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6150" /> - <source>All lines have been covered.</source> - <translation>Все строки были охвачены.</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6157" /> <source>There is no coverage file available.</source> <translation>Нет доступного файла покрытия.</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6272" /> + <source>Profile Data</source> + <translation>Данные профайлера</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6273" /> - <source>Profile Data</source> - <translation>Данные профайлера</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6274" /> <source>Please select a profile file</source> <translation>Пожалуйста, выберите файл профиля</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6434" /> + <location filename="../QScintilla/Editor.py" line="6428" /> + <source>Syntax Error</source> + <translation>Синтаксическая ошибка</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6435" /> - <location filename="../QScintilla/Editor.py" line="6429" /> - <source>Syntax Error</source> - <translation>Синтаксическая ошибка</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6436" /> <source>No syntax error message available.</source> <translation>Нет сообщения о синтаксической ошибке.</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6646" /> + <location filename="../QScintilla/Editor.py" line="6640" /> + <source>Warning</source> + <translation>Предупреждение</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6647" /> - <location filename="../QScintilla/Editor.py" line="6641" /> - <source>Warning</source> - <translation>Предупреждение</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6648" /> <source>No warning messages available.</source> <translation>Нет предупреждающего сообщения.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6708" /> + <location filename="../QScintilla/Editor.py" line="6707" /> <source>Style: {0}</source> <translation>Стиль: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6711" /> + <location filename="../QScintilla/Editor.py" line="6710" /> <source>Warning: {0}</source> <translation>Предупреждение: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6718" /> + <location filename="../QScintilla/Editor.py" line="6717" /> <source>Error: {0}</source> <translation>Ошибка: {0}</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6823" /> + <source>Macro Name</source> + <translation>Имя макроса</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6824" /> - <source>Macro Name</source> - <translation>Имя макроса</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6825" /> <source>Select a macro name:</source> <translation>Задайте имя макроса:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6852" /> + <location filename="../QScintilla/Editor.py" line="6851" /> <source>Load macro file</source> <translation>Загрузить макрос</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>Макросы (*.macro)</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6873" /> + <location filename="../QScintilla/Editor.py" line="6864" /> + <source>Error loading macro</source> + <translation>Ошибка при загрузке макроса</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>Невозможно прочитать файл с макросами: <b>{0}</b>.</p></translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6874" /> - <location filename="../QScintilla/Editor.py" line="6865" /> - <source>Error loading macro</source> - <translation>Ошибка при загрузке макроса</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>Невозможно прочитать файл с макросами: <b>{0}</b>.</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>Файл с макросами <b>{0}</b> повреждён.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6894" /> + <location filename="../QScintilla/Editor.py" line="6893" /> <source>Save macro file</source> <translation>Сохранить файл с макросами</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6910" /> + <source>Save macro</source> + <translation>Сохранить макрос</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6911" /> - <source>Save macro</source> - <translation>Сохранить макрос</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>Макро <b>{0}</b> уже существует. Переписать?</p></translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6925" /> + <source>Error saving macro</source> + <translation>Ошибка при сохранении макроса</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6926" /> - <source>Error saving macro</source> - <translation>Ошибка при сохранении макроса</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>Невозможно сохранить файл с макросами: <b>{0}</b>.</p></translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6938" /> + <source>Start Macro Recording</source> + <translation>Начать запись макроса</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6939" /> - <source>Start Macro Recording</source> - <translation>Начать запись макроса</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6940" /> <source>Macro recording is already active. Start new?</source> <translation>Запись макроса уже идёт. Начать новую запись?</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="6964" /> + <source>Macro Recording</source> + <translation>Запись макроса</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="6965" /> - <source>Macro Recording</source> - <translation>Запись макроса</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="6966" /> <source>Enter name of the macro:</source> <translation>Задайте имя макроса:</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><p>Файл <b>{0}</b> был изменён, будучи открытым в eric. Перепрочесть?</p></translation> </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>Предупреждение:</b> При переоткрытии все изменения будут потеряны.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7130" /> + <location filename="../QScintilla/Editor.py" line="7129" /> <source>File changed</source> <translation>Файл изменен</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7181" /> + <location filename="../QScintilla/Editor.py" line="7180" /> <source>{0} (ro)</source> <translation>{0} (только чтение)</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7477" /> + <source>Drop Error</source> + <translation>Ошибка Drag&&Drop</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7478" /> - <source>Drop Error</source> - <translation>Ошибка Drag&&Drop</translation> - </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> не является файлом.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7497" /> + <location filename="../QScintilla/Editor.py" line="7496" /> <source>Resources</source> <translation>Ресурсы</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7500" /> + <location filename="../QScintilla/Editor.py" line="7499" /> <source>Add file...</source> <translation>Добавить файл...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7502" /> + <location filename="../QScintilla/Editor.py" line="7501" /> <source>Add files...</source> <translation>Добавить файлы...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7504" /> + <location filename="../QScintilla/Editor.py" line="7503" /> <source>Add aliased file...</source> <translation>Добавить файл под другим именем...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7507" /> + <location filename="../QScintilla/Editor.py" line="7506" /> <source>Add localized resource...</source> <translation>Добавить локализованный ресурс...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7511" /> + <location filename="../QScintilla/Editor.py" line="7510" /> <source>Add resource frame</source> <translation>Добавить фрагмент ресурсов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7531" /> + <location filename="../QScintilla/Editor.py" line="7530" /> <source>Add file resource</source> <translation>Добавить файл ресурсов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7547" /> + <location filename="../QScintilla/Editor.py" line="7546" /> <source>Add file resources</source> <translation>Добавить файлы ресурсов</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7573" /> + <location filename="../QScintilla/Editor.py" line="7566" /> + <source>Add aliased file resource</source> + <translation>Добавить файл ресурсов под другим именем</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7574" /> - <location filename="../QScintilla/Editor.py" line="7567" /> - <source>Add aliased file resource</source> - <translation>Добавить файл ресурсов под другим именем</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7575" /> <source>Alias for file <b>{0}</b>:</source> <translation>Другое имя для файла <b>{0}</b>:</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7639" /> + <source>Package Diagram</source> + <translation>Диаграмма пакетов</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7640" /> - <source>Package Diagram</source> - <translation>Диаграмма пакетов</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7641" /> <source>Include class attributes?</source> <translation>Включать атрибуты класса?</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7658" /> + <source>Imports Diagram</source> + <translation>Диаграмма импортов</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7659" /> - <source>Imports Diagram</source> - <translation>Диаграмма импортов</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7660" /> <source>Include imports from external modules?</source> <translation>Включать импорты из внешних модулей?</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="7672" /> + <source>Application Diagram</source> + <translation>Диаграмма приложения</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="7673" /> - <source>Application Diagram</source> - <translation>Диаграмма приложения</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="7674" /> <source>Include module names?</source> <translation>Включать имена модулей?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8003" /> + <location filename="../QScintilla/Editor.py" line="8002" /> <source>Add to dictionary</source> <translation>Добавить в словарь</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8005" /> + <location filename="../QScintilla/Editor.py" line="8004" /> <source>Ignore All</source> <translation>Игнорировать всё</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="8418" /> + <source>Sort Lines</source> + <translation>Сортировать строки</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="8419" /> - <source>Sort Lines</source> - <translation>Сортировать строки</translation> - </message> - <message> - <location filename="../QScintilla/Editor.py" line="8420" /> <source>The selection contains illegal data for a numerical sort.</source> <translation>Выборка содержит данные неподходящие для сортировки как числа.</translation> </message> <message> + <location filename="../QScintilla/Editor.py" line="8509" /> + <source>Register Mouse Click Handler</source> + <translation>Регистрация обработчика кликов мышки</translation> + </message> + <message> <location filename="../QScintilla/Editor.py" line="8510" /> - <source>Register Mouse Click Handler</source> - <translation>Регистрация обработчика кликов мышки</translation> - </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>Обработчик кликов мышки для "{0}" уже зарегистрирован "{1}". Запрос прерван "{2}"...</translation> </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>{0:4d} {1}</translation> </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> @@ -11116,12 +11116,12 @@ => {2}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8674" /> + <location filename="../QScintilla/Editor.py" line="8673" /> <source>EditorConfig Properties</source> <translation>Свойства EditorConfig</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="8675" /> + <location filename="../QScintilla/Editor.py" line="8674" /> <source><p>The EditorConfig properties for file <b>{0}</b> could not be loaded.</p></source> <translation><p>Не удается загрузить свойства EditorConfig для файла <b>{0}</b>.</p></translation> </message> @@ -50394,72 +50394,92 @@ <translation>os.stat('foo') следует заменить на foo_path.stat() или foo_path.owner() или 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') следует заменить на 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') следует заменить на foo_path.exists()</translation> + <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>os.path.abspath('foo') следует заменить на foo_path.resolve()</translation> + </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>os.path.exists('foo') следует заменить на foo_path.exists()</translation> + </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>os.path.expanduser('~/foo') следует заменить на foo_path.expanduser()</translation> </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>os.path.isdir('foo') следует заменить на foo_path.is_dir()</translation> </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>os.path.isfile('foo') следует заменить на foo_path.is_file()</translation> </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>os.path.islink('foo') следует заменить на foo_path.is_symlink()</translation> </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>os.path.isabs('foo') следует заменить на foo_path.is_absolute()</translation> </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>os.path.join('foo', 'bar') следует заменить на foo_path / 'bar'</translation> </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>os.path.basename('foo/bar') следует заменить на 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.basename('foo/bar') следует заменить на bar_path.name</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') следует заменить на 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') следует заменить на foo_path.suffix</translation> - </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>os.path.basename('foo/bar') следует заменить на bar_path.name</translation> + </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>os.path.samefile('foo', 'bar') следует заменить на foo_path.samefile(bar_path)</translation> + </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>os.path.splitext('foo.bar') следует заменить на foo_path.suffix</translation> + </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>open('foo') следует заменить на Path('foo').open()</translation> </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>py.path.local находится в режиме обслуживания, вместо этого используйте pathlib</translation> </message>