Debian Codegraph @

translations/manual/ru/news_recipe.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]>, 2020-2025
8 # AlexanderFilev, 2017
9 # Родион Р., 2020
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: calibre\n"
13 "Report-Msgid-Bugs-To: \n"
14 "POT-Creation-Date: 2026-08-26 16:50+0000\n"
15 "PO-Revision-Date: 2014-06-17 08:36+0000\n"
16 "Last-Translator: Andrei Stepanov, 2026\n"
17 "Language-Team: Russian (http://app.transifex.com/calibre/calibre/language/ru/)\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Language: ru\n"
22 "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"
23
24 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:4
25 msgid "API documentation for recipes"
26 msgstr "Документация API рецептов"
27
28 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:9
29 msgid "The API for writing recipes is defined by the :class:`BasicNewsRecipe`"
30 msgstr "API для написания рецептов определяется классом :class:`BasicNewsRecipe`"
31
32 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
33 #: calibre.web.feeds.news.BasicNewsRecipe:1
34 msgid ""
35 "Base class that contains logic needed in all recipes. By overriding "
36 "progressively more of the functionality in this class, you can make "
37 "progressively more customized/powerful recipes. For a tutorial introduction "
38 "to creating recipes, see :doc:`news`."
39 msgstr "Основной класс, содержащий логику, необходимую для всех рецептов. Переопределяя функциональные возможности этого класса, вы постепенно сможете создавать более настраиваемые/действенные рецепты. Вводный курс по созданию рецептов помещён в разделе «:doc:`news`»."
40
41 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
42 #: calibre.web.feeds.news.BasicNewsRecipe.adeify_images:1
43 msgid ""
44 "If your recipe when converted to EPUB has problems with images when viewed "
45 "in Adobe Digital Editions, call this method from within "
46 ":meth:`postprocess_html`."
47 msgstr "Если ваш рецепт при преобразовании в EPUB имеет проблемы с изображениями при просмотре в Adobe Digital Editions, вызовите этот метод изнутри :meth:`postprocess_html`."
48
49 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
50 #: calibre.web.feeds.news.BasicNewsRecipe.image_url_processor:1
51 msgid ""
52 "Perform some processing on image urls (perhaps removing size restrictions "
53 "for dynamically generated images, etc.) and return the processed URL. Return"
54 " None or an empty string to skip fetching the image."
55 msgstr "Выполнить обработку URL-адресов изображений (возможно, удалить ограничения по размеру для динамически генерируемых изображений и т.д.) и вернуть обработанный URL-адрес. Вернуть None или пустую строку, чтобы пропустить получение изображения."
56
57 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
58 #: calibre.web.feeds.news.BasicNewsRecipe.print_version:1
59 msgid ""
60 "Take a `url` pointing to the webpage with article content and return the "
61 ":term:`URL` pointing to the print version of the article. By default does "
62 "nothing. For example::"
63 msgstr "Взять `url`, указывающий на веб-страницу с содержанием статьи, и вернуть :term:`URL`, указывающий на печатную версию статьи. По умолчанию ничего не делает. Напр.::"
64
65 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
66 #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:1
67 msgid ""
68 "Convenience method to take a `BeautifulSoup "
69 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag` and "
70 "extract the text from it recursively, including any CDATA sections and alt "
71 "tag attributes. Return a possibly empty Unicode string."
72 msgstr "Удобный метод для того, чтобы взять `BeautifulSoup https://www.crummy.com/software/BeautifulSoup/bs4/doc/`_: code:` Tag` и рекурсивно извлечь из него текст, включая любые разделы CDATA и атрибуты тегов alt. Вернуть возможно пустую строку Unicode."
73
74 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
75 #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:6
76 msgid ""
77 "`use_alt`: If `True` try to use the alt attribute for tags that don't have "
78 "any textual content"
79 msgstr " `use_alt`: Если True, попробуйте использовать атрибут alt для тегов, не имеющих текстового содержимого."
80
81 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
82 #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:9
83 msgid ""
84 "`tag`: `BeautifulSoup "
85 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag`"
86 msgstr "`tag`: `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag`"
87
88 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
89 #: calibre.web.feeds.news.BasicNewsRecipe.abort_article:1
90 msgid ""
91 "Call this method inside any of the preprocess methods to abort the download "
92 "for the current article. Useful to skip articles that contain inappropriate "
93 "content, such as pure video articles."
94 msgstr "Вызовите этот метод в любом из методов предварительной обработки, чтобы прервать загрузку текущей статьи. Полезно для пропуска статей, содержащих неприемлемый контент, напр. видеостатей."
95
96 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
97 #: calibre.web.feeds.news.BasicNewsRecipe.abort_recipe_processing:1
98 msgid ""
99 "Causes the recipe download system to abort the download of this recipe, "
100 "displaying a simple feedback message to the user."
101 msgstr "Заставляет систему загрузки рецептов прервать загрузку этого рецепта, отображая простое сообщение обратной связи для пользователя."
102
103 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
104 #: calibre.web.feeds.news.BasicNewsRecipe.add_toc_thumbnail:1
105 msgid ""
106 "Call this from populate_article_metadata with the src attribute of an <img> "
107 "tag from the article that is appropriate for use as the thumbnail "
108 "representing the article in the Table of Contents. Whether the thumbnail is "
109 "actually used is device dependent (currently only used by the Kindles). Note"
110 " that the referenced image must be one that was successfully downloaded, "
111 "otherwise it will be ignored."
112 msgstr "Вызовите из populate_article_metadata с атрибутом src тега <img> из статьи, который подходит для использования в качестве эскиза, представляющего статью в Оглавлении. Используется ли миниатюра на самом деле, зависит от устройства (сейчас используется только в Kindle). Обратите внимание, что указанное изображение должно быть успешно загружено, иначе оно будет проигнорировано."
113
114 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
115 #: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:1
116 msgid ""
117 "Return a set of canonical representations of ``url``. The default "
118 "implementation uses just the server hostname and path of the URL, ignoring "
119 "any query parameters, fragments, etc. The canonical representations must be "
120 "unique across all URLs for this news source. If they are not, then internal "
121 "links may be resolved incorrectly."
122 msgstr "Вернуть набор канонических представлений ``url``. Реализация по умолчанию использует только имя хоста сервера и путь URL-адреса, игнорируя любые параметры запроса, фрагменты и т.д. Канонические представления должны быть уникальными для всех URL-адресов для этого источника новостей. В противном случае внутренние ссылки могут быть разрешены неверно."
123
124 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:0
125 msgid "Parameters"
126 msgstr "Параметры"
127
128 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
129 #: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:7
130 msgid ""
131 "Is True if the URL is coming from an internal link in an HTML file. False if"
132 " the URL is the URL used to download an article."
133 msgstr "Имеет значение True, если URL-адрес поступает по внутренней ссылке в файле HTML. False, если URL-адрес является URL-адресом, используемым для загрузки статьи."
134
135 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
136 #: calibre.web.feeds.news.BasicNewsRecipe.cleanup:1
137 msgid ""
138 "Called after all articles have been download. Use it to do any cleanup like "
139 "logging out of subscription sites, etc."
140 msgstr "Вызывается после загрузки всех статей. Используйте его для любой очистки, напр., для выхода с сайтов подписки и т. д."
141
142 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
143 #: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:1
144 msgid ""
145 "Clone the browser br. Cloned browsers are used for multi-threaded downloads,"
146 " since mechanize is not thread safe. The default cloning routines should "
147 "capture most browser customization, but if you do something exotic in your "
148 "recipe, you should override this method in your recipe and clone manually."
149 msgstr "Клонировать браузер br. Клонированные браузеры используются для многопоточной загрузки, поскольку механизация не является потокобезопасной. Подпрограммы клонирования по умолчанию должны фиксировать большинство настроек браузера, но если вы делаете что-то экзотическое в своем рецепте, вам следует переопределить этот метод в своем рецепте и клонировать вручную."
150
151 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
152 #: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:7
153 msgid ""
154 "Cloned browser instances use the same, thread-safe CookieJar by default, "
155 "unless you have customized cookie handling."
156 msgstr "Клонированные экземпляры браузера по умолчанию используют тот же потокобезопасный CookieJar, если вы не настроили обработку файлов cookie."
157
158 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
159 #: calibre.web.feeds.news.BasicNewsRecipe.default_cover:1
160 msgid "Create a generic cover for recipes that don't have a cover"
161 msgstr " Создать общую обложку для рецептов без обложки"
162
163 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
164 #: calibre.web.feeds.news.BasicNewsRecipe.download:1
165 msgid ""
166 "Download and pre-process all articles from the feeds in this recipe. This "
167 "method should be called only once on a particular Recipe instance. Calling "
168 "it more than once will lead to undefined behavior. :return: Path to "
169 "index.html"
170 msgstr "Загрузить и предварительно обработать все статьи из каналов в этом рецепте. Этот метод следует вызывать только один раз для конкретного экземпляра Recipe. Вызов его более одного раза приведёт к неопределённому поведению. :return: Путь к index.html"
171
172 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
173 #: calibre.web.feeds.news.BasicNewsRecipe.extract_readable_article:1
174 msgid ""
175 "Extracts main article content from 'html', cleans up and returns as a "
176 "(article_html, extracted_title) tuple. Based on the original readability "
177 "algorithm by Arc90."
178 msgstr "Извлечь основное содержание статьи из html, очистить и вернуть в виде кортежа (article_html, extract_title). На основе оригинального алгоритма читаемости от Arc90."
179
180 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
181 #: calibre.web.feeds.news.BasicNewsRecipe.get_article_url:1
182 msgid ""
183 "Override in a subclass to customize extraction of the :term:`URL` that "
184 "points to the content for each article. Return the article URL. It is called"
185 " with `article`, an object representing a parsed article from a feed. See "
186 "`feedparser <https://pythonhosted.org/feedparser/>`_. By default it looks "
187 "for the original link (for feeds syndicated via a service like FeedBurner or"
188 " Pheedo) and if found, returns that or else returns `article.link "
189 "<https://pythonhosted.org/feedparser/reference-entry-link.html>`_."
190 msgstr " Переопределить в подклассе, чтобы настроить извлечение :term:`URL`, который указывает на контент для каждой статьи. Вернуть URL статьи. Он вызывается с помощью `article`, объекта, представляющего проанализированную статью из ленты. Смотрите `feedparser <https://pythonhosted.org/feedparser/>`_. По умолчанию он ищет исходную ссылку (для каналов, распространяемых через службу, вроде FeedBurner или Pheedo), и, если она найдена, возвращает её или же возвращает `article.link <https://pythonhosted.org/feedparser/reference-entry-link.html>`_."
191
192 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
193 #: calibre.web.feeds.news.BasicNewsRecipe.get_browser:1
194 msgid ""
195 "Return a browser instance used to fetch documents from the web. By default "
196 "it returns a `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ "
197 "browser instance that supports cookies, ignores robots.txt, handles "
198 "refreshes and has a random common user agent."
199 msgstr "Вернуть экземпляр браузера, используемый для получения документов из Интернета. По умолчанию он возвращает экземпляр браузера `mechanize <https://mechanize.readthedocs.io/en/latest/>`_, который поддерживает файлы cookie, игнорирует robots.txt, обрабатывает обновления и имеет случайный пользовательский агент."
200
201 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
202 #: calibre.web.feeds.news.BasicNewsRecipe.get_browser:6
203 msgid "To customize the browser override this method in your sub-class as::"
204 msgstr "Чтобы настроить браузер, переопределите этот метод в вашем подклассе следующим образом::"
205
206 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
207 #: calibre.web.feeds.news.BasicNewsRecipe.get_cover_url:1
208 msgid ""
209 "Return a :term:`URL` to the cover image for this issue or `None`. By default"
210 " it returns the value of the member `self.cover_url` which is normally "
211 "`None`. If you want your recipe to download a cover for the e-book override "
212 "this method in your subclass, or set the member variable `self.cover_url` "
213 "before this method is called."
214 msgstr "Вернуть :term:`URL` к изображению обложки для этой проблемы или `None`. По умолчанию возвращает значение члена self.cover_url, которое обычно равно None. Если вы хотите, чтобы ваш рецепт загружал обложку для электронной книги, переопределите этот метод в своем подклассе или установите переменную-член `self.cover_url` перед вызовом этого метода."
215
216 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
217 #: calibre.web.feeds.news.BasicNewsRecipe.get_extra_css:1
218 msgid ""
219 "By default returns `self.extra_css`. Override if you want to "
220 "programmatically generate the extra_css."
221 msgstr "По умолчанию возвращает `self.extra_css`. Переопределите, если вы хотите программно сгенерировать файл extra_css."
222
223 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
224 #: calibre.web.feeds.news.BasicNewsRecipe.get_feeds:1
225 msgid ""
226 "Return a list of :term:`RSS` feeds to fetch for this profile. Each element "
227 "of the list must be a 2-element tuple of the form (title, url). If title is "
228 "None or an empty string, the title from the feed is used. This method is "
229 "useful if your recipe needs to do some processing to figure out the list of "
230 "feeds to download. If so, override in your subclass."
231 msgstr "Вернуть список :term:`RSS` каналов для получения в этом профиле. Каждый элемент списка д. б. двухэлементным кортежем формы (заголовок, URL). Если заголовок - None или пустая строка, используется заголовок из фида. Метод полезен, если рецепт требует вычисления списка каналов для загрузки. Если так, переопределите в своем подклассе."
232
233 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
234 #: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_title:1
235 msgid "Override in subclass to use something other than the recipe title"
236 msgstr "Переопределить в подклассе, чтобы использовать что-то другое, кроме названия рецепта"
237
238 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
239 #: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_url:1
240 msgid ""
241 "Return a :term:`URL` to the masthead image for this issue or `None`. By "
242 "default it returns the value of the member `self.masthead_url` which is "
243 "normally `None`. If you want your recipe to download a masthead for the "
244 "e-book override this method in your subclass, or set the member variable "
245 "`self.masthead_url` before this method is called. Masthead images are used "
246 "in Kindle MOBI files."
247 msgstr "Вернуть :term:`URL` к изображению masthead для этой проблемы или `None`. По умолчанию возвращает значение члена self.masthead_url, которое обычно равно None. Если вы хотите, чтобы ваш рецепт загружал заголовок для электронной книги, переопределите этот метод в своем подклассе или установите переменную члена `self.masthead_url` перед вызовом этого метода. Изображения masthead используются в файлах Kindle MOBI."
248
249 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
250 #: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:1
251 msgid ""
252 "If you set `articles_are_obfuscated` this method is called with every "
253 "article URL. It should return the path to a file on the filesystem that "
254 "contains the article HTML. That file is processed by the recursive HTML "
255 "fetching engine, so it can contain links to pages/images on the web. "
256 "Alternately, you can return a dictionary of the form: {'data': <HTML data>, "
257 "'url': <the resolved URL of the article>}. This avoids needing to create "
258 "temporary files. The `url` key in the dictionary is useful if the effective "
259 "URL of the article is different from the URL passed into this method, for "
260 "example, because of redirects. It can be omitted if the URL is unchanged."
261 msgstr "Если вы установите `articles_are_obfuscated`, этот метод вызывается для каждого URL-адреса статьи. Он должен вернуть путь к файлу в файловой системе, содержащему HTML-код статьи. Этот файл обрабатывается механизмом рекурсивной выборки HTML, поэтому он может содержать ссылки на страницы/изображения в Интернете. Альтернативно вы можете вернуть словарь вида: {'data': <HTML data>, 'url': <the resolved URL of the article>}. Это позволяет избежать необходимости создавать временные файлы. Ключ `url` в словаре полезен, если эффективный URL-адрес статьи отличается от URL-адреса, переданного в этот метод, напр., из-за перенаправлений. Его можно опустить, если URL-адрес не изменился."
262
263 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
264 #: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:11
265 msgid ""
266 "This method is typically useful for sites that try to make it difficult to "
267 "access article content automatically."
268 msgstr "Этот метод обычно полезен для сайтов, которые пытаются затруднить автоматический доступ к содержимому статьи."
269
270 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
271 #: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:1
272 msgid ""
273 "Return the delay in seconds before downloading this URL. If you want to "
274 "programmatically determine the delay for the specified URL, override this "
275 "method in your subclass, returning self.delay by default for URLs you do not"
276 " want to affect."
277 msgstr "Возвращает задержку в секундах перед загрузкой этого URL. Если вы хотите программно определить задержку для указанного URL-адреса, переопределите этот метод в своём подклассе, возвращая self.delay по умолчанию для URL-адресов, на которые вы не хотите влиять."
278
279 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:0
280 msgid "Returns"
281 msgstr "Возврат"
282
283 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
284 #: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:5
285 msgid "A floating point number, the delay in seconds."
286 msgstr "Число с плавающей запятой, задержка в секундах."
287
288 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
289 #: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:1
290 msgid ""
291 "Convenience method that takes an URL to the index page and returns a "
292 "`BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`__ of"
293 " it."
294 msgstr "Удобный метод, который принимает URL-адрес на страницу индекса и возвращает его `BeautifulSoup https://www.crummy.com/software/BeautifulSoup/bs4/doc`__."
295
296 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
297 #: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:5
298 msgid "`url_or_raw`: Either a URL or the downloaded index page as a string"
299 msgstr "url_or_raw: либо URL, либо загруженная страница индекса в виде строки"
300
301 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
302 #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:1
303 msgid ""
304 "Return True if the link should be followed or False otherwise. By default, "
305 "raises NotImplementedError which causes the downloader to ignore it."
306 msgstr "Вернуть True, если по ссылке нужно перейти, или False в противном случае. По умолчанию вызывает NotImplementedError, что заставляет загрузчик игнорировать его."
307
308 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
309 #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:5
310 msgid "The URL to be followed"
311 msgstr "URL, по которому нужно следовать"
312
313 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
314 #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:6
315 msgid "The tag from which the URL was derived"
316 msgstr "Тег, из которого был получен URL"
317
318 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
319 #: calibre.web.feeds.news.BasicNewsRecipe.parse_feeds:1
320 msgid ""
321 "Create a list of articles from the list of feeds returned by "
322 ":meth:`BasicNewsRecipe.get_feeds`. Return a list of :class:`Feed` objects."
323 msgstr "Создать список статей из списка каналов, возвращаемых :meth:`BasicNewsRecipe.get_feeds`. Вернуть список :class:`Feed`."
324
325 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
326 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:1
327 msgid ""
328 "This method should be implemented in recipes that parse a website instead of"
329 " feeds to generate a list of articles. Typical uses are for news sources "
330 "that have a \"Print Edition\" webpage that lists all the articles in the "
331 "current print edition. If this function is implemented, it will be used in "
332 "preference to :meth:`BasicNewsRecipe.parse_feeds`."
333 msgstr "Этот метод д. б. реализован в рецептах для анализа веб-сайта, а не в каналах для создания списка статей. Типичное использование - источники новостей, с веб-страницей «Для печати» со всеми статьями. Если эта функция реализована, она будет использоваться вместо :meth:`BasicNewsRecipe.parse_feeds`."
334
335 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
336 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:7
337 msgid ""
338 "It must return a list. Each element of the list must be a 2-element tuple of"
339 " the form ``('feed title', list of articles)``."
340 msgstr "Он должен вернуть список. Каждый элемент списка должен быть двухэлементным кортежем вида ``('заголовок фида', список статей)``."
341
342 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
343 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:10
344 msgid "Each list of articles must contain dictionaries of the form::"
345 msgstr "Каждый список статей должен содержать словари вида::"
346
347 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
348 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:23
349 msgid ""
350 "For an example, see the recipe for downloading `The Atlantic`. In addition, "
351 "you can add 'author' for the author of the article."
352 msgstr "Для примера см. Рецепт загрузки `The Atlantic`. Кроме того, вы можете добавить `author` для автора статьи."
353
354 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
355 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:26
356 msgid ""
357 "If you want to abort processing for some reason and have calibre show the "
358 "user a simple message instead of an error, call "
359 ":meth:`abort_recipe_processing`."
360 msgstr "Если вы хотите по какой-то причине прервать обработку, то чтобы calibre показал пользователю простое сообщение вместо ошибки, вызовите :meth:`abort_recipe_processing`."
361
362 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
363 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:1
364 msgid ""
365 "Called when each HTML page belonging to article is downloaded. Intended to "
366 "be used to get article metadata like author/summary/etc. from the parsed "
367 "HTML (soup)."
368 msgstr "Вызывается при загрузке каждой HTML-страницы, принадлежащей статье. Предназначен для получения метаданных статьи, таких как автор/резюме/и т. д. из разобранного HTML (soup)"
369
370 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
371 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:5
372 msgid ""
373 "A object of class :class:`calibre.web.feeds.Article`. If you change the "
374 "summary, remember to also change the text_summary"
375 msgstr "Объект класса :class:`calibre.web.feeds.Article`. Если вы измените сводку, не забудьте также изменить text_summary"
376
377 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
378 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:7
379 msgid "Parsed HTML belonging to this article"
380 msgstr "Разобранный HTML, принадлежащий этой статье"
381
382 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
383 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:8
384 msgid "True iff the parsed HTML is the first page of the article."
385 msgstr "True, если проанализированный HTML - первая страница статьи."
386
387 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
388 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:1
389 msgid "Run any needed post processing on the parsed downloaded e-book."
390 msgstr "Запустить любую необходимую постобработку для проанализированной загруженной электронной книги."
391
392 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
393 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:3
394 msgid "An OEBBook object"
395 msgstr "OEBBook объект"
396
397 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
398 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:4
399 msgid "Conversion options"
400 msgstr "Опции конвертации"
401
402 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
403 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:1
404 msgid ""
405 "This method is called with the source of each downloaded :term:`HTML` file, "
406 "after it is parsed for links and images. It can be used to do arbitrarily "
407 "powerful post-processing on the :term:`HTML`. It should return `soup` after "
408 "processing it."
409 msgstr "Этот метод вызывается для источника каждого загруженного файла :term:`HTML` после его анализа на наличие ссылок и изображений. Можно использовать для постобработки :term:`HTML`. После обработки он должен вернуть `soup`."
410
411 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
412 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:6
413 msgid ""
414 "A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__"
415 " instance containing the downloaded :term:`HTML`."
416 msgstr "Экземпляр `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__, содержащий загруженный :term:`HTML`."
417
418 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
419 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:7
420 msgid "True if this is the first page of an article."
421 msgstr "True если это первая страница статьи."
422
423 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
424 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:1
425 msgid ""
426 "This method is called with the source of each downloaded :term:`HTML` file, "
427 "before it is parsed for links and images. It is called after the cleanup as "
428 "specified by remove_tags etc. It can be used to do arbitrarily powerful pre-"
429 "processing on the :term:`HTML`. It should return `soup` after processing it."
430 msgstr "Этот метод вызывается для источника каждого загруженного файла: term: `HTML` перед анализом на предмет ссылок и изображений. Он вызывается после очистки, remove_tags и т. д. Можно использовать для предварительной обработки :term:`HTML`. После обработки он должен вернуть `soup`."
431
432 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
433 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:7
434 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
435 #: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:8
436 msgid ""
437 "`soup`: A `BeautifulSoup "
438 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ instance "
439 "containing the downloaded :term:`HTML`."
440 msgstr "`soup`: экземпляр` BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__, содержащий загруженный :term:`HTML`."
441
442 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
443 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_image:1
444 msgid ""
445 "Perform some processing on downloaded image data. This is called on the raw "
446 "data before any resizing is done. Must return the processed raw data. Return"
447 " None to skip the image."
448 msgstr "Выполнить обработку загруженных данных изображения. Вызывается для сырых данных перед изменением размера. Должен возвращать обработанные сырые данные. Вернуть None, чтобы пропустить изображение."
449
450 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
451 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:1
452 msgid ""
453 "This method is called with the source of each downloaded :term:`HTML` file, "
454 "before it is parsed into an object tree. raw_html is a unicode string "
455 "representing the raw HTML downloaded from the web. url is the URL from which"
456 " the HTML was downloaded."
457 msgstr "Этот метод вызывается для источника каждого загруженного файла :term:`HTML` перед его синтаксическим анализом в дерево объектов. raw_html - это Юникод-строка, представляющая необработанный HTML-код, загруженный из Интернета. url - это URL-адрес, откуда был загружен HTML-код."
458
459 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
460 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:6
461 msgid "Note that this method acts *before* preprocess_regexps."
462 msgstr "Обратите внимание, что этот метод действует *до* preprocess_regexps."
463
464 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
465 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:8
466 msgid "This method must return the processed raw_html as a unicode object."
467 msgstr "Этот метод должен возвращать обработанный raw_html как Unicode-объект ."
468
469 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
470 #: calibre.web.feeds.news.BasicNewsRecipe.publication_date:1
471 msgid ""
472 "Use this method to set the date when this issue was published. Defaults to "
473 "the moment of download. Must return a :class:`datetime.datetime` object."
474 msgstr "Используйте этот метод, чтобы установить дату публикации этого выпуска. По умолчанию на момент загрузки. Должен вернуть :class:`datetime.datetime` объект."
475
476 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
477 #: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:1
478 msgid ""
479 "This method is called with the source of each downloaded :term:`HTML` file, "
480 "before any of the cleanup attributes like remove_tags, keep_only_tags are "
481 "applied. Note that preprocess_regexps will have already been applied. It is "
482 "meant to allow the recipe to skip ad pages. If the soup represents an ad "
483 "page, return the HTML of the real page. Otherwise return None."
484 msgstr "Этот метод вызывается для источника каждого загруженного файла :term:`HTML` перед применением любого из атрибутов очистки, таких как remove_tags, keep_only_tags. Обратите внимание, что preprocess_regexps уже был применен. Это сделано для того, чтобы рецепт пропускал рекламные страницы. Если soup - рекламная страница, вернуть HTML реальной страницы. Иначе вернуть None."
485
486 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
487 #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:1
488 msgid ""
489 "Convenience method to sort the titles in `index` according to `weights`. "
490 "`index` is sorted in place. Returns `index`."
491 msgstr "Удобный метод сортировки заголовков в `index` по `weights`. index сортируется на месте. Возвращает `index`."
492
493 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
494 #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:4
495 msgid "`index`: A list of titles."
496 msgstr " `index`: список названий."
497
498 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
499 #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:6
500 msgid ""
501 "`weights`: A dictionary that maps weights to titles. If any titles in index "
502 "are not in weights, they are assumed to have a weight of 0."
503 msgstr "`weights`: словарь, который отображает веса в названия. Если какие-либо названия в индексе не имеют веса, предполагается, что они имеют вес 0."
504
505 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
506 #: calibre.web.feeds.news.BasicNewsRecipe.articles_are_obfuscated:1
507 msgid ""
508 "Set to True and implement :meth:`get_obfuscated_article` to handle websites "
509 "that try to make it difficult to scrape content."
510 msgstr "Установите значение True и реализуйте :meth:`get_obfuscated_article` для обработки веб-сайтов, пытающихся затруднить очистку содержимого."
511
512 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
513 #: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup:1
514 msgid ""
515 "Automatically extract all the text from downloaded article pages. Uses the "
516 "algorithms from the readability project. Setting this to True, means that "
517 "you do not have to worry about cleaning up the downloaded HTML manually "
518 "(though manual cleanup will always be superior)."
519 msgstr "Автоматически извлечь весь текст со страниц загруженных статей. Использует алгоритмы из проекта удобочитаемости. Установить значение в True чтобы не чистить загруженный HTML вручную (хотя ручная очистка всегда будет лучше)."
520
521 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
522 #: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup_keep:1
523 msgid ""
524 "Specify elements that the auto cleanup algorithm should never remove. The "
525 "syntax is a XPath expression. For example::"
526 msgstr "Укажите элементы, которые алгоритм автоматической очистки никогда не должен удалять. Синтаксис - это выражение XPath. Напр.::"
527
528 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
529 #: calibre.web.feeds.news.BasicNewsRecipe.browser_type:1
530 msgid ""
531 "The simulated browser engine to use when downloading from servers. The "
532 "default is to use the Python mechanize browser engine, which supports "
533 "logging in. However, if you don't need logging in, consider changing this to"
534 " either 'webengine' which uses an actual Chromium browser to do the network "
535 "requests or 'qt' which uses the Qt Networking backend. Both 'webengine' and "
536 "'qt' support HTTP/2, which mechanize does not and are thus harder to "
537 "fingerprint for bot protection services."
538 msgstr "Имитируемый движок браузера для использования при загрузке с серверов. По умолчанию используется движок браузера Python mechanize, который поддерживает вход в систему. Однако, если вам не нужен вход в систему, рассмотрите возможность изменения этого параметра либо на 'webengine', который использует реальный браузер Chromium для выполнения сетевых запросов, либо на 'qt', который использует сетевой сервер Qt. И 'webengine', и 'qt' поддерживают HTTP/2, не поддерживаемый mechanize, и, следовательно, его сложнее идентифицировать для служб защиты от ботов."
539
540 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
541 #: calibre.web.feeds.news.BasicNewsRecipe.center_navbar:1
542 msgid ""
543 "If True the navigation bar is center aligned, otherwise it is left aligned"
544 msgstr " Если True, панель навигации выравнивается по центру, в противном случае - по левому краю"
545
546 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
547 #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images:1
548 msgid ""
549 "Set this to False to ignore all scaling and compression parameters and pass "
550 "images through unmodified. If True and the other compression parameters are "
551 "left at their default values, images will be scaled to fit in the screen "
552 "dimensions set by the output profile and compressed to size at most (w * "
553 "h)/16 where w x h are the scaled image dimensions."
554 msgstr "Установите значение False, чтобы игнорировать все параметры масштабирования и сжатия и передавать изображения без изменений. Если True и другие параметры сжатия оставлены в значениях по умолчанию, изображения JPEG будут масштабированы, чтобы соответствовать размерам экрана, установленным выходным профилем, и сжиматься до размера не более (w * h)/16, где w x h - размеры масштабированного изображения."
555
556 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
557 #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_auto_size:1
558 msgid ""
559 "The factor used when auto compressing JPEG images. If set to None, auto "
560 "compression is disabled. Otherwise, the images will be reduced in size to (w"
561 " * h)/compress_news_images_auto_size bytes if possible by reducing the "
562 "quality level, where w x h are the image dimensions in pixels. The minimum "
563 "JPEG quality will be 5/100 so it is possible this constraint will not be "
564 "met. This parameter can be overridden by the parameter "
565 "compress_news_images_max_size which provides a fixed maximum size for "
566 "images. Note that if you enable scale_news_images_to_device then the image "
567 "will first be scaled and then its quality lowered until its size is less "
568 "than (w * h)/factor where w and h are now the *scaled* image dimensions. In "
569 "other words, this compression happens after scaling."
570 msgstr "Коэффициент, используемый при автоматическом сжатии изображений JPEG. Если установлено значение «Нет», автоматическое сжатие отключено. В противном случае изображения будут уменьшены в размере до (w * h) / compress_news_images_auto_size байтов, если это возможно, за счёт снижения уровня качества, где w x h - размеры изображения в пикселях. Минимальное качество JPEG будет 5/100, поэтому м.б. это ограничение не будет выполнено. Этот параметр можно переопределить с помощью параметра compress_news_images_max_size, обеспечивающего фиксированный максимальный размер изображений. Обратите внимание: если вы включите scale_news_images_to_device, изображение сначала будет масштабировано, а затем его качество будет снижено до тех пор, пока его размер не станет меньше, чем (w * h) / factor, где w и h теперь являются * масштабированными * размерами изображения. Другими словами, это сжатие происходит после масштабирования."
571
572 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
573 #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_max_size:1
574 msgid ""
575 "Set JPEG quality so images do not exceed the size given (in KBytes). If set,"
576 " this parameter overrides auto compression via "
577 "compress_news_images_auto_size. The minimum JPEG quality will be 5/100 so it"
578 " is possible this constraint will not be met."
579 msgstr "Установить качество JPEG, чтобы изображения не превышали указанный размер (в килобайтах). Если установлено, этот параметр отменяет автоматическое сжатие через compress_news_images_auto_size. Минимальное качество JPEG будет 5/100, поэтому м.б. это ограничение не будет выполнено."
580
581 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
582 #: calibre.web.feeds.news.BasicNewsRecipe.conversion_options:1
583 msgid ""
584 "Recipe specific options to control the conversion of the downloaded content "
585 "into an e-book. These will override any user or plugin specified values, so "
586 "only use if absolutely necessary. For example::"
587 msgstr "Определенные параметры рецепта для управления преобразованием загруженного содержимого в электронную книгу. Они переопределят любые значения, указанные пользователем или плагином, поэтому используйте их только в случае крайней необходимости. Напр.::"
588
589 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
590 #: calibre.web.feeds.news.BasicNewsRecipe.cover_margins:1
591 msgid ""
592 "By default, the cover image returned by get_cover_url() will be used as the "
593 "cover for the periodical. Overriding this in your recipe instructs calibre "
594 "to render the downloaded cover into a frame whose width and height are "
595 "expressed as a percentage of the downloaded cover. cover_margins = (10, 15, "
596 "'#ffffff') pads the cover with a white margin 10px on the left and right, "
597 "15px on the top and bottom. Color names are defined `here "
598 "<https://www.imagemagick.org/script/color.php>`_. Note that for some reason,"
599 " white does not always work in Windows. Use #ffffff instead"
600 msgstr "По умолчанию изображение обложки, возвращаемое функцией get_cover_url(), будет использоваться в качестве обложки для журнала. Отмена этого параметра в вашем рецепте дает команду calibre преобразовать загруженную обложку в рамку, ширина и высота которой выражаются в процентах от загруженной обложки. cover_margins = (10, 15, '#ffffff') дополняет обложку белым полем 10 пикселей слева и справа, 15 пикселей сверху и снизу. Названия цветов определены `здесь <https://www.imagemagick.org/script/color.php>`_. Учтите, что белый цвет почему-то не всегда работает в Windows. Вместо этого используйте #ffffff"
601
602 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
603 #: calibre.web.feeds.news.BasicNewsRecipe.delay:1
604 msgid ""
605 "The default delay between consecutive downloads in seconds. The argument may"
606 " be a floating point number to indicate a more precise time. See "
607 ":meth:`get_url_specific_delay` to implement per URL delays."
608 msgstr "Задержка между последовательными загрузками в секундах. Аргумент может быть числом с плавающей запятой, чтобы указать более точное время. См. :meth:`get_url_specific_delay` чтобы реализовать задержки для каждого URL."
609
610 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
611 #: calibre.web.feeds.news.BasicNewsRecipe.description:1
612 msgid ""
613 "A couple of lines that describe the content this recipe downloads. This will"
614 " be used primarily in a GUI that presents a list of recipes."
615 msgstr "Пара строк, описывающих содержимое, которое загружается по этому рецепту. Это будет использоваться в основном в графическом интерфейсе, который представляет список рецептов."
616
617 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
618 #: calibre.web.feeds.news.BasicNewsRecipe.encoding:1
619 msgid ""
620 "Specify an override encoding for sites that have an incorrect charset "
621 "specification. The most common being specifying ``latin1`` and using "
622 "``cp1252``. If None, try to detect the encoding. If it is a callable, the "
623 "callable is called with two arguments: The recipe object and the source to "
624 "be decoded. It must return the decoded source."
625 msgstr "Указать переопределяемую кодировку для сайтов с неправильным указанием кодировки. Чаще всего указывается latin1 и используется cp1252. Если None, попробует определить кодировку. Объект вызывается с двумя аргументами: объектом рецепта и источником для декодирования. Он должен возвращать декодированный источник."
626
627 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
628 #: calibre.web.feeds.news.BasicNewsRecipe.extra_css:1
629 msgid ""
630 "Specify any extra :term:`CSS` that should be added to downloaded "
631 ":term:`HTML` files. It will be inserted into `<style>` tags, just before the"
632 " closing `</head>` tag thereby overriding all :term:`CSS` except that which "
633 "is declared using the style attribute on individual :term:`HTML` tags. Note "
634 "that if you want to programmatically generate the extra_css override the "
635 ":meth:`get_extra_css()` method instead. For example::"
636 msgstr "Указать любую дополнительную :term: `CSS`, которая д. б. добавлена к загружаемым :term:`HTML` файлам. Она будет вставлена в `<style>`теги `непосредственно перед закрывающим `</head>`тегом, переопределив все :term:`CSS`, за исключением той, которая объявлена с использованием стилевого атрибута в отдельных тегах :term:`HTML`. Обратите внимание: если вы хотите программно сгенерировать extra_css, вместо этого переопределите метод :meth:`get_extra_css ()`. Напр.::"
637
638 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
639 #: calibre.web.feeds.news.BasicNewsRecipe.feeds:1
640 msgid ""
641 "List of feeds to download. Can be either ``[url1, url2, ...]`` or "
642 "``[('title1', url1), ('title2', url2),...]``"
643 msgstr "Список каналов для загрузки. Может быть ``[url1, url2, ...]`` или ``[('title1', url1), ('title2', url2),...]``"
644
645 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
646 #: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:1
647 msgid ""
648 "List of regular expressions that determines which links to ignore. If empty "
649 "it is ignored. Used only if is_link_wanted is not implemented. For example::"
650 msgstr "Список регулярных выражений, определяющий, какие ссылки игнорировать. Если пустой - игнорируется. Используется, только если is_link_wanted не реализован. Напр.::"
651
652 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
653 #: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:7
654 msgid "will remove all URLs that have `ads.doubleclick.net` in them."
655 msgstr "удалит все URL-адреса, в которых есть `ads.doubleclick.net`."
656
657 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
658 #: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:9
659 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
660 #: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:9
661 msgid ""
662 "Only one of :attr:`BasicNewsRecipe.match_regexps` or "
663 ":attr:`BasicNewsRecipe.filter_regexps` should be defined."
664 msgstr "Должен быть определен только один из :attr:`BasicNewsRecipe.match_regexps` или :attr:`BasicNewsRecipe.filter_regexps`."
665
666 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
667 #: calibre.web.feeds.news.BasicNewsRecipe.handle_gzip:1
668 msgid ""
669 "Set to False if you do not want to use gzipped transfers with the mechanize "
670 "browser. Note that some old servers flake out with gzip."
671 msgstr "Установите значение False, если вы не хотите использовать gzip-сжатие передач в браузере mechanize. Внимание! Некоторые старые серверы могут захлебнуться при включенном gzip-сжатии."
672
673 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
674 #: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:1
675 msgid ""
676 "Ignore duplicates of articles that are present in more than one section. A "
677 "duplicate article is an article that has the same title and/or URL. To "
678 "ignore articles with the same title, set this to::"
679 msgstr "Игнорировать дубликаты статей, которые присутствуют более чем в одном разделе. Дублирующаяся статья - это статья с таким же названием и/или URL. Чтобы игнорировать статьи с таким же названием, установите для этого параметра значение::"
680
681 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
682 #: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:7
683 msgid "To use URLs instead, set it to::"
684 msgstr "Для использования URL-адресов вместо этого, установите значение::"
685
686 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
687 #: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:11
688 msgid "To match on title or URL, set it to::"
689 msgstr "Для соответствия заголовку или URL, установите значение::"
690
691 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
692 #: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:1
693 msgid ""
694 "Keep only the specified tags and their children. For the format for "
695 "specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. If this list is "
696 "not empty, then the `<body>` tag will be emptied and re-filled with the tags"
697 " that match the entries in this list. For example::"
698 msgstr "Оставить только указанные теги и их дочерние элементы. Формат указания тега см. :attr:`BasicNewsRecipe.remove_tags`. Если этот список не пуст, то `<body>` тег будет очищен и повторно заполнен тегами, соответствующими записям в этом списке. Напр.::"
699
700 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
701 #: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:8
702 msgid ""
703 "will keep only tags that have an `id` attribute of `\"content\"` or "
704 "`\"heading\"`."
705 msgstr "сохранить только теги, у которых есть атрибут `id` `\"content\"` или `\"heading\"`."
706
707 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
708 #: calibre.web.feeds.news.BasicNewsRecipe.language:1
709 msgid ""
710 "The language that the news is in. Must be an ISO-639 code either two or "
711 "three characters long"
712 msgstr "Язык новостей. Должен быть двух- или трёхзначным кодом ISO-639."
713
714 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
715 #: calibre.web.feeds.news.BasicNewsRecipe.masthead_url:1
716 msgid ""
717 "By default, calibre will use a default image for the masthead (Kindle only)."
718 " Override this in your recipe to provide a URL to use as a masthead."
719 msgstr "По умолчанию calibre будет использовать изображение по умолчанию для шапки (только Kindle). Переопределите это в своем рецепте, чтобы указать URL-адрес для использования в качестве шапки."
720
721 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
722 #: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:1
723 msgid ""
724 "List of regular expressions that determines which links to follow. If empty,"
725 " it is ignored. Used only if is_link_wanted is not implemented. For "
726 "example::"
727 msgstr "Список регулярных выражений, определяющий, по каким ссылкам следовать. Если пусто, игнорируется. Используется, только если is_link_wanted не реализован. Напр.::"
728
729 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
730 #: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:7
731 msgid "will match all URLs that have `page=some number` in them."
732 msgstr "будет соответствовать всем URL-адресам, в которых есть `page = some number`."
733
734 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
735 #: calibre.web.feeds.news.BasicNewsRecipe.max_articles_per_feed:1
736 msgid ""
737 "Maximum number of articles to download from each feed. This is primarily "
738 "useful for feeds that don't have article dates. For most feeds, you should "
739 "use :attr:`BasicNewsRecipe.oldest_article`"
740 msgstr "Максимальное количество статей для загрузки из каждого канала. Это в первую очередь полезно для каналов, в которых нет дат статьи. Для большинства каналов вы должны использовать :attr:`BasicNewsRecipe.oldest_article`"
741
742 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
743 #: calibre.web.feeds.news.BasicNewsRecipe.needs_subscription:1
744 msgid ""
745 "If True the GUI will ask the user for a username and password to use while "
746 "downloading. If set to \"optional\" the use of a username and password "
747 "becomes optional"
748 msgstr "Если True, графический интерфейс запросит у пользователя имя пользователя и пароль для использования при загрузке. Если установлено значение 'optional', использование имени пользователя и пароля становится необязательным."
749
750 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
751 #: calibre.web.feeds.news.BasicNewsRecipe.no_stylesheets:1
752 msgid ""
753 "Convenient flag to disable loading of stylesheets for websites that have "
754 "overly complex stylesheets unsuitable for conversion to e-book formats. If "
755 "True stylesheets are not downloaded and processed"
756 msgstr "Удобный флаг для отключения загрузки таблиц стилей для веб-сайтов, со слишком сложными таблицами стилей, непригодными для преобразования в электронные книги. Если True таблицы стилей не загружаются и не обрабатываются"
757
758 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
759 #: calibre.web.feeds.news.BasicNewsRecipe.oldest_article:1
760 msgid "Oldest article to download from this news source. In days."
761 msgstr "Самая старая статья для загрузки из этого источника новостей. В днях."
762
763 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
764 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:1
765 msgid ""
766 "List of :term:`regexp` substitution rules to run on the downloaded "
767 ":term:`HTML`. Each element of the list should be a two element tuple. The "
768 "first element of the tuple should be a compiled regular expression and the "
769 "second a callable that takes a single match object and returns a string to "
770 "replace the match. For example::"
771 msgstr "Список правил подстановки :term:`regexp` для запуска в загруженном :term:`HTML`. Каждый элемент списка должен быть двухэлементным кортежем. Первый элемент кортежа должен быть скомпилированным регулярным выражением, а второй — вызываемым, который принимает единственный соответствующий объект и возвращает строку для замены совпадения. Напр.::"
772
773 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
774 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:12
775 msgid "will remove everything from `<!--Article ends here-->` to `</body>`."
776 msgstr "удалит все от <!--Article ends here-->` до `</body>`."
777
778 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
779 #: calibre.web.feeds.news.BasicNewsRecipe.publication_type:1
780 msgid ""
781 "Publication type Set to newspaper, magazine or blog. If set to None, no "
782 "publication type metadata will be written to the opf file."
783 msgstr "Тип публикации Газета, журнал или блог. Если установлено значение Нет, метаданные типа публикации не будут записываться в файл opf."
784
785 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
786 #: calibre.web.feeds.news.BasicNewsRecipe.recipe_disabled:1
787 msgid ""
788 "Set to a non empty string to disable this recipe. The string will be used as"
789 " the disabled message"
790 msgstr "Установите непустую строку, чтобы отключить этот рецепт. Строка будет использоваться как отключенное сообщение"
791
792 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
793 #: calibre.web.feeds.news.BasicNewsRecipe.recipe_specific_options:1
794 msgid ""
795 "Specify options specific to this recipe. These will be available for the "
796 "user to customize in the Advanced tab of the Fetch News dialog or at the "
797 "ebook-convert command line. The options are specified as a dictionary "
798 "mapping option name to metadata about the option. For example::"
799 msgstr "Укажите параметры, специфичные для этого рецепта. Они будут доступны пользователю для настройки на вкладке «Дополнительно» диалогового окна «Получение новостей» или в командной строке ebook-convert. Параметры указываются как имя параметра сопоставления словаря с метаданными об этом параметре. Напр.::"
800
801 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
802 #: calibre.web.feeds.news.BasicNewsRecipe.recipe_specific_options:13
803 msgid ""
804 "When the recipe is run, self.recipe_specific_options will be a dict mapping "
805 "option name to the option value specified by the user. When the option is "
806 "unspecified by the user, it will have the value specified by 'default'. If "
807 "no default is specified, the option will not be in the dict at all, when "
808 "unspecified by the user."
809 msgstr "При запуске рецепта self.recipe_specify_options будет именем параметра сопоставления dict со значением параметра, указанным пользователем. Если параметр не указан пользователем, он будет иметь значение, указанное в значении «по умолчанию». Если значение по умолчанию не указано, этот параметр вообще не будет присутствовать в словаре, если он не указан пользователем."
810
811 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
812 #: calibre.web.feeds.news.BasicNewsRecipe.recursions:1
813 msgid "Number of levels of links to follow on article webpages"
814 msgstr "Количество уровней ссылок для перехода на веб-страницах статей"
815
816 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
817 #: calibre.web.feeds.news.BasicNewsRecipe.remove_attributes:1
818 msgid "List of attributes to remove from all tags. For example::"
819 msgstr "Список атрибутов, которые нужно удалить из всех тегов. Напр.::"
820
821 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
822 #: calibre.web.feeds.news.BasicNewsRecipe.remove_empty_feeds:1
823 msgid ""
824 "If True empty feeds are removed from the output. This option has no effect "
825 "if parse_index is overridden in the sub class. It is meant only for recipes "
826 "that return a list of feeds using `feeds` or :meth:`get_feeds`. It is also "
827 "used if you use the ignore_duplicate_articles option."
828 msgstr "Если True, пустые каналы удаляются из вывода. Эта опция не действует, если parse_index переопределен в подклассе. Он предназначен только для рецептов, которые возвращают список каналов с использованием `feeds` или :meth:`get_feeds`. Он также используется, с опцией ignore_duplicate_articles."
829
830 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
831 #: calibre.web.feeds.news.BasicNewsRecipe.remove_javascript:1
832 msgid "Convenient flag to strip all JavaScript tags from the downloaded HTML"
833 msgstr "Удобный флаг для удаления всех тегов JavaScript из загруженного HTML"
834
835 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
836 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:1
837 msgid ""
838 "List of tags to be removed. Specified tags are removed from downloaded HTML."
839 " A tag is specified as a dictionary of the form::"
840 msgstr "Список удаляемых тегов. Указанные теги удаляются из загруженного HTML. Тег задается как словарь формы::"
841
842 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
843 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:9
844 msgid ""
845 "All keys are optional. For a full explanation of the search criteria, see "
846 "`Beautiful Soup "
847 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-"
848 "tree>`__ A common example::"
849 msgstr "Все ключи необязательны. Полное объяснение критериев поиска см. В `Beautiful Soup https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-tree`__ A common example::"
850
851 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
852 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:15
853 msgid ""
854 "This will remove all `<div class=\"advert\">` tags and all their children "
855 "from the downloaded :term:`HTML`."
856 msgstr "Это приведёт к удалению всех тегов `<div class=\"advert\">` и всех их дочерних элементов из загруженного :term:`HTML`."
857
858 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
859 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:1
860 msgid ""
861 "Remove all tags that occur after the specified tag. For the format for "
862 "specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::"
863 msgstr "Удалить все теги, появляющиеся после указанного тега. Формат указания тега см. В :attr:`BasicNewsRecipe.remove_tags`. Напр.::"
864
865 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
866 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:7
867 msgid "will remove all tags after the first element with `id=\"content\"`."
868 msgstr "удалит все теги после первого элемента с `id=\"content\"`."
869
870 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
871 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:1
872 msgid ""
873 "Remove all tags that occur before the specified tag. For the format for "
874 "specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::"
875 msgstr "Удалить все теги, появляющиеся перед указанным тегом. Формат указания тега см. В :attr:`BasicNewsRecipe.remove_tags`. Напр.::"
876
877 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
878 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:7
879 msgid "will remove all tags before the first element with `id=\"content\"`."
880 msgstr "удалит все теги перед первым элементом с `id=\"content\"`."
881
882 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
883 #: calibre.web.feeds.news.BasicNewsRecipe.requires_version:1
884 msgid "Minimum calibre version needed to use this recipe"
885 msgstr "Минимальная версия calibre, необходимая для использования этого рецепта"
886
887 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
888 #: calibre.web.feeds.news.BasicNewsRecipe.resolve_internal_links:1
889 msgid ""
890 "If set to True then links in downloaded articles that point to other "
891 "downloaded articles are changed to point to the downloaded copy of the "
892 "article rather than its original web URL. If you set this to True, you might"
893 " also need to implement :meth:`canonicalize_internal_url` to work with the "
894 "URL scheme of your particular website."
895 msgstr "Если установлено значение True, то ссылки в загруженных статьях, которые указывают на другие загруженные статьи, изменяются, чтобы указывать на загруженную копию статьи, а не на ее исходный веб-URL. При установке значения True, вам также может потребоваться реализовать :meth:`canonicalize_internal_url` для работы со схемой URL-адресов вашего конкретного веб-сайта."
896
897 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
898 #: calibre.web.feeds.news.BasicNewsRecipe.reverse_article_order:1
899 msgid "Reverse the order of articles in each feed"
900 msgstr "Измените порядок статей в каждом фиде"
901
902 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
903 #: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images:1
904 msgid ""
905 "Maximum dimensions (w,h) to scale images to. If scale_news_images_to_device "
906 "is True this is set to the device screen dimensions set by the output "
907 "profile unless there is no profile set, in which case it is left at whatever"
908 " value it has been assigned (default None)."
909 msgstr "Максимальные размеры (ширина, высота) для масштабирования изображений. Если scale_news_images_to_device имеет значение True, для него устанавливаются размеры экрана устройства, заданные выходным профилем, если профиль не задан, и в этом случае он остается в том значении, которое было назначено (по умолчанию None)."
910
911 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
912 #: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images_to_device:1
913 msgid ""
914 "Rescale images to fit in the device screen dimensions set by the output "
915 "profile. Ignored if no output profile is set."
916 msgstr "Изменить масштаб изображений, чтобы они соответствовали размерам экрана устройства в профиле вывода. Игнорируется, если выходной профиль не задан."
917
918 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
919 #: calibre.web.feeds.news.BasicNewsRecipe.simultaneous_downloads:1
920 msgid ""
921 "Number of simultaneous downloads. Set to 1 if the server is picky. "
922 "Automatically reduced to 1 if :attr:`BasicNewsRecipe.delay` > 0"
923 msgstr "Количество одновременных загрузок. Установите 1, если сервер придирчив. Автоматически уменьшается до 1, если :attr:`BasicNewsRecipe.delay` > 0"
924
925 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
926 #: calibre.web.feeds.news.BasicNewsRecipe.summary_length:1
927 msgid "Max number of characters in the short description"
928 msgstr "Максимальное количество символов в кратком описании"
929
930 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
931 #: calibre.web.feeds.news.BasicNewsRecipe.template_css:1
932 msgid ""
933 "The CSS that is used to style the templates, i.e., the navigation bars and "
934 "the Tables of Contents. Rather than overriding this variable, you should use"
935 " `extra_css` in your recipe to customize look and feel."
936 msgstr "CSS, который используется для стилизации шаблонов, то есть панелей навигации и оглавлений. Вместо переопределения этой переменной используйте в своем рецепте `extra_css` для настройки внешнего вида."
937
938 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
939 #: calibre.web.feeds.news.BasicNewsRecipe.timefmt:1
940 msgid ""
941 "The format string for the date shown on the first page. By default: "
942 "Day_Name, Day_Number Month_Name Year"
943 msgstr "Строка формата даты, показанной на первой странице. По умолчанию: Day_Name, Day_Number Month_Name Year"
944
945 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
946 #: calibre.web.feeds.news.BasicNewsRecipe.timeout:1
947 msgid "Timeout for fetching files from server in seconds"
948 msgstr "Тайм-аут для загрузки файлов с сервера в секундах"
949
950 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
951 #: calibre.web.feeds.news.BasicNewsRecipe.title:1
952 msgid "The title to use for the e-book"
953 msgstr "Название для электронной книги"
954
955 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
956 #: calibre.web.feeds.news.BasicNewsRecipe.use_embedded_content:1
957 msgid ""
958 "Normally we try to guess if a feed has full articles embedded in it based on"
959 " the length of the embedded content. If `None`, then the default guessing is"
960 " used. If `True` then the we always assume the feeds has embedded content "
961 "and if `False` we always assume the feed does not have embedded content."
962 msgstr "Обычно попытка угадать, есть ли в фиде встроенные полные статьи, основывается на длине встроенного контента. Если «Нет», то используется угадывание по умолчанию. Если True - всегда предполагается, что у каналов есть встроенный контент, False - всегда предполагается, что у каналов нет встроенного контента."