Debian Codegraph @

translations/manual/ru/polish.po

raw
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 # Andrei Stepanov, 2026
7 # ashed <[email protected]>, 2021
8 # Родион Р., 2020-2021
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: calibre\n"
12 "Report-Msgid-Bugs-To: \n"
13 "POT-Creation-Date: 2026-08-26 16:50+0000\n"
14 "PO-Revision-Date: 2014-07-05 16:50+0000\n"
15 "Last-Translator: Andrei Stepanov, 2026\n"
16 "Language-Team: Russian (http://app.transifex.com/calibre/calibre/language/ru/)\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Language: ru\n"
21 "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"
22
23 #: ../../../__w/calibre/calibre/manual/polish.rst:4
24 msgid "API documentation for the e-book editing tools"
25 msgstr "Документация API инструмента редактирования электронных книг"
26
27 #: ../../../__w/calibre/calibre/manual/polish.rst:6
28 msgid ""
29 "The e-book editing tools consist of a "
30 ":class:`calibre.ebooks.oeb.polish.container.Container` object that "
31 "represents a book as a collection of HTML + resource files, and various "
32 "tools that can be used to perform operations on the container. All the tools"
33 " are in the form of module level functions in the various "
34 "``calibre.ebooks.oeb.polish.*`` modules."
35 msgstr "Инструменты редактирования электронных книг состоят из объекта :class:`calibre.ebooks.oeb.polish.container.Container`, который представляет книгу как набор файлов ресурсов HTML +, и различных инструментов, которые можно использовать для выполнения операций с контейнером. Все инструменты представлены в виде функций уровня модуля в различных модулях ``calibre.ebooks.oeb.polish.*``."
36
37 #: ../../../__w/calibre/calibre/manual/polish.rst:15
38 msgid "You obtain a container object for a book at a path like this::"
39 msgstr "Вы получаете объект-контейнер для книги по следующему пути::"
40
41 #: ../../../__w/calibre/calibre/manual/polish.rst:20
42 msgid ""
43 "If you are writing a plugin for the E-book editor, you get the current "
44 "container for the book being edited like this::"
45 msgstr " Если вы пишете плагин для редактора электронной книги, вы получаете текущий контейнер для редактируемой книги следующим образом::"
46
47 #: ../../../__w/calibre/calibre/manual/polish.rst:30
48 msgid "The Container object"
49 msgstr "Объект контейнера"
50
51 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
52 #: of calibre.ebooks.oeb.polish.container.Container:1
53 msgid ""
54 "A container represents an open e-book as a folder full of files and an OPF "
55 "file. There are two important concepts:"
56 msgstr "Контейнер представляет собой открытую электронную книгу в виде папки, полной файлов и файла OPF. Есть два важных понятия:"
57
58 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
59 #: of calibre.ebooks.oeb.polish.container.Container:4
60 msgid ""
61 "The root folder. This is the base of the e-book. All the e-books files are "
62 "inside this folder or in its sub-folders."
63 msgstr "Корневая папка. Это основа электронной книги. Все файлы электронных книг находятся внутри этой папки или в ее подпапках."
64
65 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
66 #: of calibre.ebooks.oeb.polish.container.Container:7
67 msgid ""
68 "Names: These are paths to the books' files relative to the root folder. They"
69 " always contain POSIX separators and are unquoted. They can be thought of as"
70 " canonical identifiers for files in the book. Most methods on the container "
71 "object work with names. Names are always in the NFC Unicode normal form."
72 msgstr "Имена: это пути к файлам книг относительно корневой папки. Они всегда содержат разделители POSIX и не заключаются в кавычки. Их можно рассматривать как канонические идентификаторы файлов в книге. Большинство методов объекта-контейнера работают с именами. Имена всегда в нормальной форме NFC Unicode."
73
74 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
75 #: of calibre.ebooks.oeb.polish.container.Container:13
76 msgid ""
77 "Clones: the container object supports efficient on-disk cloning, which is "
78 "used to implement checkpoints in the e-book editor. In order to make this "
79 "work, you should never access files on the filesystem directly. Instead, use"
80 " :meth:`raw_data` or :meth:`open` to read/write to component files in the "
81 "book."
82 msgstr "Клоны: объект-контейнер поддерживает эффективное клонирование на диске, которое используется для реализации контрольных точек в редакторе электронных книг. Чтобы это работало, вы никогда не должны обращаться к файлам в файловой системе напрямую. Вместо этого используйте :meth:`raw_data` или :meth:`open` для чтения/записи файлов компонентов в книге."
83
84 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
85 #: of calibre.ebooks.oeb.polish.container.Container:18
86 msgid ""
87 "When converting between hrefs and names use the methods provided by this "
88 "class, they assume all hrefs are quoted."
89 msgstr "При преобразовании между hrefs и именами используйте методы, предоставляемые этим классом, они предполагают, что все hrefs заключены в кавычки."
90
91 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
92 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1
93 msgid "Convert an absolute path to a canonical name relative to :attr:`root`"
94 msgstr "Преобразование абсолютного пути в каноническое имя относительно :attr:`root`"
95
96 #: ../../../__w/calibre/calibre/manual/polish.rst:0
97 msgid "Parameters"
98 msgstr "Параметры"
99
100 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
101 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3
102 msgid ""
103 "The base folder. By default the root for this container object is used."
104 msgstr "Базовая папка. По умолчанию используется корень для этого объекта-контейнера."
105
106 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
107 #: of calibre.ebooks.oeb.polish.container.Container.add_file:1
108 msgid ""
109 "Add a file to this container. Entries for the file are automatically created"
110 " in the OPF manifest and spine (if the file is a text document)"
111 msgstr " Добавить файл в этот контейнер. Записи для файла автоматически создаются в манифесте и корешке OPF (если файл является текстовым документом)."
112
113 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
114 #: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1
115 msgid ""
116 "Add an entry to the manifest for a file with the specified name. Returns the"
117 " manifest id."
118 msgstr "Добавить в манифест запись для файла с указанным именем. Возвращает идентификатор манифеста."
119
120 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
121 #: of calibre.ebooks.oeb.polish.container.Container.add_properties:1
122 msgid "Add the specified properties to the manifest item identified by name."
123 msgstr "Добавить указанные свойства в элемент манифеста, идентифицированный по имени."
124
125 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
126 #: of calibre.ebooks.oeb.polish.container.Container.apply_unique_properties:1
127 msgid ""
128 "Ensure that the specified properties are set on only the manifest item "
129 "identified by name. You can pass None as the name to remove the property "
130 "from all items."
131 msgstr "Убедитесь, что указанные свойства установлены только для элемента манифеста, указанного по имени. Вы можете передать None в качестве имени, чтобы удалить свойство из всех элементов."
132
133 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
134 #: of calibre.ebooks.oeb.polish.container.Container.book_type:1
135 msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)"
136 msgstr "Тип книги epub для файлов EPUB и azw3 для файлов AZW3"
137
138 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
139 #: of calibre.ebooks.oeb.polish.container.Container.commit:1
140 msgid ""
141 "Commit all dirtied parsed objects to the filesystem and write out the e-book"
142 " file at outpath."
143 msgstr "Зафиксировать все загрязненные проанализированные объекты в файловой системе и записать файл электронной книги по пути outpath."
144
145 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
146 #: of calibre.ebooks.oeb.polish.container.Container.commit:3
147 msgid ""
148 "The path to write the saved e-book file to. If None, the path of the "
149 "original book file is used."
150 msgstr "Путь для записи сохраненного файла электронной книги. Если None, используется путь к исходному файлу книги."
151
152 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
153 #: of calibre.ebooks.oeb.polish.container.Container.commit:4
154 msgid ""
155 "If True the parsed representations of committed items are kept in the cache."
156 msgstr "Если True, проанализированные представления зафиксированных элементов хранятся в кеше."
157
158 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
159 #: of calibre.ebooks.oeb.polish.container.Container.commit_item:1
160 msgid ""
161 "Commit a parsed object to disk (it is serialized and written to the "
162 "underlying file). If ``keep_parsed`` is True the parsed representation is "
163 "retained in the cache. See also: :meth:`parsed`"
164 msgstr "Зафиксировать проанализированный объект на диске (он сериализуется и записывается в базовый файл). Если ``keep_parsed`` - True, проанализированное представление сохраняется в кеше. См. также ::meth:`parsed`"
165
166 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
167 #: of calibre.ebooks.oeb.polish.container.Container.dirty:1
168 msgid ""
169 "Mark the parsed object corresponding to name as dirty. See also: "
170 ":meth:`parsed`."
171 msgstr "Отметить проанализированный объект, соответствующий имени, как грязный. См. Также ::meth:`parsed`."
172
173 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
174 #: of calibre.ebooks.oeb.polish.container.Container.exists:1
175 msgid ""
176 "True iff a file/folder corresponding to the canonical name exists. Note that"
177 " this function suffers from the limitations of the underlying OS filesystem,"
178 " in particular case (in)sensitivity. So on a case insensitive filesystem "
179 "this will return True even if the case of name is different from the case of"
180 " the underlying filesystem file. See also :meth:`has_name`"
181 msgstr "Истинно, только если существует файл/папка, соответствующие каноническому имени. Обратите внимание, что эта функция страдает от ограничений базовой файловой системы ОС, в частности из-за (не) чувствительности. Таким образом, в файловой системе, нечувствительной к регистру, это вернет True, даже если регистр имени отличается от регистра файла базовой файловой системы. См. Также :meth:`has_name`"
182
183 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
184 #: of calibre.ebooks.oeb.polish.container.Container.filesize:1
185 msgid ""
186 "Return the size in bytes of the file represented by the specified canonical "
187 "name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`"
188 msgstr "Вернуть размер в байтах файла, представленного указанным каноническим именем. Автоматически обрабатывает загрязненные проанализированные объекты. См. также ::meth:`parsed`"
189
190 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
191 #: of calibre.ebooks.oeb.polish.container.Container.generate_item:1
192 msgid ""
193 "Add an item to the manifest with href derived from the given name. Ensures "
194 "uniqueness of href and id automatically. Returns generated item."
195 msgstr "Добавить в манифест элемент с href, производным от заданного имени. Автоматически обеспечивает уникальность href и id. Возвращает сгенерированный элемент."
196
197 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
198 #: of
199 #: calibre.ebooks.oeb.polish.container.Container.get_file_path_for_processing:1
200 msgid ""
201 "Similar to open() except that it returns a file path, instead of an open "
202 "file object."
203 msgstr "Подобно open(), за исключением того, что он возвращает путь к файлу вместо объекта открытого файла."
204
205 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
206 #: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1
207 msgid "Mapping of guide type to canonical name"
208 msgstr "Сопоставление guide типа с каноническим именем"
209
210 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
211 #: of calibre.ebooks.oeb.polish.container.Container.has_name:1
212 msgid ""
213 "Return True iff a file with the same canonical name as that specified "
214 "exists. Unlike :meth:`exists` this method is always case-sensitive."
215 msgstr "Вернуть True, если существует файл с тем же каноническим именем, что и указанное. В отличие от :meth:`exists` этот метод всегда чувствителен к регистру."
216
217 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
218 #: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1
219 msgid ""
220 "Convert an href (relative to base) to a name. base must be a name or None, "
221 "in which case self.root is used."
222 msgstr "Преобразование href (относительно base) в имя. base должно быть именем или None, в этом случае используется self.root."
223
224 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
225 #: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1
226 msgid ""
227 "Insert item into parent (or append if index is None), fixing indentation. "
228 "Only works with self closing items."
229 msgstr "Вставить элемент в родительский (или добавить, если индекс равен None), исправив отступ. Работает только с самозакрывающимися элементами."
230
231 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
232 #: of calibre.ebooks.oeb.polish.container.Container.is_dir:1
233 msgid "If this container represents an unzipped book (a directory)"
234 msgstr "Если этот контейнер представляет собой распакованную книгу (каталог)"
235
236 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
237 #: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1
238 msgid ""
239 "Iterate over all links in name. If get_line_numbers is True the yields "
240 "results of the form (link, line_number, offset). Where line_number is the "
241 "line_number at which the link occurs and offset is the number of characters "
242 "from the start of the line. Note that offset could actually encompass "
243 "several lines if not zero."
244 msgstr "Перебрать все ссылки по имени. Если get_line_numbers имеет значение True, выдает результаты формы (ссылка, номер_строки, смещение). Где line_number - это номер line_number, в котором находится ссылка, а смещение - это количество символов от начала строки. Обратите внимание, что смещение может охватывать несколько строк, если не ноль."
245
246 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
247 #: of calibre.ebooks.oeb.polish.container.Container.make_name_unique:1
248 msgid ""
249 "Ensure that `name` does not already exist in this book. If it does, return a"
250 " modified version that does not exist."
251 msgstr "Убедится, что `name` уже не существует в этой книге. Если это так, вернуть измененную версию, которая не существует."
252
253 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
254 #: of calibre.ebooks.oeb.polish.container.Container.manifest_has_name:1
255 msgid "Return True if the manifest has an entry corresponding to name"
256 msgstr "Вернуть True, если в манифесте есть запись, соответствующая имени"
257
258 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
259 #: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1
260 msgid "Mapping of manifest id to canonical names"
261 msgstr "Сопоставление идентификатора манифеста с каноническими именами"
262
263 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
264 #: of calibre.ebooks.oeb.polish.container.Container.manifest_items_of_type:1
265 msgid ""
266 "The names of all manifest items whose media-type matches predicate. "
267 "`predicate` can be a set, a list, a string or a function taking a single "
268 "argument, which will be called with the media-type."
269 msgstr "Имена всех элементов манифеста, тип носителя которых соответствует предикату. `predicate` может быть набором, списком, строкой или функцией, принимающей один аргумент, которая будет вызываться с медиа-типом."
270
271 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
272 #: of
273 #: calibre.ebooks.oeb.polish.container.Container.manifest_items_with_property:1
274 msgid "All manifest items that have the specified property"
275 msgstr "Все элементы манифеста, имеющие указанное свойство"
276
277 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
278 #: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1
279 msgid ""
280 "Mapping of manifest media-type to list of canonical names of that media-type"
281 msgstr "Сопоставление манифестного медиа-типа со списком канонических имен этого медиа-типа"
282
283 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
284 #: of calibre.ebooks.oeb.polish.container.Container.mi:1
285 msgid ""
286 "The metadata of this book as a Metadata object. Note that this object is "
287 "constructed on the fly every time this property is requested, so use it "
288 "sparingly."
289 msgstr "Метаданные этой книги как объект метаданных. Обратите внимание, что этот объект создается «на лету» каждый раз, когда это свойство запрашивается, поэтому используйте его с осторожностью."
290
291 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
292 #: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1
293 msgid "Convert a canonical name to an absolute OS dependent path"
294 msgstr "Преобразование канонического имени в путь, полностью зависящий от ОС"
295
296 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
297 #: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1
298 msgid ""
299 "Convert a name to a href relative to base, which must be a name or None in "
300 "which case self.root is used as the base"
301 msgstr " Преобразование имени в href относительно базы, которое должно быть именем или None, в этом случае в качестве базы используется self.root."
302
303 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
304 #: of
305 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1
306 msgid ""
307 "Set of names that must never be renamed. Depends on the e-book file format."
308 msgstr "Набор имен, которые нельзя переименовывать. Зависит от формата файла электронной книги."
309
310 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
311 #: of
312 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1
313 msgid ""
314 "Set of names that must never be deleted from the container. Depends on the "
315 "e-book file format."
316 msgstr "Набор имен, которые нельзя удалять из контейнера. Зависит от формата файла электронной книги."
317
318 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
319 #: of
320 #: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1
321 msgid ""
322 "Set of names that are allowed to be missing from the manifest. Depends on "
323 "the e-book file format."
324 msgstr "Набор имен, которые могут отсутствовать в манифесте. Зависит от формата файла электронной книги."
325
326 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
327 #: of calibre.ebooks.oeb.polish.container.Container.open:1
328 msgid ""
329 "Open the file pointed to by name for direct read/write. Note that this will "
330 "commit the file if it is dirtied and remove it from the parse cache. You "
331 "must finish with this file before accessing the parsed version of it again, "
332 "or bad things will happen."
333 msgstr "Открыть файл, указанный по имени, для прямого чтения/записи. Обратите внимание, что это зафиксирует файл, если он загрязнен, и удалит его из кеша синтаксического анализа. Вы должны закончить работу с этим файлом, прежде чем снова обращаться к его проанализированной версии, иначе произойдут неприятности."
334
335 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
336 #: of calibre.ebooks.oeb.polish.container.Container.opf:1
337 msgid "The parsed OPF file"
338 msgstr "Разобранный файл OPF"
339
340 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
341 #: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1
342 msgid ""
343 "Convenience method to either return the first XML element with the specified"
344 " name or create it under the opf:package element and then return it, if it "
345 "does not already exist."
346 msgstr "Удобный метод, позволяющий либо вернуть первый элемент XML с указанным именем, либо создать его в элементе opf:package, а затем вернуть его, если он ещё не существует."
347
348 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
349 #: of calibre.ebooks.oeb.polish.container.Container.opf_version:1
350 msgid "The version set on the OPF's <package> element"
351 msgstr "Версия, установленная на <package> элементе OPF"
352
353 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
354 #: of calibre.ebooks.oeb.polish.container.Container.opf_version_parsed:1
355 msgid "The version set on the OPF's <package> element as a tuple of integers"
356 msgstr "Версия, заданная в <package> элементе OPF как кортеж целых чисел"
357
358 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
359 #: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1
360 msgid ""
361 "Convenience method to evaluate an XPath expression on the OPF file, has the "
362 "opf: and dc: namespace prefixes pre-defined."
363 msgstr "Удобный метод для оценки выражения XPath в файле OPF имеет предопределенные префиксы пространства имен opf: и dc:."
364
365 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
366 #: of calibre.ebooks.oeb.polish.container.Container.parsed:1
367 msgid ""
368 "Return a parsed representation of the file specified by name. For HTML and "
369 "XML files an lxml tree is returned. For CSS files a css_parser stylesheet is"
370 " returned. Note that parsed objects are cached for performance. If you make "
371 "any changes to the parsed object, you must call :meth:`dirty` so that the "
372 "container knows to update the cache. See also :meth:`replace`."
373 msgstr "Вернуть проанализированное представление файла, указанного по имени. Для файлов HTML и XML возвращается дерево lxml. Для файлов CSS возвращается таблица стилей css_parser. Обратите внимание, что проанализированные объекты кэшируются для повышения производительности. Если вы вносите какие-либо изменения в анализируемый объект, вы должны вызвать :meth:`dirty`, чтобы контейнер знал, что нужно обновить кеш. См. Также :meth:`replace`."
374
375 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
376 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:1
377 msgid "Return the raw data corresponding to the file specified by name"
378 msgstr "Вернуть необработанные данные, соответствующие файлу, указанному по имени"
379
380 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
381 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:3
382 msgid ""
383 "If True and the file has a text based MIME type, decode it and return a "
384 "unicode object instead of raw bytes."
385 msgstr "Если True и файл имеет текстовый MIME-тип, декодировать его и вернуть объект Unicode вместо необработанных байтов."
386
387 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
388 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:4
389 msgid ""
390 "If True the returned unicode object is normalized to the NFC normal form as "
391 "is required for the EPUB and AZW3 file formats."
392 msgstr "Если True, возвращаемый объект unicode нормализуется до нормальной формы NFC, как это требуется для форматов файлов EPUB и AZW3."
393
394 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
395 #: of calibre.ebooks.oeb.polish.container.Container.relpath:1
396 msgid ""
397 "Convert an absolute path (with OS separators) to a path relative to base "
398 "(defaults to self.root). The relative path is *not* a name. Use "
399 ":meth:`abspath_to_name` for that."
400 msgstr "Преобразование абсолютного пути (с разделителями ОС) в путь относительно базы (по умолчанию используется self.root). Относительный путь не является именем. Для этого используйте :meth:`abspath_to_name`."
401
402 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
403 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1
404 msgid ""
405 "Remove the specified items (by canonical name) from the spine. If "
406 "``remove_if_no_longer_in_spine`` is True, the items are also deleted from "
407 "the book, not just from the spine."
408 msgstr "Удалить указанные пункты (по каноническому имени) из корешка. Если remove_if_no_longer_in_spine имеет значение True, элементы также удаляются из книги, а не только из корешка."
409
410 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
411 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1
412 msgid ""
413 "Removes item from parent, fixing indentation (works only with self closing "
414 "items)"
415 msgstr "Удалить элемент из родительского, исправляя отступ (работает только с самозакрывающимися элементами)"
416
417 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
418 #: of calibre.ebooks.oeb.polish.container.Container.remove_item:1
419 msgid ""
420 "Remove the item identified by name from this container. This removes all "
421 "references to the item in the OPF manifest, guide and spine as well as from "
422 "any internal caches."
423 msgstr "Удалить из этого контейнера элемент, указанный по имени. Это удалит все ссылки на элемент в манифесте, руководстве и корешке OPF, а также из любых внутренних кешей."
424
425 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
426 #: of calibre.ebooks.oeb.polish.container.Container.rename:1
427 msgid ""
428 "Renames a file from current_name to new_name. It automatically rebases all "
429 "links inside the file if the folder the file is in changes. Note however, "
430 "that links are not updated in the other files that could reference this "
431 "file. This is for performance, such updates should be done once, in bulk."
432 msgstr "Переименовывает файл с current_name в new_name. Он автоматически переустанавливает все ссылки внутри файла, если папка, в которой находится файл, изменяется. Однако обратите внимание, что ссылки не обновляются в других файлах, которые могут ссылаться на этот файл. Это для производительности, такие обновления нужно делать один раз, массово."
433
434 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
435 #: of calibre.ebooks.oeb.polish.container.Container.replace:1
436 msgid ""
437 "Replace the parsed object corresponding to name with obj, which must be a "
438 "similar object, i.e. an lxml tree for HTML/XML or a css_parser stylesheet "
439 "for a CSS file."
440 msgstr "Заменить проанализированный объект, соответствующий имени, на obj, который должен быть аналогичным объектом, то есть деревом lxml для HTML/XML или таблицей стилей css_parser для файла CSS."
441
442 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
443 #: of calibre.ebooks.oeb.polish.container.Container.replace_links:1
444 msgid ""
445 "Replace all links in name using replace_func, which must be a callable that "
446 "accepts a URL and returns the replaced URL. It must also have a 'replaced' "
447 "attribute that is set to True if any actual replacement is done. Convenient "
448 "ways of creating such callables are using the :class:`LinkReplacer` and "
449 ":class:`LinkRebaser` classes."
450 msgstr "Заменить все ссылки в имени с помощью replace_func, которая должна быть вызываемой, которая принимает URL-адрес и возвращает замененный URL-адрес. Он также должен иметь атрибут replace, который имеет значение True, если выполняется какая-либо фактическая замена. Удобные способы создания таких вызываемых объектов - это использование классов :class:`LinkReplacer` и :class:`LinkRebaser`."
451
452 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
453 #: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1
454 msgid ""
455 "Convert a parsed object (identified by canonical name) into a bytestring. "
456 "See :meth:`parsed`."
457 msgstr "Преобразовать проанализированный объект (идентифицируемый каноническим именем) в байтовую строку. Смотрите :meth:`parsed`."
458
459 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
460 #: of calibre.ebooks.oeb.polish.container.Container.set_spine:1
461 msgid ""
462 "Set the spine to be spine_items where spine_items is an iterable of the form"
463 " (name, linear). Will raise an error if one of the names is not present in "
464 "the manifest."
465 msgstr "Задать для spine значение spine_items, где spine_items - это итерабельность формы (имя, линейная). Вызовет ошибку, если одно из имен отсутствует в манифесте."
466
467 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
468 #: of calibre.ebooks.oeb.polish.container.Container.spine_items:1
469 msgid ""
470 "An iterator yielding the path for every item in the books' spine. See also: "
471 ":attr:`spine_iter` and :attr:`spine_items`."
472 msgstr "Итератор, определяющий путь для каждого элемента корешка книги. См. также ::attr:`spine_iter` и :attr:`spine_items`."
473
474 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
475 #: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1
476 msgid ""
477 "An iterator that yields item, name is_linear for every item in the books' "
478 "spine. item is the lxml element, name is the canonical file name and "
479 "is_linear is True if the item is linear. See also: :attr:`spine_names` and "
480 ":attr:`spine_items`."
481 msgstr "Итератор, который выдает элемент с именем is_linear для каждого элемента в корешке книги. item - это элемент lxml, name - каноническое имя файла, а is_linear - True, если элемент является линейным. См. также ::attr:`spine_names` и :attr:`spine_items`."
482
483 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
484 #: of calibre.ebooks.oeb.polish.container.Container.spine_names:1
485 msgid ""
486 "An iterator yielding name and is_linear for every item in the books' spine. "
487 "See also: :attr:`spine_iter` and :attr:`spine_items`."
488 msgstr "Итератор, дающий имя и is_linear для каждого элемента в корешке книги. См. также ::attr:`spine_iter` и :attr:`spine_items`."
489
490 #: ../../../__w/calibre/calibre/manual/polish.rst:36
491 msgid "Managing component files in a container"
492 msgstr "Управление файлами компонентов в контейнере"
493
494 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
495 #: of calibre.ebooks.oeb.polish.replace.replace_links:1
496 msgid ""
497 "Replace links to files in the container. Will iterate over all files in the "
498 "container and change the specified links in them."
499 msgstr "Заменить ссылки на файлы в контейнере. Будет перебирать все файлы в контейнере и изменять в них указанные ссылки."
500
501 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
502 #: of calibre.ebooks.oeb.polish.replace.replace_links:3
503 msgid ""
504 "A mapping of old canonical name to new canonical name. For example: "
505 ":code:`{'images/old.png': 'images/new.png'}`"
506 msgstr "Сопоставление старого канонического имени с новым каноническим именем. Напр.: :code:`{'images/old.png': 'images/new.png'}`"
507
508 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
509 #: of calibre.ebooks.oeb.polish.replace.replace_links:4
510 msgid ""
511 "A callable that takes two arguments ``(name, anchor)`` and returns a new "
512 "anchor. This is useful if you need to change the anchors in HTML files. By "
513 "default, it does nothing."
514 msgstr "Вызываемый объект, который принимает два аргумента ``(имя, привязка)`` и возвращает новую привязку. Это полезно, если вам нужно изменить привязки в файлах HTML. По умолчанию ничего не делает."
515
516 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
517 #: of calibre.ebooks.oeb.polish.replace.replace_links:7
518 msgid "If False, links are not replaced in the OPF file."
519 msgstr "Если false, ссылки не заменяются в файле OPF."
520
521 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
522 #: of calibre.ebooks.oeb.polish.replace.rename_files:1
523 msgid ""
524 "Rename files in the container, automatically updating all links to them."
525 msgstr "Переименовывать файлы в контейнере, автоматически обновляя все ссылки на них."
526
527 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
528 #: of calibre.ebooks.oeb.polish.replace.rename_files:3
529 msgid ""
530 "A mapping of old canonical name to new canonical name, for example: "
531 ":code:`{'text/chapter1.html': 'chapter1.html'}`."
532 msgstr "Сопоставление старого канонического имени с новым каноническим именем, напр.: :code:`{'text/chapter1.html': 'chapter1.html'}`."
533
534 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
535 #: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1
536 msgid ""
537 "Return the folders that are recommended for the given filenames. The "
538 "recommendation is based on where the majority of files of the same type are "
539 "located in the container. If no files of a particular type are present, the "
540 "recommended folder is assumed to be the folder containing the OPF file."
541 msgstr "Вернуть папки, рекомендованные для данных имен файлов. Рекомендация основана на том, где в контейнере находится большинство файлов одного типа. Если файлы определенного типа отсутствуют, рекомендуемая папка считается папкой, содержащей файл OPF."
542
543 #: ../../../__w/calibre/calibre/manual/polish.rst:47
544 msgid "Pretty printing and auto fixing parse errors"
545 msgstr "Хорошая печать и автоматическое исправление ошибок синтаксического анализа"
546
547 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
548 #: of calibre.ebooks.oeb.polish.pretty.fix_html:1
549 msgid ""
550 "Fix any parsing errors in the HTML represented as a string in raw. Fixing is"
551 " done using the HTML5 parsing algorithm."
552 msgstr "Исправить любые ошибки синтаксического анализа в HTML, представленном в виде строки в необработанном виде. Исправление производится с помощью алгоритма парсинга HTML5."
553
554 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
555 #: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1
556 msgid ""
557 "Fix any parsing errors in all HTML files in the container. Fixing is done "
558 "using the HTML5 parsing algorithm."
559 msgstr "Исправить все ошибки синтаксического анализа во всех файлах HTML в контейнере. Исправление производится с помощью алгоритма парсинга HTML5."
560
561 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
562 #: of calibre.ebooks.oeb.polish.pretty.pretty_html:1
563 msgid "Pretty print the HTML represented as a string in raw"
564 msgstr "Хорошая печать HTML в представленного виде строки в необработанном виде"
565
566 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
567 #: of calibre.ebooks.oeb.polish.pretty.pretty_css:1
568 msgid "Pretty print the CSS represented as a string in raw"
569 msgstr "Хорошая печать CSS, представленной в виде строки в необработанном виде"
570
571 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
572 #: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1
573 msgid ""
574 "Pretty print the XML represented as a string in raw. If ``name`` is the name"
575 " of the OPF, extra OPF-specific prettying is performed."
576 msgstr "Хорошая печать XML, представленного в виде строки в необработанном виде. Если name - это имя OPF, выполняется дополнительная обработка, специфичная для OPF."
577
578 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
579 #: of calibre.ebooks.oeb.polish.pretty.pretty_all:1
580 msgid "Pretty print all HTML/CSS/XML files in the container"
581 msgstr "Хорошая печать всех файлов HTML/CSS/XML в контейнере"
582
583 #: ../../../__w/calibre/calibre/manual/polish.rst:65
584 msgid "Managing book jackets"
585 msgstr "Управление обложками книг"
586
587 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
588 #: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1
589 msgid ""
590 "Remove an existing jacket, if any. Returns False if no existing jacket was "
591 "found."
592 msgstr "Удалить существующую обложку, если таковая имеется. Возвращает False, если существующая обложка не найдена."
593
594 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
595 #: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1
596 msgid ""
597 "Either create a new jacket from the book's metadata or replace an existing "
598 "jacket. Returns True if an existing jacket was replaced."
599 msgstr "Либо создать новую обложку из метаданных книги, либо заменить существующую обложку. Возвращает True, если существующая обложка была заменена."
600
601 #: ../../../__w/calibre/calibre/manual/polish.rst:74
602 msgid "Splitting and merging of files"
603 msgstr "Разделение и слияние файлов"
604
605 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
606 #: of calibre.ebooks.oeb.polish.split.split:1
607 msgid ""
608 "Split the file specified by name at the position specified by loc_or_xpath. "
609 "Splitting automatically migrates all links and references to the affected "
610 "files."
611 msgstr "Разделить файл, указанный по имени, в позиции, указанной параметром loc_or_xpath. При разделении автоматически переносятся все ссылки и ссылки на затронутые файлы."
612
613 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
614 #: of calibre.ebooks.oeb.polish.split.split:5
615 msgid ""
616 "Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also "
617 "be a *loc* which is used internally to implement splitting in the preview "
618 "panel."
619 msgstr "Должно быть выражением XPath, напр. //h:div[@id='split_here']. Также может быть *loc*, который используется внутри для реализации разделения на панели предварительного просмотра."
620
621 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
622 #: of calibre.ebooks.oeb.polish.split.split:8
623 msgid ""
624 "If True the split occurs before the identified element otherwise after it."
625 msgstr "Если True, разделение происходит до идентифицированного элемента, иначе после него."
626
627 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
628 #: of calibre.ebooks.oeb.polish.split.split:9
629 msgid "Used internally"
630 msgstr "Используется внутри"
631
632 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
633 #: of calibre.ebooks.oeb.polish.split.multisplit:1
634 msgid ""
635 "Split the specified file at multiple locations (all tags that match the "
636 "specified XPath expression). See also: :func:`split`. Splitting "
637 "automatically migrates all links and references to the affected files."
638 msgstr "Разделить указанный файл в нескольких местах (все теги, соответствующие указанному выражению XPath). См. также: :func:`split`. При разделении автоматически переносятся все ссылки и ссылки на затронутые файлы."
639
640 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
641 #: of calibre.ebooks.oeb.polish.split.multisplit:5
642 msgid ""
643 "If True the splits occur before the identified element otherwise after it."
644 msgstr "Если True, разбиение происходит до идентифицированного элемента, иначе после него."
645
646 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
647 #: of calibre.ebooks.oeb.polish.split.merge:1
648 msgid ""
649 "Merge the specified files into a single file, automatically migrating all "
650 "links and references to the affected files. The file must all either be HTML"
651 " or CSS files."
652 msgstr "Объединить указанные файлы в один файл, автоматически перенеся все ссылки и ссылки на затронутые файлы. Все файлы должны быть либо HTML, либо CSS."
653
654 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
655 #: of calibre.ebooks.oeb.polish.split.merge:4
656 msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files"
657 msgstr "Должен быть либо ``text`` для файлов HTML, либо ``styles`` для файлов CSS."
658
659 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
660 #: of calibre.ebooks.oeb.polish.split.merge:5
661 msgid "The list of files to be merged"
662 msgstr "Список файлов для слияния"
663
664 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
665 #: of calibre.ebooks.oeb.polish.split.merge:6
666 msgid ""
667 "Which of the merged files is the *master* file, that is, the file that will "
668 "remain after merging."
669 msgstr "Какой из объединенных файлов является *главным* файлом, то есть файлом, который останется после объединения."
670
671 #: ../../../__w/calibre/calibre/manual/polish.rst:85
672 msgid "Managing covers"
673 msgstr "Управление обложками"
674
675 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
676 #: of calibre.ebooks.oeb.polish.cover.set_cover:1
677 msgid "Set the cover of the book to the image pointed to by cover_path."
678 msgstr "Установить обложку книги на изображение, на которое указывает cover_path"
679
680 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
681 #: of calibre.ebooks.oeb.polish.cover.set_cover:3
682 msgid ""
683 "Either the absolute path to an image file or the canonical name of an image "
684 "in the book. When using an image in the book, you must also set options, see"
685 " below."
686 msgstr "Либо абсолютный путь к файлу изображения, либо каноническое имя изображения в книге. При использовании изображения в книге вы также должны установить параметры, см. ниже."
687
688 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
689 #: of calibre.ebooks.oeb.polish.cover.set_cover:6
690 msgid ""
691 "An optional callable that takes a single argument. It will be called with "
692 "information about the tasks being processed."
693 msgstr "Необязательный вызываемый объект, который принимает единственный аргумент. Он будет вызываться с информацией об обрабатываемых задачах"
694
695 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
696 #: of calibre.ebooks.oeb.polish.cover.set_cover:8
697 msgid ""
698 "None or a dictionary that controls how the cover is set. The dictionary can "
699 "have entries: **keep_aspect**: True or False (Preserve aspect ratio of "
700 "covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the "
701 "EPUB titlepage) **existing**: True or False (``cover_path`` refers to an "
702 "existing image in the book)"
703 msgstr "None или словарь, который контролирует установку обложки. В словаре могут быть записи: **keep_aspect**: True или False (сохранить соотношение сторон обложек в EPUB) **no_svg**: True или False (использовать обертку обложки SVG на титульной странице EPUB) **existing**: True или False (cover_path относится к существующему изображению в книге)"
704
705 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
706 #: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1
707 msgid "Mark the specified image as the cover image."
708 msgstr "Отметить указанное изображение как изображение обложки."
709
710 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
711 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1
712 msgid "Mark the specified HTML file as the titlepage of the EPUB."
713 msgstr "Отметить указанный HTML-файл как титульную страницу EPUB."
714
715 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
716 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3
717 msgid "If True the HTML file is moved to the start of the spine"
718 msgstr "Если True, HTML-файл перемещается в начало корешка."
719
720 #: ../../../__w/calibre/calibre/manual/polish.rst:96
721 msgid "Working with CSS"
722 msgstr "Работа с CSS"
723
724 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring
725 #: of calibre.ebooks.oeb.polish.fonts.change_font:1
726 msgid ""
727 "Change a font family from old_name to new_name. Changes all occurrences of "
728 "the font family in stylesheets, style tags and style attributes. If the "
729 "old_name refers to an embedded font, it is removed. You can set new_name to "
730 "None to remove the font family instead of changing it."
731 msgstr "Изменить семейство шрифтов с old_name на new_name. Изменяет все вхождения семейства шрифтов в таблицах стилей, тегах стилей и атрибутах стиля. Если old_name относится к встроенному шрифту, он удаляется. Вы можете установить для new_name значение None, чтобы удалить семейство шрифтов вместо его изменения."
732
733 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
734 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:1
735 msgid ""
736 "Remove all unused CSS rules from the book. An unused CSS rule is one that "
737 "does not match any actual content."
738 msgstr "Удалить из книги все неиспользуемые правила CSS. Неиспользуемое правило CSS - это правило, не соответствующее фактическому содержанию."
739
740 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
741 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:3
742 msgid ""
743 "An optional callable that takes a single argument. It is called with "
744 "information about the operations being performed."
745 msgstr "Необязательный вызываемый объект, который принимает единственный аргумент. Вызывается с информацией о выполняемых операциях."
746
747 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
748 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:4
749 msgid ""
750 "If True, class attributes in the HTML that do not match any CSS rules are "
751 "also removed."
752 msgstr "Если True, атрибуты класса в HTML, которые не соответствуют никаким правилам CSS, также удаляются."
753
754 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
755 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:5
756 msgid "If True, rules with identical selectors are merged."
757 msgstr "Если True, правила с идентичными селекторами объединяются."
758
759 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
760 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:6
761 msgid "If True, rules with identical properties are merged."
762 msgstr "Если True, правила с одинаковыми свойствами объединяются."
763
764 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
765 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:7
766 msgid ""
767 "If True, stylesheets that are not referenced by any content are removed"
768 msgstr "Если True, таблицы стилей, на которые не ссылается какой-либо контент, удаляются."
769
770 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
771 #: of calibre.ebooks.oeb.polish.css.filter_css:1
772 msgid "Remove the specified CSS properties from all CSS rules in the book."
773 msgstr "Удалить указанные свойства CSS из всех правил CSS в книге."
774
775 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
776 #: of calibre.ebooks.oeb.polish.css.filter_css:3
777 msgid ""
778 "Set of properties to remove. For example: :code:`{'font-family', 'color'}`."
779 msgstr "Набор свойств для удаления. Напр.: :code:`{'font-family', 'color'}`."
780
781 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
782 #: of calibre.ebooks.oeb.polish.css.filter_css:4
783 msgid ""
784 "The files from which to remove the properties. Defaults to all HTML and CSS "
785 "files in the book."
786 msgstr "Файлы, из которых нужно удалить свойства. По умолчанию используются все файлы HTML и CSS в книге."
787
788 #: ../../../__w/calibre/calibre/manual/polish.rst:108
789 msgid "Working with the Table of Contents"
790 msgstr "Работа с оглавлением"
791
792 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
793 #: of calibre.ebooks.oeb.polish.toc.from_xpaths:1
794 msgid ""
795 "Generate a Table of Contents from a list of XPath expressions. Each "
796 "expression in the list corresponds to a level of the generate ToC. For "
797 "example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level "
798 "Table of Contents from the ``<h1>``, ``<h2>`` and ``<h3>`` tags."
799 msgstr "Создать оглавление из списка выражений XPath. Каждое выражение в списке соответствует уровню создания ToC. Напр.: :code:`['//h:h1','//h:h2','//h:h3']` сгенерирует трехуровневую таблицу содержания из ``<h1>``, ``<h2>`` и ``<h3>`` тегов."
800
801 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
802 #: of calibre.ebooks.oeb.polish.toc.from_links:1
803 msgid "Generate a Table of Contents from links in the book."
804 msgstr "Создать оглавление из ссылок в книге."
805
806 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
807 #: of calibre.ebooks.oeb.polish.toc.from_files:1
808 msgid "Generate a Table of Contents from files in the book."
809 msgstr "Создать оглавление из файлов в книге."
810
811 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
812 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1
813 msgid ""
814 "Create an inline (HTML) Table of Contents from an existing NCX Table of "
815 "Contents."
816 msgstr "Создать встроенное (HTML) оглавление из существующего оглавления NCX."
817
818 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
819 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3
820 msgid "The title for this table of contents."
821 msgstr "Заголовок этого оглавления."
822
823 #: ../../../__w/calibre/calibre/manual/polish.rst:122
824 msgid "Edit book tool"
825 msgstr "Средство редактирования книги"
826
827 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
828 #: of calibre.gui2.tweak_book.plugin.Tool:1
829 msgid ""
830 "The base class for individual tools in an Edit Book plugin. Useful members "
831 "include:"
832 msgstr "Базовый класс для отдельных инструментов в плагине Edit Book. Среди полезных членов:"
833
834 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
835 #: of calibre.gui2.tweak_book.plugin.Tool:3
836 msgid ""
837 "``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object"
838 " to which this tool belongs."
839 msgstr "``self.plugin``: ссылка на объект :class:`calibre.customize.Plugin`, которому принадлежит этот инструмент."
840
841 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
842 #: of calibre.gui2.tweak_book.plugin.Tool:4
843 msgid "self. :attr:`boss`"
844 msgstr "self. :attr:`boss`"
845
846 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
847 #: of calibre.gui2.tweak_book.plugin.Tool:5
848 msgid "self. :attr:`gui`"
849 msgstr "self. :attr:`gui`"
850
851 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
852 #: of calibre.gui2.tweak_book.plugin.Tool:7
853 msgid "Methods that must be overridden in sub classes:"
854 msgstr "Методы, которые необходимо переопределить в подклассах:"
855
856 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
857 #: of calibre.gui2.tweak_book.plugin.Tool:9
858 msgid ":meth:`create_action`"
859 msgstr ":meth:`create_action`"
860
861 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
862 #: of calibre.gui2.tweak_book.plugin.Tool:10
863 msgid ":meth:`register_shortcut`"
864 msgstr ":meth:`register_shortcut`"
865
866 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
867 #: of calibre.gui2.tweak_book.plugin.Tool.name:1
868 msgid "Set this to a unique name it will be used as a key"
869 msgstr "Установить уникальное имя, которое будет использоваться как ключ"
870
871 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
872 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1
873 msgid "If True the user can choose to place this tool in the plugins toolbar"
874 msgstr "Если True, пользователь может разместить этот инструмент на панели инструментов плагинов."
875
876 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
877 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1
878 msgid "If True the user can choose to place this tool in the plugins menu"
879 msgstr "Если True, пользователь может выбрать размещение этого инструмента в меню плагинов."
880
881 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
882 #: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1
883 msgid ""
884 "The popup mode for the menu (if any) of the toolbar button. Possible values "
885 "are 'delayed', 'instant', 'button'"
886 msgstr "Всплывающий режим для меню (если есть) кнопки панели инструментов. Возможные значения: 'delayed', 'instant', 'button'."
887
888 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
889 #: of calibre.gui2.tweak_book.plugin.Tool.boss:1
890 msgid ""
891 "The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the "
892 "user interface."
893 msgstr "Объект :class:`calibre.gui2.tweak_book.boss.Boss`. Используется для управления пользовательским интерфейсом."
894
895 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
896 #: of calibre.gui2.tweak_book.plugin.Tool.gui:1
897 msgid "The main window of the user interface"
898 msgstr "Главное окно пользовательского интерфейса"
899
900 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
901 #: of calibre.gui2.tweak_book.plugin.Tool.current_container:1
902 msgid ""
903 "Return the current :class:`calibre.ebooks.oeb.polish.container.Container` "
904 "object that represents the book being edited."
905 msgstr "Вернуть текущий объект :class:`calibre.ebooks.oeb.polish.container.Container`, представляющий редактируемую книгу."
906
907 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
908 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1
909 msgid ""
910 "Register a keyboard shortcut that will trigger the specified ``qaction``. "
911 "This keyboard shortcut will become automatically customizable by the user in"
912 " the Keyboard shortcuts section of the editor preferences."
913 msgstr "Зарегистрируйте сочетание клавиш, которое будет запускать указанное действие ``qaction``. Это сочетание клавиш станет автоматически настраиваемым пользователем в разделе «Сочетания клавиш» настроек редактора."
914
915 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
916 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4
917 msgid ""
918 "A QAction object, it will be triggered when the configured key combination "
919 "is pressed by the user."
920 msgstr "Объект QAction, он будет срабатывать, когда пользователь нажимает настроенную комбинацию клавиш."
921
922 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
923 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6
924 msgid ""
925 "A unique name for this shortcut/action. It will be used internally, it must "
926 "not be shared by any other actions in this plugin."
927 msgstr "Уникальное имя для этого ярлыка/действия. Он будет использоваться для внутренних целей, он не должен использоваться другими действиями в этом плагине."
928
929 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
930 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9
931 msgid ""
932 "A list of the default keyboard shortcuts. If not specified no default "
933 "shortcuts will be set. If the shortcuts specified here conflict with either "
934 "builtin shortcuts or shortcuts from user configuration/other plugins, they "
935 "will be ignored. In that case, users will have to configure the shortcuts "
936 "manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``."
937 msgstr "Список сочетаний клавиш по умолчанию. Если не указано иное, ярлыки по умолчанию не будут установлены. Если указанные здесь ярлыки конфликтуют со встроенными ярлыками или ярлыками из пользовательской конфигурации/других плагинов, они будут проигнорированы. В этом случае пользователям придется настраивать ярлыки вручную в настройках. Напр.: ``default_keys=('Ctrl+J', 'F9')``."
938
939 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
940 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15
941 msgid ""
942 "An optional short description of this action. If not specified the text from"
943 " the QAction will be used."
944 msgstr "Необязательное краткое описание этого действия. Если не указано иное, будет использован текст из QAction."
945
946 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
947 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17
948 msgid ""
949 "An optional longer description of this action, it will be used in the "
950 "preferences entry for this shortcut."
951 msgstr "Необязательное более подробное описание этого действия, оно будет использовано в записи настроек для этого ярлыка."
952
953 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
954 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:1
955 msgid ""
956 "Create a QAction that will be added to either the plugins toolbar or the "
957 "plugins menu depending on ``for_toolbar``. For example::"
958 msgstr "Создать QAction, который будет добавлен либо на панель инструментов плагинов, либо в меню плагинов в зависимости от ``for_toolbar``. Напр.::"
959
960 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
961 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:19
962 msgid "Method :meth:`register_shortcut`."
963 msgstr "Метод :meth:`register_shortcut`."
964
965 #: ../../../__w/calibre/calibre/manual/polish.rst:131
966 msgid "Controlling the editor's user interface"
967 msgstr "Управление пользовательским интерфейсом редактора"
968
969 #: ../../../__w/calibre/calibre/manual/polish.rst:133
970 msgid ""
971 "The e-book editor's user interface is controlled by a single global *Boss* "
972 "object. This has many useful methods that can be used in plugin code to "
973 "perform common tasks."
974 msgstr "Пользовательский интерфейс редактора электронных книг управляется одним глобальным объектом *Boss*. У этого есть много полезных методов, которые можно использовать в коде плагина для выполнения общих задач."
975
976 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
977 #: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1
978 msgid "Create a restore checkpoint with the name specified as ``msg``"
979 msgstr "Создать контрольную точку восстановления с именем, указываемым как ``msg``"
980
981 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
982 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1
983 msgid ""
984 "Update all the components of the user interface to reflect the latest data "
985 "in the current book container."
986 msgstr "Обновить все компоненты пользовательского интерфейса, чтобы отразить последние данные в текущем контейнере книги."
987
988 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
989 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3
990 msgid ""
991 "If True, the book will be marked as modified, so the user will be prompted "
992 "to save it when quitting."
993 msgstr "Если True, книга будет помечена как изменённая, поэтому пользователю будет предложено сохранить её при выходе."
994
995 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
996 #: of calibre.gui2.tweak_book.boss.Boss.close_editor:1
997 msgid "Close the editor that is editing the file specified by ``name``"
998 msgstr "Закрыть редактор, который редактирует файл, указанный в ``name``."
999
1000 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1001 #: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1
1002 msgid ""
1003 "Commit any changes that the user has made to files open in editors to the "
1004 "container. You should call this method before performing any actions on the "
1005 "current container"
1006 msgstr "Зафиксировать любые изменения, внесённые пользователем в файлы, открытые в редакторах, в контейнер. Вы должны вызвать этот метод перед выполнением каких-либо действий с текущим контейнером."
1007
1008 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1009 #: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1
1010 msgid ""
1011 "Return the name of the file being edited currently or None if no file is "
1012 "being edited"
1013 msgstr "Вернуть имя редактируемого файла или None, если файл не редактируется."
1014
1015 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1016 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:1
1017 msgid "Open the file specified by name in an editor"
1018 msgstr "Открыть файл, указанный по имени, в редакторе"
1019
1020 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1021 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:3
1022 msgid ""
1023 "The media type of the file, for example, ``'text/html'``. If not specified "
1024 "it is guessed from the file extension."
1025 msgstr "Медиа-тип файла, напр., ``text/html``. Если не указано, это определяется по расширению файла."
1026
1027 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1028 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:4
1029 msgid "A template to initialize the opened editor with"
1030 msgstr "Шаблон для инициализации открытого редактора с помощью"
1031
1032 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1033 #: of calibre.gui2.tweak_book.boss.Boss.open_book:1
1034 msgid ""
1035 "Open the e-book at ``path`` for editing. Will show an error if the e-book is"
1036 " not in a supported format or the current book has unsaved changes."
1037 msgstr "Открыть электронную книгу по пути для редактирования. Будет отображена ошибка, если формат электронной книги не поддерживается или в текущей книге есть несохранённые изменения."
1038
1039 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1040 #: of calibre.gui2.tweak_book.boss.Boss.open_book:3
1041 msgid ""
1042 "The name of a file inside the newly opened book to start editing. Can also "
1043 "be a list of names."
1044 msgstr "Имя файла во вновь открытой книге, чтобы начать редактирование. Также может быть список имен."
1045
1046 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1047 #: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1
1048 msgid ""
1049 "Undo the previous creation of a restore checkpoint, useful if you create a "
1050 "checkpoint, then abort the operation with no changes"
1051 msgstr "Отменить предыдущее создание контрольной точки восстановления, полезно, если вы создаете контрольную точку, а затем прерываете операцию без изменений"
1052
1053 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1054 #: of calibre.gui2.tweak_book.boss.Boss.save_book:1
1055 msgid "Save the book. Saving is performed in the background"
1056 msgstr "Сохранить книгу. Сохранение происходит в фоновом режиме"
1057
1058 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1059 #: of calibre.gui2.tweak_book.boss.Boss.set_modified:1
1060 msgid "Mark the book as having been modified"
1061 msgstr "Отметить книгу как изменённую"
1062
1063 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1064 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1
1065 msgid "Show the changes to the book from its last checkpointed state"
1066 msgstr "Показать изменения в книге по сравнению с последней контрольной точкой"
1067
1068 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1069 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3
1070 msgid ""
1071 "If True the diff dialog will have a button to allow the user to revert all "
1072 "changes"
1073 msgstr "Если True, в диалоговом окне сравнения будет кнопка, позволяющая пользователю отменить все изменения."
1074
1075 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1076 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4
1077 msgid ""
1078 "A container object to compare the current container to. If None, the "
1079 "previously checkpointed container is used"
1080 msgstr "Объект контейнера, с которым сравнивается текущий контейнер. Если None, используется контейнер с ранее установленной контрольной точкой."
1081
1082 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1083 #: of calibre.gui2.tweak_book.boss.Boss.show_editor:1
1084 msgid "Show the editor that is editing the file specified by ``name``"
1085 msgstr "Показать редактор, редактирующий файл, указанный в ``name``"
1086
1087 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1088 #: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1
1089 msgid ""
1090 "Sync the position of the preview panel to the current cursor position in the"
1091 " current editor"
1092 msgstr "Синхронизировать положение панели предварительного просмотра с текущей позицией курсора в текущем редакторе"