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