Rev 14099 | Rev 14480 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9729 | cbradney | 1 | <?xml version="1.0" encoding="utf-8"?> |
14474 | cbradney | 2 | <!DOCTYPE TS> |
3 | <TS version="2.0"> |
||
4759 | cbradney | 4 | <context> |
12918 | cbradney | 5 | <name></name> |
1135 | cbradney | 6 | <message> |
14474 | cbradney | 7 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/> |
12918 | cbradney | 8 | <source>getColorNames() -> list |
9 | |||
10 | Returns a list containing the names of all defined colors in the document. |
||
11 | If no document is open, returns a list of the default document colors. |
||
12 | </source> |
||
13 | <translation type="unfinished">getColorNames() -> list |
||
14 | |||
15 | Повертає список імен всіх кольорів визначених в документі. |
||
16 | Якщо відкритий документ відсутній, повертає список основних |
||
17 | кольорів.</translation> |
||
18 | </message> |
||
19 | <message> |
||
14474 | cbradney | 20 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/> |
12918 | cbradney | 21 | <source>getColor("name") -> tuple |
22 | |||
23 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
24 | color "name" from the current document. If no document is open, returns |
||
25 | the value of the named color from the default document colors. |
||
26 | |||
27 | May raise NotFoundError if the named color wasn't found. |
||
28 | May raise ValueError if an invalid color name is specified. |
||
29 | </source> |
||
30 | <translation type="unfinished">getColor("name") -> tuple |
||
31 | |||
32 | Повертає тупль (C, M, Y, K), який містить чотири складових |
||
33 | кольору "name" з активного документа. Якщо не відкрито |
||
34 | жодного документа, повертає значення для названого |
||
35 | кольору з палітри стандартних кольорів. |
||
36 | |||
37 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
38 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору. |
||
39 | </translation> |
||
40 | </message> |
||
41 | <message> |
||
14474 | cbradney | 42 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/> |
12918 | cbradney | 43 | <source>getColorAsRGB("name") -> tuple |
44 | |||
45 | Returns a tuple (R,G,B) containing the three color components of the |
||
46 | color "name" from the current document, converted to the RGB color |
||
47 | space. If no document is open, returns the value of the named color |
||
48 | from the default document colors. |
||
49 | |||
50 | May raise NotFoundError if the named color wasn't found. |
||
51 | May raise ValueError if an invalid color name is specified. |
||
52 | </source> |
||
53 | <translation type="unfinished">getColorAsRGB("name") -> тупль |
||
54 | |||
55 | Повертає тупль (R,G,B), який містить три компоненти кольору "name" з активного документа, конвертовані в кольоровий простір RGB. При відсутності активного документа повертає значення названого кольору з основної палітри кольорів. |
||
56 | |||
57 | Може повернути помилку NotFoundError, якщо названий колір не було знайдено. |
||
58 | Може повернути помилку ValueError, якщо ім'я кольору вказано неправильно. |
||
59 | </translation> |
||
60 | </message> |
||
61 | <message> |
||
14474 | cbradney | 62 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/> |
12918 | cbradney | 63 | <source>changeColor("name", c, m, y, k) |
64 | |||
65 | Changes the color "name" to the specified CMYK value. The color value is |
||
66 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
67 | Color components should be in the range from 0 to 255. |
||
68 | |||
69 | May raise NotFoundError if the named color wasn't found. |
||
70 | May raise ValueError if an invalid color name is specified. |
||
71 | </source> |
||
72 | <translation type="unfinished">changeColor("name", c, m, y, k) |
||
73 | |||
74 | Змінює колір "name" до вказаних значень CMYK. Значення кольору |
||
75 | визначається його чотирма компонентами c = Cyan (салатовий), |
||
76 | m = Magenta (малиновий), y = Yellow (жовтий) та k = Black (чорний). |
||
77 | Значення складових кольору повинні знаходитися в діапазоні від |
||
78 | |||
79 | |||
80 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
81 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору. |
||
82 | </translation> |
||
83 | </message> |
||
84 | <message> |
||
14474 | cbradney | 85 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="70"/> |
12918 | cbradney | 86 | <source>defineColor("name", c, m, y, k) |
87 | |||
88 | Defines a new color "name". The color Value is defined via four components: |
||
89 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
90 | the range from 0 to 255. |
||
91 | |||
92 | May raise ValueError if an invalid color name is specified. |
||
93 | </source> |
||
94 | <translation type="unfinished"></translation> |
||
95 | </message> |
||
96 | <message> |
||
14474 | cbradney | 97 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="83"/> |
12918 | cbradney | 98 | <source>deleteColor("name", "replace") |
99 | |||
100 | Deletes the color "name". Every occurence of that color is replaced by the |
||
101 | color "replace". If not specified, "replace" defaults to the color |
||
102 | "None" - transparent. |
||
103 | |||
104 | deleteColor works on the default document colors if there is no document open. |
||
105 | In that case, "replace", if specified, has no effect. |
||
106 | |||
107 | May raise NotFoundError if a named color wasn't found. |
||
108 | May raise ValueError if an invalid color name is specified. |
||
109 | </source> |
||
110 | <translation type="unfinished">deleteColor("name", "replace") |
||
111 | |||
112 | Видаляє колір "name". Кожний приклад цього кольору заміняється на колір |
||
113 | "replace". Якщо "replace" не вказано, то використовується колір "None" - прозорість. |
||
114 | |||
115 | deleteColor змінює стандартні кольори при відсутності відчинених документів. В |
||
116 | цьому випадку "replace", якщо вказаний, ефекту не має. |
||
117 | |||
118 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
119 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору.</translation> |
||
120 | </message> |
||
121 | <message> |
||
14474 | cbradney | 122 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="100"/> |
12918 | cbradney | 123 | <source>replaceColor("name", "replace") |
124 | |||
125 | Every occurence of the color "name" is replaced by the color "replace". |
||
126 | |||
127 | May raise NotFoundError if a named color wasn't found. |
||
128 | May raise ValueError if an invalid color name is specified. |
||
129 | </source> |
||
130 | <translation type="unfinished">replaceColor("name", "replace") |
||
131 | |||
132 | Кожний приклад кольору "name" заміняється на колір "replace". |
||
133 | |||
134 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
135 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору.</translation> |
||
136 | </message> |
||
137 | <message> |
||
14474 | cbradney | 138 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/> |
139 | <source>isSpotColor("name") -> bool |
||
140 | |||
141 | Returns True if the color "name" is a spot color. |
||
142 | See also setSpotColor() |
||
143 | |||
144 | May raise NotFoundError if a named color wasn't found. |
||
145 | May raise ValueError if an invalid color name is specified. |
||
146 | </source> |
||
147 | <translation type="unfinished"></translation> |
||
148 | </message> |
||
149 | <message> |
||
150 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/> |
||
151 | <source>setSpotColor("name", spot) |
||
152 | |||
153 | Set the color "name" as a spot color if spot parameter is True. |
||
154 | See also isSpotColor() |
||
155 | |||
156 | May raise NotFoundError if a named color wasn't found. |
||
157 | May raise ValueError if an invalid color name is specified. |
||
158 | </source> |
||
159 | <translation type="unfinished"></translation> |
||
160 | </message> |
||
161 | <message> |
||
162 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/> |
||
12918 | cbradney | 163 | <source>newDocDialog() -> bool |
164 | |||
165 | Displays the "New Document" dialog box. Creates a new document if the user |
||
166 | accepts the settings. Does not create a document if the user presses cancel. |
||
167 | Returns true if a new document was created. |
||
168 | </source> |
||
169 | <translation type="unfinished">newDocDialog() -> bool |
||
170 | |||
171 | Показує діалогове вікно "Новий Документ". Створює новий документ, якщо |
||
172 | користувач підтвердить установки. Не створює документ, якщо користувач |
||
173 | вибирає кнопку "Вихід". Повернене значення дорівнює булевому "так", якщо |
||
174 | документ було створено.</translation> |
||
175 | </message> |
||
176 | <message> |
||
14474 | cbradney | 177 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/> |
12918 | cbradney | 178 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
179 | |||
180 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
181 | with the filter string "filter". A default filename or file path can also |
||
182 | supplied, leave this string empty when you don't want to use it. A value of |
||
183 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
184 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
185 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
186 | the dialog shows and returns only directories. The default for all of the |
||
187 | optional parameters is False. |
||
188 | |||
189 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
||
190 | For example 'Images (*.png *.xpm *.jpg)'. |
||
191 | |||
192 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
193 | |||
194 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
||
195 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
196 | </source> |
||
197 | <translation type="unfinished"></translation> |
||
198 | </message> |
||
199 | <message> |
||
14474 | cbradney | 200 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/> |
12918 | cbradney | 201 | <source>messageBox("caption", "message", |
202 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
203 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
204 | |||
205 | Displays a message box with the title "caption", the message "message", and |
||
206 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
207 | button, OK, is displayed. Only the caption and message arguments are required, |
||
208 | though setting an icon and appropriate button(s) is strongly |
||
209 | recommended. The message text may contain simple HTML-like markup. |
||
210 | |||
211 | Returns the number of the button the user pressed. Button numbers start |
||
212 | at 1. |
||
213 | |||
214 | For the icon and the button parameters there are predefined constants available |
||
215 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
216 | ICON_* constants defined in the module. There are also two extra constants that |
||
217 | can be binary-ORed with button constants: |
||
218 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
219 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
220 | |||
221 | Usage examples: |
||
222 | result = messageBox('Script failed', |
||
223 | 'This script only works when you have a text frame selected.', |
||
224 | ICON_ERROR) |
||
225 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
||
226 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
227 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
228 | |||
229 | Defined button and icon constants: |
||
230 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
231 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
232 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
233 | </source> |
||
234 | <translation type="unfinished">messageBox("caption", "message", |
||
235 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
236 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> ціле число |
||
237 | |||
238 | Показує діалогове вікно з заголовком "caption", повідомленням "message", |
||
239 | та іконкою "icon" та до 3-х кнопок. По умовчанню іконка не використовується, |
||
240 | присутня лише проста кнопка "Гаразд". Обов'язковими являються лише |
||
241 | аргументи "caption" та "message", хоча установка іконки та відповідних |
||
242 | кнопок настійливо рекомендується. Текст повідомлення може містити |
||
243 | просту розмітку по типу HTML. |
||
244 | |||
245 | Повертає номер кнопки, натиснутої користувачем. Номера кнопок |
||
246 | починаються з 1. |
||
247 | |||
248 | Для іконок та кнопок існують наперед визначені константи з іменами |
||
249 | описаними в документації по Qt. Вони включають BUTTON_* та |
||
250 | ICON_* константи, визначені в модулі. Додатково є ще дві константи, |
||
251 | для яких може бути виконана бінарна логічна операція OR з константами |
||
252 | кнопок |
||
253 | BUTTONOPT_DEFAULT Натискування клавіші "Ввід" (Enter) натискує цю кнопку. |
||
254 | BUTTONOPT_ESCAPE Натискування клавіші "Відміна" (Escape) натискує цю кнопку. |
||
255 | |||
256 | Приклади використання: |
||
257 | result = messageBox('Script failed', |
||
258 | 'Цей скрипт працює лише при наявності вибраної текстової рамки.', |
||
259 | ICON_ERROR) |
||
260 | result = messageBox('Мавпи!', 'Сталося щось негарне! <i>Це була мавпа?</i>', |
||
261 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
262 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
263 | |||
264 | Визначені константи кнопок та іконок: |
||
265 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
266 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
267 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation> |
||
268 | </message> |
||
269 | <message> |
||
14474 | cbradney | 270 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/> |
12918 | cbradney | 271 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
272 | |||
273 | Shows the common 'Ask for string' dialog and returns its value as a string |
||
274 | Parameters: window title, text in the window and optional 'default' value. |
||
275 | |||
276 | Example: valueDialog('title', 'text in the window', 'optional') |
||
277 | </source> |
||
278 | <translation type="unfinished">valueDialog(caption, message [,defaultvalue]) -> строкова величина |
||
279 | |||
280 | Показує стандартний 'Введіть строкову величину' діалог та повертає |
||
281 | отримане значення, як строкову величину |
||
282 | Параметри: заголовок вікна, текст у вікні та необов'язкове 'значення |
||
283 | по умовчанню' (default). |
||
284 | |||
285 | Приклад: valueDialog('заголовок', 'текст у вікні', 'необов"язкове значення') |
||
286 | </translation> |
||
287 | </message> |
||
288 | <message> |
||
14474 | cbradney | 289 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/> |
12918 | cbradney | 290 | <source>newStyleDialog() -> string |
291 | |||
292 | Shows 'Create new paragraph style' dialog. Function returns real |
||
293 | style name or None when user cancels the dialog. |
||
294 | </source> |
||
295 | <translation type="unfinished">newStyleDialog() -> string |
||
296 | |||
297 | Показує діалогове вікно "новий стиль абзацу". Функція повертає справжнє |
||
298 | ім'я стилю або None, якщо користувач відмінить діалог. |
||
299 | </translation> |
||
300 | </message> |
||
301 | <message> |
||
14474 | cbradney | 302 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/> |
12918 | cbradney | 303 | <source>newDocument(size, margins, orientation, firstPageNumber, |
304 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
305 | |||
306 | Creates a new document and returns true if successful. The parameters have the |
||
307 | following meaning: |
||
308 | |||
309 | size = A tuple (width, height) describing the size of the document. You can |
||
310 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
311 | |||
312 | margins = A tuple (left, right, top, bottom) describing the document |
||
313 | margins |
||
314 | |||
315 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
316 | |||
317 | firstPageNumer = is the number of the first page in the document used for |
||
318 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
319 | numbers if you're creating a document in several parts. |
||
320 | |||
321 | unit: this value sets the measurement units used by the document. Use a |
||
322 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
323 | UNIT_PICAS, UNIT_POINTS. |
||
324 | |||
325 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
326 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
327 | PAGE_4 is 4-fold. |
||
328 | |||
329 | firstPageOrder = What is position of first page in the document. |
||
330 | Indexed from 0 (0 = first). |
||
331 | |||
332 | numPage = Number of pages to be created. |
||
333 | |||
334 | The values for width, height and the margins are expressed in the given unit |
||
335 | for the document. PAPER_* constants are expressed in points. If your document |
||
336 | is not in points, make sure to account for this. |
||
337 | |||
338 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
339 | PAGE_4, 3, 1) |
||
340 | |||
341 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
342 | </source> |
||
343 | <translation type="unfinished"></translation> |
||
344 | </message> |
||
345 | <message> |
||
14474 | cbradney | 346 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/> |
12918 | cbradney | 347 | <source>newDoc(size, margins, orientation, firstPageNumber, |
348 | unit, facingPages, firstSideLeft) -> bool |
||
349 | |||
350 | WARNING: Obsolete procedure! Use newDocument instead. |
||
351 | |||
352 | Creates a new document and returns true if successful. The parameters have the |
||
353 | following meaning: |
||
354 | |||
355 | size = A tuple (width, height) describing the size of the document. You can |
||
356 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
357 | |||
358 | margins = A tuple (left, right, top, bottom) describing the document |
||
359 | margins |
||
360 | |||
361 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
362 | |||
363 | firstPageNumer = is the number of the first page in the document used for |
||
364 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
365 | numbers if you're creating a document in several parts. |
||
366 | |||
367 | unit: this value sets the measurement units used by the document. Use a |
||
368 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
369 | UNIT_PICAS, UNIT_POINTS. |
||
370 | |||
371 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
372 | |||
373 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
374 | |||
375 | The values for width, height and the margins are expressed in the given unit |
||
376 | for the document. PAPER_* constants are expressed in points. If your document |
||
377 | is not in points, make sure to account for this. |
||
378 | |||
379 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
380 | FACINGPAGES, FIRSTPAGERIGHT) |
||
381 | </source> |
||
382 | <translation type="unfinished">newDoc(size, margins, orientation, firstPageNumber, |
||
383 | unit, facingPages, firstSideLeft) -> bool |
||
384 | |||
385 | ПОПЕРЕДЖЕННЯ: Застаріла процедура! Використовуйте newDocument навтомість. |
||
386 | |||
387 | Створює новий документ та повертає true після успішного завершення. |
||
388 | Розшифрування параметрів: |
||
389 | |||
390 | size (розмір) = Тупль (ширина, висота), який описує розмір документа. Ви |
||
391 | використовувати попередньо визначені константи PAPER_<paper_type>, |
||
392 | наприклад PAPER_A4 і т.п. |
||
393 | |||
394 | margins (поля) = Тупль (ліве, праве, верхнє, нижнє), який описує поля |
||
395 | документа |
||
396 | |||
397 | orientation (орієнтація) = Орієнтація - константи PORTRAIT, LANDSCAPE |
||
398 | |||
399 | firstPageNumer (номер першої сторінки) = Номер першої пронумерованої |
||
400 | сторінки в документі. Звичайно починається з 1, але можливе й використання |
||
401 | і більших чисел, наприклад при створенні документа з кількох частин. |
||
402 | |||
403 | unit (одиниця) = Це значення установлює одиниці виміру документа. Використовуйте |
||
404 | одну з попередньо визначених констант: UNIT_INCHES, UNIT_MILLIMETERS, |
||
405 | UNIT_PICAS, UNIT_POINTS. |
||
406 | |||
407 | facingPages (зеркально відображені сторінки) = FACINGPAGES, NOFACINGPAGES |
||
408 | |||
409 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
410 | |||
411 | Значення ширини, висоти, та полів виражаються в одиницях виміру документа. Константи |
||
412 | PAPER_* виражаються в точках. Майте це на увазі, якщо Ваш документ використовує |
||
413 | інші одиниці виміру. |
||
414 | |||
415 | Приклад: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
416 | FACINGPAGES, FIRSTPAGERIGHT) |
||
417 | </translation> |
||
418 | </message> |
||
419 | <message> |
||
14474 | cbradney | 420 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/> |
12918 | cbradney | 421 | <source>closeDoc() |
422 | |||
423 | Closes the current document without prompting to save. |
||
424 | |||
425 | May throw NoDocOpenError if there is no document to close |
||
426 | </source> |
||
427 | <translation type="unfinished">closeDoc() |
||
428 | |||
429 | Зачиняє активний документ без запиту про запис. |
||
430 | |||
431 | Може повернути помилку NoDocOpenError при відсутності |
||
432 | документа для зачиняння |
||
433 | </translation> |
||
434 | </message> |
||
435 | <message> |
||
14474 | cbradney | 436 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/> |
12918 | cbradney | 437 | <source>haveDoc() -> bool |
438 | |||
439 | Returns true if there is a document open. |
||
440 | </source> |
||
441 | <translation type="unfinished">haveDoc() -> булеве значення |
||
442 | |||
443 | Повертає правдиве булеве значення при |
||
444 | наявності відчиненого документа.</translation> |
||
445 | </message> |
||
446 | <message> |
||
14474 | cbradney | 447 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/> |
12918 | cbradney | 448 | <source>openDoc("name") |
449 | |||
450 | Opens the document "name". |
||
451 | |||
452 | May raise ScribusError if the document could not be opened. |
||
453 | </source> |
||
454 | <translation type="unfinished">openDoc("name") |
||
455 | |||
456 | Відчиняє документ "name". |
||
457 | |||
458 | Може повернути помилку ScribusError, якщо документ не можна |
||
459 | було відчинити. |
||
460 | </translation> |
||
461 | </message> |
||
462 | <message> |
||
14474 | cbradney | 463 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/> |
12918 | cbradney | 464 | <source>saveDoc() |
465 | |||
466 | Saves the current document with its current name, returns true if successful. |
||
467 | If the document has not already been saved, this may bring up an interactive |
||
468 | save file dialog. |
||
469 | |||
470 | If the save fails, there is currently no way to tell. |
||
471 | </source> |
||
472 | <translation type="unfinished">saveDoc() |
||
473 | |||
474 | Записує активний документ під його теперішнім іменем, повертає |
||
475 | правдиве булеве значення при успішному завершенні операції. |
||
476 | Якщо документ ще не був записаний, може викликати інтерактивний |
||
477 | діалог збереження файла. |
||
478 | |||
479 | В даний час неможливо визначити чи запис був успішним. |
||
480 | </translation> |
||
481 | </message> |
||
482 | <message> |
||
14474 | cbradney | 483 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/> |
484 | <source>getDocName() -> string |
||
485 | |||
486 | Returns the name the document was saved under. |
||
487 | If the document was not saved before the name is empty. |
||
488 | </source> |
||
489 | <translation type="unfinished"></translation> |
||
490 | </message> |
||
491 | <message> |
||
492 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/> |
||
12918 | cbradney | 493 | <source>saveDocAs("name") |
494 | |||
495 | Saves the current document under the new name "name" (which may be a full or |
||
496 | relative path). |
||
497 | |||
498 | May raise ScribusError if the save fails. |
||
499 | </source> |
||
500 | <translation type="unfinished">saveDocAs("name") |
||
501 | |||
502 | Записує активний документ під новим ім'ям "name", яке може бути |
||
503 | повним або відносним шляхом. |
||
504 | |||
505 | Може повернути помилку ScribusError, якщо запис не буде успішним. |
||
506 | </translation> |
||
507 | </message> |
||
508 | <message> |
||
14474 | cbradney | 509 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/> |
12918 | cbradney | 510 | <source>setInfo("author", "info", "description") -> bool |
511 | |||
512 | Sets the document information. "Author", "Info", "Description" are |
||
513 | strings. |
||
514 | </source> |
||
515 | <translation type="unfinished"></translation> |
||
516 | </message> |
||
517 | <message> |
||
14474 | cbradney | 518 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/> |
12918 | cbradney | 519 | <source>setMargins(lr, rr, tr, br) |
520 | |||
14474 | cbradney | 521 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
12918 | cbradney | 522 | margins are given in the measurement units of the document - see UNIT_<type> |
523 | constants. |
||
524 | </source> |
||
14474 | cbradney | 525 | <translation type="unfinished">setMargins(lr, rr, tr, br) |
526 | |||
527 | Установлює поля документа, Ліве (lr), Праве (rr), Верхнє (tr) та Нижнє (br) |
||
528 | поля задаються в одиницях виміру документа - див. UNIT_<type> |
||
529 | константи. |
||
530 | </translation> |
||
531 | </message> |
||
532 | <message> |
||
533 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/> |
||
534 | <source>setBaseLine(grid, offset) |
||
535 | |||
536 | Sets the base line settings of the document, grid spacing(grid), grid offset(offset). |
||
537 | Values are given in the measurement units of the document - see UNIT_<type> |
||
538 | constants. |
||
539 | </source> |
||
12918 | cbradney | 540 | <translation type="unfinished"></translation> |
541 | </message> |
||
542 | <message> |
||
14474 | cbradney | 543 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="200"/> |
12918 | cbradney | 544 | <source>setUnit(type) |
545 | |||
546 | Changes the measurement unit of the document. Possible values for "unit" are |
||
547 | defined as constants UNIT_<type>. |
||
548 | |||
549 | May raise ValueError if an invalid unit is passed. |
||
550 | </source> |
||
551 | <translation type="unfinished">setUnit(type) |
||
552 | |||
553 | Установлює одиницю виміру документа. Можливі значення для "unit" |
||
554 | визначаються як константи UNIT_<type>. |
||
555 | |||
556 | Може повернути помилку ValueError, якщо було задано невірну одиницю |
||
557 | виміру. |
||
558 | </translation> |
||
559 | </message> |
||
560 | <message> |
||
14474 | cbradney | 561 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/> |
12918 | cbradney | 562 | <source>getUnit() -> integer (Scribus unit constant) |
563 | |||
564 | Returns the measurement units of the document. The returned value will be one |
||
565 | of the UNIT_* constants: |
||
566 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
567 | </source> |
||
568 | <translation type="unfinished">getUnit() -> integer (Scribus unit constant) |
||
569 | |||
570 | Повертає одиниці виміру документа. Повернене значення буде однією з |
||
571 | констант UNIT_* constants: |
||
572 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
573 | </translation> |
||
574 | </message> |
||
575 | <message> |
||
14474 | cbradney | 576 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="223"/> |
12918 | cbradney | 577 | <source>loadStylesFromFile("filename") |
578 | |||
579 | Loads paragraph styles from the Scribus document at "filename" into the |
||
580 | current document. |
||
581 | </source> |
||
582 | <translation type="unfinished">loadStylesFromFile("filename") |
||
583 | |||
584 | Завантажує стилі абзаців з документу Scribus "filename" в активний документ. |
||
585 | </translation> |
||
586 | </message> |
||
587 | <message> |
||
14474 | cbradney | 588 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/> |
12918 | cbradney | 589 | <source>setDocType(facingPages, firstPageLeft) |
590 | |||
591 | Sets the document type. To get facing pages set the first parameter to |
||
592 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
593 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
594 | a right page use FIRSTPAGERIGHT. |
||
595 | </source> |
||
596 | <translation type="unfinished">setDocType(facingPages, firstPageLeft) |
||
597 | |||
598 | Установлює тип документа. Для задання книжкового розташування сторінок |
||
599 | установіть перший параметр до FACINGPAGES, а для відміни замість facingPages |
||
600 | використайте NOFACINGPAGES. Щоб перша сторінка була зліва установіть |
||
601 | другий параметр до FIRSTPAGELEFT, а справа - FIRSTPAGERIGHT. |
||
602 | </translation> |
||
603 | </message> |
||
604 | <message> |
||
14474 | cbradney | 605 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="243"/> |
12918 | cbradney | 606 | <source>closeMasterPage() |
607 | |||
608 | Closes the currently active master page, if any, and returns editing |
||
609 | to normal. Begin editing with editMasterPage(). |
||
610 | </source> |
||
611 | <translation type="unfinished">closeMasterPage() |
||
612 | |||
613 | Зачиняє активну майстер сторінку, при наявності такої, та вмикає нормальний |
||
614 | режим редагування. Почніть редагування з editMasterPage(). |
||
615 | </translation> |
||
616 | </message> |
||
617 | <message> |
||
14474 | cbradney | 618 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="251"/> |
12918 | cbradney | 619 | <source>masterPageNames() |
620 | |||
621 | Returns a list of the names of all master pages in the document. |
||
622 | </source> |
||
623 | <translation type="unfinished">masterPageNames() |
||
624 | |||
625 | Повертає список імен всіх майстер сторінок документа. |
||
626 | </translation> |
||
627 | </message> |
||
628 | <message> |
||
14474 | cbradney | 629 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="258"/> |
12918 | cbradney | 630 | <source>editMasterPage(pageName) |
631 | |||
632 | Enables master page editing and opens the named master page |
||
633 | for editing. Finish editing with closeMasterPage(). |
||
634 | </source> |
||
635 | <translation type="unfinished">editMasterPage(pageName) |
||
636 | |||
637 | Дозволяє редагування майстер сторінки та відчиняє її для редагування. |
||
638 | Закінчуйте редагування з closeMasterPage(). |
||
639 | </translation> |
||
640 | </message> |
||
641 | <message> |
||
14474 | cbradney | 642 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="266"/> |
12918 | cbradney | 643 | <source>createMasterPage(pageName) |
644 | |||
645 | Creates a new master page named pageName and opens it for |
||
646 | editing. |
||
647 | </source> |
||
648 | <translation type="unfinished">createMasterPage(pageName) |
||
649 | |||
650 | Створює нову майстер сторінку з назвою pageName та відчиняє її |
||
651 | для редагування. |
||
652 | </translation> |
||
653 | </message> |
||
654 | <message> |
||
14474 | cbradney | 655 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="274"/> |
12918 | cbradney | 656 | <source>deleteMasterPage(pageName) |
657 | |||
658 | Delete the named master page. |
||
659 | </source> |
||
660 | <translation type="unfinished">deleteMasterPage(pageName) |
||
661 | |||
662 | Видаляє названу (pageName) майстер сторінку. |
||
663 | </translation> |
||
664 | </message> |
||
665 | <message> |
||
14474 | cbradney | 666 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/> |
12918 | cbradney | 667 | <source>getFillColor(["name"]) -> string |
668 | |||
669 | Returns the name of the fill color of the object "name". |
||
670 | If "name" is not given the currently selected item is used. |
||
671 | </source> |
||
672 | <translation type="unfinished">getFillColor(["name"]) -> string |
||
673 | |||
674 | Повертає ім'я кольору заповнення об'єкту під назвою 'name'. |
||
675 | Якщо "name" не дано, то використовується активний об'єкт.</translation> |
||
676 | </message> |
||
677 | <message> |
||
14474 | cbradney | 678 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="27"/> |
12918 | cbradney | 679 | <source>getFillTransparency(["name"]) -> float |
680 | |||
681 | Returns the fill transparency of the object "name". If "name" |
||
682 | is not given the currently selected Item is used. |
||
683 | </source> |
||
684 | <translation type="unfinished"></translation> |
||
685 | </message> |
||
686 | <message> |
||
14474 | cbradney | 687 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="37"/> |
12918 | cbradney | 688 | <source>getFillBlendmode(["name"]) -> integer |
689 | |||
690 | Returns the fill blendmode of the object "name". If "name" |
||
691 | is not given the currently selected Item is used. |
||
692 | </source> |
||
693 | <translation type="unfinished"></translation> |
||
694 | </message> |
||
695 | <message> |
||
14474 | cbradney | 696 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="47"/> |
12918 | cbradney | 697 | <source>getLineColor(["name"]) -> string |
698 | |||
699 | Returns the name of the line color of the object "name". |
||
700 | If "name" is not given the currently selected item is used. |
||
701 | </source> |
||
702 | <translation type="unfinished">getLineColor(["name"]) -> строкове значення |
||
703 | |||
704 | Повертає назву кольорі ліній об'єкту "name". |
||
705 | Якщо "name" не задано, буде використано активний об'єкт. |
||
706 | </translation> |
||
707 | </message> |
||
708 | <message> |
||
14474 | cbradney | 709 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="57"/> |
12918 | cbradney | 710 | <source>getLineTransparency(["name"]) -> float |
711 | |||
712 | Returns the line transparency of the object "name". If "name" |
||
713 | is not given the currently selected Item is used. |
||
714 | </source> |
||
715 | <translation type="unfinished"></translation> |
||
716 | </message> |
||
717 | <message> |
||
14474 | cbradney | 718 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="67"/> |
12918 | cbradney | 719 | <source>getLineBlendmode(["name"]) -> integer |
720 | |||
721 | Returns the line blendmode of the object "name". If "name" |
||
722 | is not given the currently selected Item is used. |
||
723 | </source> |
||
724 | <translation type="unfinished"></translation> |
||
725 | </message> |
||
726 | <message> |
||
14474 | cbradney | 727 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="77"/> |
12918 | cbradney | 728 | <source>getLineWidth(["name"]) -> integer |
729 | |||
730 | Returns the line width of the object "name". If "name" |
||
731 | is not given the currently selected Item is used. |
||
732 | </source> |
||
733 | <translation type="unfinished">getLineWidth(["name"]) -> ціле число |
||
734 | |||
735 | Повертає товщину лінії об'єкта "name". Якщо "name" |
||
736 | не задано, буде використано активний об'єкт. |
||
737 | </translation> |
||
738 | </message> |
||
739 | <message> |
||
14474 | cbradney | 740 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="87"/> |
12918 | cbradney | 741 | <source>getLineShade(["name"]) -> integer |
742 | |||
743 | Returns the shading value of the line color of the object "name". |
||
744 | If "name" is not given the currently selected item is used. |
||
745 | </source> |
||
746 | <translation type="unfinished">getLineShade(["name"]) -> ціле число |
||
747 | |||
748 | Повертає значення затінення об'єкта "name". |
||
749 | Якщо "name" не задано, буде використано активний об'єкт. |
||
750 | </translation> |
||
751 | </message> |
||
752 | <message> |
||
14474 | cbradney | 753 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="97"/> |
12918 | cbradney | 754 | <source>getLineJoin(["name"]) -> integer (see constants) |
755 | |||
756 | Returns the line join style of the object "name". If "name" is not given |
||
757 | the currently selected item is used. The join types are: |
||
758 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
759 | </source> |
||
760 | <translation type="unfinished"></translation> |
||
761 | </message> |
||
762 | <message> |
||
14474 | cbradney | 763 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="108"/> |
12918 | cbradney | 764 | <source>getLineEnd(["name"]) -> integer (see constants) |
765 | |||
766 | Returns the line cap style of the object "name". If "name" is not given the |
||
767 | currently selected item is used. The cap types are: |
||
768 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
769 | </source> |
||
770 | <translation type="unfinished">getLineEnd(["name"]) -> ціле число (див. умови) |
||
771 | |||
772 | Повертає стиль кінців ліній об'єкта "name". Якщо "name" не |
||
773 | задано, буде використано активний об'єкт. Типи кінців: |
||
774 | CAP_FLAT (плаский), CAP_ROUND (заокруглений), CAP_SQUARE (квадратний) |
||
775 | </translation> |
||
776 | </message> |
||
777 | <message> |
||
14474 | cbradney | 778 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="119"/> |
12918 | cbradney | 779 | <source>getLineStyle(["name"]) -> integer (see constants) |
780 | |||
781 | Returns the line style of the object "name". If "name" is not given the |
||
782 | currently selected item is used. Line style constants are: |
||
783 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
784 | </source> |
||
785 | <translation type="unfinished">getLineStyle(["name"]) -> ціле число (див. обмеження) |
||
786 | |||
787 | Повертає стиль ліній об'єкта "name". Якщо "name" не задано, буде |
||
788 | використано активний об'єкт. Обмеження типів ліній: |
||
789 | LINE_DASH (пунктирна), LINE_DASHDOT (пунктир-крапка), |
||
790 | LINE_DASHDOTDOT (пунктир-крапка-крапка), LINE_DOT (крапка), |
||
791 | LINE_SOLID (суцільна) |
||
792 | </translation> |
||
793 | </message> |
||
794 | <message> |
||
14474 | cbradney | 795 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="130"/> |
12918 | cbradney | 796 | <source>getFillShade(["name"]) -> integer |
797 | |||
798 | Returns the shading value of the fill color of the object "name". |
||
799 | If "name" is not given the currently selected item is used. |
||
800 | </source> |
||
801 | <translation type="unfinished">getFillShade(["name"]) -> integer |
||
802 | |||
803 | Повертає значення затінення кольору заповнення об'єкта "name". |
||
804 | Якщо "name" не задано, буде використано активний об'єкт. |
||
805 | </translation> |
||
806 | </message> |
||
807 | <message> |
||
14474 | cbradney | 808 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="140"/> |
12918 | cbradney | 809 | <source>getCornerRadius(["name"]) -> integer |
810 | |||
811 | Returns the corner radius of the object "name". The radius is |
||
812 | expressed in points. If "name" is not given the currently |
||
813 | selected item is used. |
||
814 | </source> |
||
815 | <translation type="unfinished"></translation> |
||
816 | </message> |
||
817 | <message> |
||
14474 | cbradney | 818 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="151"/> |
12918 | cbradney | 819 | <source>getImageScale(["name"]) -> (x,y) |
820 | |||
821 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
822 | "name". If "name" is not given the currently selected item is used. |
||
823 | </source> |
||
824 | <translation type="unfinished">getImageScale(["name"]) -> (x,y) |
||
825 | |||
826 | Повертає тупль (x, y), який містить значення масштабу рамки для зображень |
||
827 | "name". Якщо "name" не задано, буде використано активний об'єкт. |
||
828 | </translation> |
||
829 | </message> |
||
830 | <message> |
||
14474 | cbradney | 831 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="161"/> |
12918 | cbradney | 832 | <source>getImageName(["name"]) -> string |
833 | |||
834 | Returns the filename for the image in the image frame. If "name" is not |
||
835 | given the currently selected item is used. |
||
836 | </source> |
||
837 | <translation type="unfinished">getImageName(["name"]) -> строкове значення |
||
838 | |||
839 | Повертає ім'я файла для зображення в рамці для зображень. Якщо "name" |
||
840 | не задано, буде використано активний об'єкт. |
||
841 | </translation> |
||
842 | </message> |
||
843 | <message> |
||
14474 | cbradney | 844 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="171"/> |
12918 | cbradney | 845 | <source>getPosition(["name"]) -> (x,y) |
846 | |||
847 | Returns a (x, y) tuple with the position of the object "name". |
||
848 | If "name" is not given the currently selected item is used. |
||
849 | The position is expressed in the actual measurement unit of the document |
||
850 | - see UNIT_<type> for reference. |
||
851 | </source> |
||
852 | <translation type="unfinished"></translation> |
||
853 | </message> |
||
854 | <message> |
||
14474 | cbradney | 855 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="183"/> |
12918 | cbradney | 856 | <source>getSize(["name"]) -> (width,height) |
857 | |||
858 | Returns a (width, height) tuple with the size of the object "name". |
||
859 | If "name" is not given the currently selected item is used. The size is |
||
860 | expressed in the current measurement unit of the document - see UNIT_<type> |
||
861 | for reference. |
||
862 | </source> |
||
863 | <translation type="unfinished">getSize(["name"]) -> (ширина,висота) |
||
864 | |||
865 | Повертає тупль (ширина,висота) з розміром об'єкта "name". |
||
866 | Якщо "name" не задано, буде використано активний об'єкт. Розмір |
||
867 | виражається в активних одиницях виміру документа - див. UNIT_<type> |
||
868 | для подальшої інформації. |
||
869 | </translation> |
||
870 | </message> |
||
871 | <message> |
||
14474 | cbradney | 872 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="195"/> |
12918 | cbradney | 873 | <source>getRotation(["name"]) -> integer |
874 | |||
875 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
876 | and clockwise is positive. If "name" is not given the currently selected item |
||
877 | is used. |
||
878 | </source> |
||
879 | <translation type="unfinished">getRotation(["name"]) -> ціле число |
||
880 | |||
881 | Повертає кут повороту об'єкта "name". Значення виражається в градусах |
||
882 | і поворот по часовії стрілці є позитивним. Якщо "name" не задано, буде |
||
883 | використано активний об'єкт. |
||
884 | </translation> |
||
885 | </message> |
||
886 | <message> |
||
14474 | cbradney | 887 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="206"/> |
12918 | cbradney | 888 | <source>getAllObjects() -> list |
889 | |||
890 | Returns a list containing the names of all objects on the current page. |
||
891 | </source> |
||
892 | <translation type="unfinished">getAllObjects() -> список |
||
893 | |||
894 | Повертає список, що містить імена всіх об'єктів на активній сторінці. |
||
895 | </translation> |
||
896 | </message> |
||
897 | <message> |
||
14474 | cbradney | 898 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/> |
12918 | cbradney | 899 | <source>getPropertyCType(object, property, includesuper=True) |
900 | |||
901 | Returns the name of the C type of `property' of `object'. See getProperty() |
||
902 | for details of arguments. |
||
903 | |||
904 | If `includesuper' is true, search inherited properties too. |
||
905 | </source> |
||
906 | <translation type="unfinished">getPropertyCType(object, property, includesuper=True) |
||
907 | |||
908 | Повертає назву типу С для атрибута `property' об'єкта `object'. Див. getProperty() |
||
909 | для додаткової інформації про атрибути. |
||
910 | |||
911 | Якщо `includesuper' дорівнює true - також шукати наслідкові атрибути. |
||
912 | </translation> |
||
913 | </message> |
||
914 | <message> |
||
14474 | cbradney | 915 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/> |
12918 | cbradney | 916 | <source>getPropertyNames(object, includesuper=True) |
917 | |||
918 | Return a list of property names supported by `object'. |
||
919 | If `includesuper' is true, return properties supported |
||
920 | by parent classes as well. |
||
921 | </source> |
||
922 | <translation type="unfinished">getPropertyNames(object, includesuper=True) |
||
923 | |||
924 | Повертає лист назв атрибутів, які підтримує об'єкт `object'. |
||
925 | Якщо `includesuper' дорівнює true, також повернути атрибути, які підтримуються батьківськими класами. |
||
926 | </translation> |
||
927 | </message> |
||
928 | <message> |
||
14474 | cbradney | 929 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/> |
12918 | cbradney | 930 | <source>getProperty(object, property) |
931 | |||
932 | Return the value of the property `property' of the passed `object'. |
||
933 | |||
934 | The `object' argument may be a string, in which case the named PageItem |
||
935 | is searched for. It may also be a PyCObject, which may point to any |
||
936 | C++ QObject instance. |
||
937 | |||
938 | The `property' argument must be a string, and is the name of the property |
||
939 | to look up on `object'. |
||
940 | |||
941 | The return value varies depending on the type of the property. |
||
942 | </source> |
||
943 | <translation type="unfinished">getProperty(object, property) |
||
944 | |||
945 | Повертає значення атрибута `property' переданого об'єкта `object'. |
||
946 | |||
947 | Аргумент `object' може бути строковою величиною. В цьому випадку буде шукатися названий об'єкт PageItem. Він також може бути об'єктом PyCObject, який може вказувати на любий екземпляр C++ QObject. |
||
948 | |||
949 | Аргумент `property' повинен бути строковою величиною і являється назвою атрибута об'єкта `object'. |
||
950 | |||
951 | Повернене значення залежить від типу атрибута. |
||
952 | </translation> |
||
953 | </message> |
||
954 | <message> |
||
14474 | cbradney | 955 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/> |
12918 | cbradney | 956 | <source>setProperty(object, property, value) |
957 | |||
958 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
||
959 | compatible with the type of `property', an exception is raised. An exception may |
||
960 | also be raised if the underlying setter fails. |
||
961 | |||
962 | See getProperty() for more information. |
||
963 | </source> |
||
964 | <translation type="unfinished">setProperty(object, property, value) |
||
965 | |||
966 | Установити `property' об'єкта `object' до значення `value'. Якщо `value' не може бути конвертоване в тип сумісний з типом `property' - буде повернена помилка. Помилка може бути також повернена, якщо послідуюча установлююча функція не буде успішно виконана. |
||
967 | |||
968 | Дивіться getProperty() для додаткової інформації. |
||
969 | </translation> |
||
970 | </message> |
||
971 | <message> |
||
14474 | cbradney | 972 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/> |
12918 | cbradney | 973 | <source>moveObject(dx, dy [, "name"]) |
974 | |||
975 | Moves the object "name" by dx and dy relative to its current position. The |
||
976 | distances are expressed in the current measurement unit of the document (see |
||
977 | UNIT constants). If "name" is not given the currently selected item is used. |
||
978 | If the object "name" belongs to a group, the whole group is moved. |
||
979 | </source> |
||
980 | <translation type="unfinished">moveObject(dx, dy [, "name"]) |
||
981 | |||
982 | Зсовує об'єкт "name" на dx і dy відносно до його теперішньої позиції. Відстані |
||
983 | визначаються активними одиницями виміру документа (див. константи Юнікс). |
||
984 | Якщо "name" не дано, то використовується активний об'єкт. Якщо об'єкт "name" |
||
985 | належить до групи, то рухається вся група. |
||
986 | </translation> |
||
987 | </message> |
||
988 | <message> |
||
14474 | cbradney | 989 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/> |
12918 | cbradney | 990 | <source>moveObjectAbs(x, y [, "name"]) |
991 | |||
992 | Moves the object "name" to a new location. The coordinates are expressed in |
||
993 | the current measurement unit of the document (see UNIT constants). If "name" |
||
994 | is not given the currently selected item is used. If the object "name" |
||
995 | belongs to a group, the whole group is moved. |
||
996 | </source> |
||
997 | <translation type="unfinished">moveObjectAbs(x, y [, "name"]) |
||
998 | |||
999 | Переміщує об'єкт "name" в нове місце. Координати виражаються в |
||
1000 | активних одиницях виміру документа (див. константи UNIT). Якщо |
||
1001 | "name" не задано, буде використано активний об'єкт. Якщо об'єкт |
||
1002 | "name" є частиною групи, переміщається вся група. |
||
1003 | </translation> |
||
1004 | </message> |
||
1005 | <message> |
||
14474 | cbradney | 1006 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/> |
12918 | cbradney | 1007 | <source>rotateObject(rot [, "name"]) |
1008 | |||
1009 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
1010 | rotated by the vertex that is currently selected as the rotation point - by |
||
1011 | default, the top left vertex at zero rotation. Positive values mean counter |
||
1012 | clockwise rotation when the default rotation point is used. If "name" is not |
||
1013 | given the currently selected item is used. |
||
1014 | </source> |
||
1015 | <translation type="unfinished"></translation> |
||
1016 | </message> |
||
1017 | <message> |
||
14474 | cbradney | 1018 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/> |
12918 | cbradney | 1019 | <source>rotateObjectAbs(rot [, "name"]) |
1020 | |||
1021 | Sets the rotation of the object "name" to "rot". Positive values |
||
1022 | mean counter clockwise rotation. If "name" is not given the currently |
||
1023 | selected item is used. |
||
1024 | </source> |
||
1025 | <translation type="unfinished"></translation> |
||
1026 | </message> |
||
1027 | <message> |
||
14474 | cbradney | 1028 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/> |
12918 | cbradney | 1029 | <source>sizeObject(width, height [, "name"]) |
1030 | |||
1031 | Resizes the object "name" to the given width and height. If "name" |
||
1032 | is not given the currently selected item is used. |
||
1033 | </source> |
||
1034 | <translation type="unfinished">sizeObject(ширина, висота [, "name"]) |
||
1035 | |||
1036 | Змінює розмір об'єкта "name" до вказаної висоти та ширини. Якщо |
||
1037 | "name" не задано, буде використано активний об'єкт. |
||
1038 | </translation> |
||
1039 | </message> |
||
1040 | <message> |
||
14474 | cbradney | 1041 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/> |
12918 | cbradney | 1042 | <source>getSelectedObject([nr]) -> string |
1043 | |||
1044 | Returns the name of the selected object. "nr" if given indicates the number |
||
1045 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
1046 | second selected Object and so on. |
||
1047 | </source> |
||
1048 | <translation type="unfinished">getSelectedObject([nr]) -> строкова величина |
||
1049 | |||
1050 | Повертає ім'я вибраного об'єкта. "nr", якщо задано, вказує на індекс |
||
1051 | вибраного об'єкта, напр. 0 означає перший вибраний об'єкт, 1 означає |
||
1052 | другий вибраний об'єкт і так далі. |
||
1053 | </translation> |
||
1054 | </message> |
||
1055 | <message> |
||
14474 | cbradney | 1056 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/> |
12918 | cbradney | 1057 | <source>selectionCount() -> integer |
1058 | |||
1059 | Returns the number of selected objects. |
||
1060 | </source> |
||
1061 | <translation type="unfinished">selectionCount() -> ціле число |
||
1062 | |||
1063 | Повертає число вибраних об'єктів. |
||
1064 | </translation> |
||
1065 | </message> |
||
1066 | <message> |
||
14474 | cbradney | 1067 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/> |
12918 | cbradney | 1068 | <source>selectObject("name") |
1069 | |||
1070 | Selects the object with the given "name". |
||
1071 | </source> |
||
1072 | <translation type="unfinished">selectObject("name") |
||
1073 | |||
1074 | Повертає об'єкт з даним іменем "name". |
||
1075 | </translation> |
||
1076 | </message> |
||
1077 | <message> |
||
14474 | cbradney | 1078 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/> |
12918 | cbradney | 1079 | <source>deselectAll() |
1080 | |||
1081 | Deselects all objects in the whole document. |
||
1082 | </source> |
||
1083 | <translation type="unfinished">deselectAll() |
||
1084 | |||
1085 | Відмінює вибір всіх об'єктів у всьому документі. |
||
1086 | </translation> |
||
1087 | </message> |
||
1088 | <message> |
||
14474 | cbradney | 1089 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/> |
12918 | cbradney | 1090 | <source>groupObjects(list) |
1091 | |||
1092 | Groups the objects named in "list" together. "list" must contain the names |
||
1093 | of the objects to be grouped. If "list" is not given the currently selected |
||
1094 | items are used. |
||
1095 | </source> |
||
1096 | <translation type="unfinished">groupObjects(list) |
||
1097 | |||
1098 | Згруповує об'єкти названі в списку "list". "list" повинен містити імена |
||
1099 | об'єктів, які будуть згруповані. Якщо "list" не задано, буде |
||
1100 | використано активний об'єкт. |
||
1101 | </translation> |
||
1102 | </message> |
||
1103 | <message> |
||
14474 | cbradney | 1104 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/> |
12918 | cbradney | 1105 | <source>unGroupObjects("name") |
1106 | |||
1107 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
1108 | <translation type="unfinished">unGroupObjects("name") |
||
1109 | |||
1110 | Видаляє групу, яка містить об'єкт з іменем "name". Якщо "name" не задано, |
||
1111 | буде використано активний об'єкт.</translation> |
||
1112 | </message> |
||
1113 | <message> |
||
14474 | cbradney | 1114 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/> |
12918 | cbradney | 1115 | <source>scaleGroup(factor [,"name"]) |
1116 | |||
1117 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
1118 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
1119 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
1120 | to 150 % of its original size. The value for "factor" must be greater than |
||
1121 | 0. If "name" is not given the currently selected item is used. |
||
1122 | |||
1123 | May raise ValueError if an invalid scale factor is passed. |
||
1124 | </source> |
||
1125 | <translation type="unfinished">scaleGroup(factor [,"name"]) |
||
1126 | |||
1127 | Змінює розмір групи, яка містить об'єкт "name". Значення понад 1 збільшують |
||
1128 | розмір, а значення менші за 1 його зменшують, напр. значення 0.5 змінює |
||
1129 | розмір групи до 50 % початкового, а значення 1.5 змінює розмір до 150 % |
||
1130 | початкового. Значення "factor" повинне бути більшим за 0. Якщо "name" не |
||
1131 | задано, буде використано активний об'єкт. |
||
1132 | |||
1133 | Може повернути помилку ValueError, якщо задано недійсний фактор масштабу. |
||
1134 | </translation> |
||
1135 | </message> |
||
1136 | <message> |
||
14474 | cbradney | 1137 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/> |
12918 | cbradney | 1138 | <source>loadImage("filename" [, "name"]) |
1139 | |||
1140 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1141 | not given the currently selected item is used. |
||
1142 | |||
1143 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1144 | </source> |
||
1145 | <translation type="unfinished">loadImage("filename" [, "name"]) |
||
1146 | |||
1147 | Завантажує зображення "picture" в рамку для зображень "name". Якщо |
||
1148 | "name" не задано, буде використано активний об'єкт. |
||
1149 | |||
1150 | Може повернути помилку WrongFrameTypeError, якщо рамка не є рамкою |
||
1151 | для зображень |
||
1152 | </translation> |
||
1153 | </message> |
||
1154 | <message> |
||
14474 | cbradney | 1155 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/> |
12918 | cbradney | 1156 | <source>scaleImage(x, y [, "name"]) |
1157 | |||
14474 | cbradney | 1158 | Sets the internal scaling factors of the picture in the image frame "name". |
1159 | If "name" is not given the currently selected item is used. A number of 1 |
||
1160 | means 100 %. Internal scaling factors are different from the values shown on |
||
1161 | properties palette. Note : deprecated, use setImageScale() instead. |
||
1162 | |||
1163 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1164 | </source> |
||
1165 | <translation type="unfinished"></translation> |
||
1166 | </message> |
||
1167 | <message> |
||
1168 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/> |
||
1169 | <source>setImageScale(x, y [, "name"]) |
||
1170 | |||
12918 | cbradney | 1171 | Sets the scaling factors of the picture in the image frame "name". |
1172 | If "name" is not given the currently selected item is used. A number of 1 |
||
14474 | cbradney | 1173 | means 100 %. Scaling factors are equal to the values shown on properties palette. |
1174 | |||
1175 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1176 | </source> |
||
1177 | <translation type="unfinished"></translation> |
||
1178 | </message> |
||
1179 | <message> |
||
1180 | <source>scaleImage(x, y [, "name"]) |
||
1181 | |||
1182 | Sets the scaling factors of the picture in the image frame "name". |
||
1183 | If "name" is not given the currently selected item is used. A number of 1 |
||
12918 | cbradney | 1184 | means 100 %. |
1185 | |||
1186 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1187 | </source> |
||
13279 | cbradney | 1188 | <translation type="obsolete">scaleImage(x, y [, "name"]) |
12918 | cbradney | 1189 | |
1190 | Установлює масштаб зображення в рамці для зображень "name". |
||
1191 | Якщо "name" не задано, буде використано активний об'єкт. Число 1 |
||
1192 | дорівнює 100 %. |
||
1193 | |||
1194 | Може повернути помилку WrongFrameTypeError, якщо рамка не є |
||
1195 | рамкою для зображень |
||
1196 | </translation> |
||
1197 | </message> |
||
1198 | <message> |
||
14474 | cbradney | 1199 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/> |
12918 | cbradney | 1200 | <source>lockObject(["name"]) -> bool |
1201 | |||
1202 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
1203 | If "name" is not given the currently selected item is used. Returns true |
||
1204 | if locked. |
||
1205 | </source> |
||
1206 | <translation type="unfinished">lockObject(["name"]) -> bool |
||
1207 | |||
1208 | Замикає об'єкт "name", якщо він незамкнений, і навпаки. Якщо |
||
1209 | "name" не задано, буде використано активний об'єкт. Повертає |
||
1210 | булеве значення "true", якщо об'єкт замкнений. |
||
1211 | </translation> |
||
1212 | </message> |
||
1213 | <message> |
||
14474 | cbradney | 1214 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/> |
12918 | cbradney | 1215 | <source>isLocked(["name"]) -> bool |
1216 | |||
1217 | Returns true if is the object "name" locked. If "name" is not given the |
||
1218 | currently selected item is used. |
||
1219 | </source> |
||
1220 | <translation type="unfinished">isLocked(["name"]) -> bool |
||
1221 | |||
1222 | Повертає булеве значення "true", якщо об'єкт замкнений. Якщо |
||
1223 | "name" не задано, буде використано активний об'єкт. |
||
1224 | </translation> |
||
1225 | </message> |
||
1226 | <message> |
||
14474 | cbradney | 1227 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/> |
12918 | cbradney | 1228 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1229 | |||
1230 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
||
1231 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1232 | Both `scaletoframe' and `proportional' are boolean. |
||
1233 | |||
1234 | May raise WrongFrameTypeError. |
||
1235 | </source> |
||
1236 | <translation type="unfinished">setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
||
1237 | |||
1238 | Установлює масштабування зображення до розмірів рамки для вибраної |
||
1239 | або вказаної рамки для зображень до `scaletoframe'. Вибір |
||
1240 | `proportional' (пропорційне) значення встановлює фіксоване відношення |
||
1241 | сторін зображення при масштабуванні. І `scaletoframe' і `proportional' являються |
||
1242 | булевими змінними. |
||
1243 | |||
1244 | Може повернути помилку WrongFrameTypeError. |
||
1245 | </translation> |
||
1246 | </message> |
||
1247 | <message> |
||
14474 | cbradney | 1248 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/> |
12918 | cbradney | 1249 | <source>setRedraw(bool) |
1250 | |||
1251 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
1252 | This change will persist even after the script exits, so make sure to call |
||
1253 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1254 | </source> |
||
1255 | <translation type="unfinished">setRedraw(bool) |
||
1256 | |||
1257 | Відключає обновлення сторінки, якщо bool = False, в протилежному |
||
1258 | випадку обновлення ввімкнене. Ця установка залишається в силі |
||
1259 | навіть після закінчення роботи сценарія. Тому в кінці сценарія |
||
1260 | необхідно помістити виклик setRedraw(True) в умові finally: в верхньому |
||
1261 | рівні сценарія.</translation> |
||
1262 | </message> |
||
1263 | <message> |
||
14474 | cbradney | 1264 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/> |
12918 | cbradney | 1265 | <source>getFontNames() -> list |
1266 | |||
1267 | Returns a list with the names of all available fonts. |
||
1268 | </source> |
||
1269 | <translation type="unfinished">getFontNames() -> list |
||
1270 | |||
1271 | Повертає список з назвами доступних шрифтів. |
||
1272 | </translation> |
||
1273 | </message> |
||
1274 | <message> |
||
14474 | cbradney | 1275 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/> |
12918 | cbradney | 1276 | <source>getXFontNames() -> list of tuples |
1277 | |||
1278 | Returns a larger font info. It's a list of the tuples with: |
||
1279 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
||
1280 | </source> |
||
1281 | <translation type="unfinished">getXFontNames() -> список туплів |
||
1282 | |||
1283 | Повертає додаткову інформацію про шрифти у вигляді списка туплів: |
||
1284 | [ (Назва шрифта в Scribus, гарнітура, справжня назва, вибірка (1|0), |
||
1285 | вбудований PS (1|0), файл з шрифтом), (...), ... ] |
||
1286 | </translation> |
||
1287 | </message> |
||
1288 | <message> |
||
14474 | cbradney | 1289 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/> |
12918 | cbradney | 1290 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1291 | |||
1292 | Creates an image preview of font "name" with given text "sample" and size. |
||
1293 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1294 | image data is returned as a string. The optional "format" argument |
||
1295 | specifies the image format to generate, and supports any format allowed |
||
1296 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1297 | |||
1298 | May raise NotFoundError if the specified font can't be found. |
||
1299 | May raise ValueError if an empty sample or filename is passed. |
||
1300 | </source> |
||
1301 | <translation type="unfinished">renderFont("name", "filename", "sample", size, format="PPM") -> bool |
||
1302 | |||
1303 | Створює растрове зображення шрифта з іменем "name" з заданим |
||
1304 | текстом "sample" та розміром "size". Якщо "filename" не дорівнює "", |
||
1305 | зображення буде записане в файл з назвою "filename". В протилежному |
||
1306 | випадку зображення буде повернене, як строкова величина. |
||
1307 | Необов'язковий аргумент "format" вказує на те, який формат зображення |
||
1308 | генерувати і підтримує всі формати дозволені QPixmap.save(). Часто |
||
1309 | вживані формати включають PPM, JPEG, PNG та XPM. |
||
1310 | |||
1311 | Може повернути помилку NotFoundError, якщо вказаний шрифт не |
||
1312 | було знайдено. |
||
1313 | Може повернути помилку ValueError, якщо функції був переданий пустий |
||
1314 | зразковий текст або ім'я файла. |
||
1315 | </translation> |
||
1316 | </message> |
||
1317 | <message> |
||
14474 | cbradney | 1318 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/> |
12918 | cbradney | 1319 | <source>getLayers() -> list |
1320 | |||
1321 | Returns a list with the names of all defined layers. |
||
1322 | </source> |
||
1323 | <translation type="unfinished">getLayers() -> list |
||
1324 | |||
1325 | Повертає список з назвами всіх визначених планів. |
||
1326 | </translation> |
||
1327 | </message> |
||
1328 | <message> |
||
14474 | cbradney | 1329 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/> |
12918 | cbradney | 1330 | <source>setActiveLayer("name") |
1331 | |||
1332 | Sets the active layer to the layer named "name". |
||
1333 | |||
1334 | May raise NotFoundError if the layer can't be found. |
||
1335 | May raise ValueError if the layer name isn't acceptable. |
||
1336 | </source> |
||
1337 | <translation type="unfinished">setActiveLayer("name") |
||
1338 | |||
1339 | Установлює "name", як активний план. |
||
1340 | |||
1341 | Може повернути помилку NotFoundError, якщо план не знайдено. |
||
1342 | Може повернути помилку ValueError, якщо назва плану недопустима. |
||
1343 | </translation> |
||
1344 | </message> |
||
1345 | <message> |
||
14474 | cbradney | 1346 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/> |
12918 | cbradney | 1347 | <source>getActiveLayer() -> string |
1348 | |||
1349 | Returns the name of the current active layer. |
||
1350 | </source> |
||
1351 | <translation type="unfinished">getActiveLayer() -> string |
||
1352 | |||
1353 | Повертає назву активного плану. |
||
1354 | </translation> |
||
1355 | </message> |
||
1356 | <message> |
||
14474 | cbradney | 1357 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/> |
12918 | cbradney | 1358 | <source>sentToLayer("layer" [, "name"]) |
1359 | |||
1360 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1361 | If "name" is not given the currently selected item is used. |
||
1362 | |||
1363 | May raise NotFoundError if the layer can't be found. |
||
1364 | May raise ValueError if the layer name isn't acceptable. |
||
1365 | </source> |
||
1366 | <translation type="unfinished">sentToLayer("layer" [, "name"]) |
||
1367 | |||
1368 | Переміщує об'єкт "name" на план "layer". План повинен існувати. |
||
1369 | Якщо "name" не задано, буде використано активний об'єкт. |
||
1370 | |||
1371 | Може повернути помилку NotFoundError, якщо план не знайдено. |
||
1372 | Може повернути помилку ValueError, якщо назва плану недопустима. |
||
1373 | </translation> |
||
1374 | </message> |
||
1375 | <message> |
||
14474 | cbradney | 1376 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/> |
12918 | cbradney | 1377 | <source>setLayerVisible("layer", visible) |
1378 | |||
1379 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1380 | the layer is invisible. |
||
1381 | |||
1382 | May raise NotFoundError if the layer can't be found. |
||
1383 | May raise ValueError if the layer name isn't acceptable. |
||
1384 | </source> |
||
1385 | <translation type="unfinished">setLayerVisible("layer", visible) |
||
1386 | |||
1387 | Змінює видимість плану "layer". Якщо "visible" дорівнює булевому |
||
1388 | значенню "false" - план невидимий. |
||
1389 | |||
1390 | Може повернути помилку NotFoundError, якщо план не знайдено. |
||
1391 | Може повернути помилку ValueError, якщо назва плану недопустима. |
||
1392 | </translation> |
||
1393 | </message> |
||
1394 | <message> |
||
14474 | cbradney | 1395 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/> |
12918 | cbradney | 1396 | <source>setLayerPrintable("layer", printable) |
1397 | |||
1398 | Sets the layer "layer" to be printable or not. If is the |
||
1399 | printable set to false the layer won't be printed. |
||
1400 | |||
1401 | May raise NotFoundError if the layer can't be found. |
||
1402 | May raise ValueError if the layer name isn't acceptable. |
||
1403 | </source> |
||
1404 | <translation type="unfinished"></translation> |
||
1405 | </message> |
||
1406 | <message> |
||
14474 | cbradney | 1407 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/> |
12918 | cbradney | 1408 | <source>setLayerLocked("layer", locked) |
1409 | |||
1410 | Sets the layer "layer" to be locked or not. If locked is set to |
||
1411 | true the layer will be locked. |
||
1412 | |||
1413 | May raise NotFoundError if the layer can't be found. |
||
1414 | May raise ValueError if the layer name isn't acceptable. |
||
1415 | </source> |
||
1416 | <translation type="unfinished"></translation> |
||
1417 | </message> |
||
1418 | <message> |
||
14474 | cbradney | 1419 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/> |
12918 | cbradney | 1420 | <source>setLayerOutlined("layer", outline) |
1421 | |||
1422 | Sets the layer "layer" to be locked or not. If outline is set to |
||
1423 | true the layer will be displayed outlined. |
||
1424 | |||
1425 | May raise NotFoundError if the layer can't be found. |
||
1426 | May raise ValueError if the layer name isn't acceptable. |
||
1427 | </source> |
||
1428 | <translation type="unfinished"></translation> |
||
1429 | </message> |
||
1430 | <message> |
||
14474 | cbradney | 1431 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/> |
12918 | cbradney | 1432 | <source>setLayerFlow("layer", flow) |
1433 | |||
1434 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
1435 | true text in layers above this one will flow around objects on this layer. |
||
1436 | |||
1437 | May raise NotFoundError if the layer can't be found. |
||
1438 | May raise ValueError if the layer name isn't acceptable. |
||
1439 | </source> |
||
1440 | <translation type="unfinished"></translation> |
||
1441 | </message> |
||
1442 | <message> |
||
14474 | cbradney | 1443 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/> |
12918 | cbradney | 1444 | <source>setLayerBlendmode("layer", blend) |
1445 | |||
1446 | Sets the layers "layer" blendmode to blend. |
||
1447 | |||
1448 | May raise NotFoundError if the layer can't be found. |
||
1449 | May raise ValueError if the layer name isn't acceptable. |
||
1450 | </source> |
||
1451 | <translation type="unfinished"></translation> |
||
1452 | </message> |
||
1453 | <message> |
||
14474 | cbradney | 1454 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/> |
12918 | cbradney | 1455 | <source>setLayerTransparency("layer", trans) |
1456 | |||
1457 | Sets the layers "layer" transparency to trans. |
||
1458 | |||
1459 | May raise NotFoundError if the layer can't be found. |
||
1460 | May raise ValueError if the layer name isn't acceptable. |
||
1461 | </source> |
||
1462 | <translation type="unfinished"></translation> |
||
1463 | </message> |
||
1464 | <message> |
||
14474 | cbradney | 1465 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/> |
12918 | cbradney | 1466 | <source>isLayerVisible("layer") -> bool |
1467 | |||
1468 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1469 | that the layer "layer" is visible, a value of False means that the layer |
||
1470 | "layer" is invisible. |
||
1471 | |||
1472 | May raise NotFoundError if the layer can't be found. |
||
1473 | May raise ValueError if the layer name isn't acceptable. |
||
1474 | </source> |
||
1475 | <translation type="unfinished"></translation> |
||
1476 | </message> |
||
1477 | <message> |
||
14474 | cbradney | 1478 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/> |
12918 | cbradney | 1479 | <source>isLayerPrintable("layer") -> bool |
1480 | |||
1481 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1482 | that the layer "layer" can be printed, a value of False means that printing |
||
1483 | the layer "layer" is disabled. |
||
1484 | |||
1485 | May raise NotFoundError if the layer can't be found. |
||
1486 | May raise ValueError if the layer name isn't acceptable. |
||
1487 | </source> |
||
1488 | <translation type="unfinished">isLayerPrintable("layer") -> bool |
||
1489 | |||
1490 | Повертає булеве значення, яке вказує на те чи можна друкувати план "layer". |
||
1491 | True означає, що "layer" можна друкувати, False означає, що друк плана |
||
1492 | "layer" не дозволено. |
||
1493 | |||
1494 | Може повернути помилку NotFoundError, якщо план не знайдено. |
||
1495 | May raise ValueError при використанні недопустимої назви плана. |
||
1496 | </translation> |
||
1497 | </message> |
||
1498 | <message> |
||
14474 | cbradney | 1499 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/> |
12918 | cbradney | 1500 | <source>isLayerLocked("layer") -> bool |
1501 | |||
1502 | Returns whether the layer "layer" is locked or not, a value of True means |
||
1503 | that the layer "layer" is editable, a value of False means that the layer |
||
1504 | "layer" is locked. |
||
1505 | |||
1506 | May raise NotFoundError if the layer can't be found. |
||
1507 | May raise ValueError if the layer name isn't acceptable. |
||
1508 | </source> |
||
1509 | <translation type="unfinished"></translation> |
||
1510 | </message> |
||
1511 | <message> |
||
14474 | cbradney | 1512 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/> |
12918 | cbradney | 1513 | <source>isLayerOutlined("layer") -> bool |
1514 | |||
1515 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
1516 | that the layer "layer" is outlined, a value of False means that the layer |
||
1517 | "layer" is normal. |
||
1518 | |||
1519 | May raise NotFoundError if the layer can't be found. |
||
1520 | May raise ValueError if the layer name isn't acceptable. |
||
1521 | </source> |
||
1522 | <translation type="unfinished"></translation> |
||
1523 | </message> |
||
1524 | <message> |
||
14474 | cbradney | 1525 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/> |
12918 | cbradney | 1526 | <source>isLayerFlow("layer") -> bool |
1527 | |||
1528 | Returns whether text flows around objects on layer "layer", a value of True means |
||
1529 | that text flows around, a value of False means that the text does not flow around. |
||
1530 | |||
1531 | May raise NotFoundError if the layer can't be found. |
||
1532 | May raise ValueError if the layer name isn't acceptable. |
||
1533 | </source> |
||
1534 | <translation type="unfinished"></translation> |
||
1535 | </message> |
||
1536 | <message> |
||
14474 | cbradney | 1537 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/> |
12918 | cbradney | 1538 | <source>getLayerBlendmode("layer") -> int |
1539 | |||
1540 | Returns the "layer" layer blendmode, |
||
1541 | |||
1542 | May raise NotFoundError if the layer can't be found. |
||
1543 | May raise ValueError if the layer name isn't acceptable. |
||
1544 | </source> |
||
1545 | <translation type="unfinished"></translation> |
||
1546 | </message> |
||
1547 | <message> |
||
14474 | cbradney | 1548 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/> |
12918 | cbradney | 1549 | <source>getLayerTransparency("layer") -> float |
1550 | |||
1551 | Returns the "layer" layer transparency, |
||
1552 | |||
1553 | May raise NotFoundError if the layer can't be found. |
||
1554 | May raise ValueError if the layer name isn't acceptable. |
||
1555 | </source> |
||
1556 | <translation type="unfinished"></translation> |
||
1557 | </message> |
||
1558 | <message> |
||
14474 | cbradney | 1559 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/> |
12918 | cbradney | 1560 | <source>deleteLayer("layer") |
1561 | |||
1562 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
||
1563 | exists or if it's the only layer in the document. |
||
1564 | |||
1565 | May raise NotFoundError if the layer can't be found. |
||
1566 | May raise ValueError if the layer name isn't acceptable. |
||
1567 | </source> |
||
1568 | <translation type="unfinished">deleteLayer("layer") |
||
1569 | |||
1570 | Видаляє план з назвою "layer". При відсутності плану або якщо це |
||
1571 | останній план документа нічого не відбувається. |
||
1572 | |||
1573 | Може повернути помилку NotFoundError, якщо план не знайдено. |
||
1574 | Може повернути помилку ValueError, якщо назва плану недопустима. |
||
1575 | </translation> |
||
1576 | </message> |
||
1577 | <message> |
||
14474 | cbradney | 1578 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/> |
12918 | cbradney | 1579 | <source>createLayer(layer) |
1580 | |||
1581 | Creates a new layer with the name "name". |
||
1582 | |||
1583 | May raise ValueError if the layer name isn't acceptable. |
||
1584 | </source> |
||
1585 | <translation type="unfinished">createLayer(layer) |
||
1586 | |||
1587 | Створює новий план з назвою "name". |
||
1588 | |||
1589 | Може повернути помилку ValueError, якщо назва плану недопустима. |
||
1590 | </translation> |
||
1591 | </message> |
||
1592 | <message> |
||
14474 | cbradney | 1593 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/> |
12918 | cbradney | 1594 | <source>getGuiLanguage() -> string |
1595 | |||
1596 | Returns a string with the -lang value. |
||
1597 | </source> |
||
1598 | <translation type="unfinished">getGuiLanguage() -> строкова величина |
||
1599 | |||
1600 | Повертає строкову величину, яка містить значення -lang. |
||
1601 | </translation> |
||
1602 | </message> |
||
1603 | <message> |
||
14474 | cbradney | 1604 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/> |
12918 | cbradney | 1605 | <source>moveSelectionToFront() |
1606 | |||
1607 | Moves current selection to front. |
||
1608 | </source> |
||
1609 | <translation type="unfinished"></translation> |
||
1610 | </message> |
||
1611 | <message> |
||
14474 | cbradney | 1612 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/> |
12918 | cbradney | 1613 | <source>moveSelectionToFront() |
1614 | |||
1615 | Moves current selection to back. |
||
1616 | </source> |
||
1617 | <translation type="unfinished"></translation> |
||
1618 | </message> |
||
1619 | <message> |
||
14474 | cbradney | 1620 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/> |
12918 | cbradney | 1621 | <source>createRect(x, y, width, height, ["name"]) -> string |
1622 | |||
1623 | Creates a new rectangle on the current page and returns its name. The |
||
1624 | coordinates are given in the current measurement units of the document |
||
1625 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1626 | because you need this name to reference that object in future. If "name" |
||
1627 | is not given Scribus will create one for you. |
||
1628 | |||
1629 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1630 | </source> |
||
1631 | <translation type="unfinished">createRect(x, y, width, height, ["name"]) -> string |
||
1632 | |||
1633 | Створює новий прямокутник на активній сторінці і повертаю його ім'я. Координати |
||
1634 | задаються в активних одиницях виміру документа (див. константи Юнікс). "name" |
||
1635 | має унікально ідентифікувати об'єкт, тому що воно буде необхідним для звернення |
||
1636 | до цього об'єкта в майбутньому. Якщо "name" не вказане, то Scribus вибере його |
||
1637 | сам. |
||
1638 | |||
1639 | Може повернути помилку NameExistsError якщо ви вкажете ім'я, яке вже було використане. |
||
1640 | </translation> |
||
1641 | </message> |
||
1642 | <message> |
||
14474 | cbradney | 1643 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/> |
12918 | cbradney | 1644 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1645 | |||
1646 | Creates a new ellipse on the current page and returns its name. |
||
1647 | The coordinates are given in the current measurement units of the document |
||
1648 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1649 | because you need this name for further referencing of that object. If "name" |
||
1650 | is not given Scribus will create one for you. |
||
1651 | |||
1652 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1653 | </source> |
||
1654 | <translation type="unfinished">createEllipse(x, y, width, height, ["name"]) -> строкова величина |
||
1655 | |||
1656 | Створює новий еліпс на активній сторінці та повертає його назву. |
||
1657 | Координати задаються в активних одиницях виміру документа (див. |
||
1658 | константи UNIT). "name" повинне бути неповторним визначником |
||
1659 | об'єкта, тому що воно служить для подальших звернень до нього. |
||
1660 | Якщо "name" не задано, Scribus створить його сам. |
||
1661 | |||
1662 | Може повернути помилку NameExistsError при спробі задання вже |
||
1663 | використаної назви. |
||
1664 | </translation> |
||
1665 | </message> |
||
1666 | <message> |
||
14474 | cbradney | 1667 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/> |
12918 | cbradney | 1668 | <source>createImage(x, y, width, height, ["name"]) -> string |
1669 | |||
1670 | Creates a new picture frame on the current page and returns its name. The |
||
1671 | coordinates are given in the current measurement units of the document. |
||
1672 | "name" should be a unique identifier for the object because you need this |
||
1673 | name for further access to that object. If "name" is not given Scribus will |
||
1674 | create one for you. |
||
1675 | |||
1676 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1677 | </source> |
||
1678 | <translation type="unfinished">createImage(x, y, width, height, ["name"]) -> строкова величина |
||
1679 | |||
1680 | Створює нову рамку для зображень на активній сторінці та повертає |
||
1681 | її назву. Координати задаються в активних одиницях виміру документа. |
||
1682 | "name" повинне бути неповторним визначником об'єкта, тому що воно |
||
1683 | служить для подальших звернень до нього. Якщо "name" не задано, |
||
1684 | Scribus створить його сам. |
||
1685 | |||
1686 | Може повернути помилку NameExistsError при спробі задання вже |
||
1687 | використаної назви. |
||
1688 | </translation> |
||
1689 | </message> |
||
1690 | <message> |
||
14474 | cbradney | 1691 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/> |
12918 | cbradney | 1692 | <source>createText(x, y, width, height, ["name"]) -> string |
1693 | |||
1694 | Creates a new text frame on the actual page and returns its name. |
||
1695 | The coordinates are given in the actual measurement unit of the document (see |
||
1696 | UNIT constants). "name" should be a unique identifier for the object because |
||
1697 | you need this name for further referencing of that object. If "name" is not |
||
1698 | given Scribus will create one for you. |
||
1699 | |||
1700 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1701 | </source> |
||
1702 | <translation type="unfinished">createText(x, y, width, height, ["name"]) -> строкова величина |
||
1703 | |||
1704 | Створює нову текстову рамку на активній сторінці та повертає |
||
1705 | її назву. Координати задаються в активних одиницях виміру документа |
||
1706 | (див константи UNIT). "name" повинне бути неповторним визначником |
||
1707 | об'єкта, тому що воно служить для подальших звернень до нього. Якщо |
||
1708 | "name" не задано, Scribus створить його сам. |
||
1709 | |||
1710 | Може повернути помилку NameExistsError при спробі задання вже |
||
1711 | використаної назви. |
||
1712 | |||
1713 | </translation> |
||
1714 | </message> |
||
1715 | <message> |
||
14474 | cbradney | 1716 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/> |
12918 | cbradney | 1717 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1718 | |||
1719 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1720 | its name. The coordinates are given in the current measurement unit of the |
||
1721 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1722 | object because you need this name for further access to that object. If |
||
1723 | "name" is not given Scribus will create one for you. |
||
1724 | |||
1725 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1726 | </source> |
||
1727 | <translation type="unfinished">createLine(x1, y1, x2, y2, ["name"]) -> строкова величина |
||
1728 | |||
1729 | Створює нову лінію від точки (x1, y1) до точки (x2, y2) та повертає |
||
1730 | її назву. Координати задаються в активних одиницях виміру документа |
||
1731 | (див константи UNIT). "name" повинне бути неповторним визначником |
||
1732 | об'єкта, тому що воно служить для подальших звернень до нього. Якщо |
||
1733 | "name" не задано, Scribus створить його сам. |
||
1734 | |||
1735 | Може повернути помилку NameExistsError при спробі задання вже |
||
1736 | використаної назви. |
||
1737 | </translation> |
||
1738 | </message> |
||
1739 | <message> |
||
14474 | cbradney | 1740 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/> |
12918 | cbradney | 1741 | <source>createPolyLine(list, ["name"]) -> string |
1742 | |||
1743 | Creates a new polyline and returns its name. The points for the polyline are |
||
1744 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1745 | The coordinates are given in the current measurement units of the document (see |
||
1746 | UNIT constants). "name" should be a unique identifier for the object because |
||
1747 | you need this name for further access to that object. If "name" is not given |
||
1748 | Scribus will create one for you. |
||
1749 | |||
1750 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1751 | May raise ValueError if an insufficient number of points is passed or if |
||
1752 | the number of values passed don't group into points without leftovers. |
||
1753 | </source> |
||
1754 | <translation type="unfinished">createPolyLine(list, ["name"]) -> строкова величина |
||
1755 | |||
1756 | Створює багатосегментну лінію та повертає її назву. Точки лінії |
||
1757 | зберігаються в списку "list" у визначеному порядку [x1, y1, x2, y2...xn. yn]. |
||
1758 | Координати задаються в активних одиницях виміру документа |
||
1759 | (див константи UNIT). "name" повинне бути неповторним визначником |
||
1760 | об'єкта, тому що воно служить для подальших звернень до нього. Якщо |
||
1761 | "name" не задано, Scribus створить його сам. |
||
1762 | |||
1763 | Може повернути помилку NameExistsError при спробі задання вже |
||
1764 | використаної назви. |
||
1765 | Може повернути помилку ValueError, якщо задане недостатнє число точок |
||
1766 | або число заданих координат не відповідає числу точок. |
||
1767 | </translation> |
||
1768 | </message> |
||
1769 | <message> |
||
14474 | cbradney | 1770 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/> |
12918 | cbradney | 1771 | <source>createPolygon(list, ["name"]) -> string |
1772 | |||
1773 | Creates a new polygon and returns its name. The points for the polygon are |
||
1774 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1775 | At least three points are required. There is no need to repeat the first point |
||
1776 | to close the polygon. The polygon is automatically closed by connecting the |
||
1777 | first and the last point. The coordinates are given in the current measurement |
||
1778 | units of the document (see UNIT constants). "name" should be a unique |
||
1779 | identifier for the object because you need this name for further access to that |
||
1780 | object. If "name" is not given Scribus will create one for you. |
||
1781 | |||
1782 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1783 | May raise ValueError if an insufficient number of points is passed or if |
||
1784 | the number of values passed don't group into points without leftovers. |
||
1785 | </source> |
||
1786 | <translation type="unfinished">createPolygon(list, ["name"]) -> строкова величина |
||
1787 | |||
1788 | Створює полігон та повертає його назву. Точки кутів полігона |
||
1789 | зберігаються в списку "list" у визначеному порядку [x1, y1, x2, y2...xn. yn]. |
||
1790 | Як мінімум мають бути задані три точки. Необхідності в повторенні першої |
||
1791 | точки для замикання полігона не існує. Полігон автоматично замикається |
||
1792 | з'єднанням першої та останньої заданих точок. Координати задаються в |
||
1793 | активних одиницях виміру документа (див константи UNIT). "name" повинне |
||
1794 | бути неповторним визначником об'єкта, тому що воно служить для подальших |
||
1795 | звернень до нього. Якщо "name" не задано, Scribus створить його сам. |
||
1796 | |||
1797 | Може повернути помилку NameExistsError при спробі задання вже |
||
1798 | використаної назви. |
||
1799 | Може повернути помилку ValueError, якщо задане недостатнє число точок |
||
1800 | або число заданих координат не відповідає числу точок. |
||
1801 | </translation> |
||
1802 | </message> |
||
1803 | <message> |
||
14474 | cbradney | 1804 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/> |
12918 | cbradney | 1805 | <source>createBezierLine(list, ["name"]) -> string |
1806 | |||
1807 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1808 | curve are stored in the list "list" in the following order: |
||
1809 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1810 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1811 | and ky meaning the control point for the curve. The coordinates are given in |
||
1812 | the current measurement units of the document (see UNIT constants). "name" |
||
1813 | should be a unique identifier for the object because you need this name for |
||
1814 | further access to that object. If "name" is not given Scribus will create one |
||
1815 | for you. |
||
1816 | |||
1817 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1818 | May raise ValueError if an insufficient number of points is passed or if |
||
1819 | the number of values passed don't group into points without leftovers. |
||
1820 | </source> |
||
1821 | <translation type="unfinished">createBezierLine(list, ["name"]) -> строкова величина |
||
1822 | |||
1823 | Створює нову криву Безьє та повертає її назву. Точки кривої |
||
1824 | зберігаються в списку "list" у визначеному порядку |
||
1825 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1826 | В списку точок x та y відповідають координатам точки, а kx та ky |
||
1827 | відповідають контрольним точкам кривої. Координати задаються |
||
1828 | в активних одиницях виміру документа (див константи UNIT). |
||
1829 | "name" повинне бути неповторним визначником об'єкта, тому що |
||
1830 | воно служить для подальших звернень до нього. Якщо "name" не |
||
1831 | задано, Scribus створить його сам. |
||
1832 | |||
1833 | Може повернути помилку NameExistsError при спробі задання вже |
||
1834 | використаної назви. |
||
1835 | Може повернути помилку ValueError, якщо задане недостатнє число точок |
||
1836 | або число заданих координат не відповідає числу точок. |
||
1837 | </translation> |
||
1838 | </message> |
||
1839 | <message> |
||
14474 | cbradney | 1840 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/> |
12918 | cbradney | 1841 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1842 | |||
1843 | Creates a new pathText by merging the two objects "textbox" and |
||
1844 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1845 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1846 | unique identifier for the object because you need this name for further access |
||
1847 | to that object. If "name" is not given Scribus will create one for you. |
||
1848 | |||
1849 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1850 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1851 | </source> |
||
1852 | <translation type="unfinished">createPathText(x, y, "textbox", "beziercurve", ["name"]) -> строкова величина |
||
1853 | |||
1854 | Створює новий текстовий шлях (pathText) через з'єднання двох об'єктів |
||
1855 | "textbox" та "beziercurve" та повертає його назву. Координати задаються |
||
1856 | в активних одиницях виміру документа (див константи UNIT). "name" |
||
1857 | повинне бути неповторним визначником об'єкта, тому що воно служить |
||
1858 | для подальших звернень до нього. Якщо "name" не задано, Scribus створить |
||
1859 | його сам. |
||
1860 | |||
1861 | Може повернути помилку NameExistsError при спробі задання вже |
||
1862 | використаної назви. |
||
1863 | Може повернути помилку NotFoundError, якщо один чи обидва названих |
||
1864 | базових об'єкти не існують. |
||
1865 | </translation> |
||
1866 | </message> |
||
1867 | <message> |
||
14474 | cbradney | 1868 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/> |
12918 | cbradney | 1869 | <source>deleteObject(["name"]) |
1870 | |||
1871 | Deletes the item with the name "name". If "name" is not given the currently |
||
1872 | selected item is deleted. |
||
1873 | </source> |
||
1874 | <translation type="unfinished">deleteObject(["name"]) |
||
1875 | |||
1876 | Видаляє об'єкт "name". Якщо "name" не вказано, буде видалено вибраний об'єкт. |
||
1877 | </translation> |
||
1878 | </message> |
||
1879 | <message> |
||
14474 | cbradney | 1880 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/> |
12918 | cbradney | 1881 | <source>textFlowMode("name" [, state]) |
1882 | |||
1883 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1884 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
1885 | Setting "state" to 0 will disable text flow. |
||
1886 | Setting "state" to 1 will make text flow around object frame. |
||
1887 | Setting "state" to 2 will make text flow around bounding box. |
||
1888 | Setting "state" to 3 will make text flow around contour line. |
||
1889 | If "state" is not passed, text flow is toggled. |
||
1890 | </source> |
||
1891 | <translation type="unfinished"></translation> |
||
1892 | </message> |
||
1893 | <message> |
||
14474 | cbradney | 1894 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/> |
12918 | cbradney | 1895 | <source>objectExists(["name"]) -> bool |
1896 | |||
1897 | Test if an object with specified name really exists in the document. |
||
1898 | The optional parameter is the object name. When no object name is given, |
||
1899 | returns True if there is something selected. |
||
1900 | </source> |
||
1901 | <translation type="unfinished">objectExists(["name"]) -> булеве значення |
||
1902 | |||
1903 | Перевіряє чи вказаний об'єкт вже існує в документі. Назва об'єкта є |
||
1904 | необов'язковим параметром. Якщо назва не задана, повертає булеве |
||
1905 | значення "True", при наявності вибраного об'єкта. |
||
1906 | </translation> |
||
1907 | </message> |
||
1908 | <message> |
||
14474 | cbradney | 1909 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/> |
12918 | cbradney | 1910 | <source>setStyle("style" [, "name"]) |
1911 | |||
14474 | cbradney | 1912 | Apply the named "style" to the object named "name". If object name is |
1913 | given, style is applied to the current text selection in object "name". |
||
1914 | If no object name is given, style is applied on selected object. |
||
1915 | </source> |
||
1916 | <translation type="unfinished"></translation> |
||
1917 | </message> |
||
1918 | <message> |
||
1919 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/> |
||
1920 | <source>duplicateObject(["name"]) -> string |
||
1921 | |||
1922 | creates a Duplicate of the selected Object (or Selection Group). |
||
1923 | </source> |
||
1924 | <translation type="unfinished"></translation> |
||
1925 | </message> |
||
1926 | <message> |
||
1927 | <source>setStyle("style" [, "name"]) |
||
1928 | |||
12918 | cbradney | 1929 | Apply the named "style" to the object named "name". If is no object name |
1930 | given, it's applied on the selected object. |
||
1931 | </source> |
||
14474 | cbradney | 1932 | <translation type="obsolete">setStyle("style" [, "name"]) |
12918 | cbradney | 1933 | |
1934 | Застосовує стиль "style" для об'єкта "name". Якщо "name" не вказано, |
||
1935 | буде використано вибраний об'єкт. |
||
1936 | </translation> |
||
1937 | </message> |
||
1938 | <message> |
||
14474 | cbradney | 1939 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/> |
12918 | cbradney | 1940 | <source>getAllStyles() -> list |
1941 | |||
1942 | Return a list of the names of all paragraph styles in the current document. |
||
1943 | </source> |
||
1944 | <translation type="unfinished">getAllStyles() -> список |
||
1945 | |||
1946 | Повертає список всіх стилів абзаців в активному документі. |
||
1947 | </translation> |
||
1948 | </message> |
||
1949 | <message> |
||
14474 | cbradney | 1950 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/> |
12918 | cbradney | 1951 | <source>newPage(where [,"masterpage"]) |
1952 | |||
1953 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
1954 | document, otherwise the new page is inserted before "where". Page numbers are |
||
1955 | counted from 1 upwards, no matter what the displayed first page number of your |
||
1956 | document is. The optional parameter "masterpage" specifies the name of the |
||
1957 | master page for the new page. |
||
1958 | |||
1959 | May raise IndexError if the page number is out of range |
||
1960 | </source> |
||
1961 | <translation type="unfinished">newPage(where [,"masterpage"]) |
||
1962 | |||
1963 | Створює нову сторінку. Якщо "where" дорівнює -1 то нова сторінка добавляється в кінець документа. В іншому випадку вона вставляється в документ перед "where". Номери сторінок внутрішньо рахуються з 1 вверх незважаючи на показаний номер документа. Необов'язковий параметр "masterpage" вказує на ім'я головної сторінки. |
||
1964 | |||
1965 | Може повернути помилку IndexError, якщо номер сторінки виходить за можливий діапазон |
||
1966 | </translation> |
||
1967 | </message> |
||
1968 | <message> |
||
14474 | cbradney | 1969 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/> |
12918 | cbradney | 1970 | <source>currentPage() -> integer |
1971 | |||
1972 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1973 | upwards, no matter what the displayed first page number of your document is. |
||
1974 | </source> |
||
1975 | <translation type="unfinished">currentPage() -> ціле число |
||
1976 | |||
1977 | Повертає номер активної сторінки. Номери сторінок рахуються вгору від 1, |
||
1978 | незалежно від того, який номер показаний на першій сторінці документа. |
||
1979 | </translation> |
||
1980 | </message> |
||
1981 | <message> |
||
14474 | cbradney | 1982 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/> |
12918 | cbradney | 1983 | <source>redrawAll() |
1984 | |||
1985 | Redraws all pages. |
||
1986 | </source> |
||
1987 | <translation type="unfinished">redrawAll() |
||
1988 | |||
1989 | Перерисовує всі сторінки. |
||
1990 | </translation> |
||
1991 | </message> |
||
1992 | <message> |
||
14474 | cbradney | 1993 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/> |
12918 | cbradney | 1994 | <source>getPageType() -> integer |
1995 | |||
1996 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
1997 | </source> |
||
1998 | <translation type="unfinished"></translation> |
||
1999 | </message> |
||
2000 | <message> |
||
14474 | cbradney | 2001 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/> |
12918 | cbradney | 2002 | <source>savePageAsEPS("name") |
2003 | |||
2004 | Saves the current page as an EPS to the file "name". |
||
2005 | |||
2006 | May raise ScribusError if the save failed. |
||
2007 | </source> |
||
2008 | <translation type="unfinished">savePageAsEPS("name") |
||
2009 | |||
2010 | Зберігає активну сторінку, як файл EPS з назвою "name". |
||
2011 | |||
2012 | Може повернути помилку ScribusError, якщо запис не був успішним. |
||
2013 | </translation> |
||
2014 | </message> |
||
2015 | <message> |
||
14474 | cbradney | 2016 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/> |
12918 | cbradney | 2017 | <source>deletePage(nr) |
2018 | |||
2019 | Deletes the given page. Does nothing if the document contains only one page. |
||
2020 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
2021 | page number is. |
||
2022 | |||
2023 | May raise IndexError if the page number is out of range |
||
2024 | </source> |
||
2025 | <translation type="unfinished">deletePage(nr) |
||
2026 | |||
2027 | Видалає дану сторінку. Якщо в документі є лише одна сторінка - нічого |
||
2028 | не відбудеться. Номери сторінок рахуються вгору від 1, незалежно від |
||
2029 | того, який номер показаний на першій сторінці документа. |
||
2030 | |||
2031 | Може повернути помилку IndexError, якщо номер сторінки виходить за |
||
2032 | межі доступного діапазону |
||
2033 | </translation> |
||
2034 | </message> |
||
2035 | <message> |
||
14474 | cbradney | 2036 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/> |
12918 | cbradney | 2037 | <source>gotoPage(nr) |
2038 | |||
2039 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
2040 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
2041 | just sets the page that script commands will operates on. |
||
2042 | |||
2043 | May raise IndexError if the page number is out of range. |
||
2044 | </source> |
||
2045 | <translation type="unfinished"></translation> |
||
2046 | </message> |
||
2047 | <message> |
||
14474 | cbradney | 2048 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/> |
12918 | cbradney | 2049 | <source>pageCount() -> integer |
2050 | |||
2051 | Returns the number of pages in the document. |
||
2052 | </source> |
||
2053 | <translation type="unfinished">pageCount() -> ціле число |
||
2054 | |||
2055 | Повертає число сторінок в документі. |
||
2056 | </translation> |
||
2057 | </message> |
||
2058 | <message> |
||
14474 | cbradney | 2059 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/> |
12918 | cbradney | 2060 | <source>getHGuides() -> list |
2061 | |||
2062 | Returns a list containing positions of the horizontal guides. Values are in the |
||
2063 | document's current units - see UNIT_<type> constants. |
||
2064 | </source> |
||
2065 | <translation type="unfinished">getHGuides() -> список |
||
2066 | |||
2067 | Повертає список розміщення горизонтальних направляючих. Значення |
||
2068 | виражаються в активних одиницях виміру документа - див. константи |
||
2069 | UNIT_<type>. |
||
2070 | </translation> |
||
2071 | </message> |
||
2072 | <message> |
||
14474 | cbradney | 2073 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/> |
12918 | cbradney | 2074 | <source>setHGuides(list) |
2075 | |||
2076 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
2077 | measured in the current document units - see UNIT_<type> constants. |
||
2078 | |||
2079 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
2080 | setHGuides([90,250]) # replace current guides entirely |
||
2081 | </source> |
||
2082 | <translation type="unfinished">setHGuides(list) |
||
2083 | |||
2084 | Установлює горизонтальні направляючі. Вхідний параметр має бути заданий |
||
2085 | як список позицій направляючих, виражених в активних одиницях виміру |
||
2086 | документа - див. константи UNIT_<type>. |
||
2087 | |||
2088 | Приклад: setHGuides(getHGuides() + [200.0, 210.0] # додати нові направляючі без |
||
2089 | заміщення існуючих |
||
2090 | setHGuides([90,250]) # повністю замінити існуючі направляючі |
||
2091 | </translation> |
||
2092 | </message> |
||
2093 | <message> |
||
14474 | cbradney | 2094 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/> |
12918 | cbradney | 2095 | <source>getVGuides() |
2096 | |||
2097 | See getHGuides. |
||
2098 | </source> |
||
2099 | <translation type="unfinished">getVGuides() |
||
2100 | |||
2101 | Див. getHGuides. |
||
2102 | </translation> |
||
2103 | </message> |
||
2104 | <message> |
||
14474 | cbradney | 2105 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/> |
12918 | cbradney | 2106 | <source>setVGuides() |
2107 | |||
2108 | See setHGuides. |
||
2109 | </source> |
||
2110 | <translation type="unfinished">setVGuides() |
||
2111 | |||
2112 | Див. setHGuides. |
||
2113 | </translation> |
||
2114 | </message> |
||
2115 | <message> |
||
14474 | cbradney | 2116 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/> |
12918 | cbradney | 2117 | <source>getPageSize() -> tuple |
2118 | |||
2119 | Returns a tuple with page dimensions measured in the document's current units. |
||
2120 | See UNIT_<type> constants and getPageMargins() |
||
2121 | </source> |
||
2122 | <translation type="unfinished">getPageSize() -> тупль |
||
2123 | |||
2124 | Повертає тупль з розміром сторінки, вираженим в активних одиницях виміру |
||
2125 | документа. Див. константи UNIT_<type> та функцію getPageMargins() |
||
2126 | </translation> |
||
2127 | </message> |
||
2128 | <message> |
||
14474 | cbradney | 2129 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/> |
2130 | <source>getPageNSize() -> tuple |
||
2131 | |||
2132 | Returns a tuple with a particular page's size measured in the document's current units. |
||
2133 | See UNIT_<type> constants and getPageMargins() |
||
2134 | </source> |
||
2135 | <translation type="unfinished"></translation> |
||
2136 | </message> |
||
2137 | <message> |
||
2138 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/> |
||
2139 | <source>getPageNMargins() -> tuple |
||
2140 | |||
2141 | Returns a tuple with a particular page's margins measured in the document's current units. |
||
2142 | See UNIT_<type> constants and getPageMargins() |
||
2143 | </source> |
||
2144 | <translation type="unfinished"></translation> |
||
2145 | </message> |
||
2146 | <message> |
||
2147 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/> |
||
12918 | cbradney | 2148 | <source>getPageItems() -> list |
2149 | |||
2150 | Returns a list of tuples with items on the current page. The tuple is: |
||
2151 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
||
2152 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
2153 | the page... |
||
2154 | </source> |
||
2155 | <translation type="unfinished">getPageItems() -> список |
||
2156 | |||
2157 | Повертає список туплів з об'єктами, розташованими на активній сторінці. |
||
2158 | Тупль має вигляд (name, objectType, order). Наприклад 'Text1', 4, 0), ('Image1', 2, 1)] |
||
2159 | означає, що об'єкт 'Text1' є текстовою рамкою (тип 4) і є першим об'єктом сторінки... |
||
2160 | </translation> |
||
2161 | </message> |
||
2162 | <message> |
||
14474 | cbradney | 2163 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/> |
12918 | cbradney | 2164 | <source>getPageMargins() |
2165 | |||
2166 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
2167 | units. See UNIT_<type> constants and getPageSize(). |
||
2168 | </source> |
||
2169 | <translation type="unfinished">getPageMargins() |
||
2170 | |||
2171 | Повертає поля сторінки як тупль (верхнє, ліве, праве, нижнє) в активних одиницях. Дивіться UNIT_<type> константи та getPageSize(). |
||
2172 | </translation> |
||
2173 | </message> |
||
2174 | <message> |
||
14474 | cbradney | 2175 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/> |
12918 | cbradney | 2176 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
2177 | |||
2178 | Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the "Page->Import" dropdown menu function. |
||
2179 | fromDoc: string; the filename of the document to import pages from |
||
2180 | pageList: tuple with page numbers of pages to import |
||
2181 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
2182 | importWhere: number; the page number (of the current document) at which import the pages |
||
2183 | importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document |
||
2184 | </source> |
||
2185 | <translation type="unfinished"></translation> |
||
2186 | </message> |
||
2187 | <message> |
||
14474 | cbradney | 2188 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/> |
12918 | cbradney | 2189 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
2190 | |||
2191 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
2192 | the same as for setFillColor() and setFillShade(). See the constants for |
||
2193 | available types (FILL_<type>). |
||
2194 | </source> |
||
2195 | <translation type="unfinished">setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
||
2196 | |||
2197 | Установлює заповнення градієнтом об'єкта "name" типом type. Описання |
||
2198 | кольорів застосовуються так же як і в setFillColor() та setFillShade(). Дивіться |
||
2199 | константи для доступних типів (FILL_<type>). |
||
2200 | </translation> |
||
2201 | </message> |
||
2202 | <message> |
||
14474 | cbradney | 2203 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/> |
2204 | <source>setGradientStop("color", shade, opacity, ramppoint, ["name"]) |
||
2205 | |||
2206 | Set or add a gradient stop to the gradient fill of the object "name" at position ramppoint. |
||
2207 | Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill() |
||
2208 | must have been called previously for the gradient fill to be visible. |
||
2209 | </source> |
||
2210 | <translation type="unfinished"></translation> |
||
2211 | </message> |
||
2212 | <message> |
||
2213 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/> |
||
12918 | cbradney | 2214 | <source>setFillColor("color", ["name"]) |
2215 | |||
2216 | Sets the fill color of the object "name" to the color "color". "color" |
||
2217 | is the name of one of the defined colors. If "name" is not given the |
||
2218 | currently selected item is used. |
||
2219 | </source> |
||
2220 | <translation type="unfinished">setFillColor("color", ["name"]) |
||
2221 | |||
2222 | Установлює колір заповнення "color" для об''єкта "name". "color" |
||
2223 | повинен бути попередньо визначеним. Якщо "name" не задано, |
||
2224 | буде використано активний об'єкт. |
||
2225 | </translation> |
||
2226 | </message> |
||
2227 | <message> |
||
14474 | cbradney | 2228 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/> |
12918 | cbradney | 2229 | <source>setFillTransparency(transparency, ["name"]) |
2230 | |||
2231 | Sets the fill transparency of the object "name" to transparency |
||
2232 | If "name" is not given the currently selected item is used. |
||
2233 | </source> |
||
2234 | <translation type="unfinished"></translation> |
||
2235 | </message> |
||
2236 | <message> |
||
14474 | cbradney | 2237 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/> |
12918 | cbradney | 2238 | <source>setFillBlendmode(blendmode, ["name"]) |
2239 | |||
2240 | Sets the fill blendmode of the object "name" to blendmode |
||
2241 | If "name" is not given the currently selected item is used. |
||
2242 | </source> |
||
2243 | <translation type="unfinished"></translation> |
||
2244 | </message> |
||
2245 | <message> |
||
14474 | cbradney | 2246 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/> |
12918 | cbradney | 2247 | <source>setLineColor("color", ["name"]) |
2248 | |||
2249 | Sets the line color of the object "name" to the color "color". If "name" |
||
2250 | is not given the currently selected item is used. |
||
2251 | </source> |
||
2252 | <translation type="unfinished">setLineColor("color", ["name"]) |
||
2253 | |||
2254 | Установлює колір "color" для об''єкта "name". Якщо "name" не задано, |
||
2255 | буде використано активний об'єкт. |
||
2256 | </translation> |
||
2257 | </message> |
||
2258 | <message> |
||
14474 | cbradney | 2259 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/> |
12918 | cbradney | 2260 | <source>setLineTransparency(transparency, ["name"]) |
2261 | |||
2262 | Sets the line transparency of the object "name" to transparency |
||
2263 | If "name" is not given the currently selected item is used. |
||
2264 | </source> |
||
2265 | <translation type="unfinished"></translation> |
||
2266 | </message> |
||
2267 | <message> |
||
14474 | cbradney | 2268 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/> |
12918 | cbradney | 2269 | <source>setLineBlendmode(blendmode, ["name"]) |
2270 | |||
2271 | Sets the line blendmode of the object "name" to blendmode |
||
2272 | If "name" is not given the currently selected item is used. |
||
2273 | </source> |
||
2274 | <translation type="unfinished"></translation> |
||
2275 | </message> |
||
2276 | <message> |
||
14474 | cbradney | 2277 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/> |
12918 | cbradney | 2278 | <source>setLineWidth(width, ["name"]) |
2279 | |||
2280 | Sets line width of the object "name" to "width". "width" must be in the |
||
2281 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
2282 | given the currently selected item is used. |
||
2283 | |||
2284 | May raise ValueError if the line width is out of bounds. |
||
2285 | </source> |
||
2286 | <translation type="unfinished">setLineWidth(width, ["name"]) |
||
2287 | |||
2288 | Установлює товщину об'єкта "name" до "width". "width" повинна бути в |
||
2289 | діапазоні від 0.0 до 12.0 включно і вимірюється в точках. Якщо "name" |
||
2290 | не задано, буде використано активний об'єкт. |
||
2291 | |||
2292 | Може повернути помилку ValueError, якщо товщина лінії виходить за |
||
2293 | доступний діапазон. |
||
2294 | </translation> |
||
2295 | </message> |
||
2296 | <message> |
||
14474 | cbradney | 2297 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/> |
12918 | cbradney | 2298 | <source>setLineShade(shade, ["name"]) |
2299 | |||
2300 | Sets the shading of the line color of the object "name" to "shade". |
||
2301 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2302 | (full color intensity). If "name" is not given the currently selected item |
||
2303 | is used. |
||
2304 | |||
2305 | May raise ValueError if the line shade is out of bounds. |
||
2306 | </source> |
||
2307 | <translation type="unfinished">setLineShade(shade, ["name"]) |
||
2308 | |||
2309 | Установлює тінь ліній об'єкта "name" до "shade". "shade" повинна бути |
||
2310 | в діапазоні від 0 (найсвітліша) до 100 (повна насиченість кольору). |
||
2311 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2312 | |||
2313 | Може повернути помилку ValueError, якщо тінь виходить за |
||
2314 | доступний діапазон. |
||
2315 | </translation> |
||
2316 | </message> |
||
2317 | <message> |
||
14474 | cbradney | 2318 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/> |
12918 | cbradney | 2319 | <source>setLineJoin(join, ["name"]) |
2320 | |||
2321 | Sets the line join style of the object "name" to the style "join". |
||
2322 | If "name" is not given the currently selected item is used. There are |
||
2323 | predefined constants for join - JOIN_<type>. |
||
2324 | </source> |
||
2325 | <translation type="unfinished">setLineJoin(join, ["name"]) |
||
2326 | |||
2327 | Установлює тип з'єднань ліній об'єкта "name" до стиля "join". |
||
2328 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2329 | Існують попередньо визначені константи для "join" - JOIN_<type>. |
||
2330 | </translation> |
||
2331 | </message> |
||
2332 | <message> |
||
14474 | cbradney | 2333 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/> |
12918 | cbradney | 2334 | <source>setLineEnd(endtype, ["name"]) |
2335 | |||
2336 | Sets the line cap style of the object "name" to the style "cap". |
||
2337 | If "name" is not given the currently selected item is used. There are |
||
2338 | predefined constants for "cap" - CAP_<type>. |
||
2339 | </source> |
||
2340 | <translation type="unfinished">setLineEnd(endtype, ["name"]) |
||
2341 | |||
2342 | Установлює тип кінцівок ліній об'єкта "name" до стиля "cap". |
||
2343 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2344 | Існують попередньо визначені константи для "cap" - CAP_<type>. |
||
2345 | </translation> |
||
2346 | </message> |
||
2347 | <message> |
||
14474 | cbradney | 2348 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/> |
12918 | cbradney | 2349 | <source>setLineStyle(style, ["name"]) |
2350 | |||
2351 | Sets the line style of the object "name" to the style "style". If "name" |
||
2352 | is not given the currently selected item is used. There are predefined |
||
2353 | constants for "style" - LINE_<style>. |
||
2354 | </source> |
||
2355 | <translation type="unfinished">setLineStyle(style, ["name"]) |
||
2356 | |||
2357 | Установлює стиль ліній об'єкта "name" до стиля "style". |
||
2358 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2359 | Існують попередньо визначені константи для "style" - LINE_<style>. |
||
2360 | </translation> |
||
2361 | </message> |
||
2362 | <message> |
||
14474 | cbradney | 2363 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/> |
12918 | cbradney | 2364 | <source>setFillShade(shade, ["name"]) |
2365 | |||
2366 | Sets the shading of the fill color of the object "name" to "shade". |
||
2367 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2368 | (full Color intensity). If "name" is not given the currently selected |
||
2369 | Item is used. |
||
2370 | |||
2371 | May raise ValueError if the fill shade is out of bounds. |
||
2372 | </source> |
||
2373 | <translation type="unfinished">setFillShade(shade, ["name"]) |
||
2374 | |||
2375 | Установлює тінь заповнення об'єкта "name" до "shade". "shade" |
||
2376 | повинна бути в діапазоні від 0 (найсвітліша) до 100 (повна |
||
2377 | насиченість кольору). Якщо "name" не задано, буде використано |
||
2378 | активний об'єкт. |
||
2379 | |||
2380 | Може повернути помилку ValueError, якщо тінь виходить за |
||
2381 | доступний діапазон. |
||
2382 | </translation> |
||
2383 | </message> |
||
2384 | <message> |
||
14474 | cbradney | 2385 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/> |
12918 | cbradney | 2386 | <source>setCornerRadius(radius, ["name"]) |
2387 | |||
2388 | Sets the corner radius of the object "name". The radius is expressed |
||
2389 | in points. If "name" is not given the currently selected item is used. |
||
2390 | |||
2391 | May raise ValueError if the corner radius is negative. |
||
2392 | </source> |
||
2393 | <translation type="unfinished">setCornerRadius(radius, ["name"]) |
||
2394 | |||
2395 | Установлює радіус кутів об'єкта "name". Радіус виражається в точках. |
||
2396 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2397 | |||
2398 | Може повернути помилку ValueError, якщо радіус негативний. |
||
2399 | </translation> |
||
2400 | </message> |
||
2401 | <message> |
||
14474 | cbradney | 2402 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/> |
12918 | cbradney | 2403 | <source>setMultiLine("namedStyle", ["name"]) |
2404 | |||
2405 | Sets the line style of the object "name" to the named style "namedStyle". |
||
2406 | If "name" is not given the currently selected item is used. |
||
2407 | |||
2408 | May raise NotFoundError if the line style doesn't exist. |
||
2409 | </source> |
||
2410 | <translation type="unfinished">setMultiLine("namedStyle", ["name"]) |
||
2411 | |||
2412 | Установлює стиль ліній об'єкта "name" до стиля "namedStyle". |
||
2413 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2414 | |||
2415 | Може повернути помилку NotFoundError, якщо цей стиль ліній не існує. |
||
2416 | </translation> |
||
2417 | </message> |
||
2418 | <message> |
||
14474 | cbradney | 2419 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/> |
4759 | cbradney | 2420 | <source>getFontSize(["name"]) -> float |
1135 | cbradney | 2421 | |
2422 | Returns the font size in points for the text frame "name". If this text |
||
2423 | frame has some text selected the value assigned to the first character of |
||
2424 | the selection is returned. |
||
2425 | If "name" is not given the currently selected item is used. |
||
2426 | </source> |
||
12612 | cbradney | 2427 | <translation type="unfinished">getFontSize(["name"]) -> float |
1234 | cbradney | 2428 | |
2429 | Повертає розмір шрифта в тчк для текстової рамки з назвою "name". Якщо в цій |
||
2430 | текстовій рамці вибрано частину тексту, то функція повертає значення для |
||
4759 | cbradney | 2431 | першого знака вибірки. Якщо "name" не вказане, буде використано активний об'єкт.</translation> |
1135 | cbradney | 2432 | </message> |
2433 | <message> |
||
14474 | cbradney | 2434 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/> |
12918 | cbradney | 2435 | <source>getFont(["name"]) -> string |
2436 | |||
2437 | Returns the font name for the text frame "name". If this text frame |
||
2438 | has some text selected the value assigned to the first character |
||
2439 | of the selection is returned. If "name" is not given the currently |
||
2440 | selected item is used. |
||
2441 | </source> |
||
2442 | <translation type="unfinished">getFont(["name"]) -> string |
||
2443 | |||
2444 | Повертає ім'я шрифта в текстовій рамці "name". Якщо частина текста |
||
2445 | в цій рамці виділена, то повертає значення для першого знака вибірки. |
||
2446 | Якщо "name" не вказане - повертає значення для активного об'єкту.</translation> |
||
2447 | </message> |
||
2448 | <message> |
||
14474 | cbradney | 2449 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/> |
12918 | cbradney | 2450 | <source>getTextLength(["name"]) -> integer |
2451 | |||
2452 | Returns the length of the text in the text frame "name". |
||
2453 | If "name" is not given the currently selected item is used. |
||
2454 | </source> |
||
2455 | <translation type="unfinished">getTextLength(["name"]) -> integer |
||
2456 | |||
2457 | Повертає довжину тексту в текстовій рамці з ім'ям "name". |
||
2458 | Якщо "name" не вказане, то використовується активний |
||
2459 | об'єкт.</translation> |
||
2460 | </message> |
||
2461 | <message> |
||
14474 | cbradney | 2462 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/> |
12918 | cbradney | 2463 | <source>getTextLines(["name"]) -> integer |
2464 | |||
2465 | Returns the number of lines of the text in the text frame "name". |
||
2466 | If "name" is not given the currently selected item is used. |
||
2467 | </source> |
||
2468 | <translation type="unfinished"></translation> |
||
2469 | </message> |
||
2470 | <message> |
||
14474 | cbradney | 2471 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/> |
12918 | cbradney | 2472 | <source>getText(["name"]) -> string |
2473 | |||
2474 | Returns the text of the text frame "name". If this text frame has some text |
||
2475 | selected, the selected text is returned. All text in the frame, not just |
||
2476 | currently visible text, is returned. If "name" is not given the currently |
||
2477 | selected item is used. |
||
2478 | </source> |
||
2479 | <translation type="unfinished">getText(["name"]) -> string |
||
2480 | |||
2481 | Повертає текст з текстової рамки "name". Якщо в цій рамці частина тексту |
||
2482 | виділена, то повертає виділений текст. Повертає весь текст в рамці, а не |
||
2483 | тільки видиму частину. Якщо "name" не вказане, то використовується |
||
2484 | активний об'єкт. |
||
2485 | </translation> |
||
2486 | </message> |
||
2487 | <message> |
||
14474 | cbradney | 2488 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/> |
12918 | cbradney | 2489 | <source>getAllText(["name"]) -> string |
2490 | |||
2491 | Returns the text of the text frame "name" and of all text frames which are |
||
2492 | linked with this frame. If this textframe has some text selected, the selected |
||
2493 | text is returned. If "name" is not given the currently selected item is |
||
2494 | used. |
||
2495 | </source> |
||
2496 | <translation type="unfinished">getAllText(["name"]) -> string |
||
2497 | |||
2498 | Повертає текст із текстової рамки "name" і всіх текстових рамок зв'язаних з нею. |
||
2499 | Якщо в цій рамці частина тексту виділена, то повертає виділений текст. Якщо |
||
2500 | "name" не вказано, то використовується активний об'єкт. |
||
2501 | </translation> |
||
2502 | </message> |
||
2503 | <message> |
||
14474 | cbradney | 2504 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/> |
12918 | cbradney | 2505 | <source>getLineSpacing(["name"]) -> float |
2506 | |||
2507 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
2508 | points. If "name" is not given the currently selected item is used. |
||
2509 | </source> |
||
2510 | <translation type="unfinished">getLineSpacing(["name"]) -> float |
||
2511 | |||
2512 | Повертає міжрядковий інтервал ("leading") текстової рамки з ім'ям "name", |
||
2513 | виражений в точках. Якщо "name" не вказано, то використовується активний |
||
2514 | об'єкт.</translation> |
||
2515 | </message> |
||
2516 | <message> |
||
14474 | cbradney | 2517 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/> |
12918 | cbradney | 2518 | <source>getTextDistances(["name"]) -> tuple |
2519 | |||
2520 | Returns the text distances of the text frame "name" expressed in points. The |
||
2521 | distances are returned as a tuple like (left, right, top, bottom). If "name" |
||
2522 | is not given the currently selected item is used. |
||
2523 | </source> |
||
2524 | <translation type="unfinished"></translation> |
||
2525 | </message> |
||
2526 | <message> |
||
14474 | cbradney | 2527 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/> |
12918 | cbradney | 2528 | <source>getColumnGap(["name"]) -> float |
2529 | |||
2530 | Returns the column gap size of the text frame "name" expressed in points. If |
||
2531 | "name" is not given the currently selected item is used. |
||
2532 | </source> |
||
2533 | <translation type="unfinished">getColumnGap(["name"]) -> float |
||
2534 | |||
2535 | Повертає розмір інтервалу між колонками тексту в текстовій рамці "name", |
||
2536 | виражений в точках. Якщо "name" не задано, використовується активний |
||
2537 | об'єкт.</translation> |
||
2538 | </message> |
||
2539 | <message> |
||
14474 | cbradney | 2540 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/> |
12918 | cbradney | 2541 | <source>getColumns(["name"]) -> integer |
2542 | |||
2543 | Gets the number of columns of the text frame "name". If "name" is not |
||
2544 | given the currently selected item is used. |
||
2545 | </source> |
||
2546 | <translation type="unfinished">getColumns(["name"]) -> integer |
||
2547 | |||
2548 | Повертає число колонок тексту в текстовій рамці "name". Якщо "name" |
||
2549 | не вказано, використовується активний об'єкт.</translation> |
||
2550 | </message> |
||
2551 | <message> |
||
14474 | cbradney | 2552 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/> |
12918 | cbradney | 2553 | <source>setText("text", ["name"]) |
2554 | |||
2555 | Sets the text of the text frame "name" to the text of the string "text". |
||
2556 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
||
2557 | for more details. If "name" is not given the currently selected item is |
||
2558 | used. |
||
2559 | </source> |
||
2560 | <translation type="unfinished">setText("text", ["name"]) |
||
2561 | |||
2562 | Змінює текст в текстовій рамці "name" на зміст текстової змінної "text". |
||
2563 | Текст має бути в кодуванні UTF8 - використовуйте, наприклад, |
||
2564 | unicode(text, 'iso-8859-2'). Додаткова інформація по цьому приводу |
||
2565 | розміщена в часто задаваних питаннях. Якщо "name" не вказано, то |
||
2566 | використовується активний об'єкт.</translation> |
||
2567 | </message> |
||
2568 | <message> |
||
14474 | cbradney | 2569 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/> |
12918 | cbradney | 2570 | <source>insertText("text", pos, ["name"]) |
2571 | |||
2572 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2573 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2574 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2575 | not given the currently selected Item is used. |
||
2576 | |||
2577 | May throw IndexError for an insertion out of bounds. |
||
2578 | </source> |
||
2579 | <translation type="unfinished"></translation> |
||
2580 | </message> |
||
2581 | <message> |
||
14474 | cbradney | 2582 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/> |
12918 | cbradney | 2583 | <source>setFont("font", ["name"]) |
2584 | |||
2585 | Sets the font of the text frame "name" to "font". If there is some text |
||
2586 | selected only the selected text is changed. If "name" is not given the |
||
2587 | currently selected item is used. |
||
2588 | |||
2589 | May throw ValueError if the font cannot be found. |
||
2590 | </source> |
||
2591 | <translation type="unfinished">setFont("font", ["name"]) |
||
2592 | |||
2593 | Установлює шрифт текстової рамки "name" до "font". Якщо вибрана лише |
||
2594 | частина тексту в рамці то зміна шрифта відноситься лише до неї. Якщо |
||
2595 | "name" не вказано, то використовується активний об'єкт. |
||
2596 | |||
2597 | Може повернути ValueError, якщо шрифт не може бути знайдено. |
||
2598 | </translation> |
||
2599 | </message> |
||
2600 | <message> |
||
14474 | cbradney | 2601 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/> |
12918 | cbradney | 2602 | <source>setFontSize(size, ["name"]) |
2603 | |||
2604 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
2605 | as a value in points. If there is some text selected only the selected text is |
||
2606 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
2607 | currently selected item is used. |
||
2608 | |||
2609 | May throw ValueError for a font size that's out of bounds. |
||
2610 | </source> |
||
2611 | <translation type="unfinished">setFontSize(size, ["name"]) |
||
2612 | |||
2613 | Установлює розмір шрифта в текстовій рамці "name" до розміру "size". |
||
2614 | Значення "size" визначається в точках. Якщо в рамці вибрана частина |
||
2615 | тексту, то зміна розміру шрифта відноситься лише до неї. Діапазон "size" |
||
2616 | від 1 до 512. Якщо "name" не вказано, то використовується активний |
||
2617 | об'єкт. |
||
2618 | |||
2619 | Може повернути помилку ValueError, якщо розмір шрифта виходить за |
||
2620 | дозволений діапазон.</translation> |
||
2621 | </message> |
||
2622 | <message> |
||
14474 | cbradney | 2623 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/> |
12918 | cbradney | 2624 | <source>setLineSpacing(size, ["name"]) |
2625 | |||
2626 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
2627 | "size" is a value in points. If "name" is not given the currently selected |
||
2628 | item is used. |
||
2629 | |||
2630 | May throw ValueError if the line spacing is out of bounds. |
||
2631 | </source> |
||
2632 | <translation type="unfinished">setLineSpacing(size, ["name"]) |
||
2633 | |||
2634 | Установлює міжрядковий інтервал (початковий) в текстовій рамці "name" |
||
2635 | до розміру "size". Значення "size" виражається в точках. Якщо "name" не |
||
2636 | вказано, використовується активний об'єкт. |
||
2637 | |||
2638 | Може повернути помилку ValueError, якщо значення інтервалу виходить |
||
2639 | за доступний діапазон. |
||
2640 | </translation> |
||
2641 | </message> |
||
2642 | <message> |
||
14474 | cbradney | 2643 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/> |
2644 | <source>setLineSpacingMode(mode, ["name"]) |
||
2645 | |||
2646 | Sets the line spacing mode of the text frame "name" to "mode". |
||
2647 | If "name" is not given the currently selected |
||
2648 | item is used. |
||
2649 | Mode values are the same as in createParagraphStyle. |
||
2650 | |||
2651 | May throw ValueError if the mode is out of bounds. |
||
2652 | </source> |
||
2653 | <translation type="unfinished"></translation> |
||
2654 | </message> |
||
2655 | <message> |
||
2656 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/> |
||
12918 | cbradney | 2657 | <source>setTextDistances(left, right, top, bottom, ["name"]) |
2658 | |||
2659 | Sets the text distances of the text frame "name" to the values "left" |
||
2660 | "right", "top" and "bottom". If "name" is not given the currently |
||
2661 | selected item is used. |
||
2662 | |||
2663 | May throw ValueError if any of the distances are out of bounds (must be positive). |
||
2664 | </source> |
||
2665 | <translation type="unfinished"></translation> |
||
2666 | </message> |
||
2667 | <message> |
||
14474 | cbradney | 2668 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/> |
12918 | cbradney | 2669 | <source>setColumnGap(size, ["name"]) |
2670 | |||
2671 | Sets the column gap of the text frame "name" to the value "size". If |
||
2672 | "name" is not given the currently selected item is used. |
||
2673 | |||
2674 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
2675 | </source> |
||
2676 | <translation type="unfinished">setColumnGap(size, ["name"]) |
||
2677 | |||
2678 | Установлює проміжок між колонками в текстовій рамці "name" до значення |
||
2679 | "size". Якщо "name" не задано, використовується активний об'єкт. |
||
2680 | |||
2681 | Може повернути помилку ValueError, якщо проміжок між колонками виходить |
||
2682 | за доступний діапазон (повинен бути позитивним). |
||
2683 | </translation> |
||
2684 | </message> |
||
2685 | <message> |
||
14474 | cbradney | 2686 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/> |
12918 | cbradney | 2687 | <source>setColumns(nr, ["name"]) |
2688 | |||
2689 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
2690 | If "name" is not given the currently selected item is used. |
||
2691 | |||
2692 | May throw ValueError if number of columns is not at least one. |
||
2693 | </source> |
||
2694 | <translation type="unfinished">setColumns(nr, ["name"]) |
||
2695 | |||
2696 | Установлює число колонок в текстовій рамці "name" до цілого числа "nr". |
||
2697 | Якщо "name" не задано, використовується активний об'єкт. |
||
2698 | |||
2699 | Може повернути помилку ValueError, якщо не вказана хоч одна колонка. |
||
2700 | </translation> |
||
2701 | </message> |
||
2702 | <message> |
||
14474 | cbradney | 2703 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/> |
12918 | cbradney | 2704 | <source>setTextAlignment(align, ["name"]) |
2705 | |||
2706 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
2707 | If "name" is not given the currently selected item is used. "align" should |
||
2708 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
2709 | |||
2710 | May throw ValueError for an invalid alignment constant. |
||
2711 | </source> |
||
2712 | <translation type="unfinished">setTextAlignment(align, ["name"]) |
||
2713 | |||
2714 | Установлює вирівнювання тексту в текстовій рамці "name" до вказаного. |
||
2715 | Якщо "name" не вказано, використовується активний об'єкт. "align" повинне |
||
2716 | дорівнювати одній з констант ALIGN_ constants визначених в цьому модулі - |
||
2717 | дивіться в dir(scribus). |
||
2718 | |||
2719 | Може повернути помилку ValueError, якщо константа вирівнювання задана |
||
2720 | невірно. |
||
2721 | </translation> |
||
2722 | </message> |
||
2723 | <message> |
||
14474 | cbradney | 2724 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/> |
12918 | cbradney | 2725 | <source>selectText(start, count, ["name"]) |
2726 | |||
2727 | Selects "count" characters of text in the text frame "name" starting from the |
||
2728 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2729 | text selection will be cleared. If "name" is not given the currently |
||
2730 | selected item is used. |
||
2731 | |||
2732 | May throw IndexError if the selection is outside the bounds of the text. |
||
2733 | </source> |
||
2734 | <translation type="unfinished">selectText(start, count, ["name"]) |
||
2735 | |||
2736 | Вибирає "count" число знаків тексту в текстовій рамці "name", починаючи з |
||
2737 | знака "start". Рахунок знаків починається з 0. Якщо "count" дорівнює нулю, |
||
2738 | текстова вибірка буде знята. Якщо "name" не задано, буде використано |
||
2739 | активний об'єкт. |
||
2740 | |||
2741 | Може повернути помилку IndexError, якщо вибірка виходить за межі |
||
2742 | тексту. |
||
2743 | </translation> |
||
2744 | </message> |
||
2745 | <message> |
||
14474 | cbradney | 2746 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/> |
12918 | cbradney | 2747 | <source>deleteText(["name"]) |
2748 | |||
2749 | Deletes any text in the text frame "name". If there is some text selected, |
||
2750 | only the selected text will be deleted. If "name" is not given the currently |
||
2751 | selected item is used. |
||
2752 | </source> |
||
2753 | <translation type="unfinished">deleteText(["name"]) |
||
2754 | |||
2755 | Видаляє весь текст в текстовій рамці "name". Якщо частина тексту вибрана |
||
2756 | то видаляється лише вона. Якщо "name" не задано, використовується |
||
2757 | активний об'єкт. |
||
2758 | </translation> |
||
2759 | </message> |
||
2760 | <message> |
||
14474 | cbradney | 2761 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/> |
12918 | cbradney | 2762 | <source>setTextColor("color", ["name"]) |
2763 | |||
2764 | Sets the text color of the text frame "name" to the color "color". If there |
||
2765 | is some text selected only the selected text is changed. If "name" is not |
||
2766 | given the currently selected item is used. |
||
2767 | </source> |
||
2768 | <translation type="unfinished">setTextColor("color", ["name"]) |
||
2769 | |||
2770 | Установлює колір тексту в текстовій рамці "name" до кольору "color". Якщо |
||
2771 | частина тексту вибрана - змінюється лише вона. Якщо "name" не задано, |
||
2772 | використовується активний об'єкт. |
||
2773 | </translation> |
||
2774 | </message> |
||
2775 | <message> |
||
14474 | cbradney | 2776 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/> |
12918 | cbradney | 2777 | <source>setTextStroke("color", ["name"]) |
2778 | |||
2779 | Set "color" of the text stroke. If "name" is not given the currently |
||
2780 | selected item is used. |
||
2781 | </source> |
||
2782 | <translation type="unfinished">setTextStroke("color", ["name"]) |
||
2783 | |||
2784 | Установлює колір "color" текстового контура. Якщо "name" не задано, |
||
2785 | використовується активний об'єкт. |
||
2786 | </translation> |
||
2787 | </message> |
||
2788 | <message> |
||
14474 | cbradney | 2789 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/> |
2790 | <source>setTextScalingV(scale, ["name"]) |
||
2791 | |||
2792 | Sets the vertical character scaling of the object "name" to "scale" in percent. |
||
2793 | If "name" is not given the currently selected item is used. |
||
2794 | </source> |
||
2795 | <translation type="unfinished"></translation> |
||
2796 | </message> |
||
2797 | <message> |
||
2798 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/> |
||
2799 | <source>setTextScalingH(scale, ["name"]) |
||
2800 | |||
2801 | Sets the horizontal character scaling of the object "name" to "scale" in percent. |
||
2802 | If "name" is not given the currently selected item is used. |
||
2803 | </source> |
||
2804 | <translation type="unfinished"></translation> |
||
2805 | </message> |
||
2806 | <message> |
||
2807 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/> |
||
12918 | cbradney | 2808 | <source>setTextShade(shade, ["name"]) |
2809 | |||
2810 | Sets the shading of the text color of the object "name" to "shade". If |
||
2811 | there is some text selected only the selected text is changed. "shade" must |
||
2812 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
2813 | intensity). If "name" is not given the currently selected item is |
||
2814 | used. |
||
2815 | </source> |
||
2816 | <translation type="unfinished">setTextShade(shade, ["name"]) |
||
2817 | |||
2818 | Установлює тінь кольору тексту об'єкта "name" до "shade". Якщо |
||
2819 | частина тексту вибрана - змінюється лише вона. "shade" має бути |
||
2820 | цілим числом від 0 (найсвітліша) до 100 (повна насиченість кольору). |
||
2821 | Якщо "name" не задано, використовується активний об'єкт. |
||
2822 | </translation> |
||
2823 | </message> |
||
2824 | <message> |
||
14474 | cbradney | 2825 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/> |
12918 | cbradney | 2826 | <source>linkTextFrames("fromname", "toname") |
2827 | |||
2828 | Link two text frames. The frame named "fromname" is linked to the |
||
2829 | frame named "toname". The target frame must be an empty text frame |
||
2830 | and must not link to or be linked from any other frames already. |
||
2831 | |||
2832 | May throw ScribusException if linking rules are violated. |
||
2833 | </source> |
||
2834 | <translation type="unfinished">linkTextFrames("fromname", "toname") |
||
2835 | |||
2836 | Зв'язує дві текстові рамки. Рамка з ім'ям "fromname" приєднується до |
||
2837 | рамки з ім'ям "toname". Кінцева рамка має бути пустою текстовою |
||
2838 | рамкою і не повинна бути з'єднана ні з якою іншою рамкою. |
||
2839 | |||
2840 | Може повернути помилку ScribusException, якщо відбувається порушення |
||
2841 | правил зв'язування рамок. |
||
2842 | </translation> |
||
2843 | </message> |
||
2844 | <message> |
||
14474 | cbradney | 2845 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/> |
12918 | cbradney | 2846 | <source>unlinkTextFrames("name") |
2847 | |||
2848 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
2849 | frame was in the middle of a chain, the previous and next frames will be |
||
2850 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
||
2851 | |||
2852 | May throw ScribusException if linking rules are violated. |
||
2853 | </source> |
||
2854 | <translation type="unfinished">unlinkTextFrames("name") |
||
2855 | |||
2856 | Видаляє вказаний (названий) об'єкт з ланцюжка зв'язаних текстових |
||
2857 | рамок. Якщо рамка знаходиться всередині ланцюжка, то рамки, які |
||
2858 | знаходилися перед і після неї будуть з'єднані, наприклад 'a->b->c' |
||
2859 | зміниться на 'a->c', при виконанні unlinkTextFrames(b)' |
||
2860 | |||
2861 | Може повернути помилку ScribusException при порушенні правил |
||
2862 | з'єднання рамок. |
||
2863 | </translation> |
||
2864 | </message> |
||
2865 | <message> |
||
14474 | cbradney | 2866 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/> |
12918 | cbradney | 2867 | <source>traceText(["name"]) |
2868 | |||
2869 | Convert the text frame "name" to outlines. If "name" is not given the |
||
2870 | currently selected item is used.</source> |
||
2871 | <translation type="unfinished">traceText(["name"]) |
||
2872 | |||
2873 | Конвертує текстову рамку "name" в контурний текст. Якщо "name" |
||
2874 | не вказано, використовується активний об'єкт.</translation> |
||
2875 | </message> |
||
2876 | <message> |
||
14474 | cbradney | 2877 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/> |
12918 | cbradney | 2878 | <source>textOverflows(["name", nolinks]) -> integer |
2879 | |||
2880 | Returns the actual number of overflowing characters in text frame "name". |
||
2881 | If is nolinks set to non zero value it takes only one frame - it doesn't |
||
2882 | use text frame linking. Without this parameter it search all linking chain. |
||
2883 | |||
2884 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2885 | </source> |
||
2886 | <translation type="unfinished">textOverflows(["name", nolinks]) -> ціле число |
||
2887 | |||
2888 | Повертає дійсне число знаків, які виходять за межі текстової рамки "name". |
||
2889 | Якщо nolinks не дорівнює нулю, опрацьовується лише одна рамка. Зв'язування рамок не грає ролі. При відсутності цього параметра пошук проводиться по всіх зв'язаних рамках. |
||
2890 | |||
2891 | Може повернути помилку WrongFrameTypeError, якщо цільова рамка не являється текстовою</translation> |
||
2892 | </message> |
||
2893 | <message> |
||
14474 | cbradney | 2894 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/> |
12918 | cbradney | 2895 | <source>hyphenateText(["name"]) -> bool |
2896 | |||
2897 | Does hyphenation on text frame "name". |
||
2898 | If "name" is not given the currently selected item is used. |
||
2899 | |||
2900 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2901 | </source> |
||
2902 | <translation type="unfinished"></translation> |
||
2903 | </message> |
||
2904 | <message> |
||
14474 | cbradney | 2905 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/> |
12918 | cbradney | 2906 | <source>dehyphenateText(["name"]) -> bool |
2907 | |||
2908 | Does dehyphenation on text frame "name". |
||
2909 | If "name" is not given the currently selected item is used. |
||
2910 | |||
2911 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2912 | </source> |
||
2913 | <translation type="unfinished"></translation> |
||
2914 | </message> |
||
2915 | <message> |
||
14474 | cbradney | 2916 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/> |
12918 | cbradney | 2917 | <source>setPDFBookmark("toggle", ["name"]) |
2918 | |||
2919 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
2920 | If "name" is not given the currently selected item is used. |
||
2921 | |||
2922 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2923 | </source> |
||
2924 | <translation type="unfinished"></translation> |
||
2925 | </message> |
||
2926 | <message> |
||
14474 | cbradney | 2927 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/> |
12918 | cbradney | 2928 | <source>isPDFBookmark(["name"]) -> bool |
2929 | |||
2930 | Returns true if the text frame "name" is a PDF bookmark. |
||
2931 | If "name" is not given the currently selected item is used. |
||
2932 | |||
2933 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2934 | </source> |
||
2935 | <translation type="unfinished">isPDFBookmark(["name"]) -> bool |
||
2936 | |||
2937 | Повертає булеве значення true, якщо текстова рамка "name" є закладкою PDF. |
||
2938 | Якщо "name" не задано, буде використано активний об'єкт. |
||
2939 | |||
2940 | Може повернути помилку WrongFrameTypeError, якщо задана рамка не |
||
2941 | являється текстовою |
||
2942 | </translation> |
||
2943 | </message> |
||
2944 | <message> |
||
14474 | cbradney | 2945 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/> |
12918 | cbradney | 2946 | <source>messagebarText("string") |
2947 | |||
2948 | Writes the "string" into the Scribus message bar (status line). The text |
||
2949 | must be UTF8 encoded or 'unicode' string(recommended). |
||
2950 | </source> |
||
2951 | <translation type="unfinished">messagebarText("string") |
||
2952 | |||
2953 | Поміщає строкову величину "string" в панель повідомлень Scribus (полоса статусу). |
||
2954 | Текст має бути в UTF8 кодуванні або строковою величиною 'unicode' (рекомендовано). |
||
2955 | </translation> |
||
2956 | </message> |
||
2957 | <message> |
||
14474 | cbradney | 2958 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/> |
12918 | cbradney | 2959 | <source>progressReset() |
2960 | |||
2961 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
2962 | new progress bar use. See progressSet. |
||
2963 | </source> |
||
2964 | <translation type="unfinished">progressReset() |
||
2965 | |||
2966 | Видалає попередні установки панелі прогресу. Викликається до нового |
||
2967 | використання панелі. Див. progressSet. |
||
2968 | </translation> |
||
2969 | </message> |
||
2970 | <message> |
||
14474 | cbradney | 2971 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/> |
12918 | cbradney | 2972 | <source>progressTotal(max) |
2973 | |||
2974 | Sets the progress bar's maximum steps value to the specified number. |
||
2975 | See progressSet. |
||
2976 | </source> |
||
2977 | <translation type="unfinished">progressTotal(max) |
||
2978 | |||
2979 | Установлює максимальне значення для панелі прогресу до заданого |
||
2980 | число. Див. progressSet. |
||
2981 | </translation> |
||
2982 | </message> |
||
2983 | <message> |
||
14474 | cbradney | 2984 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/> |
12918 | cbradney | 2985 | <source>progressSet(nr) |
2986 | |||
2987 | Set the progress bar position to "nr", a value relative to the previously set |
||
2988 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
2989 | total number of steps and the number of steps completed so far and it will |
||
2990 | display the percentage of steps that have been completed. You can specify the |
||
2991 | total number of steps with progressTotal(). The current number of steps is set |
||
2992 | with progressSet(). The progress bar can be rewound to the beginning with |
||
2993 | progressReset(). [based on info taken from Trolltech's Qt docs] |
||
2994 | </source> |
||
2995 | <translation type="unfinished">progressSet(nr) |
||
2996 | |||
2997 | Установлює позицію панелі прогресу до значення "nr" відносно |
||
2998 | попередньо вираженого значення progressTotal. Панель прогресу |
||
2999 | виражає концепцію сходинок - задається загальне число сходинок |
||
3000 | та число пройдених сходинок і панель буде показувати прогрес |
||
3001 | проходження сходинок у відсотках від завершення. Сумма сходинок |
||
3002 | задається значенням progressTotal(). Активне число сходинок |
||
3003 | установлюється за допомогою progressSet(). Панель прогресу може |
||
3004 | бути повернена на початок за допомогою progressReset(). [основано |
||
3005 | на документації фірми Trolltech's по Qt] |
||
3006 | </translation> |
||
3007 | </message> |
||
3008 | <message> |
||
14474 | cbradney | 3009 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/> |
12918 | cbradney | 3010 | <source>setCursor() |
3011 | |||
3012 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
3013 | </source> |
||
3014 | <translation type="unfinished">setCursor() |
||
3015 | |||
3016 | [НЕ ПІДТРИМУЄТЬСЯ!] Може призвести до помилок в роботі програми. |
||
3017 | Поки що не використовуйте. |
||
3018 | </translation> |
||
3019 | </message> |
||
3020 | <message> |
||
14474 | cbradney | 3021 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/> |
12918 | cbradney | 3022 | <source>docChanged(bool) |
3023 | |||
3024 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
||
3025 | useful to call this procedure when you're changing the document, because Scribus |
||
3026 | won't automatically notice when you change the document using a script. |
||
3027 | </source> |
||
3028 | <translation type="unfinished">docChanged(булеве значення) |
||
3029 | |||
3030 | Ввімкнути/вимкнути іконку запису на панелі іконокScribus та в меню "Записати". |
||
3031 | Використовуйте цю функцію при зміні документа, тому що Scribus не реєструє |
||
3032 | змін автоматично при роботі сценарія. |
||
3033 | </translation> |
||
3034 | </message> |
||
3035 | <message> |
||
14474 | cbradney | 3036 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/> |
12918 | cbradney | 3037 | <source>zoomDocument(double) |
3038 | |||
3039 | Zoom the document in main GUI window. Actions have whole number |
||
3040 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
3041 | </source> |
||
3042 | <translation type="unfinished">zoomDocument(double) |
||
3043 | |||
3044 | Збільшує масштаб документа в головному вікні. Значення збільшення |
||
3045 | встановлюється в числах типу 20.0, 100.0, і т.д. Збільшити до розміру вікна |
||
3046 | використовує -100 як позначку. |
||
3047 | </translation> |
||
3048 | </message> |
||
3049 | <message> |
||
14474 | cbradney | 3050 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/> |
12918 | cbradney | 3051 | <source>scrollDocument(x,y) |
3052 | |||
3053 | Scroll the document in main GUI window by x and y. |
||
3054 | </source> |
||
3055 | <translation type="unfinished"></translation> |
||
3056 | </message> |
||
3057 | <message> |
||
14474 | cbradney | 3058 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/> |
3059 | <source>createParagraphStyle(...) |
||
12918 | cbradney | 3060 | |
14474 | cbradney | 3061 | Creates a paragraph style. This function takes the following keyword parameters: |
12918 | cbradney | 3062 | |
14474 | cbradney | 3063 | "name" [required] -> specifies the name of the paragraphstyle to create |
12918 | cbradney | 3064 | |
14474 | cbradney | 3065 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
12918 | cbradney | 3066 | |
14474 | cbradney | 3067 | fixed linespacing: 0 |
12918 | cbradney | 3068 | |
14474 | cbradney | 3069 | automatic linespacing: 1 |
12918 | cbradney | 3070 | |
14474 | cbradney | 3071 | baseline grid linespacing: 2 |
12918 | cbradney | 3072 | |
14474 | cbradney | 3073 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
12918 | cbradney | 3074 | |
14474 | cbradney | 3075 | alignment [optional] -> specifies the alignment of the paragraph |
13279 | cbradney | 3076 | |
14474 | cbradney | 3077 | -> left: 0 |
13279 | cbradney | 3078 | |
14474 | cbradney | 3079 | -> center: 1 |
13279 | cbradney | 3080 | |
14474 | cbradney | 3081 | -> right: 2 |
13279 | cbradney | 3082 | |
14474 | cbradney | 3083 | -> justify: 3 |
3084 | |||
3085 | -> extend: 4 |
||
3086 | |||
3087 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
3088 | |||
3089 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
3090 | |||
3091 | firstindent [optional] -> the indent of the first line |
||
3092 | |||
3093 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
3094 | |||
3095 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
3096 | |||
3097 | dropcapoffset [optional] -> offset of the caps if used |
||
3098 | |||
3099 | "charstyle" [optional] -> char style to use |
||
3100 | |||
13279 | cbradney | 3101 | </source> |
3102 | <translation type="unfinished"></translation> |
||
3103 | </message> |
||
3104 | <message> |
||
14474 | cbradney | 3105 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/> |
3106 | <source>createCharStyle(...) |
||
13279 | cbradney | 3107 | |
14474 | cbradney | 3108 | Creates a character style. This function takes the following keyword parameters: |
13279 | cbradney | 3109 | |
14474 | cbradney | 3110 | "name" [required] -> name of the char style to create |
3111 | |||
3112 | "font" [optional] -> name of the font to use |
||
3113 | |||
3114 | fontsize [optional] -> font size to set (double) |
||
3115 | |||
3116 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
3117 | |||
3118 | -> inherit |
||
3119 | |||
3120 | -> bold |
||
3121 | |||
3122 | -> italic |
||
3123 | |||
3124 | -> underline |
||
3125 | |||
3126 | -> underlinewords |
||
3127 | |||
3128 | -> strike |
||
3129 | |||
3130 | -> superscript |
||
3131 | |||
3132 | -> subscript |
||
3133 | |||
3134 | -> outline |
||
3135 | |||
3136 | -> shadowed |
||
3137 | |||
3138 | -> allcaps |
||
3139 | |||
3140 | -> smallcaps |
||
3141 | |||
3142 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
3143 | |||
3144 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
3145 | |||
3146 | baselineoffset [optional] -> offset of the baseline |
||
3147 | |||
3148 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
3149 | |||
3150 | outlinewidth [optional] -> width of the outline if used |
||
3151 | |||
3152 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
3153 | |||
3154 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
3155 | |||
3156 | scaleh [optional], scalev [optional] -> scale of the chars |
||
3157 | |||
3158 | tracking [optional] -> tracking of the text |
||
3159 | |||
3160 | "language" [optional] -> language code |
||
3161 | |||
13279 | cbradney | 3162 | </source> |
3163 | <translation type="unfinished"></translation> |
||
3164 | </message> |
||
3165 | <message> |
||
14474 | cbradney | 3166 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/> |
3167 | <source>placeSVG("filename", x, y) |
||
13279 | cbradney | 3168 | |
14474 | cbradney | 3169 | Places the SVG "filename" onto the current page, |
3170 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
13279 | cbradney | 3171 | |
14474 | cbradney | 3172 | If loading was successful, the selection contains the imported SVG |
13279 | cbradney | 3173 | </source> |
3174 | <translation type="unfinished"></translation> |
||
3175 | </message> |
||
3176 | <message> |
||
14474 | cbradney | 3177 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/> |
3178 | <source>placeEPS("filename", x, y) |
||
13279 | cbradney | 3179 | |
14474 | cbradney | 3180 | Places the EPS "filename" onto the current page, |
3181 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
3182 | |||
3183 | If loading was successful, the selection contains the imported EPS |
||
13279 | cbradney | 3184 | </source> |
3185 | <translation type="unfinished"></translation> |
||
3186 | </message> |
||
3187 | <message> |
||
14474 | cbradney | 3188 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/> |
3189 | <source>placeSXD("filename", x, y) |
||
13279 | cbradney | 3190 | |
14474 | cbradney | 3191 | Places the SXD "filename" onto the current page, |
3192 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
3193 | |||
3194 | If loading was successful, the selection contains the imported SXD |
||
13279 | cbradney | 3195 | </source> |
3196 | <translation type="unfinished"></translation> |
||
3197 | </message> |
||
3198 | <message> |
||
14474 | cbradney | 3199 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/> |
3200 | <source>placeODG("filename", x, y) |
||
13279 | cbradney | 3201 | |
14474 | cbradney | 3202 | Places the ODG "filename" onto the current page, |
3203 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
3204 | |||
3205 | If loading was successful, the selection contains the imported ODG |
||
13279 | cbradney | 3206 | </source> |
3207 | <translation type="unfinished"></translation> |
||
3208 | </message> |
||
12918 | cbradney | 3209 | </context> |
3210 | <context> |
||
3211 | <name>@default</name> |
||
3212 | <message> |
||
3213 | <source>getFontSize(["name"]) -> float |
||
3214 | |||
3215 | Returns the font size in points for the text frame "name". If this text |
||
3216 | frame has some text selected the value assigned to the first character of |
||
3217 | the selection is returned. |
||
3218 | If "name" is not given the currently selected item is used. |
||
3219 | </source> |
||
3220 | <translation type="obsolete">getFontSize(["name"]) -> float |
||
3221 | |||
3222 | Повертає розмір шрифта в тчк для текстової рамки з назвою "name". Якщо в цій |
||
3223 | текстовій рамці вибрано частину тексту, то функція повертає значення для |
||
3224 | першого знака вибірки. Якщо "name" не вказане, буде використано активний об'єкт.</translation> |
||
3225 | </message> |
||
3226 | <message> |
||
4759 | cbradney | 3227 | <source>getColorNames() -> list |
1135 | cbradney | 3228 | |
3229 | Returns a list containing the names of all defined colors in the document. |
||
3230 | If no document is open, returns a list of the default document colors. |
||
3231 | </source> |
||
12918 | cbradney | 3232 | <translation type="obsolete">getColorNames() -> list |
1234 | cbradney | 3233 | |
3234 | Повертає список імен всіх кольорів визначених в документі. |
||
3235 | Якщо відкритий документ відсутній, повертає список основних |
||
3236 | кольорів.</translation> |
||
1135 | cbradney | 3237 | </message> |
3238 | <message> |
||
4759 | cbradney | 3239 | <source>newDocDialog() -> bool |
1135 | cbradney | 3240 | |
3241 | Displays the "New Document" dialog box. Creates a new document if the user |
||
3242 | accepts the settings. Does not create a document if the user presses cancel. |
||
3243 | Returns true if a new document was created. |
||
3244 | </source> |
||
12918 | cbradney | 3245 | <translation type="obsolete">newDocDialog() -> bool |
1234 | cbradney | 3246 | |
3247 | Показує діалогове вікно "Новий Документ". Створює новий документ, якщо |
||
3248 | користувач підтвердить установки. Не створює документ, якщо користувач |
||
3249 | вибирає кнопку "Вихід". Повернене значення дорівнює булевому "так", якщо |
||
3250 | документ було створено.</translation> |
||
1135 | cbradney | 3251 | </message> |
3252 | <message> |
||
4759 | cbradney | 3253 | <source>getFillColor(["name"]) -> string |
1135 | cbradney | 3254 | |
3255 | Returns the name of the fill color of the object "name". |
||
3256 | If "name" is not given the currently selected item is used. |
||
3257 | </source> |
||
12918 | cbradney | 3258 | <translation type="obsolete">getFillColor(["name"]) -> string |
1234 | cbradney | 3259 | |
4759 | cbradney | 3260 | Повертає ім'я кольору заповнення об'єкту під назвою 'name'. |
3261 | Якщо "name" не дано, то використовується активний об'єкт.</translation> |
||
1135 | cbradney | 3262 | </message> |
3263 | <message> |
||
4759 | cbradney | 3264 | <source>moveObject(dx, dy [, "name"]) |
1135 | cbradney | 3265 | |
3266 | Moves the object "name" by dx and dy relative to its current position. The |
||
3267 | distances are expressed in the current measurement unit of the document (see |
||
3268 | UNIT constants). If "name" is not given the currently selected item is used. |
||
3269 | If the object "name" belongs to a group, the whole group is moved. |
||
3270 | </source> |
||
12918 | cbradney | 3271 | <translation type="obsolete">moveObject(dx, dy [, "name"]) |
1234 | cbradney | 3272 | |
4759 | cbradney | 3273 | Зсовує об'єкт "name" на dx і dy відносно до його теперішньої позиції. Відстані |
1234 | cbradney | 3274 | визначаються активними одиницями виміру документа (див. константи Юнікс). |
4759 | cbradney | 3275 | Якщо "name" не дано, то використовується активний об'єкт. Якщо об'єкт "name" |
1234 | cbradney | 3276 | належить до групи, то рухається вся група. |
3277 | </translation> |
||
1135 | cbradney | 3278 | </message> |
3279 | <message> |
||
4759 | cbradney | 3280 | <source>setRedraw(bool) |
1135 | cbradney | 3281 | |
3282 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
3283 | This change will persist even after the script exits, so make sure to call |
||
3284 | setRedraw(True) in a finally: clause at the top level of your script. |
||
3285 | </source> |
||
12918 | cbradney | 3286 | <translation type="obsolete">setRedraw(bool) |
1234 | cbradney | 3287 | |
3288 | Відключає обновлення сторінки, якщо bool = False, в протилежному |
||
3289 | випадку обновлення ввімкнене. Ця установка залишається в силі |
||
3290 | навіть після закінчення роботи сценарія. Тому в кінці сценарія |
||
3291 | необхідно помістити виклик setRedraw(True) в умові finally: в верхньому |
||
3292 | рівні сценарія.</translation> |
||
1135 | cbradney | 3293 | </message> |
3294 | <message> |
||
4759 | cbradney | 3295 | <source>createRect(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 3296 | |
3297 | Creates a new rectangle on the current page and returns its name. The |
||
3298 | coordinates are given in the current measurement units of the document |
||
3299 | (see UNIT constants). "name" should be a unique identifier for the object |
||
3300 | because you need this name to reference that object in future. If "name" |
||
3301 | is not given Scribus will create one for you. |
||
3302 | |||
4759 | cbradney | 3303 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 3304 | </source> |
12918 | cbradney | 3305 | <translation type="obsolete">createRect(x, y, width, height, ["name"]) -> string |
1234 | cbradney | 3306 | |
4759 | cbradney | 3307 | Створює новий прямокутник на активній сторінці і повертаю його ім'я. Координати |
1234 | cbradney | 3308 | задаються в активних одиницях виміру документа (див. константи Юнікс). "name" |
4759 | cbradney | 3309 | має унікально ідентифікувати об'єкт, тому що воно буде необхідним для звернення |
3310 | до цього об'єкта в майбутньому. Якщо "name" не вказане, то Scribus вибере його |
||
1234 | cbradney | 3311 | сам. |
3312 | |||
4759 | cbradney | 3313 | Може повернути помилку NameExistsError якщо ви вкажете ім'я, яке вже було використане. |
1234 | cbradney | 3314 | </translation> |
1135 | cbradney | 3315 | </message> |
3316 | <message> |
||
4759 | cbradney | 3317 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1135 | cbradney | 3318 | |
3319 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
3320 | the same as for setFillColor() and setFillShade(). See the constants for |
||
4759 | cbradney | 3321 | available types (FILL_<type>). |
1135 | cbradney | 3322 | </source> |
12918 | cbradney | 3323 | <translation type="obsolete">setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1234 | cbradney | 3324 | |
4759 | cbradney | 3325 | Установлює заповнення градієнтом об'єкта "name" типом type. Описання |
1234 | cbradney | 3326 | кольорів застосовуються так же як і в setFillColor() та setFillShade(). Дивіться |
4759 | cbradney | 3327 | константи для доступних типів (FILL_<type>). |
1234 | cbradney | 3328 | </translation> |
1135 | cbradney | 3329 | </message> |
3330 | <message> |
||
4759 | cbradney | 3331 | <source>messagebarText("string") |
1135 | cbradney | 3332 | |
3333 | Writes the "string" into the Scribus message bar (status line). The text |
||
4759 | cbradney | 3334 | must be UTF8 encoded or 'unicode' string(recommended). |
1135 | cbradney | 3335 | </source> |
12918 | cbradney | 3336 | <translation type="obsolete">messagebarText("string") |
1234 | cbradney | 3337 | |
3338 | Поміщає строкову величину "string" в панель повідомлень Scribus (полоса статусу). |
||
4759 | cbradney | 3339 | Текст має бути в UTF8 кодуванні або строковою величиною 'unicode' (рекомендовано). |
1234 | cbradney | 3340 | </translation> |
1135 | cbradney | 3341 | </message> |
3342 | <message> |
||
4759 | cbradney | 3343 | <source>newPage(where [,"masterpage"]) |
1135 | cbradney | 3344 | |
3064 | cbradney | 3345 | Creates a new page. If "where" is -1 the new Page is appended to the |
3346 | document, otherwise the new page is inserted before "where". Page numbers are |
||
3347 | counted from 1 upwards, no matter what the displayed first page number of your |
||
3348 | document is. The optional parameter "masterpage" specifies the name of the |
||
3349 | master page for the new page. |
||
3350 | |||
3351 | May raise IndexError if the page number is out of range |
||
3352 | </source> |
||
12918 | cbradney | 3353 | <translation type="obsolete">newPage(where [,"masterpage"]) |
3443 | cbradney | 3354 | |
4759 | cbradney | 3355 | Створює нову сторінку. Якщо "where" дорівнює -1 то нова сторінка добавляється в кінець документа. В іншому випадку вона вставляється в документ перед "where". Номери сторінок внутрішньо рахуються з 1 вверх незважаючи на показаний номер документа. Необов'язковий параметр "masterpage" вказує на ім'я головної сторінки. |
3443 | cbradney | 3356 | |
3357 | Може повернути помилку IndexError, якщо номер сторінки виходить за можливий діапазон |
||
3358 | </translation> |
||
3064 | cbradney | 3359 | </message> |
3360 | <message> |
||
4759 | cbradney | 3361 | <source>importSVG("string") |
3064 | cbradney | 3362 | |
3363 | The "string" must be a valid filename for a SVG image. The text |
||
4759 | cbradney | 3364 | must be UTF8 encoded or 'unicode' string(recommended). |
3064 | cbradney | 3365 | </source> |
9729 | cbradney | 3366 | <translation type="obsolete">importSVG("string") |
3443 | cbradney | 3367 | |
4759 | cbradney | 3368 | Строкова величина "string" повинна містити ім"я файла з зображенням у форматі SVG. Текст повинет бути у кодуванні UTF8 або в строковій величині 'unicode' str (рекоменд.). |
3443 | cbradney | 3369 | </translation> |
3064 | cbradney | 3370 | </message> |
3824 | cbradney | 3371 | <message> |
4759 | cbradney | 3372 | <source>newDocument(size, margins, orientation, firstPageNumber, |
3373 | unit, pagesType, firstPageOrder) -> bool |
||
3824 | cbradney | 3374 | |
3375 | Creates a new document and returns true if successful. The parameters have the |
||
3376 | following meaning: |
||
3377 | |||
3378 | size = A tuple (width, height) describing the size of the document. You can |
||
4759 | cbradney | 3379 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3824 | cbradney | 3380 | |
3381 | margins = A tuple (left, right, top, bottom) describing the document |
||
3382 | margins |
||
3383 | |||
3384 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
3385 | |||
3386 | firstPageNumer = is the number of the first page in the document used for |
||
4759 | cbradney | 3387 | pagenumbering. While you'll usually want 1, it's useful to have higher |
3388 | numbers if you're creating a document in several parts. |
||
3824 | cbradney | 3389 | |
3390 | unit: this value sets the measurement units used by the document. Use a |
||
3391 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3392 | UNIT_PICAS, UNIT_POINTS. |
||
3393 | |||
3394 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
3395 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
3396 | PAGE_4 is 4-fold. |
||
3397 | |||
3398 | firstPageOrder = What is position of first page in the document. |
||
3399 | Indexed from 0 (0 = first). |
||
3400 | |||
3401 | The values for width, height and the margins are expressed in the given unit |
||
3402 | for the document. PAPER_* constants are expressed in points. If your document |
||
3403 | is not in points, make sure to account for this. |
||
3404 | |||
3405 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
3406 | PAGE_4, 3) |
||
3407 | |||
3408 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
3409 | </source> |
||
6434 | cbradney | 3410 | <translation type="obsolete">newDocument(size, margins, orientation, firstPageNumber, |
4759 | cbradney | 3411 | unit, pagesType, firstPageOrder) -> bool |
4444 | cbradney | 3412 | |
3413 | Створює новий документ та повертає true після успішного завершення. |
||
3414 | Параметри мають такі значення: |
||
3415 | |||
3416 | size (розмір) = Тупль (ширина, висота), який описує розмір документа. Ви |
||
4759 | cbradney | 3417 | можете використовувати визначені константи типу PAPER_<paper_type>, |
4444 | cbradney | 3418 | наприклад PAPER_A4 і т.п. |
3419 | |||
3420 | margins (поля) = Тупль (ліве, праве, верхнє, нижнє), який описує поля |
||
3421 | документа. |
||
3422 | |||
3423 | orientation (орієнтація) = Орієнтація сторінки - константи PORTRAIT, LANDSCAPE |
||
3424 | |||
3425 | firstPageNumer (номер першої сторінки) = Номер першої пронумерованої сторінки |
||
3426 | документа. В більшості випадків рахунок починається з 1, але може бути корисним |
||
3427 | і використання більших чисел при створенні документа з кількох частин. |
||
3428 | |||
3429 | unit (одиниця) = Це значення установлює одиниці виміру, які використувуються |
||
3430 | в документі. Використовуйте попередньо визначені константи типу UNIT_INCHES, |
||
3431 | UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
3432 | |||
3433 | pagesType (тип сторінок) = Одна з попередньо визначених констант PAGE_n. |
||
3434 | PAGE_1 - одинарна сторінка, |
||
3435 | PAGE_2 - для двохсторонніх документів, |
||
3436 | PAGE_3 - для 3-х сторінкових складок та |
||
3437 | PAGE_4 - для 4-х сторінкових складок. |
||
3438 | |||
3439 | firstPageOrder (порядок першої сторінки) = В якій позиції знаходиться перша |
||
3440 | пронумерована сторінка в документі. Індекс починається з 0. |
||
3441 | |||
3442 | Значення ширини, висоти та поля виражаються в одиницях виміру документа. |
||
3443 | Константи PAPER_* виражаються в точках. Якщо Ваш документ не вимірюється |
||
3444 | в точках, Ви маєте прийняти це до уваги. |
||
3445 | |||
3446 | Приклад: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
3447 | PAGE_4, 3) |
||
3448 | |||
3449 | Може повернути помилку ScribusError, якщо значення firstPageOrder виходить за |
||
3450 | дозволений для pagesType діапазон. |
||
3451 | </translation> |
||
3824 | cbradney | 3452 | </message> |
1135 | cbradney | 3453 | <message> |
4759 | cbradney | 3454 | <source>getFont(["name"]) -> string |
1135 | cbradney | 3455 | |
3456 | Returns the font name for the text frame "name". If this text frame |
||
3457 | has some text selected the value assigned to the first character |
||
3458 | of the selection is returned. If "name" is not given the currently |
||
3459 | selected item is used. |
||
3460 | </source> |
||
12918 | cbradney | 3461 | <translation type="obsolete">getFont(["name"]) -> string |
1234 | cbradney | 3462 | |
4759 | cbradney | 3463 | Повертає ім'я шрифта в текстовій рамці "name". Якщо частина текста |
1234 | cbradney | 3464 | в цій рамці виділена, то повертає значення для першого знака вибірки. |
4759 | cbradney | 3465 | Якщо "name" не вказане - повертає значення для активного об'єкту.</translation> |
1135 | cbradney | 3466 | </message> |
3467 | <message> |
||
4759 | cbradney | 3468 | <source>getTextLength(["name"]) -> integer |
1135 | cbradney | 3469 | |
3470 | Returns the length of the text in the text frame "name". |
||
3471 | If "name" is not given the currently selected item is used. |
||
3472 | </source> |
||
12918 | cbradney | 3473 | <translation type="obsolete">getTextLength(["name"]) -> integer |
1234 | cbradney | 3474 | |
4759 | cbradney | 3475 | Повертає довжину тексту в текстовій рамці з ім'ям "name". |
1234 | cbradney | 3476 | Якщо "name" не вказане, то використовується активний |
4759 | cbradney | 3477 | об'єкт.</translation> |
1135 | cbradney | 3478 | </message> |
3479 | <message> |
||
4759 | cbradney | 3480 | <source>getText(["name"]) -> string |
1135 | cbradney | 3481 | |
3482 | Returns the text of the text frame "name". If this text frame has some text |
||
3483 | selected, the selected text is returned. All text in the frame, not just |
||
3484 | currently visible text, is returned. If "name" is not given the currently |
||
3485 | selected item is used. |
||
3486 | </source> |
||
12918 | cbradney | 3487 | <translation type="obsolete">getText(["name"]) -> string |
1234 | cbradney | 3488 | |
3489 | Повертає текст з текстової рамки "name". Якщо в цій рамці частина тексту |
||
3490 | виділена, то повертає виділений текст. Повертає весь текст в рамці, а не |
||
3491 | тільки видиму частину. Якщо "name" не вказане, то використовується |
||
4759 | cbradney | 3492 | активний об'єкт. |
1234 | cbradney | 3493 | </translation> |
1135 | cbradney | 3494 | </message> |
3495 | <message> |
||
4759 | cbradney | 3496 | <source>getAllText(["name"]) -> string |
1135 | cbradney | 3497 | |
3498 | Returns the text of the text frame "name" and of all text frames which are |
||
3499 | linked with this frame. If this textframe has some text selected, the selected |
||
3500 | text is returned. If "name" is not given the currently selected item is |
||
3501 | used. |
||
3502 | </source> |
||
12918 | cbradney | 3503 | <translation type="obsolete">getAllText(["name"]) -> string |
1234 | cbradney | 3504 | |
4759 | cbradney | 3505 | Повертає текст із текстової рамки "name" і всіх текстових рамок зв'язаних з нею. |
1234 | cbradney | 3506 | Якщо в цій рамці частина тексту виділена, то повертає виділений текст. Якщо |
4759 | cbradney | 3507 | "name" не вказано, то використовується активний об'єкт. |
1234 | cbradney | 3508 | </translation> |
1135 | cbradney | 3509 | </message> |
3510 | <message> |
||
4759 | cbradney | 3511 | <source>getLineSpacing(["name"]) -> float |
1135 | cbradney | 3512 | |
3513 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
3514 | points. If "name" is not given the currently selected item is used. |
||
3515 | </source> |
||
12918 | cbradney | 3516 | <translation type="obsolete">getLineSpacing(["name"]) -> float |
1234 | cbradney | 3517 | |
4759 | cbradney | 3518 | Повертає міжрядковий інтервал ("leading") текстової рамки з ім'ям "name", |
1234 | cbradney | 3519 | виражений в точках. Якщо "name" не вказано, то використовується активний |
4759 | cbradney | 3520 | об'єкт.</translation> |
1135 | cbradney | 3521 | </message> |
3522 | <message> |
||
4759 | cbradney | 3523 | <source>getColumnGap(["name"]) -> float |
1135 | cbradney | 3524 | |
3525 | Returns the column gap size of the text frame "name" expressed in points. If |
||
3526 | "name" is not given the currently selected item is used. |
||
3527 | </source> |
||
12918 | cbradney | 3528 | <translation type="obsolete">getColumnGap(["name"]) -> float |
1234 | cbradney | 3529 | |
3530 | Повертає розмір інтервалу між колонками тексту в текстовій рамці "name", |
||
3531 | виражений в точках. Якщо "name" не задано, використовується активний |
||
4759 | cbradney | 3532 | об'єкт.</translation> |
1135 | cbradney | 3533 | </message> |
3534 | <message> |
||
4759 | cbradney | 3535 | <source>getColumns(["name"]) -> integer |
1135 | cbradney | 3536 | |
3537 | Gets the number of columns of the text frame "name". If "name" is not |
||
3538 | given the currently selected item is used. |
||
3539 | </source> |
||
12918 | cbradney | 3540 | <translation type="obsolete">getColumns(["name"]) -> integer |
1234 | cbradney | 3541 | |
3542 | Повертає число колонок тексту в текстовій рамці "name". Якщо "name" |
||
4759 | cbradney | 3543 | не вказано, використовується активний об'єкт.</translation> |
1135 | cbradney | 3544 | </message> |
3545 | <message> |
||
4759 | cbradney | 3546 | <source>setText("text", ["name"]) |
1135 | cbradney | 3547 | |
3548 | Sets the text of the text frame "name" to the text of the string "text". |
||
4759 | cbradney | 3549 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
1135 | cbradney | 3550 | for more details. If "name" is not given the currently selected item is |
3551 | used. |
||
3552 | </source> |
||
12918 | cbradney | 3553 | <translation type="obsolete">setText("text", ["name"]) |
1234 | cbradney | 3554 | |
3555 | Змінює текст в текстовій рамці "name" на зміст текстової змінної "text". |
||
3556 | Текст має бути в кодуванні UTF8 - використовуйте, наприклад, |
||
4759 | cbradney | 3557 | unicode(text, 'iso-8859-2'). Додаткова інформація по цьому приводу |
1234 | cbradney | 3558 | розміщена в часто задаваних питаннях. Якщо "name" не вказано, то |
4759 | cbradney | 3559 | використовується активний об'єкт.</translation> |
1135 | cbradney | 3560 | </message> |
3561 | <message> |
||
4759 | cbradney | 3562 | <source>setFont("font", ["name"]) |
1135 | cbradney | 3563 | |
3564 | Sets the font of the text frame "name" to "font". If there is some text |
||
3565 | selected only the selected text is changed. If "name" is not given the |
||
3566 | currently selected item is used. |
||
3567 | |||
3568 | May throw ValueError if the font cannot be found. |
||
3569 | </source> |
||
12918 | cbradney | 3570 | <translation type="obsolete">setFont("font", ["name"]) |
1234 | cbradney | 3571 | |
3572 | Установлює шрифт текстової рамки "name" до "font". Якщо вибрана лише |
||
3573 | частина тексту в рамці то зміна шрифта відноситься лише до неї. Якщо |
||
4759 | cbradney | 3574 | "name" не вказано, то використовується активний об'єкт. |
1234 | cbradney | 3575 | |
3576 | Може повернути ValueError, якщо шрифт не може бути знайдено. |
||
3577 | </translation> |
||
1135 | cbradney | 3578 | </message> |
3579 | <message> |
||
4759 | cbradney | 3580 | <source>setFontSize(size, ["name"]) |
1135 | cbradney | 3581 | |
3582 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
3583 | as a value in points. If there is some text selected only the selected text is |
||
3584 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
3585 | currently selected item is used. |
||
3586 | |||
4759 | cbradney | 3587 | May throw ValueError for a font size that's out of bounds. |
1135 | cbradney | 3588 | </source> |
12918 | cbradney | 3589 | <translation type="obsolete">setFontSize(size, ["name"]) |
1234 | cbradney | 3590 | |
3591 | Установлює розмір шрифта в текстовій рамці "name" до розміру "size". |
||
3592 | Значення "size" визначається в точках. Якщо в рамці вибрана частина |
||
3593 | тексту, то зміна розміру шрифта відноситься лише до неї. Діапазон "size" |
||
3594 | від 1 до 512. Якщо "name" не вказано, то використовується активний |
||
4759 | cbradney | 3595 | об'єкт. |
1234 | cbradney | 3596 | |
3597 | Може повернути помилку ValueError, якщо розмір шрифта виходить за |
||
3598 | дозволений діапазон.</translation> |
||
1135 | cbradney | 3599 | </message> |
3600 | <message> |
||
4759 | cbradney | 3601 | <source>setLineSpacing(size, ["name"]) |
1135 | cbradney | 3602 | |
3603 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
3604 | "size" is a value in points. If "name" is not given the currently selected |
||
3605 | item is used. |
||
3606 | |||
3607 | May throw ValueError if the line spacing is out of bounds. |
||
3608 | </source> |
||
12918 | cbradney | 3609 | <translation type="obsolete">setLineSpacing(size, ["name"]) |
1234 | cbradney | 3610 | |
3611 | Установлює міжрядковий інтервал (початковий) в текстовій рамці "name" |
||
3612 | до розміру "size". Значення "size" виражається в точках. Якщо "name" не |
||
4759 | cbradney | 3613 | вказано, використовується активний об'єкт. |
1234 | cbradney | 3614 | |
3615 | Може повернути помилку ValueError, якщо значення інтервалу виходить |
||
3616 | за доступний діапазон. |
||
3617 | </translation> |
||
1135 | cbradney | 3618 | </message> |
3619 | <message> |
||
4759 | cbradney | 3620 | <source>setColumnGap(size, ["name"]) |
1135 | cbradney | 3621 | |
3622 | Sets the column gap of the text frame "name" to the value "size". If |
||
3623 | "name" is not given the currently selected item is used. |
||
3624 | |||
3625 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
3626 | </source> |
||
12918 | cbradney | 3627 | <translation type="obsolete">setColumnGap(size, ["name"]) |
1234 | cbradney | 3628 | |
3629 | Установлює проміжок між колонками в текстовій рамці "name" до значення |
||
4759 | cbradney | 3630 | "size". Якщо "name" не задано, використовується активний об'єкт. |
1234 | cbradney | 3631 | |
3632 | Може повернути помилку ValueError, якщо проміжок між колонками виходить |
||
3633 | за доступний діапазон (повинен бути позитивним). |
||
3634 | </translation> |
||
1135 | cbradney | 3635 | </message> |
3636 | <message> |
||
4759 | cbradney | 3637 | <source>setColumns(nr, ["name"]) |
1135 | cbradney | 3638 | |
3639 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
3640 | If "name" is not given the currently selected item is used. |
||
3641 | |||
3642 | May throw ValueError if number of columns is not at least one. |
||
3643 | </source> |
||
12918 | cbradney | 3644 | <translation type="obsolete">setColumns(nr, ["name"]) |
1234 | cbradney | 3645 | |
3646 | Установлює число колонок в текстовій рамці "name" до цілого числа "nr". |
||
4759 | cbradney | 3647 | Якщо "name" не задано, використовується активний об'єкт. |
1234 | cbradney | 3648 | |
3649 | Може повернути помилку ValueError, якщо не вказана хоч одна колонка. |
||
3650 | </translation> |
||
1135 | cbradney | 3651 | </message> |
3652 | <message> |
||
4759 | cbradney | 3653 | <source>setTextAlignment(align, ["name"]) |
1135 | cbradney | 3654 | |
3655 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
3656 | If "name" is not given the currently selected item is used. "align" should |
||
3657 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
3658 | |||
3659 | May throw ValueError for an invalid alignment constant. |
||
3660 | </source> |
||
12918 | cbradney | 3661 | <translation type="obsolete">setTextAlignment(align, ["name"]) |
1234 | cbradney | 3662 | |
3663 | Установлює вирівнювання тексту в текстовій рамці "name" до вказаного. |
||
4759 | cbradney | 3664 | Якщо "name" не вказано, використовується активний об'єкт. "align" повинне |
1234 | cbradney | 3665 | дорівнювати одній з констант ALIGN_ constants визначених в цьому модулі - |
3666 | дивіться в dir(scribus). |
||
3667 | |||
3668 | Може повернути помилку ValueError, якщо константа вирівнювання задана |
||
3669 | невірно. |
||
3670 | </translation> |
||
1135 | cbradney | 3671 | </message> |
3672 | <message> |
||
4759 | cbradney | 3673 | <source>selectText(start, count, ["name"]) |
1135 | cbradney | 3674 | |
3675 | Selects "count" characters of text in the text frame "name" starting from the |
||
3676 | character "start". Character counting starts at 0. If "count" is zero, any |
||
3677 | text selection will be cleared. If "name" is not given the currently |
||
3678 | selected item is used. |
||
3679 | |||
3680 | May throw IndexError if the selection is outside the bounds of the text. |
||
3681 | </source> |
||
12918 | cbradney | 3682 | <translation type="obsolete">selectText(start, count, ["name"]) |
1234 | cbradney | 3683 | |
3684 | Вибирає "count" число знаків тексту в текстовій рамці "name", починаючи з |
||
3685 | знака "start". Рахунок знаків починається з 0. Якщо "count" дорівнює нулю, |
||
3686 | текстова вибірка буде знята. Якщо "name" не задано, буде використано |
||
4759 | cbradney | 3687 | активний об'єкт. |
1234 | cbradney | 3688 | |
3689 | Може повернути помилку IndexError, якщо вибірка виходить за межі |
||
3443 | cbradney | 3690 | тексту. |
1234 | cbradney | 3691 | </translation> |
1135 | cbradney | 3692 | </message> |
3693 | <message> |
||
4759 | cbradney | 3694 | <source>deleteText(["name"]) |
1135 | cbradney | 3695 | |
3696 | Deletes any text in the text frame "name". If there is some text selected, |
||
3697 | only the selected text will be deleted. If "name" is not given the currently |
||
3698 | selected item is used. |
||
3699 | </source> |
||
12918 | cbradney | 3700 | <translation type="obsolete">deleteText(["name"]) |
1234 | cbradney | 3701 | |
3702 | Видаляє весь текст в текстовій рамці "name". Якщо частина тексту вибрана |
||
3703 | то видаляється лише вона. Якщо "name" не задано, використовується |
||
4759 | cbradney | 3704 | активний об'єкт. |
1234 | cbradney | 3705 | </translation> |
1135 | cbradney | 3706 | </message> |
3707 | <message> |
||
4759 | cbradney | 3708 | <source>setTextColor("color", ["name"]) |
1135 | cbradney | 3709 | |
3710 | Sets the text color of the text frame "name" to the color "color". If there |
||
3711 | is some text selected only the selected text is changed. If "name" is not |
||
3712 | given the currently selected item is used. |
||
3713 | </source> |
||
12918 | cbradney | 3714 | <translation type="obsolete">setTextColor("color", ["name"]) |
1234 | cbradney | 3715 | |
3716 | Установлює колір тексту в текстовій рамці "name" до кольору "color". Якщо |
||
3717 | частина тексту вибрана - змінюється лише вона. Якщо "name" не задано, |
||
4759 | cbradney | 3718 | використовується активний об'єкт. |
1234 | cbradney | 3719 | </translation> |
1135 | cbradney | 3720 | </message> |
3721 | <message> |
||
4759 | cbradney | 3722 | <source>setTextStroke("color", ["name"]) |
1135 | cbradney | 3723 | |
3724 | Set "color" of the text stroke. If "name" is not given the currently |
||
3725 | selected item is used. |
||
3726 | </source> |
||
12918 | cbradney | 3727 | <translation type="obsolete">setTextStroke("color", ["name"]) |
1234 | cbradney | 3728 | |
3729 | Установлює колір "color" текстового контура. Якщо "name" не задано, |
||
4759 | cbradney | 3730 | використовується активний об'єкт. |
1234 | cbradney | 3731 | </translation> |
1135 | cbradney | 3732 | </message> |
3733 | <message> |
||
4759 | cbradney | 3734 | <source>setTextShade(shade, ["name"]) |
1135 | cbradney | 3735 | |
3736 | Sets the shading of the text color of the object "name" to "shade". If |
||
3737 | there is some text selected only the selected text is changed. "shade" must |
||
3738 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
3739 | intensity). If "name" is not given the currently selected item is |
||
3740 | used. |
||
3741 | </source> |
||
12918 | cbradney | 3742 | <translation type="obsolete">setTextShade(shade, ["name"]) |
1234 | cbradney | 3743 | |
4759 | cbradney | 3744 | Установлює тінь кольору тексту об'єкта "name" до "shade". Якщо |
1234 | cbradney | 3745 | частина тексту вибрана - змінюється лише вона. "shade" має бути |
3746 | цілим числом від 0 (найсвітліша) до 100 (повна насиченість кольору). |
||
4759 | cbradney | 3747 | Якщо "name" не задано, використовується активний об'єкт. |
1234 | cbradney | 3748 | </translation> |
1135 | cbradney | 3749 | </message> |
3750 | <message> |
||
4759 | cbradney | 3751 | <source>linkTextFrames("fromname", "toname") |
1135 | cbradney | 3752 | |
3753 | Link two text frames. The frame named "fromname" is linked to the |
||
3754 | frame named "toname". The target frame must be an empty text frame |
||
3755 | and must not link to or be linked from any other frames already. |
||
3756 | |||
3757 | May throw ScribusException if linking rules are violated. |
||
3758 | </source> |
||
12918 | cbradney | 3759 | <translation type="obsolete">linkTextFrames("fromname", "toname") |
1234 | cbradney | 3760 | |
4759 | cbradney | 3761 | Зв'язує дві текстові рамки. Рамка з ім'ям "fromname" приєднується до |
3762 | рамки з ім'ям "toname". Кінцева рамка має бути пустою текстовою |
||
3763 | рамкою і не повинна бути з'єднана ні з якою іншою рамкою. |
||
1234 | cbradney | 3764 | |
3765 | Може повернути помилку ScribusException, якщо відбувається порушення |
||
4759 | cbradney | 3766 | правил зв'язування рамок. |
1234 | cbradney | 3767 | </translation> |
1135 | cbradney | 3768 | </message> |
3769 | <message> |
||
4759 | cbradney | 3770 | <source>unlinkTextFrames("name") |
1135 | cbradney | 3771 | |
3772 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
3773 | frame was in the middle of a chain, the previous and next frames will be |
||
4759 | cbradney | 3774 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
1135 | cbradney | 3775 | |
3776 | May throw ScribusException if linking rules are violated. |
||
3777 | </source> |
||
12918 | cbradney | 3778 | <translation type="obsolete">unlinkTextFrames("name") |
1234 | cbradney | 3779 | |
4759 | cbradney | 3780 | Видаляє вказаний (названий) об'єкт з ланцюжка зв'язаних текстових |
1234 | cbradney | 3781 | рамок. Якщо рамка знаходиться всередині ланцюжка, то рамки, які |
4759 | cbradney | 3782 | знаходилися перед і після неї будуть з'єднані, наприклад 'a->b->c' |
3783 | зміниться на 'a->c', при виконанні unlinkTextFrames(b)' |
||
1234 | cbradney | 3784 | |
3785 | Може повернути помилку ScribusException при порушенні правил |
||
4759 | cbradney | 3786 | з'єднання рамок. |
1234 | cbradney | 3787 | </translation> |
1135 | cbradney | 3788 | </message> |
3789 | <message> |
||
4759 | cbradney | 3790 | <source>traceText(["name"]) |
1135 | cbradney | 3791 | |
3792 | Convert the text frame "name" to outlines. If "name" is not given the |
||
3793 | currently selected item is used.</source> |
||
12918 | cbradney | 3794 | <translation type="obsolete">traceText(["name"]) |
1234 | cbradney | 3795 | |
3796 | Конвертує текстову рамку "name" в контурний текст. Якщо "name" |
||
4759 | cbradney | 3797 | не вказано, використовується активний об'єкт.</translation> |
1135 | cbradney | 3798 | </message> |
3799 | <message> |
||
4759 | cbradney | 3800 | <source>getColor("name") -> tuple |
1135 | cbradney | 3801 | |
3802 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
3803 | color "name" from the current document. If no document is open, returns |
||
3804 | the value of the named color from the default document colors. |
||
3805 | |||
4759 | cbradney | 3806 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 3807 | May raise ValueError if an invalid color name is specified. |
3808 | </source> |
||
12918 | cbradney | 3809 | <translation type="obsolete">getColor("name") -> tuple |
1234 | cbradney | 3810 | |
3811 | Повертає тупль (C, M, Y, K), який містить чотири складових |
||
3812 | кольору "name" з активного документа. Якщо не відкрито |
||
3813 | жодного документа, повертає значення для названого |
||
3814 | кольору з палітри стандартних кольорів. |
||
3815 | |||
3816 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
4759 | cbradney | 3817 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору. |
1234 | cbradney | 3818 | </translation> |
1135 | cbradney | 3819 | </message> |
3820 | <message> |
||
4759 | cbradney | 3821 | <source>changeColor("name", c, m, y, k) |
1135 | cbradney | 3822 | |
3823 | Changes the color "name" to the specified CMYK value. The color value is |
||
3824 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
3825 | Color components should be in the range from 0 to 255. |
||
3826 | |||
4759 | cbradney | 3827 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 3828 | May raise ValueError if an invalid color name is specified. |
3829 | </source> |
||
12918 | cbradney | 3830 | <translation type="obsolete">changeColor("name", c, m, y, k) |
1234 | cbradney | 3831 | |
3832 | Змінює колір "name" до вказаних значень CMYK. Значення кольору |
||
3833 | визначається його чотирма компонентами c = Cyan (салатовий), |
||
3834 | m = Magenta (малиновий), y = Yellow (жовтий) та k = Black (чорний). |
||
3835 | Значення складових кольору повинні знаходитися в діапазоні від |
||
3836 | |||
3837 | |||
3838 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
4759 | cbradney | 3839 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору. |
1234 | cbradney | 3840 | </translation> |
1135 | cbradney | 3841 | </message> |
3842 | <message> |
||
4759 | cbradney | 3843 | <source>deleteColor("name", "replace") |
1135 | cbradney | 3844 | |
3845 | Deletes the color "name". Every occurence of that color is replaced by the |
||
3846 | color "replace". If not specified, "replace" defaults to the color |
||
3847 | "None" - transparent. |
||
3848 | |||
3849 | deleteColor works on the default document colors if there is no document open. |
||
3850 | In that case, "replace", if specified, has no effect. |
||
3851 | |||
4759 | cbradney | 3852 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 3853 | May raise ValueError if an invalid color name is specified. |
3854 | </source> |
||
12918 | cbradney | 3855 | <translation type="obsolete">deleteColor("name", "replace") |
1234 | cbradney | 3856 | |
3857 | Видаляє колір "name". Кожний приклад цього кольору заміняється на колір |
||
3858 | "replace". Якщо "replace" не вказано, то використовується колір "None" - прозорість. |
||
3859 | |||
3860 | deleteColor змінює стандартні кольори при відсутності відчинених документів. В |
||
3861 | цьому випадку "replace", якщо вказаний, ефекту не має. |
||
3862 | |||
3863 | Може повернути помилку NotFoundError, якщо названий колір не знайдено. |
||
4759 | cbradney | 3864 | Може повернути помилку ValueError, якщо було вказано недійсне ім'я кольору.</translation> |
1135 | cbradney | 3865 | </message> |
3866 | <message> |
||