Debian Codegraph @

translations/manual/uk/snippets.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 # AlexKR <[email protected]>, 2015
7 # Yuri Chornoivan <[email protected]>, 2016-2017,2020-2021,2025-2026
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: calibre\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
13 "PO-Revision-Date: 2015-01-10 01:24+0000\n"
14 "Last-Translator: Yuri Chornoivan <[email protected]>, 2016-2017,2020-2021,2025-2026\n"
15 "Language-Team: Ukrainian (http://app.transifex.com/calibre/calibre/language/uk/)\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Language: uk\n"
20 "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
21
22 #: ../../../__w/calibre/calibre/manual/snippets.rst:2
23 msgid "Snippets"
24 msgstr "Фрагменти"
25
26 #: ../../../__w/calibre/calibre/manual/snippets.rst:6
27 msgid ""
28 "The calibre E-book editor supports *snippets*. A snippet is a piece of text "
29 "that is either re-used often or contains a lot of redundant text. The editor"
30 " allows you to insert a snippet with only a few key strokes. For example, "
31 "suppose you often find yourself inserting link tags when editing HTML files,"
32 " then you can simply type ``<a`` in the editor and press |ct|. The editor "
33 "will expand it to::"
34 msgstr "У редакторі книг calibre передбачено підтримку *фрагментів*. Фрагмент — це шматок тексту, який часто використовується повторно або містить багато зайвого тексту. Редактор надає вам змогу вставляти фрагмент за допомогою натискання певної комбінації клавіш. Наприклад, припустімо, що вам часто доводиться вставляти теґи, коли ви редагуєте файли HTML. Тоді, ви можете просто ввести ``<a`` у редакторі і натиснути |ct|. Редактор розгорне це до такого виразу::"
35
36 #: ../../../__w/calibre/calibre/manual/snippets.rst:15
37 msgid ""
38 "Not only that, the word ``filename`` will be selected, with the cursor "
39 "placed over it, so that you can easily type in the real filename, using the "
40 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
41 "typing the filename, press |ct| again and the cursor will jump to the "
42 "position in between the ``<a>`` tags so you can easily type in the text for "
43 "the link."
44 msgstr "Крім того, буде позначено слово ``filename``, а курсор розташовано над цим словом. Отже, ви зможете одразу почати введення справжньої назви файла, використовуючи чудову можливість :ref:`editor_auto_complete`, яку передбачено у редакторі. Щойно ви завершите введення назви файла, натисніть |ct| ще раз, щоб перевести курсор на позицію між теґами ``<a>`` і почати введення тексту для посилання."
45
46 #: ../../../__w/calibre/calibre/manual/snippets.rst:21
47 msgid ""
48 "The snippets system in the editor is very sophisticated, there are a few "
49 "built-in snippets and you can create your own to suit your editing style."
50 msgstr "Система фрагментів у редакторі є дуже потужною: передбачено декілька вбудованих фрагментів, ви можете створювати власні фрагменти, які відповідають вашому стилю редагування."
51
52 #: ../../../__w/calibre/calibre/manual/snippets.rst:24
53 msgid ""
54 "The following discussion of the built-in snippets should help illustrate the"
55 " power of the snippets system."
56 msgstr "Наведене нижче обговорення вбудованих фрагментів має допомогти вам зрозуміти потужність системи фрагментів."
57
58 #: ../../../__w/calibre/calibre/manual/snippets.rst:28
59 msgid ""
60 "You can also use snippets in the text entry fields in the :guilabel:`Search "
61 "& replace` panel, however, placeholders (using |ct| to jump around) will not"
62 " work."
63 msgstr "Ви також можете використовувати фрагменти у полях для введення тексту на панелі пошуку з заміною. Втім, замінники (з використанням |ct| для переходу) не працюватимуть."
64
65 #: ../../../__w/calibre/calibre/manual/snippets.rst:33
66 msgid "The built-in snippets"
67 msgstr "Вбудовані фрагменти"
68
69 #: ../../../__w/calibre/calibre/manual/snippets.rst:35
70 msgid ""
71 "The built-in snippets are described below. Note that you can override them "
72 "by creating your own snippets with the same trigger text."
73 msgstr "Нижче наведено опис вбудованих фрагментів. Зауважте, що ви можете перевизначити ці фрагменти вашими власними фрагментами із тим самим текстом-вмикачем."
74
75 #: ../../../__w/calibre/calibre/manual/snippets.rst:39
76 msgid "Inserting filler text [Lorem]"
77 msgstr "Вставляння тексту-заповнювача [Lorem]"
78
79 #: ../../../__w/calibre/calibre/manual/snippets.rst:41
80 msgid ""
81 "The first built-in snippet, and the simplest is used to insert filler text "
82 "into a document. The filler text is taken from `De finibus bonorum et "
83 "malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ a "
84 "philosophical work by Cicero (translated to English). To use it simply type "
85 "``Lorem`` in an HTML file and press |ct|. It will be replaced by a couple of"
86 " paragraphs of filler."
87 msgstr "Перший і найпростіший із вбудованих фрагментів призначено для вставляння тексту-заповнювача до документа. Текст-заповнювач запозичено з `De finibus bonorum et malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_, філософської роботи Цицерона (перекладеної англійською). Для того, щоб скористатися цим фрагментом, просто введіть ``Lorem`` у файлі HTML і натисніть |ct|. Введене слово буде замінено абзацами тексту-заповнювача."
88
89 #: ../../../__w/calibre/calibre/manual/snippets.rst:48
90 msgid ""
91 "The definition of this snippet is very simple, the trigger text is defined "
92 "as ``Lorem`` and the template is defined simply as the literal text to be "
93 "inserted. You can easily customize it to use your favorite form of filler "
94 "text."
95 msgstr "Визначення цього фрагмента є дуже простим: текст-перемикач визначено як ``Lorem``, шаблон визначено як простий текст, який слід вставити. Вам буде дуже просто налаштувати цей фрагмент відповідно до вашої улюбленої форми тексту-заповнювача."
96
97 #: ../../../__w/calibre/calibre/manual/snippets.rst:53
98 msgid "Inserting a self-closing HTML tag [<>]"
99 msgstr "Вставляння закритого теґу HTML [<>]"
100
101 #: ../../../__w/calibre/calibre/manual/snippets.rst:55
102 msgid ""
103 "Now let's look at a simple example of the powerful concept of "
104 "*placeholders*. Say you want to insert the self-closing tag ``<hr/>``. Just "
105 "type ``<>``, and press |ct|, the editor will expand the snippet to::"
106 msgstr "Тепер, розгляньмо простий приклад потужної концепції *замінників*. Припустімо, ви хочете вставити самозакривний теґ ``<hr/>``. Просто введіть ``<>`` і натисніть |ct|. Редактор розгорне цей фрагмент до такого тексту::"
107
108 #: ../../../__w/calibre/calibre/manual/snippets.rst:61
109 msgid ""
110 "Here, the ``|`` symbol represents the current cursor position. You can then "
111 "type ``hr`` and press |ct| to move the cursor to after the end of the tag. "
112 "This snippet is defined as::"
113 msgstr "Тут символ ``|`` відповідає поточному розташуванню курсора. Далі, ви можете ввести ``hr`` і натиснути |ct|, щоб пересунути курсор за кінець теґу. Цей фрагмент визначено ось так::"
114
115 #: ../../../__w/calibre/calibre/manual/snippets.rst:68
116 msgid ""
117 "Placeholders are simply the dollar ($) sign followed by a number. When the "
118 "snippet is expanded by pressing |ct| the cursor is positioned at the first "
119 "placeholder (the placeholder with the lowest number). When you press |ct| "
120 "again the cursor jumps to the next placeholder (the placeholder with the "
121 "next higher number)."
122 msgstr "Замінниками є комбінації символу долара ($) із цифрами. Після розгортання фрагмента у відповідь на натискання |ct| курсор спочатку буде розташовано на місці першого замінника (замінника із найменшим номером). Після повторного натискання |ct| курсор буде пересунуто до наступного замінника (замінника із наступним найменшим номером)."
123
124 #: ../../../__w/calibre/calibre/manual/snippets.rst:75
125 msgid "Inserting an HTML link tag [<a]"
126 msgstr "Вставити HTML теґ посилання [<a]"
127
128 #: ../../../__w/calibre/calibre/manual/snippets.rst:77
129 msgid ""
130 "HTML link tags all share a common structure. They have an ``href`` attribute"
131 " and some text between the opening and closing tags. A snippet to make "
132 "typing them more efficient will introduce us to some more features of "
133 "placeholders. To use this snippet, simply type ``<a`` and press |ct|. The "
134 "editor will expand this to::"
135 msgstr "Усі теґи посилань у HTML мають однакову структуру. У них міститься атрибут ``href`` і якийсь текст між початковим і кінцевим теґами. Фрагмент для ефективного введення теґів посилань познайомить нас із додатковими можливостями замінників. Щоб скористатися цим фрагментом, просто введіть ``<a`` і натисніть |ct|. Редактор розгорне фрагмент до такого::"
136
137 #: ../../../__w/calibre/calibre/manual/snippets.rst:85
138 msgid ""
139 "Not only that, the word ``filename`` will be selected, with the cursor "
140 "placed over it, so that you can easily type in the real filename, using the "
141 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
142 "typing the filename, press |ct| again and the cursor will jump to the "
143 "position in between the ``<a>`` tags so you can easily type in the text for "
144 "the link. After you are done typing the text, press |ct| again to jump to "
145 "the point after the closing tag. This snippet is defined as::"
146 msgstr "Крім того, буде позначено слово ``filename``, а курсор розташовано над цим словом. Отже, ви зможете одразу почати введення справжньої назви файла, використовуючи чудову можливість :ref:`editor_auto_complete`, яку передбачено у редакторі. Щойно ви завершите введення назви файла, натисніть |ct| ще раз, щоб перевести курсор на позицію між теґами ``<a>`` і почати введення тексту для посилання. Після завершення введення тексту натисніть клавішу |ct| ще раз, щоб перейти до позиції після кінцевого теґу. Цей фрагмент визначено ось так::"
147
148 #: ../../../__w/calibre/calibre/manual/snippets.rst:96
149 msgid ""
150 "There are a couple of new features here. First the ``$1`` placeholder has "
151 "become more complex. It now includes some *default text* (the word "
152 "``filename``). If a placeholder contains default text, the default text is "
153 "substituted for the placeholder when the snippet is expanded. Also when you "
154 "jump to a placeholder with default text using |ct|, the default text is "
155 "selected. In this way, you can use default text to act as a reminder to you "
156 "to fill in important parts of the template. You can specify default text for"
157 " a placeholder by using the syntax: ``${<number>:default text}``."
158 msgstr "Тут ми бачимо ще декілька нових можливостей. По-перше, замінник ``$1`` став складнішим. Тепер він включає деякий *типовий текст* (слово ``filename``). Якщо замінник містить типовий текст, замінник буде заміщено типовим текстом під час розгортання фрагмента. Крім того, під час переходів до замінника із типовим текстом за допомогою натискання клавіші |ct| програма автоматично позначатиме типовий текст. Таким чином, ви можете скористатися типовим текстом як нагадуванням про те, що вам слід заповнити певні важливі місця у шаблоні. Типовий текст для замінника можна вказати за допомогою такої синтаксичної конструкції: ``${<число>:типовий текст}``."
159
160 #: ../../../__w/calibre/calibre/manual/snippets.rst:105
161 msgid ""
162 "The other new feature is that the second placeholder has an asterisk after "
163 "it (``${2*}``). This means that any text that was selected before expanding "
164 "the template is substituted for the placeholder. To see this in action, "
165 "select some text in the editor, press |ct|, type ``<a`` and press |ct| "
166 "again, the template will be expanded to::"
167 msgstr "Ще однією новою можливістю є те, що у другому заміннику використано зірочку після цифри (``${2*}``). Цей означає, що замінник у шаблоні буде замінено на будь-який текст, який було позначено до розгортання шаблона. Щоб побачити, як це працює, позначте якийсь фрагмент тексту у редакторі, натисніть клавішу |ct|, введіть ``<a`` і натисніть клавішу |ct| ще раз. Шаблон буде розгорнуто до такого рядка::"
168
169 #: ../../../__w/calibre/calibre/manual/snippets.rst:114
170 msgid "Inserting an HTML image tag [<i]"
171 msgstr "Вставити HTML-теґ зображення [<i]"
172
173 #: ../../../__w/calibre/calibre/manual/snippets.rst:116
174 msgid ""
175 "This is very similar to inserting an HTML link, as we saw above. It allows "
176 "you to quickly input an ``<img src=\"filename\" alt=\"description\" />`` tag"
177 " and jump between the ``src`` and ``alt`` attributes::"
178 msgstr "Цей фрагмент дуже подібний до фрагмента для вставляння посилання HTML, який ми обговорювали вище. Він надає вам змогу швидко ввести теґ ``<img src=\"filename\" alt=\"description\" />`` і здійснювати переходи між атрибутами ``src`` і ``alt``::"
179
180 #: ../../../__w/calibre/calibre/manual/snippets.rst:124
181 msgid "Insert an arbitrary HTML tag [<<]"
182 msgstr "Вставити довільний теґ HTML [<<]"
183
184 #: ../../../__w/calibre/calibre/manual/snippets.rst:126
185 msgid ""
186 "This allows you to insert an arbitrary full HTML tag (or wrap previously "
187 "selected text in the tag). To use it, simply type ``<<`` and press |ct|. If "
188 "you want to wrap selected text, first select the text, press |ct| then type "
189 "``<<`` and press |ct| again. The editor will expand it to::"
190 msgstr "Це надасть вам змогу вставити довільний повний теґ HTML (або загорнути позначений текст у теґ). Щоб скористатися цим, просто введіть ``<<`` і натисніть ліву клавішу Ctrl. Якщо ви хочете загорнути позначений текст, спочатку позначте текст, натисніть ліву клавішу Ctrl, введіть ``<<``, а потім натисніть ліву клавішу Ctrl знову. Редактор розгорне це до такого виразу::"
191
192 #: ../../../__w/calibre/calibre/manual/snippets.rst:134
193 msgid ""
194 "Type the tag name, for example: ``span`` and press |ct|, that will result "
195 "in::"
196 msgstr "Введіть назву теґу, наприклад ``span``, і натисніть |ct|. Результат буде таким::"
197
198 #: ../../../__w/calibre/calibre/manual/snippets.rst:138
199 msgid ""
200 "You will note that the closing tag has been automatically filled with "
201 "``span``. This is achieved with yet another feature of placeholders, "
202 "*mirroring*. Mirroring simply means that if you specify the same placeholder"
203 " more than once in a template, the second and all later positions will be "
204 "automatically filled in with whatever you type in the first position, when "
205 "you press |ct|. The definition for this snippet is::"
206 msgstr "Як бачите, кінцевий теґ автоматично заповнено рядком ``span``. Цього вдалося досягти за допомогою ще однієї можливості замінників — *віддзеркалення*. Віддзеркалення працює так: якщо ви використали замінник у шаблоні декілька разів, другу і усі інші позиції буде автоматично заповнено тим, що ви введете на першій позиції, щойно буде натиснуто клавішу |ct|. Цей фрагмент визначено ось так::"
207
208 #: ../../../__w/calibre/calibre/manual/snippets.rst:148
209 msgid ""
210 "As you can see, the first placeholder ($1) has been specified twice, the "
211 "second time in the closing tag, which will simply copy whatever you type in "
212 "the opening tag."
213 msgstr "Як ви бачите, перший замінник ($1) було вказано двічі, другий раз у завершальному тезі, де він просто скопіює усе, що ви ввели у початковому тезі."
214
215 #: ../../../__w/calibre/calibre/manual/snippets.rst:153
216 msgid "Inserting an arbitrary HTML tag with a class attribute [<c]"
217 msgstr "Вставляння довільного теґу HTML із атрибутом класу [<c]"
218
219 #: ../../../__w/calibre/calibre/manual/snippets.rst:155
220 msgid ""
221 "This is very similar to the insert arbitrary tag example above, except that "
222 "it assumes that you want to specify a class for the tag::"
223 msgstr "Це дуже схоже на наведений вище приклад вставляння довільного теґу, але тут потрібно вказати клас теґу::"
224
225 #: ../../../__w/calibre/calibre/manual/snippets.rst:161
226 msgid ""
227 "This will allow you to first type the tag name, press |ct|, type the class "
228 "name, press |ct| type the contents of the tag and press |ct| one last time "
229 "to jump out of the tag. The closing tag will be auto-filled."
230 msgstr "Ви зможете спочатку набрати назву теґу, натиснути |ct|, ввести назву класу, натиснути |ct|, ввести вміст теґу і натиснути |ct| востаннє, щоб вийти з теґу. Завершальний теґ буде додано автоматично."
231
232 #: ../../../__w/calibre/calibre/manual/snippets.rst:167
233 msgid "Creating your own snippets"
234 msgstr "Створення ваших власних фрагментів"
235
236 #: ../../../__w/calibre/calibre/manual/snippets.rst:169
237 msgid ""
238 "Snippets really shine because you can create your own to suit your editing "
239 "style. To create your own snippets go to "
240 ":guilabel:`Edit->Preferences->Editor settings->Manage snippets` in the "
241 "editor. This will pop-up an easy to use dialog to help you create your own "
242 "snippets. Simply click the :guilabel:`Add snippet` button and you will see a"
243 " dialog that looks like:"
244 msgstr "Фрагменти є дуже корисним елементом редактора, оскільки ви можете створювати власні фрагменти, які відповідають вашому стилю редагування. Для створення фрагментів послідовно скористайтеся пунктами :guilabel:`Зміни -> Налаштування -> Параметри редактора -> Керування фрагментами` у вікні редактора книг. У відповідь буде відкрито просте у користуванні діалогове вікно, яке допоможе вам у створенні ваших фрагментів. Натисніть кнопку :guilabel:`Додати фрагмент`, і програма відкриє ось таке діалогове вікно:"
245
246 #: ../../../__w/calibre/calibre/manual/snippets.rst:175
247 msgid "The create your own snippets tool"
248 msgstr "Інструмент створення ваших власних фрагментів"
249
250 #: ../../../__w/calibre/calibre/manual/snippets.rst:180
251 msgid ""
252 "First give your snippet a name, something descriptive, to help identify the "
253 "snippet in the future. Then specify the *trigger*. A trigger is simply the "
254 "text that you have to type in the editor before pressing |ct| in order to "
255 "expand the snippet."
256 msgstr "Спочатку надайте вашому фрагменту назву. Назва має бути описовою, такою, яка допоможе вам шукати ваш фрагмент. Далі вкажіть *перемикач*. Перемикачем є текст, який слід набрати у редакторі до натискання |ct|, щоб програма розгорнула його до вашого фрагмента."
257
258 #: ../../../__w/calibre/calibre/manual/snippets.rst:185
259 msgid ""
260 "Then specify the snippet template. You should start with one of the examples"
261 " above and modify it to suit your needs. Finally, specify which file types "
262 "you want the snippet to be active for. This way you can have multiple "
263 "snippets with the same trigger text that work differently in different file "
264 "types."
265 msgstr "Далі вкажіть шаблон фрагмента. Вам слід почати з одного з наведених вище прикладів і внести до нього зміни відповідно до ваших потреб. Нарешті, вкажіть, для яких типів файлів слід активізувати цей фрагмент. Таким чином, ви можете мати декілька фрагментів із однаковими назвами, які будуть працювати по-різному у файлах різних типів."
266
267 #: ../../../__w/calibre/calibre/manual/snippets.rst:190
268 msgid ""
269 "The next step is to test your newly created snippet. Use the "
270 ":guilabel:`Test` box at the bottom. Type in the trigger text and press |ct| "
271 "to expand the snippet and jump between placeholders."
272 msgstr "Наступним кроком є тестування вашого щойно створеного фрагмента. Для тестування скористайтеся полем :guilabel:`Перевірка`, яке розташовано у нижній частині вікна. Введіть текст-перемикач і натисніть |ct|, щоб розгорнути фрагмент і перейти між замінниками."