1# SOME DESCRIPTIVE TITLE. 2# Copyright (C) Kovid Goyal 3# This file is distributed under the same license as the calibre package. 4# 5# Translators: 6# Aleksandr Ryzhov, 2016 7# ashed <craysy@gmail.com>, 2020-2021 8# Dmitry <dmitry@shishkin.us>, 2016 9# Alexander Filёv, 2015 10# Николай Кочкин <urfiner@gmail.com>, 2015 11# Родион Р., 2020 12msgid "" 13msgstr "" 14"Project-Id-Version: calibre\n" 15"Report-Msgid-Bugs-To: \n" 16"POT-Creation-Date: 2021-12-16 10:49+0000\n" 17"PO-Revision-Date: 2021-12-04 18:17+0000\n" 18"Last-Translator: ashed <craysy@gmail.com>\n" 19"Language-Team: Russian (http://www.transifex.com/calibre/calibre/language/ru/)\n" 20"MIME-Version: 1.0\n" 21"Content-Type: text/plain; charset=UTF-8\n" 22"Content-Transfer-Encoding: 8bit\n" 23"Language: ru\n" 24"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 25 26#: ../../__w/calibre/calibre/manual/plugins.rst:4 27msgid "API documentation for plugins" 28msgstr "Документация API плагинов" 29 30#: ../../__w/calibre/calibre/manual/plugins.rst:9 31msgid "" 32"Defines various abstract base classes that can be subclassed to create " 33"powerful plugins. The useful classes are:" 34msgstr "Определяет различные абстрактные основные классы, которые можно разделить на подклассы, для создания эффективных плагинов. К полезным классам относятся:" 35 36#: ../../__w/calibre/calibre/manual/plugins.rst:19 37msgid "Plugin" 38msgstr "Плагин" 39 40#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 41#: calibre.customize.Plugin:1 42msgid "A calibre plugin. Useful members include:" 43msgstr "Плагин calibre. Среди полезных членов:" 44 45#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 46#: calibre.customize.Plugin:3 47msgid "``self.installation_type``: Stores how the plugin was installed." 48msgstr "``self.installation_type``: Сохраняет способ установки плагина." 49 50#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 51#: calibre.customize.Plugin:5 52msgid "``self.plugin_path``: Stores path to the ZIP file that contains" 53msgstr "``self.plugin_path``: Сохраняет путь к содержащему его ZIP-файлу" 54 55#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 56#: calibre.customize.Plugin:5 57msgid "this plugin or None if it is a builtin plugin" 58msgstr "этот плагин или None, если это встроенный плагин" 59 60#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 61#: calibre.customize.Plugin:8 62msgid "``self.site_customization``: Stores a customization string entered" 63msgstr "``self.site_customization``: Сохраняет введенную строку настройки" 64 65#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 66#: calibre.customize.Plugin:8 67msgid "by the user." 68msgstr "пользователем." 69 70#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 71#: calibre.customize.Plugin:10 72msgid "Methods that should be overridden in sub classes:" 73msgstr "Методы, которые необходимо переопределить в подклассах:" 74 75#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 76#: calibre.customize.Plugin:12 77msgid ":meth:`initialize`" 78msgstr ":meth:`initialize`" 79 80#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 81#: calibre.customize.Plugin:13 82msgid ":meth:`customization_help`" 83msgstr ":meth:`customization_help`" 84 85#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 86#: calibre.customize.Plugin:15 87msgid "Useful methods:" 88msgstr "Полезные методы:" 89 90#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 91#: calibre.customize.Plugin:17 92msgid ":meth:`temporary_file`" 93msgstr ":meth:`temporary_file`" 94 95#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 96#: calibre.customize.Plugin:18 97msgid ":meth:`__enter__`" 98msgstr ":meth:`__enter__`" 99 100#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 101#: calibre.customize.Plugin:19 102msgid ":meth:`load_resources`" 103msgstr ":meth:`load_resources`" 104 105#: ../../__w/calibre/calibre/manual/docstring of 106#: calibre.customize.Plugin.supported_platforms:1 107msgid "" 108"List of platforms this plugin works on. For example: ``['windows', 'osx', " 109"'linux']``" 110msgstr "Список платформ, на которых работает этот плагин. Например: ``['windows', 'osx', 'linux']``" 111 112#: ../../__w/calibre/calibre/manual/docstring of 113#: calibre.customize.Plugin.name:1 114msgid "" 115"The name of this plugin. You must set it something other than Trivial Plugin" 116" for it to work." 117msgstr "Название этого плагина. Вы должны установить для него что-то другое, кроме Trivial Plugin, чтобы он работал." 118 119#: ../../__w/calibre/calibre/manual/docstring of 120#: calibre.customize.Plugin.version:1 121msgid "The version of this plugin as a 3-tuple (major, minor, revision)" 122msgstr "Версия этого плагина в виде трех кортежей (основная, дополнительная, ревизия)" 123 124#: ../../__w/calibre/calibre/manual/docstring of 125#: calibre.customize.Plugin.description:1 126msgid "A short string describing what this plugin does" 127msgstr "Короткая строка, описывающая, что делает этот плагин" 128 129#: ../../__w/calibre/calibre/manual/docstring of 130#: calibre.customize.Plugin.author:1 131msgid "The author of this plugin" 132msgstr "Автор этого плагина" 133 134#: ../../__w/calibre/calibre/manual/docstring of 135#: calibre.customize.Plugin.priority:1 136msgid "" 137"When more than one plugin exists for a filetype, the plugins are run in " 138"order of decreasing priority. Plugins with higher priority will be run " 139"first. The highest possible priority is ``sys.maxsize``. Default priority is" 140" 1." 141msgstr "Если для одного типа файла существует несколько подключаемых модулей, они запускаются в порядке убывания приоритета. Плагины с более высоким приоритетом будут запущены первыми. Максимально возможный приоритет - ``sys.maxsize``. Приоритет по умолчанию = 1." 142 143#: ../../__w/calibre/calibre/manual/docstring of 144#: calibre.customize.Plugin.minimum_calibre_version:1 145msgid "The earliest version of calibre this plugin requires" 146msgstr "Минимальная требуемая для этого плагина версия calibre" 147 148#: ../../__w/calibre/calibre/manual/docstring of 149#: calibre.customize.Plugin.installation_type:1 150msgid "The way this plugin is installed" 151msgstr "Способ установки этого плагина" 152 153#: ../../__w/calibre/calibre/manual/docstring of 154#: calibre.customize.Plugin.can_be_disabled:1 155msgid "" 156"If False, the user will not be able to disable this plugin. Use with care." 157msgstr "При False пользователь не сможет отключить этот плагин. Используйте с осторожностью." 158 159#: ../../__w/calibre/calibre/manual/docstring of 160#: calibre.customize.Plugin.type:1 161msgid "The type of this plugin. Used for categorizing plugins in the GUI" 162msgstr "Тип плагина. Используется для категоризации в графической оболочке. " 163 164#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 165#: calibre.customize.Plugin.initialize:1 166msgid "" 167"Called once when calibre plugins are initialized. Plugins are re-" 168"initialized every time a new plugin is added. Also note that if the plugin " 169"is run in a worker process, such as for adding books, then the plugin will " 170"be initialized for every new worker process." 171msgstr "Вызывается один раз при инициализации подключаемых модулей calibre. Плагины повторно инициализируются каждый раз, когда добавляется новый плагин. Также обратите внимание, что если плагин запускается в рабочем процессе, например, для добавления книг, то плагин будет инициализирован для каждого нового рабочего процесса." 172 173#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 174#: calibre.customize.Plugin.initialize:6 175msgid "" 176"Perform any plugin specific initialization here, such as extracting " 177"resources from the plugin ZIP file. The path to the ZIP file is available as" 178" ``self.plugin_path``." 179msgstr "Выполните здесь любую инициализацию конкретного плагина, например, извлечение ресурсов из ZIP-файла плагина. Путь к ZIP-файлу доступен как ``self.plugin_path``." 180 181#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 182#: calibre.customize.Plugin.initialize:10 183msgid "" 184"Note that ``self.site_customization`` is **not** available at this point." 185msgstr "Обратите внимание, что на данном этапе ``self.site_customization`` сейчас **недоступен**." 186 187#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 188#: calibre.customize.Plugin.config_widget:1 189#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 190#: of calibre.ebooks.metadata.sources.base.Source.config_widget:1 191msgid "" 192"Implement this method and :meth:`save_settings` in your plugin to use a " 193"custom configuration dialog, rather then relying on the simple string based " 194"default customization." 195msgstr "Реализуйте этот метод и :meth:`save_settings` в своем плагине, чтобы использовать настраиваемое диалоговое окно конфигурации, а не полагаться на простую настройку по умолчанию на основе строк." 196 197#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 198#: calibre.customize.Plugin.config_widget:5 199#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 200#: of calibre.ebooks.metadata.sources.base.Source.config_widget:5 201msgid "" 202"This method, if implemented, must return a QWidget. The widget can have an " 203"optional method validate() that takes no arguments and is called immediately" 204" after the user clicks OK. Changes are applied if and only if the method " 205"returns True." 206msgstr "Этот метод, если он реализован, должен возвращать QWidget. Виджет может иметь необязательный метод validate(), который не принимает аргументов и вызывается сразу после того, как пользователь нажимает кнопку ОК. Изменения применяются тогда и только тогда, когда метод возвращает True." 207 208#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 209#: calibre.customize.Plugin.config_widget:10 210#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 211#: of calibre.ebooks.metadata.sources.base.Source.config_widget:10 212msgid "" 213"If for some reason you cannot perform the configuration at this time, return" 214" a tuple of two strings (message, details), these will be displayed as a " 215"warning dialog to the user and the process will be aborted." 216msgstr "Если по какой-либо причине вы не можете выполнить настройку в это время, верните кортеж из двух строк (сообщение, подробности), они будут отображаться как диалоговое окно с предупреждением для пользователя, и процесс будет прерван." 217 218#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 219#: calibre.customize.Plugin.save_settings:1 220#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 221#: of calibre.ebooks.metadata.sources.base.Source.save_settings:1 222msgid "Save the settings specified by the user with config_widget." 223msgstr "Сохраните настройки, указанные пользователем, с помощью config_widget." 224 225#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 226#: calibre.customize.Plugin.save_settings:0 227#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 228#: calibre.customize.Plugin.load_resources:0 229#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 230#: calibre.customize.Plugin.customization_help:0 231#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 232#: calibre.customize.Plugin.temporary_file:0 233#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 234#: calibre.customize.FileTypePlugin.run:0 235#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 236#: calibre.customize.FileTypePlugin.postimport:0 237#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 238#: calibre.customize.FileTypePlugin.postadd:0 239#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 240#: calibre.customize.MetadataReaderPlugin.get_metadata:0 241#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 242#: calibre.customize.MetadataWriterPlugin.set_metadata:0 243#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 244#: calibre.customize.CatalogPlugin.run:0 245#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 246#: of calibre.ebooks.metadata.sources.base.Source.customization_help:0 247#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 248#: of calibre.ebooks.metadata.sources.base.Source.save_settings:0 249#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 250#: of calibre.ebooks.metadata.sources.base.Source.identify:0 251#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 252#: calibre.customize.conversion.InputFormatPlugin.convert:0 253#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 254#: calibre.customize.conversion.OutputFormatPlugin.convert:0 255#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 256#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:0 257#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 258#: calibre.devices.interface.DevicePlugin.is_usb_connected:0 259#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 260#: calibre.devices.interface.DevicePlugin.detect_managed_devices:0 261#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 262#: calibre.devices.interface.DevicePlugin.reset:0 263#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 264#: calibre.devices.interface.DevicePlugin.can_handle_windows:0 265#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 266#: calibre.devices.interface.DevicePlugin.can_handle:0 267#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 268#: calibre.devices.interface.DevicePlugin.open:0 269#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 270#: calibre.devices.interface.DevicePlugin.set_progress_reporter:0 271#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 272#: calibre.devices.interface.DevicePlugin.books:0 273#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 274#: calibre.devices.interface.DevicePlugin.upload_books:0 275#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 276#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:0 277#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 278#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:0 279#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 280#: calibre.devices.interface.DevicePlugin.sync_booklists:0 281#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 282#: calibre.devices.interface.DevicePlugin.get_file:0 283#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 284#: calibre.devices.interface.BookList.get_collections:0 285#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 286#: calibre.devices.usbms.device.Device.reset:0 287#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 288#: calibre.devices.usbms.device.Device.set_progress_reporter:0 289#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 290#: calibre.devices.usbms.device.Device.can_handle_windows:0 291#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 292#: calibre.devices.usbms.device.Device.open:0 293#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 294#: calibre.devices.usbms.driver.USBMS.books:0 295#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 296#: calibre.devices.usbms.driver.USBMS.upload_books:0 297#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 298#: calibre.devices.usbms.driver.USBMS.upload_cover:0 299#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 300#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:0 301#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 302#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:0 303#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 304#: calibre.devices.usbms.driver.USBMS.sync_booklists:0 305#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 306#: calibre.gui2.actions.InterfaceAction.create_menu_action:0 307#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 308#: calibre.gui2.actions.InterfaceAction.load_resources:0 309#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 310#: calibre.gui2.actions.InterfaceAction.library_changed:0 311#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 312#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:0 313#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 314#: of calibre.gui2.preferences.ConfigWidgetBase.register:0 315msgid "Parameters" 316msgstr "Параметры" 317 318#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 319#: calibre.customize.Plugin.save_settings:3 320#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 321#: of calibre.ebooks.metadata.sources.base.Source.save_settings:3 322msgid "The widget returned by :meth:`config_widget`." 323msgstr "Виджет, возвращаемый :meth:`config_widget`." 324 325#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 326#: calibre.customize.Plugin.do_user_config:1 327msgid "" 328"This method shows a configuration dialog for this plugin. It returns True if" 329" the user clicks OK, False otherwise. The changes are automatically applied." 330msgstr "Этот метод показывает диалог конфигурации для этого плагина. Он возвращает True, если пользователь нажимает OK, в противном случае - False. Изменения применяются автоматически." 331 332#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 333#: calibre.customize.Plugin.load_resources:1 334#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 335#: calibre.gui2.actions.InterfaceAction.load_resources:1 336msgid "" 337"If this plugin comes in a ZIP file (user added plugin), this method will " 338"allow you to load resources from the ZIP file." 339msgstr "Если этот плагин поставляется в виде ZIP-файла (плагин, добавленный пользователем), этот метод позволит вам загружать ресурсы из ZIP-файла." 340 341#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 342#: calibre.customize.Plugin.load_resources:4 343#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 344#: calibre.gui2.actions.InterfaceAction.load_resources:4 345msgid "For example to load an image::" 346msgstr "Например, чтобы загрузить изображение::" 347 348#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 349#: calibre.customize.Plugin.load_resources:10 350#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 351#: calibre.gui2.actions.InterfaceAction.load_resources:10 352msgid "List of paths to resources in the ZIP file using / as separator" 353msgstr "Список путей к ресурсам в ZIP-файле с использованием разделителя /" 354 355#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 356#: calibre.customize.Plugin.load_resources:0 357#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 358#: calibre.customize.FileTypePlugin.run:0 359#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 360#: calibre.customize.MetadataReaderPlugin.get_metadata:0 361#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 362#: of calibre.ebooks.metadata.sources.base.Source.identify:0 363#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 364#: calibre.devices.interface.DevicePlugin.get_device_information:0 365#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 366#: calibre.devices.interface.DevicePlugin.total_space:0 367#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 368#: calibre.devices.interface.DevicePlugin.free_space:0 369#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 370#: calibre.devices.interface.DevicePlugin.books:0 371#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 372#: calibre.devices.interface.DevicePlugin.upload_books:0 373#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 374#: calibre.devices.interface.DevicePlugin.set_plugboards:0 375#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 376#: calibre.devices.usbms.device.Device.total_space:0 377#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 378#: calibre.devices.usbms.device.Device.free_space:0 379#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 380#: calibre.devices.usbms.driver.USBMS.get_device_information:0 381#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 382#: calibre.devices.usbms.driver.USBMS.books:0 383#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 384#: calibre.devices.usbms.driver.USBMS.upload_books:0 385#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 386#: calibre.gui2.actions.InterfaceAction.load_resources:0 387msgid "Returns" 388msgstr "Возврат" 389 390#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 391#: calibre.customize.Plugin.load_resources:12 392msgid "" 393"A dictionary of the form ``{name: file_contents}``. Any names that were not " 394"found in the ZIP file will not be present in the dictionary." 395msgstr "Словарь вида ``{name: file_contents}``. Любые имена, которые не были найдены в ZIP-файле, не будут представлены в словаре." 396 397#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 398#: calibre.customize.Plugin.customization_help:1 399#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 400#: of calibre.ebooks.metadata.sources.base.Source.customization_help:1 401msgid "" 402"Return a string giving help on how to customize this plugin. By default " 403"raise a :class:`NotImplementedError`, which indicates that the plugin does " 404"not require customization." 405msgstr "Вернуть строку с информацией о том, как настроить этот плагин. По умолчанию вызывается :class:`NotImplementedError`, что указывает на то, что плагин не требует настройки." 406 407#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 408#: calibre.customize.Plugin.customization_help:5 409#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 410#: of calibre.ebooks.metadata.sources.base.Source.customization_help:5 411msgid "" 412"If you re-implement this method in your subclass, the user will be asked to " 413"enter a string as customization for this plugin. The customization string " 414"will be available as ``self.site_customization``." 415msgstr "Если вы повторно реализуете этот метод в своем подклассе, пользователю будет предложено ввести строку в качестве настройки для этого плагина. Строка настройки будет доступна как ``self.site_customization``." 416 417#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 418#: calibre.customize.Plugin.customization_help:10 419#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 420#: of calibre.ebooks.metadata.sources.base.Source.customization_help:10 421msgid "" 422"Site customization could be anything, for example, the path to a needed " 423"binary on the user's computer." 424msgstr "Настройкой сайта может быть что угодно, например, путь к необходимому двоичному файлу на компьютере пользователя." 425 426#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 427#: calibre.customize.Plugin.customization_help:13 428#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 429#: of calibre.ebooks.metadata.sources.base.Source.customization_help:13 430msgid "If True return HTML help, otherwise return plain text help." 431msgstr "Если True, вернуть HTML-справку, иначе вернуть текстовую справку." 432 433#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 434#: calibre.customize.Plugin.temporary_file:1 435msgid "" 436"Return a file-like object that is a temporary file on the file system. This " 437"file will remain available even after being closed and will only be removed " 438"on interpreter shutdown. Use the ``name`` member of the returned object to " 439"access the full path to the created temporary file." 440msgstr "Возвращает файловый объект, который является временным файлом в файловой системе. Этот файл останется доступным даже после закрытия и будет удален только при завершении работы интерпретатора. Используйте член ``name`` возвращаемого объекта, чтобы получить полный путь к созданному временному файлу" 441 442#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 443#: calibre.customize.Plugin.temporary_file:6 444msgid "The suffix that the temporary file will have." 445msgstr "Суффикс временного файла." 446 447#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 448#: calibre.customize.Plugin.cli_main:1 449msgid "" 450"This method is the main entry point for your plugins command line interface." 451" It is called when the user does: calibre-debug -r \"Plugin Name\". Any " 452"arguments passed are present in the args variable." 453msgstr "Этот метод является основной точкой входа для интерфейса командной строки ваших плагинов. Он вызывается, когда пользователь делает: calibre-debug -r \"Plugin Name\". Любые переданные аргументы присутствуют в переменной args." 454 455#: ../../__w/calibre/calibre/manual/plugins.rst:28 456msgid "FileTypePlugin" 457msgstr "FileTypePlugin" 458 459#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 460#: calibre.customize.FileTypePlugin:1 461#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 462#: calibre.customize.MetadataReaderPlugin:1 463#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 464#: calibre.customize.MetadataWriterPlugin:1 465#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 466#: calibre.customize.CatalogPlugin:1 467#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 468#: of calibre.ebooks.metadata.sources.base.Source:1 469#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 470#: calibre.customize.conversion.InputFormatPlugin:1 471#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 472#: calibre.customize.conversion.OutputFormatPlugin:1 473#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 474#: calibre.devices.interface.DevicePlugin:1 475#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 476#: calibre.customize.InterfaceActionBase:1 477#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 478#: calibre.customize.PreferencesPlugin:1 479msgid "Bases: :py:class:`calibre.customize.Plugin`" 480msgstr "Bases: :py:class:`calibre.customize.Plugin`" 481 482#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 483#: calibre.customize.FileTypePlugin:1 484msgid "A plugin that is associated with a particular set of file types." 485msgstr "Плагин, связанный с определенным набором типов файлов." 486 487#: ../../__w/calibre/calibre/manual/docstring of 488#: calibre.customize.FileTypePlugin.file_types:1 489msgid "" 490"Set of file types for which this plugin should be run. Use '*' for all file " 491"types. For example: ``{'lit', 'mobi', 'prc'}``" 492msgstr "Набор типов файлов, для которых следует запускать этот плагин. Используйте '*' для всех типов файлов. Например: ``{'lit', 'mobi', 'prc'}``" 493 494#: ../../__w/calibre/calibre/manual/docstring of 495#: calibre.customize.FileTypePlugin.on_import:1 496msgid "If True, this plugin is run when books are added to the database" 497msgstr "Если True, этот плагин запускается при добавлении книг в базу данных" 498 499#: ../../__w/calibre/calibre/manual/docstring of 500#: calibre.customize.FileTypePlugin.on_postimport:1 501msgid "" 502"If True, this plugin is run after books are added to the database. In this " 503"case the postimport and postadd methods of the plugin are called." 504msgstr "Если True, этот плагин запускается после добавления книг в базу данных. В этом случае вызываются методы плагина postimport и postadd." 505 506#: ../../__w/calibre/calibre/manual/docstring of 507#: calibre.customize.FileTypePlugin.on_preprocess:1 508msgid "If True, this plugin is run just before a conversion" 509msgstr "Если True, этот плагин запускается непосредственно перед конвертацией." 510 511#: ../../__w/calibre/calibre/manual/docstring of 512#: calibre.customize.FileTypePlugin.on_postprocess:1 513msgid "" 514"If True, this plugin is run after conversion on the final file produced by " 515"the conversion output plugin." 516msgstr "Если True, этот плагин запускается после конвертации в финальный файл, созданный плагином вывода конвертации." 517 518#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 519#: calibre.customize.FileTypePlugin.run:1 520msgid "" 521"Run the plugin. Must be implemented in subclasses. It should perform " 522"whatever modifications are required on the e-book and return the absolute " 523"path to the modified e-book. If no modifications are needed, it should " 524"return the path to the original e-book. If an error is encountered it should" 525" raise an Exception. The default implementation simply return the path to " 526"the original e-book. Note that the path to the original file (before any " 527"file type plugins are run, is available as self.original_path_to_file)." 528msgstr "Запустить плагин. Должен быть реализован в подклассах. Он должен выполнить все необходимые изменения в электронной книге и вернуть абсолютный путь к измененной электронной книге. Если никаких изменений не требуется, он должен вернуть путь к исходной электронной книге. Если обнаружена ошибка, должно возникнуть исключение. Реализация по умолчанию просто возвращает путь к исходной электронной книге. Обратите внимание, что путь к исходному файлу (до запуска плагинов любого типа файла доступен как self.original_path_to_file)." 529 530#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 531#: calibre.customize.FileTypePlugin.run:11 532msgid "" 533"The modified e-book file should be created with the :meth:`temporary_file` " 534"method." 535msgstr "Изменённый файл электронной книги должен быть создан с помощью метода :meth:`temporary_file`" 536 537#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 538#: calibre.customize.FileTypePlugin.run:14 539msgid "Absolute path to the e-book." 540msgstr "Абсолютный путь к электронной книге." 541 542#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 543#: calibre.customize.FileTypePlugin.run:16 544msgid "Absolute path to the modified e-book." 545msgstr "Абсолютный путь к изменённой электронной книге." 546 547#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 548#: calibre.customize.FileTypePlugin.postimport:1 549msgid "" 550"Called post import, i.e., after the book file has been added to the " 551"database. Note that this is different from :meth:`postadd` which is called " 552"when the book record is created for the first time. This method is called " 553"whenever a new file is added to a book record. It is useful for modifying " 554"the book record based on the contents of the newly added file." 555msgstr "Вызывается пост-импортом, т.е. после того, как файл книги был добавлен в базу данных. Обратите внимание, что это отличается от :meth:`postadd`, который вызывается при первом создании записи книги. Этот метод вызывается всякий раз, когда новый файл добавляется к записи книги. Полезно для изменения записи книги на основе содержимого вновь добавленного файла." 556 557#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 558#: calibre.customize.FileTypePlugin.postimport:6 559#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 560#: calibre.customize.FileTypePlugin.postadd:8 561msgid "Database id of the added book." 562msgstr "Идентификатор базы данных добавленной книги." 563 564#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 565#: calibre.customize.FileTypePlugin.postimport:7 566msgid "The file type of the book that was added." 567msgstr "Тип файла добавленной книги." 568 569#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 570#: calibre.customize.FileTypePlugin.postimport:8 571msgid "Library database." 572msgstr "Библиотека базы данных." 573 574#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 575#: calibre.customize.FileTypePlugin.postadd:1 576msgid "" 577"Called post add, i.e. after a book has been added to the db. Note that this " 578"is different from :meth:`postimport`, which is called after a single book " 579"file has been added to a book. postadd() is called only when an entire book " 580"record with possibly more than one book file has been created for the first " 581"time. This is useful if you wish to modify the book record in the database " 582"when the book is first added to calibre." 583msgstr "Вызывается post add, т.е. после того, как книга была добавлена в БД. Обратите внимание, что это отличается от :meth:`postimport`, который вызывается после того, как в книгу был добавлен отдельный файл книги. postadd() вызывается только тогда, когда вся запись книги, возможно, с более чем одним файлом книги, была создана впервые. Это полезно, если вы хотите изменить запись книги в базе данных при первом добавлении книги в calibre" 584 585#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 586#: calibre.customize.FileTypePlugin.postadd:9 587msgid "" 588"Map of file format to path from which the file format was added. Note that " 589"this might or might not point to an actual existing file, as sometimes files" 590" are added as streams. In which case it might be a dummy value or a non-" 591"existent path." 592msgstr "Сопоставление формата файла с путем, из которого был добавлен формат файла. Обратите внимание, что это может указывать, а может и не указывать на существующий файл, поскольку иногда файлы добавляются в виде потоков. В этом случае это может быть фиктивное значение или несуществующий путь." 593 594#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 595#: calibre.customize.FileTypePlugin.postadd:13 596msgid "Library database" 597msgstr "База данных библиотеки" 598 599#: ../../__w/calibre/calibre/manual/plugins.rst:39 600msgid "Metadata plugins" 601msgstr "Плагины метаданных" 602 603#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 604#: calibre.customize.MetadataReaderPlugin:1 605#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 606#: calibre.customize.MetadataWriterPlugin:1 607msgid "A plugin that implements reading metadata from a set of file types." 608msgstr "Плагин, реализующий чтение метаданных из набора типов файлов." 609 610#: ../../__w/calibre/calibre/manual/docstring of 611#: calibre.customize.MetadataReaderPlugin.file_types:1 612#: ../../__w/calibre/calibre/manual/docstring of 613#: calibre.customize.MetadataWriterPlugin.file_types:1 614msgid "" 615"Set of file types for which this plugin should be run. For example: " 616"``set(['lit', 'mobi', 'prc'])``" 617msgstr "Набор типов файлов, для которых следует запускать этот плагин. Например: ``set(['lit', 'mobi', 'prc'])``" 618 619#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 620#: calibre.customize.MetadataReaderPlugin.get_metadata:1 621msgid "" 622"Return metadata for the file represented by stream (a file like object that " 623"supports reading). Raise an exception when there is an error with the input " 624"data." 625msgstr "Возвращает метаданные для файла, представленного потоком (объект, подобный файлу, который поддерживает чтение). Вызывает исключение при ошибке во входных данных." 626 627#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 628#: calibre.customize.MetadataReaderPlugin.get_metadata:5 629#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 630#: calibre.customize.MetadataWriterPlugin.set_metadata:5 631msgid "" 632"The type of file. Guaranteed to be one of the entries in :attr:`file_types`." 633msgstr "Тип файла. Гарантированно будет одной из записей в :attr:`file_types`." 634 635#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 636#: calibre.customize.MetadataReaderPlugin.get_metadata:7 637#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 638#: calibre.customize.MetadataWriterPlugin.set_metadata:7 639msgid "A :class:`calibre.ebooks.metadata.book.Metadata` object" 640msgstr "Объект :class:`calibre.ebooks.metadata.book.Metadata`" 641 642#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 643#: calibre.customize.MetadataWriterPlugin.set_metadata:1 644msgid "" 645"Set metadata for the file represented by stream (a file like object that " 646"supports reading). Raise an exception when there is an error with the input " 647"data." 648msgstr "Установить метаданные для файла, представленного потоком (объект, подобный файлу, который поддерживает чтение). Вызвать исключение при ошибке во входных данных." 649 650#: ../../__w/calibre/calibre/manual/plugins.rst:54 651msgid "Catalog plugins" 652msgstr "Плагины каталогизации" 653 654#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 655#: calibre.customize.CatalogPlugin:1 656msgid "A plugin that implements a catalog generator." 657msgstr "Плагин, реализующий генератор каталогов." 658 659#: ../../__w/calibre/calibre/manual/docstring of 660#: calibre.customize.CatalogPlugin.file_types:1 661msgid "" 662"Output file type for which this plugin should be run. For example: 'epub' or" 663" 'xml'" 664msgstr "Тип выходного файла, для которого следует запустить этот плагин. Например: 'epub' или 'xml'." 665 666#: ../../__w/calibre/calibre/manual/docstring of 667#: calibre.customize.CatalogPlugin.cli_options:1 668msgid "" 669"CLI parser options specific to this plugin, declared as `namedtuple` " 670"`Option`:" 671msgstr "Параметры CLI парсера, специфичные для этого плагина, объявленные как `namedtuple` `Option`:" 672 673#: ../../__w/calibre/calibre/manual/docstring of 674#: calibre.customize.CatalogPlugin.cli_options:3 675msgid "" 676"from collections import namedtuple Option = namedtuple('Option', 'option, " 677"default, dest, help') cli_options = [Option('--catalog-title', default = 'My" 678" Catalog', dest = 'catalog_title', help = (_('Title of generated catalog. " 679"\\nDefault:') + \" '\" + '%default' + \"'\"))] cli_options parsed in " 680"calibre.db.cli.cmd_catalog:option_parser()" 681msgstr "из коллекций импортировать namedtuple Option = namedtuple('Option', 'option, default, dest, help') cli_options = [Option('--catalog-title', default = 'My Catalog', dest = 'catalog_title', help = (_('Title of generated catalog. \\nDefault:') + \" '\" + '%default' + \"'\"))] cli_options parsed в calibre.db.cli.cmd_catalog:option_parser()" 682 683#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 684#: calibre.customize.CatalogPlugin.initialize:1 685msgid "" 686"If plugin is not a built-in, copy the plugin's .ui and .py files from the " 687"ZIP file to $TMPDIR. Tab will be dynamically generated and added to the " 688"Catalog Options dialog in calibre.gui2.dialogs.catalog.py:Catalog" 689msgstr "Если подключаемый модуль не является встроенным, скопируйте файлы .ui и .py подключаемого модуля из ZIP-файла в $TMPDIR. Вкладка будет динамически сгенерирована и добавлена в диалог Параметры каталога в calibre.gui2.dialogs.catalog.py:Catalog." 690 691#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 692#: calibre.customize.CatalogPlugin.run:1 693msgid "" 694"Run the plugin. Must be implemented in subclasses. It should generate the " 695"catalog in the format specified in file_types, returning the absolute path " 696"to the generated catalog file. If an error is encountered it should raise an" 697" Exception." 698msgstr "Запустить плагин. Должно быть реализовано в подклассах. Он должен сгенерировать каталог в формате, указанном в file_types, и вернуть абсолютный путь к сгенерированному файлу каталога. Если обнаружена ошибка, должно возникнуть исключение." 699 700#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 701#: calibre.customize.CatalogPlugin.run:7 702msgid "" 703"The generated catalog file should be created with the :meth:`temporary_file`" 704" method." 705msgstr "Сгенерированный файл каталога должен быть создан с помощью метода :meth:`temporary_file`." 706 707#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 708#: calibre.customize.CatalogPlugin.run:10 709msgid "Absolute path to the generated catalog file." 710msgstr "Абсолютный путь к сгенерированному файлу каталога." 711 712#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 713#: calibre.customize.CatalogPlugin.run:11 714msgid "A dictionary of keyword arguments" 715msgstr "Словарь аргументов ключевых слов" 716 717#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 718#: calibre.customize.CatalogPlugin.run:12 719msgid "A LibraryDatabase2 object" 720msgstr "Объект LibraryDatabase2" 721 722#: ../../__w/calibre/calibre/manual/plugins.rst:64 723msgid "Metadata download plugins" 724msgstr "Плагины загрузки метаданных" 725 726#: ../../__w/calibre/calibre/manual/docstring of 727#: calibre.ebooks.metadata.sources.base.Source.capabilities:1 728msgid "" 729"Set of capabilities supported by this plugin. Useful capabilities are: " 730"'identify', 'cover'" 731msgstr "Набор возможностей, поддерживаемых этим плагином. Полезные возможности: 'identify', 'cover'" 732 733#: ../../__w/calibre/calibre/manual/docstring of 734#: calibre.ebooks.metadata.sources.base.Source.touched_fields:1 735msgid "" 736"List of metadata fields that can potentially be download by this plugin " 737"during the identify phase" 738msgstr "Список полей метаданных, которые потенциально могут быть загружены этим плагином на этапе идентификации" 739 740#: ../../__w/calibre/calibre/manual/docstring of 741#: calibre.ebooks.metadata.sources.base.Source.has_html_comments:1 742msgid "Set this to True if your plugin returns HTML formatted comments" 743msgstr "Установите значение True, если ваш плагин возвращает комментарии в формате HTML." 744 745#: ../../__w/calibre/calibre/manual/docstring of 746#: calibre.ebooks.metadata.sources.base.Source.supports_gzip_transfer_encoding:1 747msgid "" 748"Setting this to True means that the browser object will indicate that it " 749"supports gzip transfer encoding. This can speedup downloads but make sure " 750"that the source actually supports gzip transfer encoding correctly first" 751msgstr "Установка этого значения в True означает, что объект браузера укажет, что он поддерживает кодировку передачи gzip. Это может ускорить загрузку, но сначала убедитесь, что источник действительно поддерживает кодировку передачи gzip." 752 753#: ../../__w/calibre/calibre/manual/docstring of 754#: calibre.ebooks.metadata.sources.base.Source.ignore_ssl_errors:1 755msgid "" 756"Set this to True to ignore HTTPS certificate errors when connecting to this " 757"source." 758msgstr "Установите значение True, чтобы игнорировать ошибки сертификата HTTPS при подключении к этому источнику." 759 760#: ../../__w/calibre/calibre/manual/docstring of 761#: calibre.ebooks.metadata.sources.base.Source.cached_cover_url_is_reliable:1 762msgid "" 763"Cached cover URLs can sometimes be unreliable (i.e. the download could fail " 764"or the returned image could be bogus). If that is often the case with this " 765"source, set to False" 766msgstr "Кешированные URL-адреса обложек иногда могут быть ненадежными (т.е. загрузка может завершиться сбоем или возвращенное изображение может быть поддельным. Если такое часто случается с этим источником, установите значение False" 767 768#: ../../__w/calibre/calibre/manual/docstring of 769#: calibre.ebooks.metadata.sources.base.Source.options:1 770msgid "" 771"A list of :class:`Option` objects. They will be used to automatically " 772"construct the configuration widget for this plugin" 773msgstr "Список объектов :class:`Option`. Они будут использоваться для автоматического создания виджета конфигурации для этого плагина." 774 775#: ../../__w/calibre/calibre/manual/docstring of 776#: calibre.ebooks.metadata.sources.base.Source.config_help_message:1 777msgid "" 778"A string that is displayed at the top of the config widget for this plugin" 779msgstr "Строка, которая отображается в верхней части виджета конфигурации для этого плагина." 780 781#: ../../__w/calibre/calibre/manual/docstring of 782#: calibre.ebooks.metadata.sources.base.Source.can_get_multiple_covers:1 783msgid "If True this source can return multiple covers for a given query" 784msgstr "Если True, этот источник может вернуть несколько обложек для данного запроса." 785 786#: ../../__w/calibre/calibre/manual/docstring of 787#: calibre.ebooks.metadata.sources.base.Source.auto_trim_covers:1 788msgid "" 789"If set to True covers downloaded by this plugin are automatically trimmed." 790msgstr "Если установлено значение True, обложки, загруженные этим плагином, автоматически обрезаются." 791 792#: ../../__w/calibre/calibre/manual/docstring of 793#: calibre.ebooks.metadata.sources.base.Source.prefer_results_with_isbn:1 794msgid "" 795"If set to True, and this source returns multiple results for a query, some " 796"of which have ISBNs and some of which do not, the results without ISBNs will" 797" be ignored" 798msgstr "Если установлено значение True, и этот источник возвращает несколько результатов для запроса, с ISBN и без, результаты без ISBN будут проигнорированы." 799 800#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 801#: of calibre.ebooks.metadata.sources.base.Source.is_configured:1 802msgid "" 803"Return False if your plugin needs to be configured before it can be used. " 804"For example, it might need a username/password/API key." 805msgstr "Верните False, если ваш плагин нужно настроить, прежде чем его можно будет использовать. Например, может потребоваться имя пользователя/пароль/ключ API." 806 807#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 808#: of calibre.ebooks.metadata.sources.base.Source.get_author_tokens:1 809msgid "" 810"Take a list of authors and return a list of tokens useful for an AND search " 811"query. This function tries to return tokens in first name middle names last " 812"name order, by assuming that if a comma is in the author name, the name is " 813"in lastname, other names form." 814msgstr "Взять список авторов и вернуть список токенов, полезных для поискового запроса AND. Эта функция пытается вернуть токены в порядке имени, отчества, фамилии, предполагая, что если в имени автора стоит запятая, имя находится в фамилии, в другой форме." 815 816#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 817#: of calibre.ebooks.metadata.sources.base.Source.get_title_tokens:1 818msgid "" 819"Take a title and return a list of tokens useful for an AND search query. " 820"Excludes connectives(optionally) and punctuation." 821msgstr "Взять заголовок и веруть список токенов, полезных для поискового запроса AND. Исключает связки (необязательно) и знаки препинания." 822 823#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 824#: of calibre.ebooks.metadata.sources.base.Source.split_jobs:1 825msgid "Split a list of jobs into at most num groups, as evenly as possible" 826msgstr "Разделить список заданий на максимальное количество групп, как можно равномернее." 827 828#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 829#: of calibre.ebooks.metadata.sources.base.Source.test_fields:1 830msgid "" 831"Return the first field from self.touched_fields that is null on the mi " 832"object" 833msgstr "Вернуть первое поле из self.touched_fields, которое имеет значение null для объекта mi" 834 835#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 836#: of calibre.ebooks.metadata.sources.base.Source.clean_downloaded_metadata:1 837msgid "" 838"Call this method in your plugin's identify method to normalize metadata " 839"before putting the Metadata object into result_queue. You can of course, use" 840" a custom algorithm suited to your metadata source." 841msgstr "Вызовите этот метод в методе идентификации вашего плагина, чтобы нормализовать метаданные перед помещением объекта Metadata в result_queue. Можно использовать собственный алгоритм, подходящий для вашего источника метаданных." 842 843#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 844#: of calibre.ebooks.metadata.sources.base.Source.get_book_url:1 845msgid "" 846"Return a 3-tuple or None. The 3-tuple is of the form: (identifier_type, " 847"identifier_value, URL). The URL is the URL for the book identified by " 848"identifiers at this source. identifier_type, identifier_value specify the " 849"identifier corresponding to the URL. This URL must be browsable to by a " 850"human using a browser. It is meant to provide a clickable link for the user " 851"to easily visit the books page at this source. If no URL is found, return " 852"None. This method must be quick, and consistent, so only implement it if it " 853"is possible to construct the URL from a known scheme given identifiers." 854msgstr "Вернуть 3-кортеж или None. Кортеж из трёх элементов имеет форму: (identifier_type, identifier_value, URL). URL-адрес - это URL-адрес книги, идентифицированный идентификаторами в этом источнике. identifier_type, identifier_value указывают идентификатор, соответствующий URL-адресу. Этот URL-адрес должен быть доступен для просмотра человеком, использующим браузер. Он предназначен для предоставления пользователю интерактивной ссылки, чтобы пользователь мог легко перейти на страницу с книгами в этом источнике. Если URL-адрес не найден, вернуть None. Этот метод должен быть быстрым и последовательным, поэтому используйте его только в том случае, если возможно построить URL-адрес из известной схемы с заданными идентификаторами." 855 856#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 857#: of calibre.ebooks.metadata.sources.base.Source.get_book_url_name:1 858msgid "Return a human readable name from the return value of get_book_url()." 859msgstr "Вернуть человекочитаемое имя из возвращаемого значения get_book_url ()." 860 861#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 862#: of calibre.ebooks.metadata.sources.base.Source.get_book_urls:1 863msgid "" 864"Override this method if you would like to return multiple urls for this " 865"book. Return a list of 3-tuples. By default this method simply calls " 866":func:`get_book_url`." 867msgstr "Переопределите этот метод, если вы хотите вернуть несколько URL-адресов для этой книги. Вернуть список 3-tuples (кортеж из трех элементов). По умолчанию этот метод просто вызывает :func:`get_book_url`." 868 869#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 870#: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:1 871msgid "" 872"Return cached cover URL for the book identified by the identifiers dict or " 873"None if no such URL exists." 874msgstr "Вернуть кешированный URL-адрес обложки для книги, идентифицированной идентификаторами dict или None, если такой URL-адрес не существует." 875 876#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 877#: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:4 878msgid "" 879"Note that this method must only return validated URLs, i.e. not URLS that " 880"could result in a generic cover image or a not found error." 881msgstr "Обратите внимание, что этот метод должен возвращать только проверенные URL-адреса, то есть не те URL-адреса, которые могут привести к общему изображению обложки или ошибке «Не найдено»." 882 883#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 884#: of calibre.ebooks.metadata.sources.base.Source.id_from_url:1 885msgid "" 886"Parse a URL and return a tuple of the form: (identifier_type, " 887"identifier_value). If the URL does not match the pattern for the metadata " 888"source, return None." 889msgstr "Проанализировать URL-адрес и вернуть кортеж в форме: (identifier_type, identifier_value). Если URL-адрес не соответствует шаблону для источника метаданных, вернуть None." 890 891#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 892#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:1 893msgid "" 894"Return a function that is used to generate a key that can sort Metadata " 895"objects by their relevance given a search query (title, authors, " 896"identifiers)." 897msgstr "Вернуть функцию, которая используется для генерации ключа, который может сортировать объекты метаданных по их релевантности с учетом поискового запроса (заголовок, авторы, идентификаторы)." 898 899#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 900#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:5 901msgid "These keys are used to sort the results of a call to :meth:`identify`." 902msgstr "Эти ключи используются для сортировки результатов вызова :meth:`identify`." 903 904#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 905#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:7 906msgid "" 907"For details on the default algorithm see " 908":class:`InternalMetadataCompareKeyGen`. Re-implement this function in your " 909"plugin if the default algorithm is not suitable." 910msgstr "Подробнее об алгоритме по умолчанию см. :class:`InternalMetadataCompareKeyGen`. Повторно реализуйте эту функцию в своем плагине, если алгоритм по умолчанию не подходит." 911 912#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 913#: of calibre.ebooks.metadata.sources.base.Source.identify:1 914msgid "Identify a book by its Title/Author/ISBN/etc." 915msgstr "Определить книгу по её названию/автору/ISBN/и т.д." 916 917#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 918#: of calibre.ebooks.metadata.sources.base.Source.identify:3 919msgid "" 920"If identifiers(s) are specified and no match is found and this metadata " 921"source does not store all related identifiers (for example, all ISBNs of a " 922"book), this method should retry with just the title and author (assuming " 923"they were specified)." 924msgstr "Если идентификаторы указаны и совпадений не найдено, и этот источник метаданных не хранит все связанные идентификаторы (например, все ISBN книги), этот метод должен повторить попытку, указав только заголовок и автора (при условии, что они были указаны)." 925 926#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 927#: of calibre.ebooks.metadata.sources.base.Source.identify:8 928msgid "" 929"If this metadata source also provides covers, the URL to the cover should be" 930" cached so that a subsequent call to the get covers API with the same " 931"ISBN/special identifier does not need to get the cover URL again. Use the " 932"caching API for this." 933msgstr "Если этот источник метаданных также предоставляет обложки, URL-адрес обложки должен быть кэширован, чтобы при последующем вызове API получения обложек с тем же ISBN/специальным идентификатором не нужно было снова получать URL-адрес обложки. Используйте для этого API кеширования." 934 935#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 936#: of calibre.ebooks.metadata.sources.base.Source.identify:13 937msgid "" 938"Every Metadata object put into result_queue by this method must have a " 939"`source_relevance` attribute that is an integer indicating the order in " 940"which the results were returned by the metadata source for this query. This " 941"integer will be used by :meth:`compare_identify_results`. If the order is " 942"unimportant, set it to zero for every result." 943msgstr "Каждый объект Metadata, помещенный в result_queue этим методом, должен иметь атрибут source_relevance, который является целым числом, указывающим порядок, в котором результаты были возвращены источником метаданных для этого запроса. Это целое число будет использоваться :meth:`compare_identify_results`. Если порядок не важен, установите его в 0 (ноль) для каждого результата." 944 945#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 946#: of calibre.ebooks.metadata.sources.base.Source.identify:19 947msgid "" 948"Make sure that any cover/ISBN mapping information is cached before the " 949"Metadata object is put into result_queue." 950msgstr "Прежде чем объект Metadata будет помещен в result_queue, убедитесь, что вся информация сопоставления обложки/ISBN закэширована." 951 952#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 953#: of calibre.ebooks.metadata.sources.base.Source.identify:22 954msgid "A log object, use it to output debugging information/errors" 955msgstr "Объект журнала, используйте его для вывода отладочной информации/ошибок" 956 957#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 958#: of calibre.ebooks.metadata.sources.base.Source.identify:23 959msgid "" 960"A result Queue, results should be put into it. Each result is a Metadata " 961"object" 962msgstr "Очередь результатов, результаты должны быть помещены в неё. Каждый результат - это объект метаданных." 963 964#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 965#: of calibre.ebooks.metadata.sources.base.Source.identify:25 966msgid "" 967"If abort.is_set() returns True, abort further processing and return as soon " 968"as possible" 969msgstr "Если abort.is_set() возвращает True, прервать дальнейшую обработку и вернутся как можно скорее." 970 971#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 972#: of calibre.ebooks.metadata.sources.base.Source.identify:27 973msgid "The title of the book, can be None" 974msgstr "Название книги может быть None" 975 976#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 977#: of calibre.ebooks.metadata.sources.base.Source.identify:28 978msgid "A list of authors of the book, can be None" 979msgstr "Список авторов книги может быть None" 980 981#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 982#: of calibre.ebooks.metadata.sources.base.Source.identify:29 983msgid "A dictionary of other identifiers, most commonly {'isbn':'1234...'}" 984msgstr "Словарь других идентификаторов, чаще всего {'isbn': '1234 ...'}" 985 986#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 987#: of calibre.ebooks.metadata.sources.base.Source.identify:31 988msgid "" 989"Timeout in seconds, no network request should hang for longer than timeout." 990msgstr "Тайм-аут в секундах, ни один сетевой запрос не должен зависать дольше таймаута." 991 992#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 993#: of calibre.ebooks.metadata.sources.base.Source.identify:33 994msgid "" 995"None if no errors occurred, otherwise a unicode representation of the error " 996"suitable for showing to the user" 997msgstr "None, если ошибок не было, иначе - представление ошибки в Юникоде, подходящее для показа пользователю." 998 999#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1000#: of calibre.ebooks.metadata.sources.base.Source.download_cover:1 1001msgid "" 1002"Download a cover and put it into result_queue. The parameters all have the " 1003"same meaning as for :meth:`identify`. Put (self, cover_data) into " 1004"result_queue." 1005msgstr "Скачать обложку и поместить её в result_queue. Все параметры имеют то же значение, что и для :meth:`identify`. Поместить (self, cover_data) в result_queue." 1006 1007#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1008#: of calibre.ebooks.metadata.sources.base.Source.download_cover:5 1009msgid "" 1010"This method should use cached cover URLs for efficiency whenever possible. " 1011"When cached data is not present, most plugins simply call identify and use " 1012"its results." 1013msgstr "Этот метод должен использовать кешированные URL-адреса обложек для повышения эффективности, при возможности. Когда кэшированных данных нет, большинство плагинов просто вызывают идентификацию и используют её результаты." 1014 1015#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1016#: of calibre.ebooks.metadata.sources.base.Source.download_cover:9 1017msgid "" 1018"If the parameter get_best_cover is True and this plugin can get multiple " 1019"covers, it should only get the \"best\" one." 1020msgstr "Если параметр get_best_cover имеет значение True и этот плагин может получить несколько обложек, он должен получить только «лучшую»." 1021 1022#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1023#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:1 1024msgid "" 1025"Generate a sort key for comparison of the relevance of Metadata objects, " 1026"given a search query. This is used only to compare results from the same " 1027"metadata source, not across different sources." 1028msgstr "Сгенерировать ключ сортировки для сравнения релевантности объектов метаданных с учётом поискового запроса. Используется только для сравнения результатов из одного источника метаданных, но не из разных источников." 1029 1030#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1031#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:5 1032msgid "" 1033"The sort key ensures that an ascending order sort is a sort by order of " 1034"decreasing relevance." 1035msgstr "Ключ сортировки гарантирует, что сортировка в порядке возрастания является сортировкой по убыванию релевантности." 1036 1037#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1038#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:8 1039msgid "The algorithm is:" 1040msgstr "Алгоритм такой:" 1041 1042#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1043#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:10 1044msgid "" 1045"Prefer results that have at least one identifier the same as for the query" 1046msgstr "Предпочитать результаты, у которых есть хотя бы один идентификатор, такой же как у запроса" 1047 1048#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1049#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:11 1050msgid "Prefer results with a cached cover URL" 1051msgstr "Предпочитать результаты с кешированным URL обложки" 1052 1053#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1054#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:12 1055msgid "Prefer results with all available fields filled in" 1056msgstr "Предпочитать результаты со всеми заполненными полями" 1057 1058#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1059#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:13 1060msgid "" 1061"Prefer results with the same language as the current user interface language" 1062msgstr "Предпочитать результаты на том же языке, что и текущий язык пользовательского интерфейса" 1063 1064#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1065#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:14 1066msgid "Prefer results that are an exact title match to the query" 1067msgstr "Предпочитать результаты, которые точно соответствуют названию запроса" 1068 1069#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1070#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:15 1071msgid "Prefer results with longer comments (greater than 10% longer)" 1072msgstr "Предпочитать результаты с более длинными комментариями, более чем на 10% длиннее" 1073 1074#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1075#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:16 1076msgid "" 1077"Use the relevance of the result as reported by the metadata source's search" 1078msgstr "Используйте релевантность результата, полученную в результате поиска источника метаданных" 1079 1080#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1081#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:17 1082msgid "engine" 1083msgstr "движок" 1084 1085#: ../../__w/calibre/calibre/manual/plugins.rst:76 1086msgid "Conversion plugins" 1087msgstr "Плагины преобразования" 1088 1089#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1090#: calibre.customize.conversion.InputFormatPlugin:1 1091msgid "" 1092"InputFormatPlugins are responsible for converting a document into " 1093"HTML+OPF+CSS+etc. The results of the conversion *must* be encoded in UTF-8. " 1094"The main action happens in :meth:`convert`." 1095msgstr "InputFormatPlugins отвечают за преобразование документа в HTML + OPF + CSS + и т. д. Результаты преобразования *должны* быть закодированы в UTF-8. Основное действие происходит в :meth:`convert`." 1096 1097#: ../../__w/calibre/calibre/manual/docstring of 1098#: calibre.customize.conversion.InputFormatPlugin.file_types:1 1099msgid "" 1100"Set of file types for which this plugin should be run For example: " 1101"``set(['azw', 'mobi', 'prc'])``" 1102msgstr "Набор типов файлов, для которых следует запускать этот плагин. Например: ``set (['azw', 'mobi', 'prc'])``" 1103 1104#: ../../__w/calibre/calibre/manual/docstring of 1105#: calibre.customize.conversion.InputFormatPlugin.is_image_collection:1 1106msgid "" 1107"If True, this input plugin generates a collection of images, one per HTML " 1108"file. This can be set dynamically, in the convert method if the input files " 1109"can be both image collections and non-image collections. If you set this to " 1110"True, you must implement the get_images() method that returns a list of " 1111"images." 1112msgstr "Если True, этот плагин ввода генерирует коллекцию изображений, по одному на файл HTML. Устанавливается динамически в методе convert, если входные файлы могут быть как коллекциями изображений, так и коллекциями без изображений. Если вы установите для него значение True, то реализуйте метод get_images(), который возвращает список изображений." 1113 1114#: ../../__w/calibre/calibre/manual/docstring of 1115#: calibre.customize.conversion.InputFormatPlugin.core_usage:1 1116msgid "" 1117"Number of CPU cores used by this plugin. A value of -1 means that it uses " 1118"all available cores" 1119msgstr "Количество ядер процессора, используемых этим плагином. Значение -1 означает, что он использует все доступные ядра." 1120 1121#: ../../__w/calibre/calibre/manual/docstring of 1122#: calibre.customize.conversion.InputFormatPlugin.for_viewer:1 1123msgid "" 1124"If set to True, the input plugin will perform special processing to make its" 1125" output suitable for viewing" 1126msgstr "Если установлено значение True, плагин ввода будет выполнять специальную обработку, чтобы сделать его вывод подходящим для просмотра." 1127 1128#: ../../__w/calibre/calibre/manual/docstring of 1129#: calibre.customize.conversion.InputFormatPlugin.output_encoding:1 1130msgid "" 1131"The encoding that this input plugin creates files in. A value of None means " 1132"that the encoding is undefined and must be detected individually" 1133msgstr "Кодировка, в которой этот модуль ввода создает файлы. Значение None означает, что кодировка не определена и должна определяться индивидуально." 1134 1135#: ../../__w/calibre/calibre/manual/docstring of 1136#: calibre.customize.conversion.InputFormatPlugin.common_options:1 1137#: ../../__w/calibre/calibre/manual/docstring of 1138#: calibre.customize.conversion.OutputFormatPlugin.common_options:1 1139msgid "" 1140"Options shared by all Input format plugins. Do not override in sub-classes. " 1141"Use :attr:`options` instead. Every option must be an instance of " 1142":class:`OptionRecommendation`." 1143msgstr "Параметры, общие для всех плагинов формата ввода. Не переопределять в подклассах. Вместо этого используйте :attr:`options`. Каждая опция должна быть экземпляром :class:`OptionRecommendation`." 1144 1145#: ../../__w/calibre/calibre/manual/docstring of 1146#: calibre.customize.conversion.InputFormatPlugin.options:1 1147#: ../../__w/calibre/calibre/manual/docstring of 1148#: calibre.customize.conversion.OutputFormatPlugin.options:1 1149msgid "" 1150"Options to customize the behavior of this plugin. Every option must be an " 1151"instance of :class:`OptionRecommendation`." 1152msgstr "Параметры для настройки поведения этого плагина. Каждая опция должна быть экземпляром :class:`OptionRecommendation`." 1153 1154#: ../../__w/calibre/calibre/manual/docstring of 1155#: calibre.customize.conversion.InputFormatPlugin.recommendations:1 1156#: ../../__w/calibre/calibre/manual/docstring of 1157#: calibre.customize.conversion.OutputFormatPlugin.recommendations:1 1158msgid "" 1159"A set of 3-tuples of the form (option_name, recommended_value, " 1160"recommendation_level)" 1161msgstr "Набор из 3-tuples (трех кортежей) формы (option_name, recommended_value, recommendation_level)" 1162 1163#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1164#: calibre.customize.conversion.InputFormatPlugin.get_images:1 1165msgid "" 1166"Return a list of absolute paths to the images, if this input plugin " 1167"represents an image collection. The list of images is in the same order as " 1168"the spine and the TOC." 1169msgstr "Вернуть список абсолютных путей к изображениям, если этот входной плагин представляет коллекцию изображений. Список изображений находится в том же порядке, что и корешок и оглавление." 1170 1171#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1172#: calibre.customize.conversion.InputFormatPlugin.convert:1 1173msgid "" 1174"This method must be implemented in sub-classes. It must return the path to " 1175"the created OPF file or an :class:`OEBBook` instance. All output should be " 1176"contained in the current folder. If this plugin creates files outside the " 1177"current folder they must be deleted/marked for deletion before this method " 1178"returns." 1179msgstr "Этот метод должен быть реализован в подклассах. Он должен возвращать путь к созданному файлу OPF или экземпляру :class:`OEBBook`. Весь вывод должен содержаться в текущей папке. Если этот плагин создает файлы вне текущей папки, их необходимо удалить/пометить для удаления, прежде чем этот метод вернёт значение." 1180 1181#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1182#: calibre.customize.conversion.InputFormatPlugin.convert:8 1183msgid "A file like object that contains the input file." 1184msgstr "Файловый объект, содержащий входной файл." 1185 1186#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1187#: calibre.customize.conversion.InputFormatPlugin.convert:9 1188msgid "" 1189"Options to customize the conversion process. Guaranteed to have attributes " 1190"corresponding to all the options declared by this plugin. In addition, it " 1191"will have a verbose attribute that takes integral values from zero upwards. " 1192"Higher numbers mean be more verbose. Another useful attribute is " 1193"``input_profile`` that is an instance of " 1194":class:`calibre.customize.profiles.InputProfile`." 1195msgstr "Параметры для настройки процесса конвертации. Гарантированно наличие атрибутов, соответствующих всем параметрам, заявленным этим плагином. Кроме того, будет подробный атрибут, принимающий целые значения от нуля и выше. Большие числа означают более подробную информацию. Ещё один полезный атрибут - input_profile, который является экземпляром :class:calibre.customize.profiles.InputProfile." 1196 1197#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1198#: calibre.customize.conversion.InputFormatPlugin.convert:17 1199msgid "" 1200"The extension (without the .) of the input file. It is guaranteed to be one " 1201"of the `file_types` supported by this plugin." 1202msgstr "Расширение (без .) входного файла. Гарантируется, что это будет один из `file_types`, поддерживаемых этим плагином." 1203 1204#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1205#: calibre.customize.conversion.InputFormatPlugin.convert:20 1206msgid "" 1207"A :class:`calibre.utils.logging.Log` object. All output should use this " 1208"object." 1209msgstr "Объект :class:`calibre.utils.logging.Log`. Весь вывод должен использовать этот объект." 1210 1211#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1212#: calibre.customize.conversion.InputFormatPlugin.convert:22 1213msgid "" 1214"A dictionary of various information that the input plugin can get easily " 1215"that would speed up the subsequent stages of the conversion." 1216msgstr "Словарь различной информации, которую плагин ввода может легко получить, что ускорит последующие этапы преобразования." 1217 1218#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1219#: calibre.customize.conversion.InputFormatPlugin.postprocess_book:1 1220msgid "" 1221"Called to allow the input plugin to perform postprocessing after the book " 1222"has been parsed." 1223msgstr "Вызывается, чтобы разрешить плагину ввода выполнять постобработку после анализа книги." 1224 1225#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1226#: calibre.customize.conversion.InputFormatPlugin.specialize:1 1227msgid "" 1228"Called to allow the input plugin to specialize the parsed book for a " 1229"particular output format. Called after postprocess_book and before any " 1230"transforms are performed on the parsed book." 1231msgstr "Вызывается, чтобы позволить плагину ввода специализировать анализируемую книгу для определенного формата вывода. Вызывается после postprocess_book и перед выполнением любых преобразований в проанализированной книге." 1232 1233#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1234#: calibre.customize.conversion.InputFormatPlugin.gui_configuration_widget:1 1235msgid "" 1236"Called to create the widget used for configuring this plugin in the calibre " 1237"GUI. The widget must be an instance of the PluginWidget class. See the " 1238"builtin input plugins for examples." 1239msgstr "Вызывается для создания виджета, используемого для настройки этого плагина в графическом интерфейсе calibre. Виджет должен быть экземпляром класса PluginWidget. См. примеры встроенных модулей ввода." 1240 1241#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1242#: calibre.customize.conversion.OutputFormatPlugin:1 1243msgid "" 1244"OutputFormatPlugins are responsible for converting an OEB document " 1245"(OPF+HTML) into an output e-book." 1246msgstr "OutputFormatPlugins отвечают за преобразование документа OEB (OPF + HTML) в выходную электронную книгу." 1247 1248#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1249#: calibre.customize.conversion.OutputFormatPlugin:4 1250msgid "" 1251"The OEB document can be assumed to be encoded in UTF-8. The main action " 1252"happens in :meth:`convert`." 1253msgstr "Предполагается, что документ OEB закодирован в UTF-8. Основное действие происходит в :meth:`convert`." 1254 1255#: ../../__w/calibre/calibre/manual/docstring of 1256#: calibre.customize.conversion.OutputFormatPlugin.file_type:1 1257msgid "" 1258"The file type (extension without leading period) that this plugin outputs" 1259msgstr "Тип файла (расширение без начальной точки), который выводит этот плагин." 1260 1261#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1262#: calibre.customize.conversion.OutputFormatPlugin.description:1 1263msgid "" 1264"str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str" 1265msgstr "str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str" 1266 1267#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1268#: calibre.customize.conversion.OutputFormatPlugin.description:4 1269msgid "" 1270"Create a new string object from the given object. If encoding or errors is " 1271"specified, then the object must expose a data buffer that will be decoded " 1272"using the given encoding and error handler. Otherwise, returns the result of" 1273" object.__str__() (if defined) or repr(object). encoding defaults to " 1274"sys.getdefaultencoding(). errors defaults to 'strict'." 1275msgstr "Создайте новый строковый объект из данного объекта. Если указаны кодировка или ошибки, то объект должен предоставить буфер данных, который будет декодирован с использованием данной кодировки и обработчика ошибок. В противном случае возвращает результат object.__str__() (если определено) или repr(object). кодировка по умолчанию sys.getdefaultencoding(). по умолчанию используется 'strict'." 1276 1277#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1278#: calibre.customize.conversion.OutputFormatPlugin.convert:1 1279msgid "" 1280"Render the contents of `oeb_book` (which is an instance of " 1281":class:`calibre.ebooks.oeb.OEBBook`) to the file specified by output." 1282msgstr "Отрендерить содержимое `oeb_book` (который является экземпляром :class:`calibre.ebooks.oeb.OEBBook`) в файл, указанный в output." 1283 1284#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1285#: calibre.customize.conversion.OutputFormatPlugin.convert:4 1286msgid "" 1287"Either a file like object or a string. If it is a string it is the path to a" 1288" folder that may or may not exist. The output plugin should write its output" 1289" into that folder. If it is a file like object, the output plugin should " 1290"write its output into the file." 1291msgstr "Либо файл, подобный объекту, либо строка. Если это строка, это путь к папке, которая может существовать, а может и не существовать. Плагин вывода должен записывать свой вывод в эту папку. Если это объект, подобный файлу, плагин вывода должен записывать свой вывод в файл." 1292 1293#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1294#: calibre.customize.conversion.OutputFormatPlugin.convert:8 1295msgid "" 1296"The input plugin that was used at the beginning of the conversion pipeline." 1297msgstr "Плагин ввода, который использовался в начале конвейера конвертации." 1298 1299#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1300#: calibre.customize.conversion.OutputFormatPlugin.convert:10 1301msgid "" 1302"Conversion options. Guaranteed to have attributes corresponding to the " 1303"OptionRecommendations of this plugin." 1304msgstr "Опции конвертации. Гарантировано наличие атрибутов, соответствующих рекомендациям OptionRecommendations этого плагина." 1305 1306#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1307#: calibre.customize.conversion.OutputFormatPlugin.convert:12 1308msgid "The logger. Print debug/info messages etc. using this." 1309msgstr "Логгер. Печатать отладочные/информационные сообщения и т. д." 1310 1311#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1312#: calibre.customize.conversion.OutputFormatPlugin.specialize_options:1 1313msgid "" 1314"Can be used to change the values of conversion options, as used by the " 1315"conversion pipeline." 1316msgstr "Может использоваться для изменения значений параметров конвертации, используемых конвейером конвертации." 1317 1318#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1319#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:1 1320msgid "" 1321"Can be used to make changes to the css during the CSS flattening process." 1322msgstr "Может использоваться для внесения изменений в CSS во время уплощения CSS." 1323 1324#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1325#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:4 1326msgid "The item (HTML file) being processed" 1327msgstr "HTML-файл элемента, который обрабатывается" 1328 1329#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1330#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:5 1331msgid "" 1332"A Stylizer object containing the flattened styles for item. You can get the " 1333"style for any element by stylizer.style(element)." 1334msgstr "Объект Stylizer, содержащий уплощённые стили для элемента. Вы можете получить стиль для любого элемента с помощью stylizer.style(element)." 1335 1336#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1337#: calibre.customize.conversion.OutputFormatPlugin.gui_configuration_widget:1 1338msgid "" 1339"Called to create the widget used for configuring this plugin in the calibre " 1340"GUI. The widget must be an instance of the PluginWidget class. See the " 1341"builtin output plugins for examples." 1342msgstr "Вызывается для создания виджета, используемого для настройки этого плагина в графическом интерфейсе calibre. Виджет должен быть экземпляром класса PluginWidget. См. примеры встроенных модулей ввода." 1343 1344#: ../../__w/calibre/calibre/manual/plugins.rst:91 1345msgid "Device drivers" 1346msgstr "Драйверы устройств" 1347 1348#: ../../__w/calibre/calibre/manual/plugins.rst:95 1349msgid "" 1350"The base class for all device drivers is :class:`DevicePlugin`. However, if " 1351"your device exposes itself as a USBMS drive to the operating system, you " 1352"should use the USBMS class instead as it implements all the logic needed to " 1353"support these kinds of devices." 1354msgstr "Базовый класс для всех драйверов устройств :class:`DevicePlugin`. Однако, если ваше устройство представляет себя для операционной системы как USBMS-накопитель, следует использовать вместо него класс USBMS, поскольку он реализует всю логику, необходимую для поддержки таких типов устройств." 1355 1356#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1357#: calibre.devices.interface.DevicePlugin:1 1358msgid "" 1359"Defines the interface that should be implemented by backends that " 1360"communicate with an e-book reader." 1361msgstr "Определяет интерфейс, который должен быть реализован серверными модулями, которые взаимодействуют с устройством для чтения электронных книг." 1362 1363#: ../../__w/calibre/calibre/manual/docstring of 1364#: calibre.devices.interface.DevicePlugin.FORMATS:1 1365msgid "Ordered list of supported formats" 1366msgstr "Упорядоченный список поддерживаемых форматов" 1367 1368#: ../../__w/calibre/calibre/manual/docstring of 1369#: calibre.devices.interface.DevicePlugin.VENDOR_ID:1 1370msgid "" 1371"VENDOR_ID can be either an integer, a list of integers or a dictionary If it" 1372" is a dictionary, it must be a dictionary of dictionaries, of the form::" 1373msgstr "VENDOR_ID может быть целым числом, списком целых чисел или словарем. Если это словарь, то это должен быть словарь словарей в форме::" 1374 1375#: ../../__w/calibre/calibre/manual/docstring of 1376#: calibre.devices.interface.DevicePlugin.PRODUCT_ID:1 1377msgid "An integer or a list of integers" 1378msgstr "Целое число или список целых чисел" 1379 1380#: ../../__w/calibre/calibre/manual/docstring of 1381#: calibre.devices.interface.DevicePlugin.BCD:1 1382msgid "" 1383"BCD can be either None to not distinguish between devices based on BCD, or " 1384"it can be a list of the BCD numbers of all devices supported by this driver." 1385msgstr "BCD может иметь значение None, чтобы не различать устройства на основе BCD, или это может быть список BCD номеров всех устройств, поддерживаемых этим драйвером." 1386 1387#: ../../__w/calibre/calibre/manual/docstring of 1388#: calibre.devices.interface.DevicePlugin.THUMBNAIL_HEIGHT:1 1389msgid "Height for thumbnails on the device" 1390msgstr "Высота миниатюр на устройстве" 1391 1392#: ../../__w/calibre/calibre/manual/docstring of 1393#: calibre.devices.interface.DevicePlugin.THUMBNAIL_COMPRESSION_QUALITY:1 1394msgid "" 1395"Compression quality for thumbnails. Set this closer to 100 to have better " 1396"quality thumbnails with fewer compression artifacts. Of course, the " 1397"thumbnails get larger as well." 1398msgstr "Качество сжатия миниатюр. Значение ближе к 100 - миниатюры лучшего качества с минимумом артефактов сжатия. Размер файлов миниатюр увеличивается." 1399 1400#: ../../__w/calibre/calibre/manual/docstring of 1401#: calibre.devices.interface.DevicePlugin.WANTS_UPDATED_THUMBNAILS:1 1402msgid "" 1403"Set this to True if the device supports updating cover thumbnails during " 1404"sync_booklists. Setting it to true will ask device.py to refresh the cover " 1405"thumbnails during book matching" 1406msgstr "Значение параметра True, если устройство поддерживает обновление миниатюр обложек во время sync_booklists. При значении True у device.py запрашивается обновление миниатюр обложек при сопоставлении книг." 1407 1408#: ../../__w/calibre/calibre/manual/docstring of 1409#: calibre.devices.interface.DevicePlugin.CAN_SET_METADATA:1 1410msgid "Whether the metadata on books can be set via the GUI." 1411msgstr "Можно ли установить метаданные книг через графический интерфейс." 1412 1413#: ../../__w/calibre/calibre/manual/docstring of 1414#: calibre.devices.interface.DevicePlugin.CAN_DO_DEVICE_DB_PLUGBOARD:1 1415msgid "Whether the device can handle device_db metadata plugboards" 1416msgstr "Может ли устройство обрабатывать коммутации метаданных device_db" 1417 1418#: ../../__w/calibre/calibre/manual/docstring of 1419#: calibre.devices.interface.DevicePlugin.path_sep:1 1420msgid "Path separator for paths to books on device" 1421msgstr "Разделитель путей для путей к книгам на устройстве" 1422 1423#: ../../__w/calibre/calibre/manual/docstring of 1424#: calibre.devices.interface.DevicePlugin.icon:1 1425msgid "Icon for this device" 1426msgstr "Значок для этого устройства" 1427 1428#: ../../__w/calibre/calibre/manual/docstring of 1429#: calibre.devices.interface.DevicePlugin.OPEN_FEEDBACK_MESSAGE:1 1430msgid "" 1431"GUI displays this as a message if not None. Useful if opening can take a " 1432"long time" 1433msgstr "В графическом интерфейсе это отображается как сообщение, если не None. Полезно, если открытие может занять много времени" 1434 1435#: ../../__w/calibre/calibre/manual/docstring of 1436#: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSIONS:1 1437msgid "" 1438"Set of extensions that are \"virtual books\" on the device and therefore " 1439"cannot be viewed/saved/added to library. For example: " 1440"``frozenset(['kobo'])``" 1441msgstr "Набор расширений, которые являются «виртуальными книгами» на устройстве и поэтому не могут быть просмотрены/сохранены/добавлены в библиотеку. Например: ``frozenset(['kobo'])``" 1442 1443#: ../../__w/calibre/calibre/manual/docstring of 1444#: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSION_MESSAGE:1 1445msgid "Message to display to user for virtual book extensions." 1446msgstr "Сообщение, отображаемое пользователю для расширений виртуальных книг." 1447 1448#: ../../__w/calibre/calibre/manual/docstring of 1449#: calibre.devices.interface.DevicePlugin.NUKE_COMMENTS:1 1450msgid "" 1451"Whether to nuke comments in the copy of the book sent to the device. If not " 1452"None this should be short string that the comments will be replaced by." 1453msgstr "Удалять ли комментарии в копии книги, отправленной на устройство. Если не None, это должна быть короткая строка, которой будут заменены комментарии." 1454 1455#: ../../__w/calibre/calibre/manual/docstring of 1456#: calibre.devices.interface.DevicePlugin.MANAGES_DEVICE_PRESENCE:1 1457msgid "" 1458"If True indicates that this driver completely manages device detection, " 1459"ejecting and so forth. If you set this to True, you *must* implement the " 1460"detect_managed_devices and debug_managed_device_detection methods. A driver " 1461"with this set to true is responsible for detection of devices, managing a " 1462"blacklist of devices, a list of ejected devices and so forth. calibre will " 1463"periodically call the detect_managed_devices() method and if it returns a " 1464"detected device, calibre will call open(). open() will be called every time " 1465"a device is returned even if previous calls to open() failed, therefore the " 1466"driver must maintain its own blacklist of failed devices. Similarly, when " 1467"ejecting, calibre will call eject() and then assuming the next call to " 1468"detect_managed_devices() returns None, it will call post_yank_cleanup()." 1469msgstr "Если True указывает, что этот драйвер полностью управляет обнаружением устройства, извлечением и т. д. При установке для него значение True, вы *должны* реализовать методы detect_managed_devices и debug_managed_device_detection. Драйвер, для которого установлено значение True, отвечает за обнаружение устройств, управление черным списком устройств, списком извлеченных устройств и т. д. calibre будет периодически вызывать метод detect_managed_devices(), и если он возвращает обнаруженное устройство, calibre вызовет open(). open() будет вызываться каждый раз, когда устройство возвращается, даже если предыдущие вызовы open() завершились неудачно, поэтому драйвер должен поддерживать свой собственный черный список отказавших устройств. Точно так же при извлечении calibre вызовет eject(), а затем, предполагая, что следующий вызов detect_managed_devices() вернет None, вызовет post_yank_cleanup()." 1470 1471#: ../../__w/calibre/calibre/manual/docstring of 1472#: calibre.devices.interface.DevicePlugin.SLOW_DRIVEINFO:1 1473msgid "" 1474"If set the True, calibre will call the :meth:`get_driveinfo()` method after " 1475"the books lists have been loaded to get the driveinfo." 1476msgstr "Если установлено True, calibre вызовет метод :meth:`get_driveinfo()` после загрузки списков книг для получения информации о диске." 1477 1478#: ../../__w/calibre/calibre/manual/docstring of 1479#: calibre.devices.interface.DevicePlugin.ASK_TO_ALLOW_CONNECT:1 1480msgid "" 1481"If set to True, calibre will ask the user if they want to manage the device " 1482"with calibre, the first time it is detected. If you set this to True you " 1483"must implement :meth:`get_device_uid()` and " 1484":meth:`ignore_connected_device()` and :meth:`get_user_blacklisted_devices` " 1485"and :meth:`set_user_blacklisted_devices`" 1486msgstr "Если установлено значение True, при первом обнаружении устройства calibre спросит пользователя, хочет ли он управлять устройством с помощью calibre. Если установить параметру значение True, то вы должны реализовать :meth:`get_device_uid()` и :meth:`ignore_connected_device()` и :meth:`get_user_blacklisted_devices` и :meth:`set_user_blacklisted_devices`" 1487 1488#: ../../__w/calibre/calibre/manual/docstring of 1489#: calibre.devices.interface.DevicePlugin.user_feedback_after_callback:1 1490msgid "" 1491"Set this to a dictionary of the form {'title':title, 'msg':msg, " 1492"'det_msg':detailed_msg} to have calibre popup a message to the user after " 1493"some callbacks are run (currently only upload_books). Be careful to not spam" 1494" the user with too many messages. This variable is checked after *every* " 1495"callback, so only set it when you really need to." 1496msgstr "Установите значение как словарь формы {'title': title, 'msg': msg, 'det_msg': detail_msg}, чтобы calibre отображал всплывающее сообщение для пользователя после выполнения некоторых обратных вызовов (в настоящее время только upload_books). Не спамьте пользователя потоком сообщений. Эта переменная проверяется после *каждого* обратного вызова, поэтому устанавливайте её только при необходимости." 1497 1498#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1499#: calibre.devices.interface.DevicePlugin.is_usb_connected:1 1500msgid "" 1501"Return True, device_info if a device handled by this plugin is currently " 1502"connected." 1503msgstr "Вернуть True, device_info, если в данный момент подключено устройство, управляемое этим плагином." 1504 1505#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1506#: calibre.devices.interface.DevicePlugin.is_usb_connected:3 1507msgid "List of devices currently connected" 1508msgstr "Список подключенных устройств" 1509 1510#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1511#: calibre.devices.interface.DevicePlugin.detect_managed_devices:1 1512#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1513#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:1 1514msgid "Called only if MANAGES_DEVICE_PRESENCE is True." 1515msgstr "Вызывается, только если у MANAGES_DEVICE_PRESENCE значение True." 1516 1517#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1518#: calibre.devices.interface.DevicePlugin.detect_managed_devices:3 1519msgid "" 1520"Scan for devices that this driver can handle. Should return a device object " 1521"if a device is found. This object will be passed to the open() method as the" 1522" connected_device. If no device is found, return None. The returned object " 1523"can be anything, calibre does not use it, it is only passed to open()." 1524msgstr "Просканировать устройства, с которыми может работать этот драйвер. Должен возвращать объект устройства, если устройство найдено. Этот объект будет передан методу open() как connected_device. Если устройство не найдено, вернуть None. Возвращаемый объект может быть любым, calibre его не использует, он передается только в open()." 1525 1526#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1527#: calibre.devices.interface.DevicePlugin.detect_managed_devices:9 1528msgid "" 1529"This method is called periodically by the GUI, so make sure it is not too " 1530"resource intensive. Use a cache to avoid repeatedly scanning the system." 1531msgstr "Этот метод периодически вызывается графическим интерфейсом пользователя, поэтому убедитесь, что он не слишком ресурсоемкий. Используйте кеш, чтобы избежать повторного сканирования системы." 1532 1533#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1534#: calibre.devices.interface.DevicePlugin.detect_managed_devices:13 1535msgid "Set of USB devices found on the system." 1536msgstr "Набор USB-устройств, обнаруженных в системе." 1537 1538#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1539#: calibre.devices.interface.DevicePlugin.detect_managed_devices:15 1540msgid "" 1541"If True and the driver uses a cache to prevent repeated scanning, the cache " 1542"must be flushed." 1543msgstr "Если True и драйвер использует кеш для предотвращения повторного сканирования, то кеш должен быть очищен." 1544 1545#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1546#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:3 1547msgid "" 1548"Should write information about the devices detected on the system to output," 1549" which is a file like object." 1550msgstr "Должен записывать информацию об устройствах, обнаруженных в системе в вывод, представляющий собой файл, подобный объекту." 1551 1552#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1553#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:6 1554msgid "" 1555"Should return True if a device was detected and successfully opened, " 1556"otherwise False." 1557msgstr "Должен возвращать True, если устройство было обнаружено и успешно открыто, в противном случае - False." 1558 1559#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1560#: calibre.devices.interface.DevicePlugin.reset:1 1561#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1562#: calibre.devices.usbms.device.Device.reset:1 1563msgid "The key to unlock the device" 1564msgstr "Ключ для разблокировки устройства" 1565 1566#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1567#: calibre.devices.interface.DevicePlugin.reset:2 1568#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1569#: calibre.devices.usbms.device.Device.reset:2 1570msgid "If true the packet stream to/from the device is logged" 1571msgstr "Если true, поток пакетов к/от устройства логируется." 1572 1573#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1574#: calibre.devices.interface.DevicePlugin.reset:3 1575#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1576#: calibre.devices.interface.DevicePlugin.set_progress_reporter:3 1577#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1578#: calibre.devices.usbms.device.Device.reset:3 1579#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1580#: calibre.devices.usbms.device.Device.set_progress_reporter:3 1581msgid "" 1582"Function that is called with a % progress (number between 0 and 100) for " 1583"various tasks. If it is called with -1 that means that the task does not " 1584"have any progress information" 1585msgstr "Функция, которая вызывается с % прогресса (число от 0 до 100) для различных задач. Если она вызывается с -1, это означает, что задача не имеет информации о ходе выполнения." 1586 1587#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1588#: calibre.devices.interface.DevicePlugin.reset:7 1589#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1590#: calibre.devices.usbms.device.Device.reset:7 1591msgid "Device information from the device scanner" 1592msgstr " Информация об устройстве со сканера устройств" 1593 1594#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1595#: calibre.devices.interface.DevicePlugin.can_handle_windows:1 1596#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1597#: calibre.devices.usbms.device.Device.can_handle_windows:1 1598msgid "" 1599"Optional method to perform further checks on a device to see if this driver " 1600"is capable of handling it. If it is not it should return False. This method " 1601"is only called after the vendor, product ids and the bcd have matched, so it" 1602" can do some relatively time intensive checks. The default implementation " 1603"returns True. This method is called only on Windows. See also " 1604":meth:`can_handle`." 1605msgstr "Необязательный метод для выполнения дальнейших проверок устройства, чтобы узнать, способен ли этот драйвер обрабатывать его. Если это не так, он должен вернуть False. Этот метод вызывается только после того, как поставщик, идентификаторы продуктов и bcd совпадают, поэтому он может выполнять некоторые относительно трудоемкие проверки. Реализация по умолчанию возвращает True. Этот метод вызывается только в Windows. См. также :meth:`can_handle`." 1606 1607#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1608#: calibre.devices.interface.DevicePlugin.can_handle_windows:8 1609#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1610#: calibre.devices.usbms.device.Device.can_handle_windows:8 1611msgid "" 1612"Note that for devices based on USBMS this method by default delegates to " 1613":meth:`can_handle`. So you only need to override :meth:`can_handle` in your" 1614" subclass of USBMS." 1615msgstr "Для устройств на базе USBMS этот метод по умолчанию делегирует :meth:`can_handle`. Таким образом, вам нужно только переопределить :meth:`can_handle` в подклассе USBMS." 1616 1617#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1618#: calibre.devices.interface.DevicePlugin.can_handle_windows:12 1619#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1620#: calibre.devices.usbms.device.Device.can_handle_windows:12 1621msgid "" 1622"A usbdevice as returned by :func:`calibre.devices.winusb.scan_usb_devices`" 1623msgstr "USB-устройство, возвращенное :func:`calibre.devices.winusb.scan_usb_devices`" 1624 1625#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1626#: calibre.devices.interface.DevicePlugin.can_handle:1 1627msgid "Unix version of :meth:`can_handle_windows`." 1628msgstr "Версия для Unix :meth:`can_handle_windows`." 1629 1630#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1631#: calibre.devices.interface.DevicePlugin.can_handle:3 1632msgid "Is a tuple of (vid, pid, bcd, manufacturer, product, serial number)" 1633msgstr "Кортеж из (vid, pid, bcd, производитель, продукт, серийный номер)" 1634 1635#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1636#: calibre.devices.interface.DevicePlugin.open:1 1637#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1638#: calibre.devices.usbms.device.Device.open:1 1639msgid "" 1640"Perform any device specific initialization. Called after the device is " 1641"detected but before any other functions that communicate with the device. " 1642"For example: For devices that present themselves as USB Mass storage " 1643"devices, this method would be responsible for mounting the device or if the " 1644"device has been automounted, for finding out where it has been mounted. The " 1645"method :meth:`calibre.devices.usbms.device.Device.open` has an " 1646"implementation of this function that should serve as a good example for USB " 1647"Mass storage devices." 1648msgstr "Выполнить любую инициализацию конкретного устройства. Вызывается после обнаружения устройства, но перед любыми другими функциями, которые обмениваются данными с устройством. Например: для устройств, которые представляют себя как запоминающие устройства USB, этот метод будет отвечать за установку устройства или, если устройство было автоматически смонтировано, за определение места его установки. Метод :meth:`calibre.devices.usbms.device.Device.open` имеет реализацию этой функции, которая должна служить хорошим примером для запоминающих устройств USB." 1649 1650#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1651#: calibre.devices.interface.DevicePlugin.open:11 1652#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1653#: calibre.devices.usbms.device.Device.open:11 1654msgid "" 1655"This method can raise an OpenFeedback exception to display a message to the " 1656"user." 1657msgstr "Этот метод может вызвать исключение OpenFeedback для отображения сообщения пользователю." 1658 1659#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1660#: calibre.devices.interface.DevicePlugin.open:14 1661#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1662#: calibre.devices.usbms.device.Device.open:14 1663msgid "" 1664"The device that we are trying to open. It is a tuple of (vendor id, product " 1665"id, bcd, manufacturer name, product name, device serial number). However, " 1666"some devices have no serial number and on Windows only the first three " 1667"fields are present, the rest are None." 1668msgstr "Устройство, которое мы пытаемся открыть. Это кортеж из (идентификатор поставщика, идентификатор продукта, bcd, название производителя, название продукта, серийный номер устройства). Однако у некоторых устройств нет серийного номера, и в Windows присутствуют только первые три поля, остальные - None." 1669 1670#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1671#: calibre.devices.interface.DevicePlugin.open:20 1672#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1673#: calibre.devices.usbms.device.Device.open:20 1674msgid "" 1675"The UUID of the current calibre library. Can be None if there is no library " 1676"(for example when used from the command line)." 1677msgstr "UUID текущей библиотеки calibre. Может иметь значение None, если библиотеки нет (например, при использовании из командной строки)." 1678 1679#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1680#: calibre.devices.interface.DevicePlugin.eject:1 1681#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1682#: calibre.devices.usbms.device.Device.eject:1 1683msgid "" 1684"Un-mount / eject the device from the OS. This does not check if there are " 1685"pending GUI jobs that need to communicate with the device." 1686msgstr "Размонтировать/извлечь устройство из ОС. Не проверяется есть ли ожидающие задания графического интерфейса пользователя, которым необходимо взаимодействовать с устройством." 1687 1688#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1689#: calibre.devices.interface.DevicePlugin.eject:4 1690#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1691#: calibre.devices.usbms.device.Device.eject:4 1692msgid "" 1693"NOTE: That this method may not be called on the same thread as the rest of " 1694"the device methods." 1695msgstr "ПРИМЕЧАНИЕ. Этот метод нельзя вызывать в том же потоке, что и остальные методы устройства." 1696 1697#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1698#: calibre.devices.interface.DevicePlugin.post_yank_cleanup:1 1699#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1700#: calibre.devices.usbms.device.Device.post_yank_cleanup:1 1701msgid "Called if the user yanks the device without ejecting it first." 1702msgstr "Вызывается, если пользователь дергает устройство, не извлекая его предварительно." 1703 1704#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1705#: calibre.devices.interface.DevicePlugin.set_progress_reporter:1 1706#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1707#: calibre.devices.usbms.device.Device.set_progress_reporter:1 1708msgid "Set a function to report progress information." 1709msgstr "Установить функцию для сообщения информации о ходе выполнения." 1710 1711#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1712#: calibre.devices.interface.DevicePlugin.get_device_information:1 1713#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1714#: calibre.devices.usbms.driver.USBMS.get_device_information:1 1715msgid "Ask device for device information. See L{DeviceInfoQuery}." 1716msgstr "Спросить у устройства информацию об устройстве. См. L{DeviceInfoQuery}." 1717 1718#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1719#: calibre.devices.interface.DevicePlugin.get_device_information:3 1720#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1721#: calibre.devices.usbms.driver.USBMS.get_device_information:3 1722msgid "" 1723"(device name, device version, software version on device, MIME type) The " 1724"tuple can optionally have a fifth element, which is a drive information " 1725"dictionary. See usbms.driver for an example." 1726msgstr "(имя устройства, версия устройства, версия программного обеспечения на устройстве, тип MIME). Кортеж может дополнительно иметь пятый элемент, который является словарем информации о накопителе. См. пример usbms.driver." 1727 1728#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1729#: calibre.devices.interface.DevicePlugin.get_driveinfo:1 1730msgid "" 1731"Return the driveinfo dictionary. Usually called from " 1732"get_device_information(), but if loading the driveinfo is slow for this " 1733"driver, then it should set SLOW_DRIVEINFO. In this case, this method will be" 1734" called by calibre after the book lists have been loaded. Note that it is " 1735"not called on the device thread, so the driver should cache the drive info " 1736"in the books() method and this function should return the cached data." 1737msgstr "Вернуть словарь driveinfo. Обычно вызывается из get_device_information(), но если загрузка информации о диске для этого драйвера происходит медленно, то следует установить SLOW_DRIVEINFO. В этом случае этот метод будет вызываться calibre после загрузки списков книг. Обратите внимание, что он не вызывается в потоке устройства, поэтому драйвер должен кэшировать информацию о диске в методе books(), и эта функция должна возвращать кэшированные данные." 1738 1739#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1740#: calibre.devices.interface.DevicePlugin.card_prefix:1 1741#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1742#: calibre.devices.usbms.device.Device.card_prefix:1 1743msgid "" 1744"Return a 2 element list of the prefix to paths on the cards. If no card is " 1745"present None is set for the card's prefix. E.G. ('/place', '/place2') (None," 1746" 'place2') ('place', None) (None, None)" 1747msgstr "Возвращает список из 2 элементов префикса для путей на карточках. Если карта отсутствует, для префикса карты устанавливается значение None. НАПРИМЕР ('/place', '/place2') (None, 'place2') ('place', None) (None, None)" 1748 1749#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1750#: calibre.devices.interface.DevicePlugin.total_space:4 1751#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1752#: calibre.devices.usbms.device.Device.total_space:4 1753msgid "Get total space available on the mountpoints:" 1754msgstr "Получить общее пространство, доступное на точках монтирования:" 1755 1756#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1757#: calibre.devices.interface.DevicePlugin.total_space:2 1758#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1759#: calibre.devices.interface.DevicePlugin.free_space:2 1760#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1761#: calibre.devices.usbms.device.Device.total_space:2 1762#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1763#: calibre.devices.usbms.device.Device.free_space:2 1764msgid "Main memory" 1765msgstr "Основная память" 1766 1767#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1768#: calibre.devices.interface.DevicePlugin.total_space:3 1769#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1770#: calibre.devices.usbms.device.Device.total_space:3 1771msgid "Memory Card A" 1772msgstr "Карта памяти A" 1773 1774#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1775#: calibre.devices.interface.DevicePlugin.total_space:4 1776#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1777#: calibre.devices.usbms.device.Device.total_space:4 1778msgid "Memory Card B" 1779msgstr "Карта памяти B" 1780 1781#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1782#: calibre.devices.interface.DevicePlugin.total_space:6 1783#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1784#: calibre.devices.usbms.device.Device.total_space:6 1785msgid "" 1786"A 3 element list with total space in bytes of (1, 2, 3). If a particular " 1787"device doesn't have any of these locations it should return 0." 1788msgstr "Список из трех элементов с общим объёмом в байтах (1, 2, 3). Если на конкретном устройстве нет ни одного из этих местоположений, оно должно вернуть 0." 1789 1790#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1791#: calibre.devices.interface.DevicePlugin.free_space:4 1792#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1793#: calibre.devices.usbms.device.Device.free_space:4 1794msgid "Get free space available on the mountpoints:" 1795msgstr "Получить свободное место на точках монтирования:" 1796 1797#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1798#: calibre.devices.interface.DevicePlugin.free_space:3 1799#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1800#: calibre.devices.usbms.device.Device.free_space:3 1801msgid "Card A" 1802msgstr "Карта 1" 1803 1804#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1805#: calibre.devices.interface.DevicePlugin.free_space:4 1806#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1807#: calibre.devices.usbms.device.Device.free_space:4 1808msgid "Card B" 1809msgstr "Карта 2" 1810 1811#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1812#: calibre.devices.interface.DevicePlugin.free_space:6 1813#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1814#: calibre.devices.usbms.device.Device.free_space:6 1815msgid "" 1816"A 3 element list with free space in bytes of (1, 2, 3). If a particular " 1817"device doesn't have any of these locations it should return -1." 1818msgstr "Список из трех элементов со свободным пространством в байтах (1, 2, 3). Если конкретное устройство не имеет ни одного из этих местоположений, оно должно вернуть -1." 1819 1820#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1821#: calibre.devices.interface.DevicePlugin.books:1 1822#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1823#: calibre.devices.usbms.driver.USBMS.books:1 1824msgid "Return a list of e-books on the device." 1825msgstr "Вернуть список электронных книг на устройстве." 1826 1827#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1828#: calibre.devices.interface.DevicePlugin.books:3 1829#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1830#: calibre.devices.usbms.driver.USBMS.books:3 1831msgid "" 1832"If 'carda' or 'cardb' return a list of e-books on the specific storage card," 1833" otherwise return list of e-books in main memory of device. If a card is " 1834"specified and no books are on the card return empty list." 1835msgstr "Если 'carda' или 'cardb' возвращают список электронных книг на определенной карте памяти, в противном случае возвращает список электронных книг в основной памяти устройства. Если карта указана и на ней нет книг, вернуть пустой список." 1836 1837#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1838#: calibre.devices.interface.DevicePlugin.books:8 1839#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1840#: calibre.devices.usbms.driver.USBMS.books:8 1841msgid "A BookList." 1842msgstr "СписокКниг." 1843 1844#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1845#: calibre.devices.interface.DevicePlugin.upload_books:1 1846#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1847#: calibre.devices.usbms.driver.USBMS.upload_books:1 1848msgid "" 1849"Upload a list of books to the device. If a file already exists on the " 1850"device, it should be replaced. This method should raise a " 1851":class:`FreeSpaceError` if there is not enough free space on the device. The" 1852" text of the FreeSpaceError must contain the word \"card\" if ``on_card`` is" 1853" not None otherwise it must contain the word \"memory\"." 1854msgstr "Загрузите список книг на устройство. Если файл уже существует на устройстве, его следует заменить. Этот метод должен вызывать :class:`FreeSpaceError`, если на устройстве недостаточно свободного места. Текст FreeSpaceError должен содержать слово \"card\", если ``on_card`` не равно None, в противном случае он должен содержать слово \"memory\"." 1855 1856#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1857#: calibre.devices.interface.DevicePlugin.upload_books:7 1858#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1859#: calibre.devices.usbms.driver.USBMS.upload_books:7 1860msgid "A list of paths" 1861msgstr "Список путей" 1862 1863#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1864#: calibre.devices.interface.DevicePlugin.upload_books:8 1865#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1866#: calibre.devices.usbms.driver.USBMS.upload_books:8 1867msgid "" 1868"A list of file names that the books should have once uploaded to the device." 1869" len(names) == len(files)" 1870msgstr "Список имен файлов книг которые были уже загружены на устройство. len(names) == len(files)" 1871 1872#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1873#: calibre.devices.interface.DevicePlugin.upload_books:10 1874#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1875#: calibre.devices.usbms.driver.USBMS.upload_books:10 1876msgid "" 1877"If not None, it is a list of :class:`Metadata` objects. The idea is to use " 1878"the metadata to determine where on the device to put the book. len(metadata)" 1879" == len(files). Apart from the regular cover (path to cover), there may also" 1880" be a thumbnail attribute, which should be used in preference. The thumbnail" 1881" attribute is of the form (width, height, cover_data as jpeg)." 1882msgstr "Если не None, это список объектов :class:`Metadata`. Идея состоит в том, чтобы использовать метаданные, чтобы определить, где на устройстве разместить книгу. len(metadata) == len(files). Помимо обычной обложки (путь к обложке), также может быть атрибут эскиза, который следует использовать в предпочтении. Атрибут эскиза имеет форму (ширина, высота, данные обложки в формате jpeg)." 1883 1884#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1885#: calibre.devices.interface.DevicePlugin.upload_books:17 1886#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1887#: calibre.devices.usbms.driver.USBMS.upload_books:17 1888msgid "" 1889"A list of 3-element tuples. The list is meant to be passed to " 1890":meth:`add_books_to_metadata`." 1891msgstr "Список трехэлементных кортежей. Список предназначен для передачи в :meth:`add_books_to_metadata`." 1892 1893#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1894#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:1 1895#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1896#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:1 1897msgid "" 1898"Add locations to the booklists. This function must not communicate with the " 1899"device." 1900msgstr "Добавить местоположения в списки книг. Эта функция не должна связываться с устройством." 1901 1902#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1903#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:4 1904#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1905#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:4 1906msgid "Result of a call to L{upload_books}" 1907msgstr "Результат звонка L {upload_books}" 1908 1909#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1910#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:5 1911#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1912#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:5 1913msgid "List of :class:`Metadata` objects, same as for :meth:`upload_books`." 1914msgstr "Список объектов :class:`Metadata`, такой же, как для :meth:`upload_books`." 1915 1916#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1917#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:7 1918#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1919#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:5 1920#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1921#: calibre.devices.interface.DevicePlugin.sync_booklists:3 1922#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1923#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:7 1924#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1925#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:5 1926#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1927#: calibre.devices.usbms.driver.USBMS.sync_booklists:3 1928msgid "" 1929"A tuple containing the result of calls to (:meth:`books(oncard=None)`, " 1930":meth:`books(oncard='carda')`, :meth`books(oncard='cardb')`)." 1931msgstr "Кортеж, содержащий результат вызовов (:meth:`books (oncard = None)`,: meth:`books(oncard='carda')`,: meth`books(oncard='cardb')`)." 1932 1933#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1934#: calibre.devices.interface.DevicePlugin.delete_books:1 1935#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1936#: calibre.devices.usbms.driver.USBMS.delete_books:1 1937msgid "Delete books at paths on device." 1938msgstr "Удалять книги по путям на устройстве." 1939 1940#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1941#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:1 1942#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1943#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:1 1944msgid "" 1945"Remove books from the metadata list. This function must not communicate with" 1946" the device." 1947msgstr "Удалить книги из списка метаданных. Эта функция не должна связываться с устройством." 1948 1949#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1950#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:4 1951#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1952#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:4 1953msgid "paths to books on the device." 1954msgstr "пути к книгам на устройстве." 1955 1956#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1957#: calibre.devices.interface.DevicePlugin.sync_booklists:1 1958#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1959#: calibre.devices.usbms.driver.USBMS.sync_booklists:1 1960msgid "Update metadata on device." 1961msgstr "Обновить метаданные на устройстве." 1962 1963#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1964#: calibre.devices.interface.DevicePlugin.get_file:1 1965msgid "Read the file at ``path`` on the device and write it to outfile." 1966msgstr "Прочитать файл по ``пути`` на устройстве и записать его в outfile." 1967 1968#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1969#: calibre.devices.interface.DevicePlugin.get_file:3 1970msgid "file object like ``sys.stdout`` or the result of an :func:`open` call." 1971msgstr "файловый объект, например ``sys.stdout``, или результат вызова :func:`open`." 1972 1973#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1974#: calibre.devices.interface.DevicePlugin.config_widget:1 1975msgid "" 1976"Should return a QWidget. The QWidget contains the settings for the device " 1977"interface" 1978msgstr "Должен вернуть QWidget. QWidget содержит настройки интерфейса устройства." 1979 1980#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1981#: calibre.devices.interface.DevicePlugin.save_settings:1 1982msgid "" 1983"Should save settings to disk. Takes the widget created in " 1984":meth:`config_widget` and saves all settings to disk." 1985msgstr "Должно сохранить настройки на диск. Принимает виджет, созданный в :meth:`config_widget`, и сохраняет все настройки на диск." 1986 1987#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1988#: calibre.devices.interface.DevicePlugin.settings:1 1989msgid "" 1990"Should return an opts object. The opts object should have at least one " 1991"attribute `format_map` which is an ordered list of formats for the device." 1992msgstr "Должно вернуть объект opts. Объект opts должен иметь как минимум один атрибут format_map, представляющий собой упорядоченный список форматов для устройства." 1993 1994#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1995#: calibre.devices.interface.DevicePlugin.set_plugboards:1 1996msgid "" 1997"provide the driver the current set of plugboards and a function to select a " 1998"specific plugboard. This method is called immediately before add_books and " 1999"sync_booklists." 2000msgstr "предоставить драйверу текущий набор коммутационных панелей и функцию для выбора конкретной коммутационной панели. Этот метод вызывается непосредственно перед add_books и sync_booklists." 2001 2002#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2003#: calibre.devices.interface.DevicePlugin.set_plugboards:6 2004msgid "pb_func is a callable with the following signature::" 2005msgstr "pb_func - это вызываемый объект со следующей подписью::" 2006 2007#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2008#: calibre.devices.interface.DevicePlugin.set_plugboards:6 2009msgid "def pb_func(device_name, format, plugboards)" 2010msgstr " def pb_func(имя_устройства, формат, коммутационные панели)" 2011 2012#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2013#: calibre.devices.interface.DevicePlugin.set_plugboards:8 2014msgid "" 2015"You give it the current device name (either the class name or " 2016"DEVICE_PLUGBOARD_NAME), the format you are interested in (a 'real' format or" 2017" 'device_db'), and the plugboards (you were given those by set_plugboards, " 2018"the same place you got this method)." 2019msgstr " Вы даете ему текущее имя устройства (либо имя класса, либо DEVICE_PLUGBOARD_NAME), интересующий вас формат ('настоящий' формат или 'device_db') и подключаемые модули (вам их предоставил set_plugboards, тем же способом получаете этот метод)." 2020 2021#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2022#: calibre.devices.interface.DevicePlugin.set_plugboards:13 2023msgid "None or a single plugboard instance." 2024msgstr "Нет или один экземпляр коммутационной панели." 2025 2026#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2027#: calibre.devices.interface.DevicePlugin.set_driveinfo_name:1 2028#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2029#: calibre.devices.usbms.driver.USBMS.set_driveinfo_name:1 2030msgid "" 2031"Set the device name in the driveinfo file to 'name'. This setting will " 2032"persist until the file is re-created or the name is changed again." 2033msgstr "Задать имя устройства в файле информации о диске 'name'. Этот параметр будет действовать до тех пор, пока файл не будет создан заново или имя не будет изменено снова." 2034 2035#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2036#: calibre.devices.interface.DevicePlugin.set_driveinfo_name:4 2037#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2038#: calibre.devices.usbms.driver.USBMS.set_driveinfo_name:4 2039msgid "" 2040"Non-disk devices should implement this method based on the location codes " 2041"returned by the get_device_information() method." 2042msgstr "Недисковые устройства должны реализовывать этот метод на основе кодов местоположения, возвращаемых методом get_device_information()." 2043 2044#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2045#: calibre.devices.interface.DevicePlugin.prepare_addable_books:1 2046msgid "" 2047"Given a list of paths, returns another list of paths. These paths point to " 2048"addable versions of the books." 2049msgstr "Учитывая список путей, возвращает другой список путей. Эти пути указывают на добавляемые версии книг." 2050 2051#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2052#: calibre.devices.interface.DevicePlugin.prepare_addable_books:4 2053msgid "" 2054"If there is an error preparing a book, then instead of a path, the position " 2055"in the returned list for that book should be a three tuple: (original_path, " 2056"the exception instance, traceback)" 2057msgstr "Если при подготовке книги произошла ошибка, то вместо пути в возвращаемом списке для этой книги должна быть позиция из трёх кортежей: (исходный_путь, экземпляр исключения, трассировка)" 2058 2059#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2060#: calibre.devices.interface.DevicePlugin.startup:1 2061msgid "" 2062"Called when calibre is starting the device. Do any initialization required. " 2063"Note that multiple instances of the class can be instantiated, and thus " 2064"__init__ can be called multiple times, but only one instance will have this " 2065"method called. This method is called on the device thread, not the GUI " 2066"thread." 2067msgstr "Вызывается, когда calibre запускает устройство. Выполните любую требуемую инициализацию. Обратите внимание, что можно создать несколько экземпляров класса, и, следовательно, __init__ можно вызывать несколько раз, но только один экземпляр будет вызывать этот метод. Этот метод вызывается в потоке устройства, а не в потоке графического интерфейса пользователя." 2068 2069#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2070#: calibre.devices.interface.DevicePlugin.shutdown:1 2071msgid "" 2072"Called when calibre is shutting down, either for good or in preparation to " 2073"restart. Do any cleanup required. This method is called on the device " 2074"thread, not the GUI thread." 2075msgstr "Вызывается, когда calibre выключается навсегда или при подготовке к перезапуску. Сделайте любую необходимую очистку. Этот метод вызывается в потоке устройства, а не в потоке графического интерфейса пользователя." 2076 2077#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2078#: calibre.devices.interface.DevicePlugin.get_device_uid:1 2079msgid "" 2080"Must return a unique id for the currently connected device (this is called " 2081"immediately after a successful call to open()). You must implement this " 2082"method if you set ASK_TO_ALLOW_CONNECT = True" 2083msgstr "Должен возвращать уникальный идентификатор для текущего подключенного устройства (вызывается сразу после успешного вызова open()). Вы должны реализовать этот метод, если вы установите ASK_TO_ALLOW_CONNECT = True" 2084 2085#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2086#: calibre.devices.interface.DevicePlugin.ignore_connected_device:1 2087msgid "" 2088"Should ignore the device identified by uid (the result of a call to " 2089"get_device_uid()) in the future. You must implement this method if you set " 2090"ASK_TO_ALLOW_CONNECT = True. Note that this function is called immediately " 2091"after open(), so if open() caches some state, the driver should reset that " 2092"state." 2093msgstr "Должно игнорировать устройство, идентифицированное uid (результат вызова get_device_uid()) в будущем. Вы должны реализовать этот метод, если вы установите ASK_TO_ALLOW_CONNECT = True. Обратите внимание, что эта функция вызывается сразу после open(), поэтому, если open() кэширует какое-то состояние, драйвер должен сбросить это состояние." 2094 2095#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2096#: calibre.devices.interface.DevicePlugin.get_user_blacklisted_devices:1 2097msgid "" 2098"Return map of device uid to friendly name for all devices that the user has " 2099"asked to be ignored." 2100msgstr "Вернуть маппинг uid устройства к понятному имени для всех устройств, которые пользователь попросил игнорировать." 2101 2102#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2103#: calibre.devices.interface.DevicePlugin.set_user_blacklisted_devices:1 2104msgid "Set the list of device uids that should be ignored by this driver." 2105msgstr "Задать список идентификаторов устройств, которые должны игнорироваться этим драйвером." 2106 2107#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2108#: calibre.devices.interface.DevicePlugin.specialize_global_preferences:1 2109msgid "" 2110"Implement this method if your device wants to override a particular " 2111"preference. You must ensure that all call sites that want a preference that " 2112"can be overridden use device_prefs['something'] instead of " 2113"prefs['something']. Your method should call " 2114"device_prefs.set_overrides(pref=val, pref=val, ...). Currently used for: " 2115"metadata management (prefs['manage_device_metadata'])" 2116msgstr "Реализуйте этот метод, если ваше устройство хочет переопределить конкретную настройку. Вы должны убедиться, что все сайты вызовов, которым требуется переопределение настроек, используют device_prefs['something'] вместо prefs['something']. Ваш метод должен вызывать device_prefs.set_overrides(pref = val, pref = val, ...). В настоящее время используется для: управления метаданными (prefs['manage_device_metadata'])" 2117 2118#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2119#: calibre.devices.interface.DevicePlugin.set_library_info:1 2120msgid "" 2121"Implement this method if you want information about the current calibre " 2122"library. This method is called at startup and when the calibre library " 2123"changes while connected." 2124msgstr "Реализуйте этот метод, если вам нужна информация о текущей библиотеке calibre. Этот метод вызывается при запуске и при изменении библиотеки calibre при подключении." 2125 2126#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2127#: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:1 2128msgid "" 2129"Called by the device manager when starting plugins. If this method returns a" 2130" string, then a) it supports the device manager's dynamic control interface," 2131" and b) that name is to be used when talking to the plugin." 2132msgstr "Вызывается диспетчером устройств при запуске плагинов. Если этот метод возвращает строку, то а) он поддерживает интерфейс динамического управления диспетчера устройств и б) это имя должно использоваться при разговоре с плагином." 2133 2134#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2135#: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:5 2136#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2137#: calibre.devices.interface.DevicePlugin.start_plugin:5 2138#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2139#: calibre.devices.interface.DevicePlugin.stop_plugin:6 2140#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2141#: calibre.devices.interface.DevicePlugin.get_option:5 2142#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2143#: calibre.devices.interface.DevicePlugin.set_option:4 2144#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2145#: calibre.devices.interface.DevicePlugin.is_running:3 2146msgid "" 2147"This method can be called on the GUI thread. A driver that implements this " 2148"method must be thread safe." 2149msgstr "Этот метод можно вызвать в потоке графического интерфейса. Драйвер, реализующий этот метод, должен быть потокобезопасным." 2150 2151#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2152#: calibre.devices.interface.DevicePlugin.start_plugin:1 2153msgid "" 2154"This method is called to start the plugin. The plugin should begin to accept" 2155" device connections however it does that. If the plugin is already accepting" 2156" connections, then do nothing." 2157msgstr "Этот метод вызывается для запуска плагина. Плагин должен начать принимать подключения устройств, если он это делает. Если плагин уже принимает соединения, ничего не делайте." 2158 2159#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2160#: calibre.devices.interface.DevicePlugin.stop_plugin:1 2161msgid "" 2162"This method is called to stop the plugin. The plugin should no longer accept" 2163" connections, and should cleanup behind itself. It is likely that this " 2164"method should call shutdown. If the plugin is already not accepting " 2165"connections, then do nothing." 2166msgstr "Этот метод вызывается для остановки плагина. Плагин больше не должен принимать соединения и должен очищаться за собой. Вероятно этот метод должен вызывать выключение. Если плагин уже не принимает подключения, ничего не делайте." 2167 2168#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2169#: calibre.devices.interface.DevicePlugin.get_option:1 2170msgid "" 2171"Return the value of the option indicated by opt_string. This method can be " 2172"called when the plugin is not started. Return None if the option does not " 2173"exist." 2174msgstr "Вернуть значение параметра, указанного в opt_string. Этот метод можно вызвать, когда плагин не запущен. Вернуть None, если параметр не существует." 2175 2176#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2177#: calibre.devices.interface.DevicePlugin.set_option:1 2178msgid "" 2179"Set the value of the option indicated by opt_string. This method can be " 2180"called when the plugin is not started." 2181msgstr "Установить значение параметра, обозначенного opt_string. Этот метод можно вызвать, когда плагин не запущен." 2182 2183#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2184#: calibre.devices.interface.DevicePlugin.is_running:1 2185msgid "Return True if the plugin is started, otherwise false" 2186msgstr "Вернуть True, если плагин запущен, иначе false" 2187 2188#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2189#: calibre.devices.interface.DevicePlugin.synchronize_with_db:1 2190msgid "" 2191"Called during book matching when a book on the device is matched with a book" 2192" in calibre's db. The method is responsible for synchronizing data from the " 2193"device to calibre's db (if needed)." 2194msgstr "Вызывается во время сопоставления книг, когда книга на устройстве сопоставляется с книгой в базе данных calibre. Метод отвечает за синхронизацию данных с устройства в базу данных calibre (при необходимости)." 2195 2196#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2197#: calibre.devices.interface.DevicePlugin.synchronize_with_db:5 2198msgid "" 2199"The method must return a two-value tuple. The first value is a set of " 2200"calibre book ids changed if calibre's database was changed or None if the " 2201"database was not changed. If the first value is an empty set then the " 2202"metadata for the book on the device is updated with calibre's metadata and " 2203"given back to the device, but no GUI refresh of that book is done. This is " 2204"useful when the calibre data is correct but must be sent to the device." 2205msgstr "Метод должен возвращать кортеж с двумя значениями. Первое значение - это набор идентификаторов книг calibre, измененных, если база данных calibre была изменена, или None, если база данных не была изменена. Если первое значение является пустым набором, то метаданные для книги на устройстве обновляются метаданными calibre и возвращаются на устройство, но обновление графического интерфейса этой книги не выполняется. Полезно, если данные calibre верны, но их необходимо отправить на устройство." 2206 2207#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2208#: calibre.devices.interface.DevicePlugin.synchronize_with_db:13 2209msgid "" 2210"The second value is itself a 2-value tuple. The first value in the tuple " 2211"specifies whether a book format should be sent to the device. The intent is " 2212"to permit verifying that the book on the device is the same as the book in " 2213"calibre. This value must be None if no book is to be sent, otherwise return " 2214"the base file name on the device (a string like foobar.epub). Be sure to " 2215"include the extension in the name. The device subsystem will construct a " 2216"send_books job for all books with not- None returned values. Note: other " 2217"than to later retrieve the extension, the name is ignored in cases where the" 2218" device uses a template to generate the file name, which most do. The second" 2219" value in the returned tuple indicated whether the format is future-dated. " 2220"Return True if it is, otherwise return False. calibre will display a dialog " 2221"to the user listing all future dated books." 2222msgstr "Второе значение само по себе является кортежем с двумя значениями. Первое значение в кортеже указывает, следует ли отправлять на устройство формат книги. Цель состоит в том, чтобы разрешить проверку того, что книга на устройстве совпадает с книгой в calibre. Это значение должно быть None, если книга не отправляется, в противном случае возвращается базовое имя файла на устройстве (строка, вроде foobar.epub). Обязательно укажите расширение в имени. Подсистема устройства создаст задание send_books для всех книг, не возвращающих значений not-None. Примечание: кроме последующего извлечения расширения, имя игнорируется в тех случаях, когда устройство использует шаблон для генерации имени файла, в большинстве случаев так и происходит. Второе значение в возвращенном кортеже указывает, датирован ли формат будущей датой. Вернуть True, если это так, в противном случае вернуть False. calibre отобразит для пользователя диалоговое окно со списком всех книг датированных будущим." 2223 2224#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2225#: calibre.devices.interface.DevicePlugin.synchronize_with_db:27 2226msgid "" 2227"Extremely important: this method is called on the GUI thread. It must be " 2228"threadsafe with respect to the device manager's thread." 2229msgstr "Чрезвычайно важно: этот метод вызывается в потоке графического интерфейса. Он должен быть потокобезопасным по отношению к потоку диспетчера устройств." 2230 2231#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2232#: calibre.devices.interface.DevicePlugin.synchronize_with_db:30 2233msgid "" 2234"book_id: the calibre id for the book in the database. book_metadata: the " 2235"Metadata object for the book coming from the device. first_call: True if " 2236"this is the first call during a sync, False otherwise" 2237msgstr "book_id: идентификатор calibre книги в базе данных. book_metadata: объект метаданных для книги, поступающий с устройства. first_call: True, если это первый вызов во время синхронизации, в противном случае - False." 2238 2239#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2240#: calibre.devices.interface.BookList:1 2241msgid "Bases: :py:class:`list`" 2242msgstr "Bases: :py:class:`list`" 2243 2244#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2245#: calibre.devices.interface.BookList:1 2246msgid "A list of books. Each Book object must have the fields" 2247msgstr "Список книг. Каждый объект Book должен иметь поля" 2248 2249#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2250#: calibre.devices.interface.BookList:3 2251msgid "title" 2252msgstr "название" 2253 2254#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2255#: calibre.devices.interface.BookList:4 2256msgid "authors" 2257msgstr "авторы" 2258 2259#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2260#: calibre.devices.interface.BookList:5 2261msgid "size (file size of the book)" 2262msgstr "размер (размер файла книги)" 2263 2264#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2265#: calibre.devices.interface.BookList:6 2266msgid "datetime (a UTC time tuple)" 2267msgstr "datetime (кортеж времени в формате UTC)" 2268 2269#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2270#: calibre.devices.interface.BookList:7 2271msgid "path (path on the device to the book)" 2272msgstr "путь (путь на устройстве к книге)" 2273 2274#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2275#: calibre.devices.interface.BookList:8 2276msgid "" 2277"thumbnail (can be None) thumbnail is either a str/bytes object with the " 2278"image data or it should have an attribute image_path that stores an absolute" 2279" (platform native) path to the image" 2280msgstr "thumbnail (может быть None). thumbnail - это либо объект str/bytes с данными изображения, либо он должен иметь атрибут image_path, в котором хранится абсолютный (собственный для платформы) путь к изображению." 2281 2282#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2283#: calibre.devices.interface.BookList:11 2284msgid "tags (a list of strings, can be empty)." 2285msgstr "теги (список строк, может быть пустым)." 2286 2287#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2288#: calibre.devices.interface.BookList.supports_collections:1 2289msgid "Return True if the device supports collections for this book list." 2290msgstr "Вернуть True, если устройство поддерживает коллекции для этого списка книг." 2291 2292#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2293#: calibre.devices.interface.BookList.add_book:1 2294msgid "" 2295"Add the book to the booklist. Intent is to maintain any device-internal " 2296"metadata. Return True if booklists must be sync'ed" 2297msgstr "Добавить книгу в список книг. Намерение состоит в том, чтобы поддерживать любые внутренние метаданные устройства. Вернуть True, если необходимо синхронизировать списки книг" 2298 2299#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2300#: calibre.devices.interface.BookList.remove_book:1 2301msgid "" 2302"Remove a book from the booklist. Correct any device metadata at the same " 2303"time" 2304msgstr "Удалить книгу из списка книг. Исправить любые метаданные устройства одновременно" 2305 2306#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2307#: calibre.devices.interface.BookList.get_collections:1 2308msgid "" 2309"Return a dictionary of collections created from collection_attributes. Each " 2310"entry in the dictionary is of the form collection name:[list of books]" 2311msgstr "Вернуть словарь коллекций, созданных из collection_attributes. Каждая запись в словаре имеет название коллекции форм:[список книг]" 2312 2313#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2314#: calibre.devices.interface.BookList.get_collections:5 2315msgid "" 2316"The list of books is sorted by book title, except for collections created " 2317"from series, in which case series_index is used." 2318msgstr "Список книг отсортирован по названию, за исключением сборников, созданных из серий, в этом случае используется series_index." 2319 2320#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2321#: calibre.devices.interface.BookList.get_collections:8 2322msgid "A list of attributes of the Book object" 2323msgstr "Список атрибутов объекта Book" 2324 2325#: ../../__w/calibre/calibre/manual/plugins.rst:110 2326msgid "USB Mass Storage based devices" 2327msgstr "Устройства на базе USB Mass Storage" 2328 2329#: ../../__w/calibre/calibre/manual/plugins.rst:112 2330msgid "" 2331"The base class for such devices is " 2332":class:`calibre.devices.usbms.driver.USBMS`. This class in turn inherits " 2333"some of its functionality from its bases, documented below. A typical basic " 2334"USBMS based driver looks like this:" 2335msgstr "Базовый класс для таких устройств :class:`calibre.devices.usbms.driver.USBMS`. Этот класс, в свою очередь, наследует часть своих функций от своих основ, описанных ниже. Типичный базовый драйвер на основе USBMS выглядит так:" 2336 2337#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2338#: calibre.devices.usbms.device.Device:1 2339msgid "" 2340"Bases: :py:class:`calibre.devices.usbms.deviceconfig.DeviceConfig`, " 2341":py:class:`calibre.devices.interface.DevicePlugin`" 2342msgstr "Bases: :py:class:`calibre.devices.usbms.deviceconfig.DeviceConfig`, :py:class:`calibre.devices.interface.DevicePlugin`" 2343 2344#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2345#: calibre.devices.usbms.device.Device:1 2346msgid "" 2347"This class provides logic common to all drivers for devices that export " 2348"themselves as USB Mass Storage devices. Provides implementations for " 2349"mounting/ejecting of USBMS devices on all platforms." 2350msgstr "Этот класс обеспечивает логику, общую для всех драйверов для устройств, которые экспортируют себя как запоминающие устройства USB. Предоставляет реализации для установки/извлечения устройств USBMS на всех платформах." 2351 2352#: ../../__w/calibre/calibre/manual/docstring of 2353#: calibre.devices.usbms.device.Device.WINDOWS_MAIN_MEM:1 2354msgid "" 2355"String identifying the main memory of the device in the Windows PnP id " 2356"strings This can be None, string, list of strings or compiled regex" 2357msgstr "Строка, определяющая основную память устройства в строках идентификатора Windows PnP. Это может быть None, строка, список строк или скомпилированное регулярное выражение." 2358 2359#: ../../__w/calibre/calibre/manual/docstring of 2360#: calibre.devices.usbms.device.Device.WINDOWS_CARD_A_MEM:1 2361msgid "" 2362"String identifying the first card of the device in the Windows PnP id " 2363"strings This can be None, string, list of strings or compiled regex" 2364msgstr "Строка, идентифицирующая первую карту устройства в строках идентификатора Windows PnP. Это может быть None, строка, список строк или скомпилированное регулярное выражение." 2365 2366#: ../../__w/calibre/calibre/manual/docstring of 2367#: calibre.devices.usbms.device.Device.WINDOWS_CARD_B_MEM:1 2368msgid "" 2369"String identifying the second card of the device in the Windows PnP id " 2370"strings This can be None, string, list of strings or compiled regex" 2371msgstr "Строка, идентифицирующая вторую карту устройства в строках идентификатора Windows PnP. Это может быть None, строка, список строк или скомпилированное регулярное выражение." 2372 2373#: ../../__w/calibre/calibre/manual/docstring of 2374#: calibre.devices.usbms.device.Device.OSX_MAIN_MEM_VOL_PAT:1 2375msgid "" 2376"Used by the new driver detection to disambiguate main memory from storage " 2377"cards. Should be a regular expression that matches the main memory mount " 2378"point assigned by macOS" 2379msgstr "Используется при обнаружении нового драйвера для устранения неоднозначности основной памяти и карт памяти. Должно быть регулярное выражение, которое соответствует точке монтирования основной памяти, назначенной macOS." 2380 2381#: ../../__w/calibre/calibre/manual/docstring of 2382#: calibre.devices.usbms.device.Device.MAX_PATH_LEN:1 2383msgid "The maximum length of paths created on the device" 2384msgstr "Максимальная длина путей, созданных на устройстве" 2385 2386#: ../../__w/calibre/calibre/manual/docstring of 2387#: calibre.devices.usbms.device.Device.NEWS_IN_FOLDER:1 2388msgid "Put news in its own folder" 2389msgstr "Поместите новости в отдельную папку" 2390 2391#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2392#: calibre.devices.usbms.device.Device.windows_sort_drives:1 2393msgid "" 2394"Called to disambiguate main memory and storage card for devices that do not " 2395"distinguish between them on the basis of `WINDOWS_CARD_NAME`. For example: " 2396"The EB600" 2397msgstr "Вызывается для устранения неоднозначности основной памяти и карты памяти для устройств, которые не различают их на основе `WINDOWS_CARD_NAME`. Например: EB600" 2398 2399#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2400#: calibre.devices.usbms.device.Device.sanitize_callback:1 2401msgid "" 2402"Callback to allow individual device drivers to override the path " 2403"sanitization used by :meth:`create_upload_path`." 2404msgstr "Обратный вызов, позволяющий отдельным драйверам устройств отменять очистку пути, используемую :meth:`create_upload_path`." 2405 2406#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2407#: calibre.devices.usbms.device.Device.filename_callback:1 2408msgid "" 2409"Callback to allow drivers to change the default file name set by " 2410":meth:`create_upload_path`." 2411msgstr "Обратный вызов, позволяющий драйверам изменять имя файла по умолчанию, установленное :meth:`create_upload_path`." 2412 2413#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2414#: calibre.devices.usbms.device.Device.sanitize_path_components:1 2415msgid "" 2416"Perform any device specific sanitization on the path components for files to" 2417" be uploaded to the device" 2418msgstr "Выполнить любую специальную очистку устройства в компонентах пути для файлов, которые будут загружены на устройство." 2419 2420#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2421#: calibre.devices.usbms.device.Device.get_annotations:1 2422msgid "Resolve path_map to annotation_map of files found on the device" 2423msgstr "Разрешить path_map в annotation_map файлов, найденных на устройстве" 2424 2425#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2426#: calibre.devices.usbms.device.Device.add_annotation_to_library:1 2427msgid "Add an annotation to the calibre library" 2428msgstr "Добавить аннотацию в библиотеку calibre" 2429 2430#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2431#: calibre.devices.usbms.driver.USBMS:1 2432msgid "" 2433"Bases: :py:class:`calibre.devices.usbms.cli.CLI`, " 2434":py:class:`calibre.devices.usbms.device.Device`" 2435msgstr "Bases: :py:class:`calibre.devices.usbms.cli.CLI`, :py:class:`calibre.devices.usbms.device.Device`" 2436 2437#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2438#: calibre.devices.usbms.driver.USBMS:1 2439msgid "" 2440"The base class for all USBMS devices. Implements the logic for " 2441"sending/getting/updating metadata/caching metadata/etc." 2442msgstr "Базовый класс для всех устройств USBMS. Реализует логику отправки/получения/обновления метаданных/кеширования метаданных и т. д." 2443 2444#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2445#: calibre.devices.usbms.driver.USBMS.upload_cover:1 2446msgid "Upload book cover to the device. Default implementation does nothing." 2447msgstr "Загрузить обложку книги на устройство. Реализация по умолчанию ничего не делает." 2448 2449#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2450#: calibre.devices.usbms.driver.USBMS.upload_cover:3 2451msgid "The full path to the folder where the associated book is located." 2452msgstr "Полный путь к папке, в которой находится соответствующая книга." 2453 2454#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2455#: calibre.devices.usbms.driver.USBMS.upload_cover:4 2456msgid "The name of the book file without the extension." 2457msgstr "Имя файла книги без расширения." 2458 2459#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2460#: calibre.devices.usbms.driver.USBMS.upload_cover:5 2461msgid "metadata belonging to the book. Use metadata.thumbnail for cover" 2462msgstr "метаданные, принадлежащие книге. Используйте metadata.thumbnail для обложки" 2463 2464#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2465#: calibre.devices.usbms.driver.USBMS.upload_cover:7 2466msgid "The full path to the e-book file" 2467msgstr "Полный путь к файлу электронной книги" 2468 2469#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2470#: calibre.devices.usbms.driver.USBMS.normalize_path:1 2471msgid "Return path with platform native path separators" 2472msgstr "Вернуть путь с нативными разделителями путей платформы" 2473 2474#: ../../__w/calibre/calibre/manual/plugins.rst:157 2475msgid "User interface actions" 2476msgstr "Действия в пользовательском интерфейсе" 2477 2478#: ../../__w/calibre/calibre/manual/plugins.rst:159 2479msgid "" 2480"If you are adding your own plugin in a ZIP file, you should subclass both " 2481"InterfaceActionBase and InterfaceAction. The :meth:`load_actual_plugin` " 2482"method of your InterfaceActionBase subclass must return an instantiated " 2483"object of your InterfaceBase subclass." 2484msgstr "Если вы добавляете свой собственный плагин в ZIP-файл, вы должны создать подкласс как InterfaceActionBase, так и InterfaceAction. Метод :meth:`load_actual_plugin` вашего подкласса InterfaceActionBase должен возвращать экземпляр объекта вашего подкласса InterfaceBase." 2485 2486#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2487#: calibre.gui2.actions.InterfaceAction:1 2488msgid "Bases: :py:class:`PyQt5.QtCore.QObject`" 2489msgstr "Bases: :py:class:`PyQt5.QtCore.QObject`" 2490 2491#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2492#: calibre.gui2.actions.InterfaceAction:1 2493msgid "" 2494"A plugin representing an \"action\" that can be taken in the graphical user " 2495"interface. All the items in the toolbar and context menus are implemented by" 2496" these plugins." 2497msgstr "Плагин, представляющий \"действие\", которое может быть выполнено в графическом пользовательском интерфейсе. Все элементы на панели инструментов и контекстных меню реализованы этими плагинами." 2498 2499#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2500#: calibre.gui2.actions.InterfaceAction:5 2501msgid "" 2502"Note that this class is the base class for these plugins, however, to " 2503"integrate the plugin with calibre's plugin system, you have to make a " 2504"wrapper class that references the actual plugin. See the " 2505":mod:`calibre.customize.builtins` module for examples." 2506msgstr "Обратите внимание, что этот класс является базовым классом для этих подключаемых модулей, однако, чтобы интегрировать подключаемый модуль с системой подключаемых модулей calibre, вам необходимо создать класс-оболочку, который ссылается на фактический подключаемый модуль. См. Примеры модуля :mod:`calibre.customize.builtins`." 2507 2508#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2509#: calibre.gui2.actions.InterfaceAction:10 2510msgid "" 2511"If two :class:`InterfaceAction` objects have the same name, the one with " 2512"higher priority takes precedence." 2513msgstr "Если два объекта :class:`InterfaceAction` имеют одинаковое имя, приоритет имеет объект с более высоким приоритетом." 2514 2515#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2516#: calibre.gui2.actions.InterfaceAction:13 2517msgid "" 2518"Sub-classes should implement the :meth:`genesis`, :meth:`library_changed`, " 2519":meth:`location_selected`, :meth:`shutting_down`, " 2520":meth:`initialization_complete` and :meth:`tag_browser_context_action` " 2521"methods." 2522msgstr "Подклассы должны реализовывать методы :meth:`genesis`, :meth:`library_changed`, :meth:`location_selected`, :meth:`shutting_down`, :meth:`initialization_complete` и :meth:`tag_browser_context_action` " 2523 2524#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2525#: calibre.gui2.actions.InterfaceAction:17 2526msgid "" 2527"Once initialized, this plugin has access to the main calibre GUI via the " 2528":attr:`gui` member. You can access other plugins by name, for example::" 2529msgstr "После инициализации этот плагин получает доступ к графическому интерфейсу основного calibre через член :attr:`gui`. Вы можете получить доступ к другим плагинам по имени, например::" 2530 2531#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2532#: calibre.gui2.actions.InterfaceAction:22 2533msgid "" 2534"To access the actual plugin, use the :attr:`interface_action_base_plugin` " 2535"attribute, this attribute only becomes available after the plugin has been " 2536"initialized. Useful if you want to use methods from the plugin class like " 2537"do_user_config()." 2538msgstr "Чтобы получить доступ к собственному плагину, используйте атрибут :attr:`interface_action_base_plugin`, этот атрибут становится доступным только после инициализации плагина. Полезно, если вы хотите использовать методы из класса плагина, например do_user_config()." 2539 2540#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2541#: calibre.gui2.actions.InterfaceAction:27 2542msgid "" 2543"The QAction specified by :attr:`action_spec` is automatically create and " 2544"made available as ``self.qaction``." 2545msgstr "QAction, указанный в :attr:`action_spec`, создается автоматически и становится доступным как self.qaction." 2546 2547#: ../../__w/calibre/calibre/manual/docstring of 2548#: calibre.gui2.actions.InterfaceAction.name:1 2549msgid "" 2550"The plugin name. If two plugins with the same name are present, the one with" 2551" higher priority takes precedence." 2552msgstr "Название плагина. Если присутствуют два плагина с одинаковым именем, приоритет имеет тот, который имеет более высокий приоритет." 2553 2554#: ../../__w/calibre/calibre/manual/docstring of 2555#: calibre.gui2.actions.InterfaceAction.priority:1 2556msgid "" 2557"The plugin priority. If two plugins with the same name are present, the one " 2558"with higher priority takes precedence." 2559msgstr "Приоритет плагина. Если присутствуют два плагина с одинаковым именем, приоритет имеет тот, который имеет более высокий приоритет." 2560 2561#: ../../__w/calibre/calibre/manual/docstring of 2562#: calibre.gui2.actions.InterfaceAction.popup_type:1 2563msgid "The menu popup type for when this plugin is added to a toolbar" 2564msgstr "Тип всплывающего меню, когда этот плагин добавляется на панель инструментов." 2565 2566#: ../../__w/calibre/calibre/manual/docstring of 2567#: calibre.gui2.actions.InterfaceAction.auto_repeat:1 2568msgid "" 2569"Whether this action should be auto repeated when its shortcut key is held " 2570"down." 2571msgstr "Следует ли автоматически повторять это действие при удерживании его сочетания клавиш." 2572 2573#: ../../__w/calibre/calibre/manual/docstring of 2574#: calibre.gui2.actions.InterfaceAction.action_spec:1 2575msgid "" 2576"Of the form: (text, icon_path, tooltip, keyboard shortcut) icon, tooltip and" 2577" keyboard shortcut can be None shortcut must be a string, None or tuple of " 2578"shortcuts. If None, a keyboard shortcut corresponding to the action is not " 2579"registered. If you pass an empty tuple, then the shortcut is registered with" 2580" no default key binding." 2581msgstr "Форма: (текст, путь к значку, всплывающая подсказка, сочетание клавиш) значок, всплывающая подсказка и сочетание клавиш могут иметь значение None, сочетание клавиш должно быть строкой, None или кортежем сочетаний клавиш. Если None, сочетание клавиш, соответствующее действию, не регистрируется. Если вы передаете пустой кортеж, ярлык регистрируется без привязки клавиш по умолчанию." 2582 2583#: ../../__w/calibre/calibre/manual/docstring of 2584#: calibre.gui2.actions.InterfaceAction.action_add_menu:1 2585msgid "If True, a menu is automatically created and added to self.qaction" 2586msgstr "Если True, меню создается автоматически и добавляется в self.qaction." 2587 2588#: ../../__w/calibre/calibre/manual/docstring of 2589#: calibre.gui2.actions.InterfaceAction.action_menu_clone_qaction:1 2590msgid "" 2591"If True, a clone of self.qaction is added to the menu of self.qaction If you" 2592" want the text of this action to be different from that of self.qaction, set" 2593" this variable to the new text" 2594msgstr "Если True, клон self.qaction добавляется в меню self.qaction. Если вы хотите, чтобы текст этого действия отличался от текста self.qaction, установите для этой переменной новый текст." 2595 2596#: ../../__w/calibre/calibre/manual/docstring of 2597#: calibre.gui2.actions.InterfaceAction.dont_add_to:1 2598msgid "" 2599"Set of locations to which this action must not be added. See " 2600":attr:`all_locations` for a list of possible locations" 2601msgstr "Набор локаций, в которые нельзя добавлять это действие. См. :attr:`all_locations` для списка возможных местоположений." 2602 2603#: ../../__w/calibre/calibre/manual/docstring of 2604#: calibre.gui2.actions.InterfaceAction.dont_remove_from:1 2605msgid "" 2606"Set of locations from which this action must not be removed. See " 2607":attr:`all_locations` for a list of possible locations" 2608msgstr "Набор локаций, из которых нельзя удалять это действие. См. :attr:`all_locations` для списка возможных местоположений." 2609 2610#: ../../__w/calibre/calibre/manual/docstring of 2611#: calibre.gui2.actions.InterfaceAction.action_type:1 2612msgid "" 2613"Type of action 'current' means acts on the current view 'global' means an " 2614"action that does not act on the current view, but rather on calibre as a " 2615"whole" 2616msgstr "Тип действия 'current' означает действие в текущем представлении, 'global' означает действие, которое действует не на текущее представление, а, скорее, на calibre в целом." 2617 2618#: ../../__w/calibre/calibre/manual/docstring of 2619#: calibre.gui2.actions.InterfaceAction.accepts_drops:1 2620msgid "" 2621"If True, then this InterfaceAction will have the opportunity to interact " 2622"with drag and drop events. See the methods, :meth:`accept_enter_event`, " 2623":meth`:accept_drag_move_event`, :meth:`drop_event` for details." 2624msgstr "Если True, то у этого InterfaceAction будет возможность взаимодействовать с событиями перетаскивания. Подробнее см. в методах :meth:`accept_enter_event`, :meth:`accept_drag_move_event`, :meth:`drop_event`." 2625 2626#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2627#: calibre.gui2.actions.InterfaceAction.accept_enter_event:1 2628#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2629#: calibre.gui2.actions.InterfaceAction.accept_drag_move_event:1 2630msgid "" 2631"This method should return True iff this interface action is capable of " 2632"handling the drag event. Do not call accept/ignore on the event, that will " 2633"be taken care of by the calibre UI." 2634msgstr "Этот метод должен возвращать True, если это действие интерфейса способно обрабатывать событие перетаскивания. Не вызывайте accept/ignore для события, о котором позаботится пользовательский интерфейс calibre." 2635 2636#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2637#: calibre.gui2.actions.InterfaceAction.drop_event:1 2638msgid "" 2639"This method should perform some useful action and return True iff this " 2640"interface action is capable of handling the drop event. Do not call " 2641"accept/ignore on the event, that will be taken care of by the calibre UI. " 2642"You should not perform blocking/long operations in this function. Instead " 2643"emit a signal or use QTimer.singleShot and return quickly. See the builtin " 2644"actions for examples." 2645msgstr "Этот метод должен выполнять некоторые полезные действия и возвращать True, если это действие интерфейса способно обрабатывать событие drop. Не вызывайте accept/ignore для события, о котором позаботится пользовательский интерфейс calibre. В этой функции не следует выполнять блокирующие/длительные операции. Вместо этого отправьте сигнал или используйте QTimer.singleShot и быстро вернитесь. См. примеры встроенных действий." 2646 2647#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2648#: calibre.gui2.actions.InterfaceAction.create_menu_action:1 2649msgid "" 2650"Convenience method to easily add actions to a QMenu. Returns the created " 2651"QAction. This action has one extra attribute calibre_shortcut_unique_name " 2652"which if not None refers to the unique name under which this action is " 2653"registered with the keyboard manager." 2654msgstr "Удобный метод простого добавления действий в QMenu. Возвращает созданный QAction. Это действие имеет один дополнительный атрибут calibre_shortcut_unique_name, который, если не None, относится к уникальному имени, под которым это действие зарегистрировано диспетчером клавиатуры." 2655 2656#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2657#: calibre.gui2.actions.InterfaceAction.create_menu_action:6 2658msgid "The QMenu the newly created action will be added to" 2659msgstr "QMenu вновь созданное действие будет добавлено в" 2660 2661#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2662#: calibre.gui2.actions.InterfaceAction.create_menu_action:7 2663msgid "" 2664"A unique name for this action, this must be globally unique, so make it as " 2665"descriptive as possible. If in doubt, add an UUID to it." 2666msgstr "Уникальное имя для этого действия, оно должно быть уникальным во всем мире, поэтому сделайте его как можно более описательным. Если сомневаетесь, добавьте к нему UUID." 2667 2668#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2669#: calibre.gui2.actions.InterfaceAction.create_menu_action:10 2670msgid "The text of the action." 2671msgstr "Текст действия." 2672 2673#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2674#: calibre.gui2.actions.InterfaceAction.create_menu_action:11 2675msgid "" 2676"Either a QIcon or a file name. The file name is passed to the I() builtin, " 2677"so you do not need to pass the full path to the images folder." 2678msgstr "Либо QIcon, либо имя файла. Имя файла передается встроенной функции I(), поэтому вам не нужно передавать полный путь к папке изображений." 2679 2680#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2681#: calibre.gui2.actions.InterfaceAction.create_menu_action:14 2682msgid "" 2683"A string, a list of strings, None or False. If False, no keyboard shortcut " 2684"is registered for this action. If None, a keyboard shortcut with no default " 2685"keybinding is registered. String and list of strings register a shortcut " 2686"with default keybinding as specified." 2687msgstr "Строка, список строк, None или False. Если значение равно False, для этого действия не регистрируется комбинация клавиш. Если None, то регистрируется сочетание клавиш без привязки клавиш по умолчанию. Строка и список строк регистрируют ярлык с привязкой клавиш по умолчанию, как указано." 2688 2689#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2690#: calibre.gui2.actions.InterfaceAction.create_menu_action:18 2691msgid "A description for this action. Used to set tooltips." 2692msgstr "Описание этого действия. Используется для установки всплывающих подсказок." 2693 2694#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2695#: calibre.gui2.actions.InterfaceAction.create_menu_action:20 2696msgid "" 2697"A callable which is connected to the triggered signal of the created action." 2698msgstr "Вызываемый объект, связанный с сработавшим сигналом созданного действия." 2699 2700#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2701#: calibre.gui2.actions.InterfaceAction.create_menu_action:22 2702msgid "" 2703"The text displayed to the user when customizing the keyboard shortcuts for " 2704"this action. By default it is set to the value of ``text``." 2705msgstr "Текст, отображаемый пользователю при настройке сочетаний клавиш для этого действия. По умолчанию установлено значение text." 2706 2707#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2708#: calibre.gui2.actions.InterfaceAction.create_menu_action:25 2709msgid "" 2710"Shortcuts for actions that don't always appear, or are library dependent, " 2711"may disappear when other keyboard shortcuts are edited unless " 2712"```persist_shortcut``` is set True." 2713msgstr "Ярлыки для действий, которые не всегда появляются или зависят от библиотеки, могут исчезнуть при редактировании других сочетаний клавиш, если для параметра persist_shortcut установлено значение True." 2714 2715#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2716#: calibre.gui2.actions.InterfaceAction.load_resources:12 2717msgid "" 2718"A dictionary of the form ``{name : file_contents}``. Any names that were not" 2719" found in the ZIP file will not be present in the dictionary." 2720msgstr "Словарь формы '{name: file_contents}'. Любые имена, которые не были найдены в ZIP-файле, не будут присутствовать в словаре." 2721 2722#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2723#: calibre.gui2.actions.InterfaceAction.genesis:1 2724msgid "" 2725"Setup this plugin. Only called once during initialization. self.gui is " 2726"available. The action specified by :attr:`action_spec` is available as " 2727"``self.qaction``." 2728msgstr "Установка этого плагина. Вызывается только один раз во время инициализации. self.gui доступен. Действие, указанное в :attr:`action_spec`, доступно как ``self.qaction``." 2729 2730#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2731#: calibre.gui2.actions.InterfaceAction.location_selected:1 2732msgid "" 2733"Called whenever the book list being displayed in calibre changes. Currently " 2734"values for loc are: ``library, main, card and cardb``." 2735msgstr "Вызывается при изменении отображаемого списка книг в calibre. В настоящее время значения loc следующие: ``library, main, card и cardb``." 2736 2737#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2738#: calibre.gui2.actions.InterfaceAction.location_selected:4 2739msgid "" 2740"This method should enable/disable this action and its sub actions as " 2741"appropriate for the location." 2742msgstr "Этот метод должен включать/отключать это действие и его вспомогательные действия в зависимости от местоположения." 2743 2744#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2745#: calibre.gui2.actions.InterfaceAction.library_changed:1 2746msgid "Called whenever the current library is changed." 2747msgstr "Вызывается при изменении текущей библиотеки." 2748 2749#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2750#: calibre.gui2.actions.InterfaceAction.library_changed:3 2751msgid "The LibraryDatabase corresponding to the current library." 2752msgstr "LibraryDatabase, соответствующая текущей библиотеке." 2753 2754#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2755#: calibre.gui2.actions.InterfaceAction.gui_layout_complete:1 2756msgid "" 2757"Called once per action when the layout of the main GUI is completed. If your" 2758" action needs to make changes to the layout, they should be done here, " 2759"rather than in :meth:`initialization_complete`." 2760msgstr "Вызывается один раз за действие, когда макет основного графического интерфейса завершен. Если ваше действие требует внесения изменений в макет, они должны быть выполнены здесь, а не в :meth:`initialization_complete`." 2761 2762#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2763#: calibre.gui2.actions.InterfaceAction.initialization_complete:1 2764msgid "" 2765"Called once per action when the initialization of the main GUI is completed." 2766msgstr "Вызывается один раз для каждого действия после завершения инициализации основного графического интерфейса." 2767 2768#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2769#: calibre.gui2.actions.InterfaceAction.tag_browser_context_action:1 2770msgid "" 2771"Called when displaying the context menu in the Tag browser. ``index`` is the" 2772" QModelIndex that points to the Tag browser item that was right clicked. " 2773"Test it for validity with index.valid() and get the underlying TagTreeItem " 2774"object with index.data(Qt.ItemDataRole.UserRole). Any action objects yielded" 2775" by this method will be added to the context menu." 2776msgstr "Вызывается при отображении контекстного меню в браузере тегов. index - это QModelIndex, который указывает на элемент браузера тегов, нажатый правой кнопкой мыши. Проверьте его на достоверность с помощью index.valid () и получите базовый объект TagTreeItem с помощью index.data (Qt.ItemDataRole.UserRole). Любые объекты действия, полученные этим методом, будут добавлены в контекстное меню." 2777 2778#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2779#: calibre.gui2.actions.InterfaceAction.shutting_down:1 2780msgid "" 2781"Called once per plugin when the main GUI is in the process of shutting down." 2782" Release any used resources, but try not to block the shutdown for long " 2783"periods of time." 2784msgstr "Вызывается один раз для каждого плагина, когда основной графический интерфейс находится в процессе завершения работы. Освободите все используемые ресурсы, но постарайтесь не блокировать выключение на длительные периоды времени." 2785 2786#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2787#: calibre.customize.InterfaceActionBase.load_actual_plugin:1 2788msgid "This method must return the actual interface action plugin object." 2789msgstr "Этот метод должен возвращать фактический объект плагина действия интерфейса." 2790 2791#: ../../__w/calibre/calibre/manual/plugins.rst:175 2792msgid "Preferences plugins" 2793msgstr "Плагины параметров" 2794 2795#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2796#: calibre.customize.PreferencesPlugin:1 2797msgid "A plugin representing a widget displayed in the Preferences dialog." 2798msgstr "Плагин, представляющий виджет, отображаемый в диалоговом окне «Настройки»." 2799 2800#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2801#: calibre.customize.PreferencesPlugin:3 2802msgid "" 2803"This plugin has only one important method :meth:`create_widget`. The various" 2804" fields of the plugin control how it is categorized in the UI." 2805msgstr "У этого плагина есть только один важный метод :meth:`create_widget`. Различные поля плагина определяют его категоризацию в пользовательском интерфейсе." 2806 2807#: ../../__w/calibre/calibre/manual/docstring of 2808#: calibre.customize.PreferencesPlugin.config_widget:1 2809msgid "" 2810"Import path to module that contains a class named ConfigWidget which " 2811"implements the ConfigWidgetInterface. Used by :meth:`create_widget`." 2812msgstr "Путь импорта к модулю, который содержит класс с именем ConfigWidget, который реализует интерфейс ConfigWidgetInterface. Используется :meth:`create_widget`." 2813 2814#: ../../__w/calibre/calibre/manual/docstring of 2815#: calibre.customize.PreferencesPlugin.category_order:1 2816msgid "" 2817"Where in the list of categories the :attr:`category` of this plugin should " 2818"be." 2819msgstr "Где в списке категорий должна быть :attr:`category` этого плагина" 2820 2821#: ../../__w/calibre/calibre/manual/docstring of 2822#: calibre.customize.PreferencesPlugin.name_order:1 2823msgid "" 2824"Where in the list of names in a category, the :attr:`gui_name` of this " 2825"plugin should be" 2826msgstr "Где в списке имен в категории должен быть :attr:`gui_name` этого плагина" 2827 2828#: ../../__w/calibre/calibre/manual/docstring of 2829#: calibre.customize.PreferencesPlugin.category:1 2830msgid "The category this plugin should be in" 2831msgstr "Категория, в которую должен входить этот плагин" 2832 2833#: ../../__w/calibre/calibre/manual/docstring of 2834#: calibre.customize.PreferencesPlugin.gui_category:1 2835msgid "The category name displayed to the user for this plugin" 2836msgstr "Название категории, отображаемое пользователю для этого плагина." 2837 2838#: ../../__w/calibre/calibre/manual/docstring of 2839#: calibre.customize.PreferencesPlugin.gui_name:1 2840msgid "The name displayed to the user for this plugin" 2841msgstr "Имя, отображаемое пользователю для этого плагина." 2842 2843#: ../../__w/calibre/calibre/manual/docstring of 2844#: calibre.customize.PreferencesPlugin.icon:1 2845msgid "The icon for this plugin, should be an absolute path" 2846msgstr "Значок этого плагина должен быть абсолютным путем" 2847 2848#: ../../__w/calibre/calibre/manual/docstring of 2849#: calibre.customize.PreferencesPlugin.description:1 2850msgid "The description used for tooltips and the like" 2851msgstr "Описание, используемое для всплывающих подсказок и т.п." 2852 2853#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2854#: calibre.customize.PreferencesPlugin.create_widget:1 2855msgid "" 2856"Create and return the actual Qt widget used for setting this group of " 2857"preferences. The widget must implement the " 2858":class:`calibre.gui2.preferences.ConfigWidgetInterface`." 2859msgstr "Создать и вернуть фактический виджет Qt, используемый для установки этой группы предпочтений. Виджет должен реализовывать :class:`calibre.gui2.preferences.ConfigWidgetInterface`." 2860 2861#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2862#: calibre.customize.PreferencesPlugin.create_widget:5 2863msgid "" 2864"The default implementation uses :attr:`config_widget` to instantiate the " 2865"widget." 2866msgstr "Реализация по умолчанию использует :attr:`config_widget` для создания экземпляра виджета." 2867 2868#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2869#: of calibre.gui2.preferences.ConfigWidgetInterface:1 2870msgid "" 2871"This class defines the interface that all widgets displayed in the " 2872"Preferences dialog must implement. See :class:`ConfigWidgetBase` for a base " 2873"class that implements this interface and defines various convenience methods" 2874" as well." 2875msgstr "Этот класс определяет интерфейс, который должны реализовывать все виджеты, отображаемые в диалоговом окне «Настройки». Смотрите :class:`ConfigWidgetBase`, чтобы узнать о базовом классе, который реализует этот интерфейс и также определяет различные удобные методы." 2876 2877#: ../../__w/calibre/calibre/manual/docstring of 2878#: calibre.gui2.preferences.ConfigWidgetInterface.changed_signal:1 2879msgid "" 2880"This signal must be emitted whenever the user changes a value in this widget" 2881msgstr "Этот сигнал должен излучаться всякий раз, когда пользователь изменяет значение в этом виджете." 2882 2883#: ../../__w/calibre/calibre/manual/docstring of 2884#: calibre.gui2.preferences.ConfigWidgetInterface.supports_restoring_to_defaults:1 2885msgid "Set to True iff the :meth:`restore_to_defaults` method is implemented." 2886msgstr "Установить значение True, если реализован метод :meth:`restore_to_defaults`." 2887 2888#: ../../__w/calibre/calibre/manual/docstring of 2889#: calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults_desc:1 2890msgid "The tooltip for the \"Restore defaults\" button" 2891msgstr "Всплывающая подсказка для кнопки \"Восстановить умолчания\"" 2892 2893#: ../../__w/calibre/calibre/manual/docstring of 2894#: calibre.gui2.preferences.ConfigWidgetInterface.restart_critical:1 2895msgid "" 2896"If True the Preferences dialog will not allow the user to set any more " 2897"preferences. Only has effect if :meth:`commit` returns True." 2898msgstr "Если True, диалоговое окно Preferences не позволит пользователю устанавливать какие-либо другие предпочтения. Действует только в том случае, если :meth:`commit` возвращает True." 2899 2900#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2901#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:1 2902msgid "" 2903"Called once before the widget is displayed, should perform any necessary " 2904"setup." 2905msgstr "Вызывается один раз перед отображением виджета, должен выполнить все необходимые настройки." 2906 2907#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2908#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:4 2909msgid "The main calibre graphical user interface" 2910msgstr "Главный графический интерфейс пользователя calibre" 2911 2912#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2913#: of calibre.gui2.preferences.ConfigWidgetInterface.initialize:1 2914#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2915#: of calibre.gui2.preferences.ConfigWidgetBase.initialize:1 2916msgid "" 2917"Should set all config values to their initial values (the values stored in " 2918"the config files). A \"return\" statement is optional. Return False if the " 2919"dialog is not to be shown." 2920msgstr "Следует установить для всех значений конфигурации их начальные значения (значения, хранящиеся в файлах конфигурации). Оператор возврата не является обязательным. Вернуть False, если диалоговое окно не должно отображаться." 2921 2922#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2923#: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults:1 2924#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2925#: of calibre.gui2.preferences.ConfigWidgetBase.restore_defaults:1 2926msgid "Should set all config values to their defaults." 2927msgstr "Должно установить для всех значений конфигурации значения по умолчанию." 2928 2929#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2930#: of calibre.gui2.preferences.ConfigWidgetInterface.commit:1 2931#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2932#: of calibre.gui2.preferences.ConfigWidgetBase.commit:1 2933msgid "" 2934"Save any changed settings. Return True if the changes require a restart, " 2935"False otherwise. Raise an :class:`AbortCommit` exception to indicate that an" 2936" error occurred. You are responsible for giving the user feedback about what" 2937" the error is and how to correct it." 2938msgstr "Сохранить все изменённые настройки. Вернуть True, если изменения требуют перезапуска, в противном случае - False. Вызвать исключение :class:`AbortCommit`, чтобы указать, что произошла ошибка. Вы несете ответственность за предоставление пользователю отзыва о том, в чём заключается ошибка и как её исправить." 2939 2940#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2941#: of calibre.gui2.preferences.ConfigWidgetInterface.refresh_gui:1 2942msgid "" 2943"Called once after this widget is committed. Responsible for causing the gui " 2944"to reread any changed settings. Note that by default the GUI re-initializes " 2945"various elements anyway, so most widgets won't need to use this method." 2946msgstr "Вызывается один раз после фиксации этого виджета. Отвечает за то, что пользовательский интерфейс перечитывает любые измененные настройки. Обратите внимание, что по умолчанию графический интерфейс в любом случае повторно инициализирует различные элементы, поэтому большинству виджетов не нужно использовать этот метод." 2947 2948#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2949#: of calibre.gui2.preferences.ConfigWidgetBase:1 2950msgid "" 2951"Base class that contains code to easily add standard config widgets like " 2952"checkboxes, combo boxes, text fields and so on. See the :meth:`register` " 2953"method." 2954msgstr "Базовый класс, содержащий код для простого добавления стандартных виджетов конфигурации, таких как флажки, поля со списком, текстовые поля и т. д. См. метод :meth:`register`." 2955 2956#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2957#: of calibre.gui2.preferences.ConfigWidgetBase:5 2958msgid "" 2959"This class automatically handles change notification, resetting to default, " 2960"translation between gui objects and config objects, etc. for registered " 2961"settings." 2962msgstr "Этот класс автоматически обрабатывает уведомление об изменении, сброс до значения по умолчанию, перевод между объектами gui и объектами конфигурации и т. д. для зарегистрированных настроек." 2963 2964#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2965#: of calibre.gui2.preferences.ConfigWidgetBase:9 2966msgid "" 2967"If your config widget inherits from this class but includes setting that are" 2968" not registered, you should override the :class:`ConfigWidgetInterface` " 2969"methods and call the base class methods inside the overrides." 2970msgstr "Если ваш виджет конфигурации наследуется от этого класса, но включает в себя незарегистрированные параметры, вам следует переопределить методы :class:`ConfigWidgetInterface` и вызвать методы базового класса внутри переопределений." 2971 2972#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2973#: of calibre.gui2.preferences.ConfigWidgetBase.register:1 2974msgid "Register a setting." 2975msgstr "Зарегистрировать настройки." 2976 2977#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2978#: of calibre.gui2.preferences.ConfigWidgetBase.register:3 2979msgid "The setting name" 2980msgstr "Название настройки" 2981 2982#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2983#: of calibre.gui2.preferences.ConfigWidgetBase.register:4 2984msgid "The config object that reads/writes the setting" 2985msgstr "Объект конфигурации, который читает/записывает параметр" 2986 2987#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2988#: of calibre.gui2.preferences.ConfigWidgetBase.register:5 2989msgid "" 2990"The name of the GUI object that presents an interface to change the setting." 2991" By default it is assumed to be ``'opt_' + name``." 2992msgstr "Имя объекта GUI, представляющего интерфейс для изменения настройки. По умолчанию предполагается, что это ``'opt_' + name``." 2993 2994#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2995#: of calibre.gui2.preferences.ConfigWidgetBase.register:8 2996msgid "" 2997"If this setting is a multiple choice (combobox) based setting, the list of " 2998"choices. The list is a list of two element tuples of the form: ``[(gui name," 2999" value), ...]``" 3000msgstr "Если этот параметр основан на множественном выборе (поле со списком), то это - список вариантов. Список представляет собой список из двух кортежей элементов формы: `` [(имя графического интерфейса, значение), ...] ``" 3001 3002#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 3003#: of calibre.gui2.preferences.ConfigWidgetBase.register:11 3004msgid "" 3005"The class responsible for managing this setting. The default class handles " 3006"almost all cases, so this param is rarely used." 3007msgstr "Класс, отвечающий за управление этим параметром. Класс по умолчанию обрабатывает почти все случаи, поэтому этот параметр используется редко." 3008