"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "scribus-1.3.3.12/scribus/po/scribus.ru.ts" of archive scribus-1.3.3.12.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 <!DOCTYPE TS><TS>
2 <context>
3 <name></name>
4 <message>
5 <source>getColorNames() -> list
6
7 Returns a list containing the names of all defined colors in the document.
8 If no document is open, returns a list of the default document colors.
9 </source>
10 <translation>getColorNames() -> list
11
12 Возвращает список имен цветов, определенных для этого документа.
13 Если ни один документ не открыт, возвращается список стандартных
14 цветов документа.
15 </translation>
16 </message>
17 <message>
18 <source>newDocDialog() -> bool
19
20 Displays the "New Document" dialog box. Creates a new document if the user
21 accepts the settings. Does not create a document if the user presses cancel.
22 Returns true if a new document was created.
23 </source>
24 <translation>newDocDialog() -> bool
25
26 Показывает диалог «Новый документ». Создает новый документ, если пользователь
27 принимает установки. Не создает документ, если пользователь нажимает «Отменить».
28 Возвращает значение true, если документ создан.
29 </translation>
30 </message>
31 <message>
32 <source>getFillColor(["name"]) -> string
33
34 Returns the name of the fill color of the object "name".
35 If "name" is not given the currently selected item is used.
36 </source>
37 <translation>getFillColor(["name"]) -> string
38
39 Возвращает имя цвета заливки объекта "name". Если "name"
40 не задан, используется текущий выбранный объект.
41 </translation>
42 </message>
43 <message>
44 <source>moveObject(dx, dy [, "name"])
45
46 Moves the object "name" by dx and dy relative to its current position. The
47 distances are expressed in the current measurement unit of the document (see
48 UNIT constants). If "name" is not given the currently selected item is used.
49 If the object "name" belongs to a group, the whole group is moved.
50 </source>
51 <translation>moveObject(dx, dy [, "name"])
52
53 Смещает обект "name" на dx и dy по отношению к текущей позиции.
54 Расстояния выражаются в текущей единице измерения документа
55 (см. константы UNIT). Если "name" не задано, используется выбранный
56 в данный момент объект. Если объект "name" принадлежит группе,
57 перемещается вся группа.
58 </translation>
59 </message>
60 <message>
61 <source>setRedraw(bool)
62
63 Disables page redraw when bool = False, otherwise redrawing is enabled.
64 This change will persist even after the script exits, so make sure to call
65 setRedraw(True) in a finally: clause at the top level of your script.
66 </source>
67 <translation>setRedraw(bool)
68
69 Запрещает обновление страницы при bool = False, в противоположном
70 случае — разрешает. Это изменение сохраняется даже после завершения
71 выполнения сценария, поэтому рекомендуется всегда вызывать
72 setRedraw(True) в конце кода вашего сценария.</translation>
73 </message>
74 <message>
75 <source>createRect(x, y, width, height, ["name"]) -> string
76
77 Creates a new rectangle on the current page and returns its name. The
78 coordinates are given in the current measurement units of the document
79 (see UNIT constants). "name" should be a unique identifier for the object
80 because you need this name to reference that object in future. If "name"
81 is not given Scribus will create one for you.
82
83 May raise NameExistsError if you explicitly pass a name that's already used.
84 </source>
85 <translation>createRect(x, y, width, height, ["name"]) -> string
86
87 Создает новый прямоугольник на текущей странице и возвращает его имя.
88 Координаты задаются в текущей единице измерения документа
89 (см. константу UNIT). "name" должно быть уникальным идентификатором
90 для этого объекта, поскольку в дальнейшем оно будет использоваться для
91 работы с объектом. Если параметр "name" не задан, он будет создан автоматически.
92 </translation>
93 </message>
94 <message>
95 <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])
96
97 Sets the gradient fill of the object "name" to type. Color descriptions are
98 the same as for setFillColor() and setFillShade(). See the constants for
99 available types (FILL_<type>).
100 </source>
101 <translation>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])
102
103 Устанавливает тип градиентной заливки для объекта "name". Параметры цвета
104 такие же, как и для setFillColor() и setFillShade(). Доступные типы градиентной
105 заливки см. (FILL_<type>).
106 </translation>
107 </message>
108 <message>
109 <source>getFontSize(["name"]) -> float
110
111 Returns the font size in points for the text frame "name". If this text
112 frame has some text selected the value assigned to the first character of
113 the selection is returned.
114 If "name" is not given the currently selected item is used.
115 </source>
116 <translation>getFontSize(["name"]) -> float
117
118 Возвращает размер шрифта в точках текстового фрейма "name". Если в
119 тексте есть выделенный фрагмент, то возвращается размер первого символа
120 выделенного фрагмента.
121 Если параметр "name" не указан, используется выделенный объект.
122 </translation>
123 </message>
124 <message>
125 <source>messagebarText("string")
126
127 Writes the "string" into the Scribus message bar (status line). The text
128 must be UTF8 encoded or 'unicode' string(recommended).
129 </source>
130 <translation>messagebarText("string")
131
132 Выводит сообщение "string" в статусной строке Scribus. Текст должен быть
133 в кодировке UTF8 или Unicode (последний вариант предпочтительнее).
134 </translation>
135 </message>
136 <message>
137 <source>newPage(where [,"masterpage"])
138
139 Creates a new page. If "where" is -1 the new Page is appended to the
140 document, otherwise the new page is inserted before "where". Page numbers are
141 counted from 1 upwards, no matter what the displayed first page number of your
142 document is. The optional parameter "masterpage" specifies the name of the
143 master page for the new page.
144
145 May raise IndexError if the page number is out of range
146 </source>
147 <translation>newPage(where [,"masterpage"])
148
149 Создает новую страницу. Если "where" равно -1, то новая страница добавляется к
150 документу, иначе новая страница вставляется перед "where". Номера страниц
151 отсчитываются от 1 и далее, какая страница показывается первой — неважно.
152 Опциональный параметр "masterpage" указывает имя шаблона для новой страницы
153
154 Может вызвать ошибку IndexError, если номер страницы некорректен
155 </translation>
156 </message>
157 <message>
158 <source>importSVG("string")
159
160 The "string" must be a valid filename for a SVG image. The text
161 must be UTF8 encoded or 'unicode' string(recommended).
162 </source>
163 <translation>importSVG("string")
164
165 "string" — корректное имя файла с SVG рисунком. Текст должен быть
166 в кодировке UTF8 или Unicode (последний вариант предпочтительнее).
167 </translation>
168 </message>
169 <message>
170 <source>newDocument(size, margins, orientation, firstPageNumber,
171 unit, pagesType, firstPageOrder) -> bool
172
173 Creates a new document and returns true if successful. The parameters have the
174 following meaning:
175
176 size = A tuple (width, height) describing the size of the document. You can
177 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
178
179 margins = A tuple (left, right, top, bottom) describing the document
180 margins
181
182 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
183
184 firstPageNumer = is the number of the first page in the document used for
185 pagenumbering. While you'll usually want 1, it's useful to have higher
186 numbers if you're creating a document in several parts.
187
188 unit: this value sets the measurement units used by the document. Use a
189 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
190 UNIT_PICAS, UNIT_POINTS.
191
192 pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
193 PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
194 PAGE_4 is 4-fold.
195
196 firstPageOrder = What is position of first page in the document.
197 Indexed from 0 (0 = first).
198
199 numPage = Number of pages to be created.
200
201 The values for width, height and the margins are expressed in the given unit
202 for the document. PAPER_* constants are expressed in points. If your document
203 is not in points, make sure to account for this.
204
205 example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
206 PAGE_4, 3, 1)
207
208 May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
209 </source>
210 <translation>newDocument(size, margins, orientation, firstPageNumber, unit, pagesType, firstPageOrder) -> bool
211
212 Создает новый документ. В случае успешного создания документа возвращает true.
213 Значения параметров:
214
215 size = набор (width, height) описывает размер страницы документа. Можно
216 использовать предопределенные константы PAPER_<paper_type> напр. PAPER_A4 и т.п.
217
218 margins = Набор (left, right, top, bottom) описывающий поля документа.
219
220 orientation = ориентация страницы — константы PORTRAIT, LANDSCAPE
221
222 firstPageNumer = номер первой страницы документа, от которого будет продолжена
223 нумерация. Используется для создания документов, состоящих из нескольких
224 частей.
225
226 unit: это значение устанавливает единицу измерения, используемую в документе.
227 Используйте предопределенные константы: UNIT_INCHES, UNIT_MILLIMETERS,
228 UNIT_PICAS, UNIT_POINTS.
229
230 firstPageOrder = Устанавливает позицию первой страницы в документе
231 Отсчитывается от 0 (0 = первая).
232
233 numPage = Количество создаваемых страниц.
234
235 Значения ширины, высоты и отступов выражены в заданной единице измерения документа
236 Константы PAPER_* заданы в пунктах. Если единица измерения в вашем документе не «пункт»,
237 обратите на это внимание.
238
239 Пример: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, PAGE_4, 3, 1)
240
241 Может вызвать ошибку ScribusError, если firstPageOrder больше чем задано в pagesType.</translation>
242 </message>
243 </context>
244 <context>
245 <name>@default</name>
246 <message>
247 <source>getColor("name") -> tuple
248
249 Returns a tuple (C, M, Y, K) containing the four color components of the
250 color "name" from the current document. If no document is open, returns
251 the value of the named color from the default document colors.
252
253 May raise NotFoundError if the named color wasn't found.
254 May raise ValueError if an invalid color name is specified.
255 </source>
256 <translation>getColor("name") -> tuple
257
258 Возвращает набор (C, M, Y, K), содержащий 4 цветовых компонента
259 цвета "name" из текущего документа. Если документ не открыт, возвращает
260 значение именованного цвета из стандартной для документа палитры.
261
262 Может вызвать ошибку NotFoundError, если именованный цвет не найден.
263 Может вызвать ошибку ValueError, если задан некорректный цвет.
264 </translation>
265 </message>
266 <message>
267 <source>changeColor("name", c, m, y, k)
268
269 Changes the color "name" to the specified CMYK value. The color value is
270 defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
271 Color components should be in the range from 0 to 255.
272
273 May raise NotFoundError if the named color wasn't found.
274 May raise ValueError if an invalid color name is specified.
275 </source>
276 <translation>changeColor("name", c, m, y, k)
277
278 Изменяет значение цвета "name" на указанное значение CMYK.
279 Цвет задается через 4 компонента: c = Cyan, m = Magenta, y = Yellow
280 и k = Black. Значение цветового компонента должно быть в пределах 0-255.
281
282 Может вызвать ошибку NotFoundError, если именованный цвет не найден.
283 Может вызвать ошибку ValueError, если задан некорректный цвет.
284 </translation>
285 </message>
286 <message>
287 <source>deleteColor("name", "replace")
288
289 Deletes the color "name". Every occurence of that color is replaced by the
290 color "replace". If not specified, "replace" defaults to the color
291 "None" - transparent.
292
293 deleteColor works on the default document colors if there is no document open.
294 In that case, "replace", if specified, has no effect.
295
296 May raise NotFoundError if a named color wasn't found.
297 May raise ValueError if an invalid color name is specified.
298 </source>
299 <translation>deleteColor("name", "replace")
300
301 Удаляет цвет "name". Каждый случай использования цвета "name" будет
302 заменен на цвет "replace". Если параметр "replace" не указан, цвет
303 устанавливается как "None", то есть прозрачный.
304
305 Если нет открытого документа, deleteColor работает со стандартной
306 цветовой палитрой. В таком случае "replace" не оказывает эффекта.
307
308 Может вызвать ошибку NotFoundError, если именованный цвет не найден.
309 Может вызвать ошибку ValueError, если задан некорректный цвет.
310 </translation>
311 </message>
312 <message>
313 <source>replaceColor("name", "replace")
314
315 Every occurence of the color "name" is replaced by the color "replace".
316
317 May raise NotFoundError if a named color wasn't found.
318 May raise ValueError if an invalid color name is specified.
319 </source>
320 <translation>replaceColor("name", "replace")
321
322 Каждый случай использования цвета "name" будет заменен на цвет "replace".
323
324 Может вызвать ошибку NotFoundError, если именованный цвет не найден.
325 Может вызвать ошибку ValueError, если задан некорректный цвет.</translation>
326 </message>
327 <message>
328 <source>messageBox("caption", "message",
329 icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
330 button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer
331
332 Displays a message box with the title "caption", the message "message", and
333 an icon "icon" and up to 3 buttons. By default no icon is used and a single
334 button, OK, is displayed. Only the caption and message arguments are required,
335 though setting an icon and appropriate button(s) is strongly
336 recommended. The message text may contain simple HTML-like markup.
337
338 Returns the number of the button the user pressed. Button numbers start
339 at 1.
340
341 For the icon and the button parameters there are predefined constants available
342 with the same names as in the Qt Documentation. These are the BUTTON_* and
343 ICON_* constants defined in the module. There are also two extra constants that
344 can be binary-ORed with button constants:
345 BUTTONOPT_DEFAULT Pressing enter presses this button.
346 BUTTONOPT_ESCAPE Pressing escape presses this button.
347
348 Usage examples:
349 result = messageBox('Script failed',
350 'This script only works when you have a text frame selected.',
351 ICON_ERROR)
352 result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',
353 ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
354 BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
355
356 Defined button and icon constants:
357 BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
358 BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
359 ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
360 </source>
361 <translation>messageBox("caption", "message",
362 icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
363 button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer
364
365 Показывает диалог сообщения с заголовком "caption", текстом "message",
366 значком "icon" и 1-3 кнопками. По умолчанию значка нет, и в диалоге
367 только одна кнопка "OK". Обязательные аргументы — заголовок окна и
368 текст сообщения, и, тем не менее, крайне рекомендуется явно задавать
369 значок и соответствующие кнопки. Текст сообщения может содержать
370 простой HTML-код.
371
372 Возвращаемое значение — номер нажатой пользователем кнопки.
373 Нумерация кнопок начинается с 1.
374
375 Для значков и кнопок есть константы, имена которых совпадают с именами
376 в документации по Qt. В модуле заданы константы BUTTON_* и ICON_*.
377 Также есть еее две дополнительные константы, которые могут использоваться
378 в виде суммы со значениями констант кнопок:
379 BUTTONOPT_DEFAULT Enter нажимает эту кнопку.
380 BUTTONOPT_ESCAPE Escape нажимает эту кнопку.
381
382 Примеры:
383 result = messageBox('Ошибка сценария',
384 'Этот сценарий работает, если выбран текстовый фрейм.',
385 ICON_ERROR)
386 result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',
387 ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
388 BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
389
390 Константы кнопок и значков:
391 BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
392 BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
393 ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
394 </translation>
395 </message>
396 <message>
397 <source>valueDialog(caption, message [,defaultvalue]) -> string
398
399 Shows the common 'Ask for string' dialog and returns its value as a string
400 Parameters: window title, text in the window and optional 'default' value.
401
402 Example: valueDialog('title', 'text in the window', 'optional')
403 </source>
404 <translation>valueDialog(caption, message [,defaultvalue]) -> string
405
406 Вызывает диалог для ввода строки и возвращает введенную строку как результат.
407 Параметры: заголовок окна, текст в окне и опционально значение по умолчанию.
408
409 Пример: valueDialog('Проба', 'Введите строку:', 'Результат')
410 </translation>
411 </message>
412 <message>
413 <source>closeDoc()
414
415 Closes the current document without prompting to save.
416
417 May throw NoDocOpenError if there is no document to close
418 </source>
419 <translation>closeDoc()
420
421 Закрывает текущий документ, не предлагая его сохранить.
422
423 Возможна ошибка NoDocOpenError, если нет открытых документов.
424 </translation>
425 </message>
426 <message>
427 <source>haveDoc() -> bool
428
429 Returns true if there is a document open.
430 </source>
431 <translation>haveDoc() -> bool
432
433 Возвращает true, если есть открытый документ.
434 </translation>
435 </message>
436 <message>
437 <source>openDoc("name")
438
439 Opens the document "name".
440
441 May raise ScribusError if the document could not be opened.
442 </source>
443 <translation>openDoc("name")
444
445 Открывает документ "name".
446
447 Может вызвать ошибку ScribusError, если указанный документ невозможно открыть.</translation>
448 </message>
449 <message>
450 <source>saveDoc()
451
452 Saves the current document with its current name, returns true if successful.
453 If the document has not already been saved, this may bring up an interactive
454 save file dialog.
455
456 If the save fails, there is currently no way to tell.
457 </source>
458 <translation>saveDoc()
459
460 Сохраняет документ под текущим именем и возвращает true, если сохранение
461 прошло успешно. Если у документа нет имени, вызывается интерактивный
462 диалог сохранения документа.
463
464 Если сохранить документ не удалось, на данный момент нет возможности
465 узнать про это.
466 </translation>
467 </message>
468 <message>
469 <source>saveDocAs("name")
470
471 Saves the current document under the new name "name" (which may be a full or
472 relative path).
473
474 May raise ScribusError if the save fails.
475 </source>
476 <translation>saveDocAs("name")
477
478 Сохраняет документ под новым именем "name" (путь может быть как относительным,
479 так и абсолютным).
480
481 Может вызвать ошибку ScribusError, если сохранить не удалось.
482 </translation>
483 </message>
484 <message>
485 <source>setMargins(lr, rr, tr, br)
486
487 Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
488 margins are given in the measurement units of the document - see UNIT_<type>
489 constants.
490 </source>
491 <translation type="unfinished">setMargins(lr, rr, tr, br)
492
493 Устанавливает поля в документе, левое(lr), правое(rr), сверху(tr) и снизу(br)
494 отступы даются в единицах измерения документа - см. константу UNIT_<type>.</translation>
495 </message>
496 <message>
497 <source>setUnit(type)
498
499 Changes the measurement unit of the document. Possible values for "unit" are
500 defined as constants UNIT_<type>.
501
502 May raise ValueError if an invalid unit is passed.
503 </source>
504 <translation>setUnit(type)
505
506 Изменяет единицу измерения в документе. Возможные значения
507 определены константами UNIT_<type>.
508
509 Может вызвать ошибку ValueError, если используется некорректная
510 единица измерения.
511 </translation>
512 </message>
513 <message>
514 <source>getUnit() -> integer (Scribus unit constant)
515
516 Returns the measurement units of the document. The returned value will be one
517 of the UNIT_* constants:
518 UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
519 </source>
520 <translation>getUnit() -> integer (Scribus unit constant)
521
522 Возвращает единицу измерения документа. Возвращаемое значение
523 будет одной из констант UNIT_*:
524 UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
525 </translation>
526 </message>
527 <message>
528 <source>loadStylesFromFile("filename")
529
530 Loads paragraph styles from the Scribus document at "filename" into the
531 current document.
532 </source>
533 <translation>loadStylesFromFile("filename")
534
535 Загружает стиль из документа "filename" в текущий документ.
536 </translation>
537 </message>
538 <message>
539 <source>setDocType(facingPages, firstPageLeft)
540
541 Sets the document type. To get facing pages set the first parameter to
542 FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want
543 to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
544 a right page use FIRSTPAGERIGHT.
545 </source>
546 <translation>setDocType(facingPages, firstPageLeft)
547
548 Устанавливает тип документа. Чтобы задать наличие обложки, установите
549 первый параметр как FACINGPAGES.Чтобы отказаться от обложки,
550 используйте константу NOFACINGPAGES. Если хотите, чтобы первая страница
551 была слева, используйте константу FIRSTPAGELEFT для второго параметра,
552 если справа — FIRSTPAGERIGHT.
553 </translation>
554 </message>
555 <message>
556 <source>getLineColor(["name"]) -> string
557
558 Returns the name of the line color of the object "name".
559 If "name" is not given the currently selected item is used.
560 </source>
561 <translation>getLineColor(["name"]) -> string
562
563 Возвращает название цвета, используемого для обводки
564 объекта "name". Если "name" не задан, используется
565 выделенный объект.
566 </translation>
567 </message>
568 <message>
569 <source>getLineWidth(["name"]) -> integer
570
571 Returns the line width of the object "name". If "name"
572 is not given the currently selected Item is used.
573 </source>
574 <translation>getLineWidth(["name"]) -> integer
575
576 Возвращает толщину линии обводки объекта "name".
577 Если "name" не задан, используется выделенный объект.
578 </translation>
579 </message>
580 <message>
581 <source>getLineShade(["name"]) -> integer
582
583 Returns the shading value of the line color of the object "name".
584 If "name" is not given the currently selected item is used.
585 </source>
586 <translation>getLineShade(["name"]) -> integer
587
588 Возвращает тип тени, используемой для обводки объекта "name".
589 Если "name" не задан, используется выделенный объект.
590 </translation>
591 </message>
592 <message>
593 <source>getLineJoin(["name"]) -> integer (see contants)
594
595 Returns the line join style of the object "name". If "name" is not given
596 the currently selected item is used. The join types are:
597 JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
598 </source>
599 <translation>getLineJoin(["name"]) -> integer (см. константы)
600
601 Возвращает тип соединения линий объекта "name". Если "name" не задан,
602 используется выделенный объект. Возможные значения:
603 JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
604 </translation>
605 </message>
606 <message>
607 <source>getLineEnd(["name"]) -> integer (see constants)
608
609 Returns the line cap style of the object "name". If "name" is not given the
610 currently selected item is used. The cap types are:
611 CAP_FLAT, CAP_ROUND, CAP_SQUARE
612 </source>
613 <translation>getLineEnd(["name"]) -> integer (см. константы)
614
615 Возвращает стиль для концов линий объекта "name". Если "name"
616 не задан, используется выделенный объект. Возможные значения:
617 CAP_FLAT, CAP_ROUND, CAP_SQUARE
618 </translation>
619 </message>
620 <message>
621 <source>getLineStyle(["name"]) -> integer (see constants)
622
623 Returns the line style of the object "name". If "name" is not given the
624 currently selected item is used. Line style constants are:
625 LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
626 </source>
627 <translation>getLineStyle(["name"]) -> integer (см. константы)
628
629 Возвращает тип линий объекта "name". Если "name"
630 не задан, используется выделенный объект. Возможные значения:
631 LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
632 </translation>
633 </message>
634 <message>
635 <source>getFillShade(["name"]) -> integer
636
637 Returns the shading value of the fill color of the object "name".
638 If "name" is not given the currently selected item is used.
639 </source>
640 <translation>getFillShade(["name"]) -> integer
641
642 Возвращает тип тени, используемой для заливки
643 объекта "name". Если "name" не задан, используется
644 выделенный объект.
645 </translation>
646 </message>
647 <message>
648 <source>getImageScale(["name"]) -> (x,y)
649
650 Returns a (x, y) tuple containing the scaling values of the image frame
651 "name". If "name" is not given the currently selected item is used.
652 </source>
653 <translation>getImageScale(["name"]) -> (x,y)
654
655 Возвращает набор (x, y) содержащий значения масштабирования для
656 изображения "name". Если "name" не задан, используется выделенный объект.
657 </translation>
658 </message>
659 <message>
660 <source>getImageName(["name"]) -> string
661
662 Returns the filename for the image in the image frame. If "name" is not
663 given the currently selected item is used.
664 </source>
665 <translation>getImageName(["name"]) -> string
666
667 Взвращает имя файла для изображения "name" в документе.
668 Если "name" не задан, используется выделенный объект.
669 </translation>
670 </message>
671 <message>
672 <source>getSize(["name"]) -> (width,height)
673
674 Returns a (width, height) tuple with the size of the object "name".
675 If "name" is not given the currently selected item is used. The size is
676 expressed in the current measurement unit of the document - see UNIT_<type>
677 for reference.
678 </source>
679 <translation type="unfinished"></translation>
680 </message>
681 <message>
682 <source>getRotation(["name"]) -> integer
683
684 Returns the rotation of the object "name". The value is expressed in degrees,
685 and clockwise is positive. If "name" is not given the currently selected item
686 is used.
687 </source>
688 <translation type="unfinished"></translation>
689 </message>
690 <message>
691 <source>getAllObjects() -> list
692
693 Returns a list containing the names of all objects on the current page.
694 </source>
695 <translation type="unfinished"></translation>
696 </message>
697 <message>
698 <source>moveObjectAbs(x, y [, "name"])
699
700 Moves the object "name" to a new location. The coordinates are expressed in
701 the current measurement unit of the document (see UNIT constants). If "name"
702 is not given the currently selected item is used. If the object "name"
703 belongs to a group, the whole group is moved.
704 </source>
705 <translation type="unfinished"></translation>
706 </message>
707 <message>
708 <source>rotateObject(rot [, "name"])
709
710 Rotates the object "name" by "rot" degrees relatively. The object is
711 rotated by the vertex that is currently selected as the rotation point - by
712 default, the top left vertext at zero rotation. Positive values mean counter
713 clockwise rotation when the default rotation point is used. If "name" is not
714 given the currently selected item is used.
715 </source>
716 <translation type="unfinished"></translation>
717 </message>
718 <message>
719 <source>sizeObject(width, height [, "name"])
720
721 Resizes the object "name" to the given width and height. If "name"
722 is not given the currently selected item is used.
723 </source>
724 <translation type="unfinished"></translation>
725 </message>
726 <message>
727 <source>getSelectedObject([nr]) -> string
728
729 Returns the name of the selected object. "nr" if given indicates the number
730 of the selected object, e.g. 0 means the first selected object, 1 means the
731 second selected Object and so on.
732 </source>
733 <translation type="unfinished"></translation>
734 </message>
735 <message>
736 <source>selectionCount() -> integer
737
738 Returns the number of selected objects.
739 </source>
740 <translation type="unfinished"></translation>
741 </message>
742 <message>
743 <source>selectObject("name")
744
745 Selects the object with the given "name".
746 </source>
747 <translation type="unfinished"></translation>
748 </message>
749 <message>
750 <source>deselectAll()
751
752 Deselects all objects in the whole document.
753 </source>
754 <translation type="unfinished"></translation>
755 </message>
756 <message>
757 <source>groupObjects(list)
758
759 Groups the objects named in "list" together. "list" must contain the names
760 of the objects to be grouped. If "list" is not given the currently selected
761 items are used.
762 </source>
763 <translation type="unfinished"></translation>
764 </message>
765 <message>
766 <source>unGroupObjects("name")
767
768 Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source>
769 <translation type="unfinished"></translation>
770 </message>
771 <message>
772 <source>scaleGroup(factor [,"name"])
773
774 Scales the group the object "name" belongs to. Values greater than 1 enlarge
775 the group, values smaller than 1 make the group smaller e.g a value of 0.5
776 scales the group to 50 % of its original size, a value of 1.5 scales the group
777 to 150 % of its original size. The value for "factor" must be greater than
778 0. If "name" is not given the currently selected item is used.
779
780 May raise ValueError if an invalid scale factor is passed.
781 </source>
782 <translation type="unfinished"></translation>
783 </message>
784 <message>
785 <source>loadImage("filename" [, "name"])
786
787 Loads the picture "picture" into the image frame "name". If "name" is
788 not given the currently selected item is used.
789
790 May raise WrongFrameTypeError if the target frame is not an image frame
791 </source>
792 <translation type="unfinished"></translation>
793 </message>
794 <message>
795 <source>scaleImage(x, y [, "name"])
796
797 Sets the scaling factors of the picture in the image frame "name".
798 If "name" is not given the currently selected item is used. A number of 1
799 means 100 %.
800
801 May raise WrongFrameTypeError if the target frame is not an image frame
802 </source>
803 <translation type="unfinished"></translation>
804 </message>
805 <message>
806 <source>lockObject(["name"]) -> bool
807
808 Locks the object "name" if it's unlocked or unlock it if it's locked.
809 If "name" is not given the currently selected item is used. Returns true
810 if locked.
811 </source>
812 <translation type="unfinished"></translation>
813 </message>
814 <message>
815 <source>isLocked(["name"]) -> bool
816
817 Returns true if is the object "name" locked. If "name" is not given the
818 currently selected item is used.
819 </source>
820 <translation type="unfinished"></translation>
821 </message>
822 <message>
823 <source>getFontNames() -> list
824
825 Returns a list with the names of all available fonts.
826 </source>
827 <translation type="unfinished"></translation>
828 </message>
829 <message>
830 <source>getXFontNames() -> list of tuples
831
832 Returns a larger font info. It's a list of the tuples with:
833 [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
834 </source>
835 <translation type="unfinished"></translation>
836 </message>
837 <message>
838 <source>getLayers() -> list
839
840 Returns a list with the names of all defined layers.
841 </source>
842 <translation type="unfinished"></translation>
843 </message>
844 <message>
845 <source>setActiveLayer("name")
846
847 Sets the active layer to the layer named "name".
848
849 May raise NotFoundError if the layer can't be found.
850 May raise ValueError if the layer name isn't acceptable.
851 </source>
852 <translation type="unfinished"></translation>
853 </message>
854 <message>
855 <source>getActiveLayer() -> string
856
857 Returns the name of the current active layer.
858 </source>
859 <translation type="unfinished"></translation>
860 </message>
861 <message>
862 <source>sentToLayer("layer" [, "name"])
863
864 Sends the object "name" to the layer "layer". The layer must exist.
865 If "name" is not given the currently selected item is used.
866
867 May raise NotFoundError if the layer can't be found.
868 May raise ValueError if the layer name isn't acceptable.
869 </source>
870 <translation type="unfinished"></translation>
871 </message>
872 <message>
873 <source>setLayerVisible("layer", visible)
874
875 Sets the layer "layer" to be visible or not. If is the visible set to false
876 the layer is invisible.
877
878 May raise NotFoundError if the layer can't be found.
879 May raise ValueError if the layer name isn't acceptable.
880 </source>
881 <translation type="unfinished"></translation>
882 </message>
883 <message>
884 <source>setLayerPrintable("layer", printable)
885
886 Sets the layer "layer" to be printable or not. If is the printable set to
887 false the layer won't be printed.
888
889 May raise NotFoundError if the layer can't be found.
890 May raise ValueError if the layer name isn't acceptable.
891 </source>
892 <translation type="unfinished"></translation>
893 </message>
894 <message>
895 <source>deleteLayer("layer")
896
897 Deletes the layer with the name "layer". Nothing happens if the layer doesn't
898 exists or if it's the only layer in the document.
899
900 May raise NotFoundError if the layer can't be found.
901 May raise ValueError if the layer name isn't acceptable.
902 </source>
903 <translation type="unfinished"></translation>
904 </message>
905 <message>
906 <source>createLayer(layer)
907
908 Creates a new layer with the name "name".
909
910 May raise ValueError if the layer name isn't acceptable.
911 </source>
912 <translation type="unfinished"></translation>
913 </message>
914 <message>
915 <source>getGuiLanguage() -> string
916
917 Returns a string with the -lang value.
918 </source>
919 <translation type="unfinished"></translation>
920 </message>
921 <message>
922 <source>createEllipse(x, y, width, height, ["name"]) -> string
923
924 Creates a new ellipse on the current page and returns its name.
925 The coordinates are given in the current measurement units of the document
926 (see UNIT constants). "name" should be a unique identifier for the object
927 because you need this name for further referencing of that object. If "name"
928 is not given Scribus will create one for you.
929
930 May raise NameExistsError if you explicitly pass a name that's already used.
931 </source>
932 <translation type="unfinished"></translation>
933 </message>
934 <message>
935 <source>createImage(x, y, width, height, ["name"]) -> string
936
937 Creates a new picture frame on the current page and returns its name. The
938 coordinates are given in the current measurement units of the document.
939 "name" should be a unique identifier for the object because you need this
940 name for further access to that object. If "name" is not given Scribus will
941 create one for you.
942
943 May raise NameExistsError if you explicitly pass a name that's already used.
944 </source>
945 <translation type="unfinished"></translation>
946 </message>
947 <message>
948 <source>createText(x, y, width, height, ["name"]) -> string
949
950 Creates a new text frame on the actual page and returns its name.
951 The coordinates are given in the actual measurement unit of the document (see
952 UNIT constants). "name" should be a unique identifier for the object because
953 you need this name for further referencing of that object. If "name" is not
954 given Scribus will create one for you.
955
956 May raise NameExistsError if you explicitly pass a name that's already used.
957 </source>
958 <translation type="unfinished"></translation>
959 </message>
960 <message>
961 <source>createLine(x1, y1, x2, y2, ["name"]) -> string
962
963 Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
964 its name. The coordinates are given in the current measurement unit of the
965 document (see UNIT constants). "name" should be a unique identifier for the
966 object because you need this name for further access to that object. If
967 "name" is not given Scribus will create one for you.
968
969 May raise NameExistsError if you explicitly pass a name that's already used.
970 </source>
971 <translation type="unfinished"></translation>
972 </message>
973 <message>
974 <source>createPolyLine(list, ["name"]) -> string
975
976 Creates a new polyline and returns its name. The points for the polyline are
977 stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn].
978 The coordinates are given in the current measurement units of the document (see
979 UNIT constants). "name" should be a unique identifier for the object because
980 you need this name for further access to that object. If "name" is not given
981 Scribus will create one for you.
982
983 May raise NameExistsError if you explicitly pass a name that's already used.
984 May raise ValueError if an insufficient number of points is passed or if
985 the number of values passed don't group into points without leftovers.
986 </source>
987 <translation type="unfinished"></translation>
988 </message>
989 <message>
990 <source>createPolygon(list, ["name"]) -> string
991
992 Creates a new polygon and returns its name. The points for the polygon are
993 stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn].
994 At least three points are required. There is no need to repeat the first point
995 to close the polygon. The polygon is automatically closed by connecting the
996 first and the last point. The coordinates are given in the current measurement
997 units of the document (see UNIT constants). "name" should be a unique
998 identifier for the object because you need this name for further access to that
999 object. If "name" is not given Scribus will create one for you.
1000
1001 May raise NameExistsError if you explicitly pass a name that's already used.
1002 May raise ValueError if an insufficient number of points is passed or if
1003 the number of values passed don't group into points without leftovers.
1004 </source>
1005 <translation type="unfinished"></translation>
1006 </message>
1007 <message>
1008 <source>createBezierLine(list, ["name"]) -> string
1009
1010 Creates a new bezier curve and returns its name. The points for the bezier
1011 curve are stored in the list "list" in the following order:
1012 [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1013 In the points list, x and y mean the x and y coordinates of the point and kx
1014 and ky meaning the control point for the curve. The coordinates are given in
1015 the current measurement units of the document (see UNIT constants). "name"
1016 should be a unique identifier for the object because you need this name for
1017 further access to that object. If "name" is not given Scribus will create one
1018 for you.
1019
1020 May raise NameExistsError if you explicitly pass a name that's already used.
1021 May raise ValueError if an insufficient number of points is passed or if
1022 the number of values passed don't group into points without leftovers.
1023 </source>
1024 <translation type="unfinished"></translation>
1025 </message>
1026 <message>
1027 <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string
1028
1029 Creates a new pathText by merging the two objects "textbox" and
1030 "beziercurve" and returns its name. The coordinates are given in the current
1031 measurement unit of the document (see UNIT constants). "name" should be a
1032 unique identifier for the object because you need this name for further access
1033 to that object. If "name" is not given Scribus will create one for you.
1034
1035 May raise NameExistsError if you explicitly pass a name that's already used.
1036 May raise NotFoundError if one or both of the named base object don't exist.
1037 </source>
1038 <translation type="unfinished"></translation>
1039 </message>
1040 <message>
1041 <source>deleteObject(["name"])
1042
1043 Deletes the item with the name "name". If "name" is not given the currently
1044 selected item is deleted.
1045 </source>
1046 <translation type="unfinished"></translation>
1047 </message>
1048 <message>
1049 <source>textFlowsAroundFrame("name" [, state])
1050
1051 Enables/disables "Text Flows Around Frame" feature for object "name".
1052 Called with parameters string name and optional boolean "state". If "state"
1053 is not passed, text flow is toggled.
1054 </source>
1055 <translation type="unfinished"></translation>
1056 </message>
1057 <message>
1058 <source>objectExists(["name"]) -> bool
1059
1060 Test if an object with specified name really exists in the document.
1061 The optional parameter is the object name. When no object name is given,
1062 returns True if there is something selected.
1063 </source>
1064 <translation type="unfinished"></translation>
1065 </message>
1066 <message>
1067 <source>setStyle("style" [, "name"])
1068
1069 Apply the named "style" to the object named "name". If is no object name
1070 given, it's applied on the selected object.
1071 </source>
1072 <translation type="unfinished"></translation>
1073 </message>
1074 <message>
1075 <source>getAllStyles() -> list
1076
1077 Return a list of the names of all paragraph styles in the current document.
1078 </source>
1079 <translation type="unfinished"></translation>
1080 </message>
1081 <message>
1082 <source>currentPage() -> integer
1083
1084 Returns the number of the current working page. Page numbers are counted from 1
1085 upwards, no matter what the displayed first page number of your document is.
1086 </source>
1087 <translation type="unfinished"></translation>
1088 </message>
1089 <message>
1090 <source>redrawAll()
1091
1092 Redraws all pages.
1093 </source>
1094 <translation type="unfinished"></translation>
1095 </message>
1096 <message>
1097 <source>savePageAsEPS("name")
1098
1099 Saves the current page as an EPS to the file "name".
1100
1101 May raise ScribusError if the save failed.
1102 </source>
1103 <translation type="unfinished"></translation>
1104 </message>
1105 <message>
1106 <source>deletePage(nr)
1107
1108 Deletes the given page. Does nothing if the document contains only one page.
1109 Page numbers are counted from 1 upwards, no matter what the displayed first
1110 page number is.
1111
1112 May raise IndexError if the page number is out of range
1113 </source>
1114 <translation type="unfinished"></translation>
1115 </message>
1116 <message>
1117 <source>gotoPage(nr)
1118
1119 Moves to the page "nr" (that is, makes the current page "nr"). Note that
1120 gotoPage doesn't (curently) change the page the user's view is displaying, it
1121 just sets the page that script commands will operates on.
1122
1123 May raise IndexError if the page number is out of range.
1124 </source>
1125 <translation type="unfinished"></translation>
1126 </message>
1127 <message>
1128 <source>pageCount() -> integer
1129
1130 Returns the number of pages in the document.
1131 </source>
1132 <translation type="unfinished"></translation>
1133 </message>
1134 <message>
1135 <source>getHGuides() -> list
1136
1137 Returns a list containing positions of the horizontal guides. Values are in the
1138 document's current units - see UNIT_<type> constants.
1139 </source>
1140 <translation type="unfinished"></translation>
1141 </message>
1142 <message>
1143 <source>setHGuides(list)
1144
1145 Sets horizontal guides. Input parameter must be a list of guide positions
1146 measured in the current document units - see UNIT_<type> constants.
1147
1148 Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1149 setHGuides([90,250]) # replace current guides entirely
1150 </source>
1151 <translation type="unfinished"></translation>
1152 </message>
1153 <message>
1154 <source>getVGuides()
1155
1156 See getHGuides.
1157 </source>
1158 <translation type="unfinished"></translation>
1159 </message>
1160 <message>
1161 <source>setVGuides()
1162
1163 See setHGuides.
1164 </source>
1165 <translation type="unfinished"></translation>
1166 </message>
1167 <message>
1168 <source>getPageSize() -> tuple
1169
1170 Returns a tuple with page dimensions measured in the document's current units.
1171 See UNIT_<type> constants and getPageMargins()
1172 </source>
1173 <translation type="unfinished"></translation>
1174 </message>
1175 <message>
1176 <source>getPageItems() -> list
1177
1178 Returns a list of tuples with items on the current page. The tuple is:
1179 (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)]
1180 means that object named 'Text1' is a text frame (type 4) and is the first at
1181 the page...
1182 </source>
1183 <translation type="unfinished"></translation>
1184 </message>
1185 <message>
1186 <source>setFillColor("color", ["name"])
1187
1188 Sets the fill color of the object "name" to the color "color". "color"
1189 is the name of one of the defined colors. If "name" is not given the
1190 currently selected item is used.
1191 </source>
1192 <translation type="unfinished"></translation>
1193 </message>
1194 <message>
1195 <source>setLineColor("color", ["name"])
1196
1197 Sets the line color of the object "name" to the color "color". If "name"
1198 is not given the currently selected item is used.
1199 </source>
1200 <translation type="unfinished"></translation>
1201 </message>
1202 <message>
1203 <source>setLineWidth(width, ["name"])
1204
1205 Sets line width of the object "name" to "width". "width" must be in the
1206 range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not
1207 given the currently selected item is used.
1208
1209 May raise ValueError if the line width is out of bounds.
1210 </source>
1211 <translation type="unfinished"></translation>
1212 </message>
1213 <message>
1214 <source>setLineShade(shade, ["name"])
1215
1216 Sets the shading of the line color of the object "name" to "shade".
1217 "shade" must be an integer value in the range from 0 (lightest) to 100
1218 (full color intensity). If "name" is not given the currently selected item
1219 is used.
1220
1221 May raise ValueError if the line shade is out of bounds.
1222 </source>
1223 <translation type="unfinished"></translation>
1224 </message>
1225 <message>
1226 <source>setLineJoin(join, ["name"])
1227
1228 Sets the line join style of the object "name" to the style "join".
1229 If "name" is not given the currently selected item is used. There are
1230 predefined constants for join - JOIN_<type>.
1231 </source>
1232 <translation type="unfinished"></translation>
1233 </message>
1234 <message>
1235 <source>setLineEnd(endtype, ["name"])
1236
1237 Sets the line cap style of the object "name" to the style "cap".
1238 If "name" is not given the currently selected item is used. There are
1239 predefined constants for "cap" - CAP_<type>.
1240 </source>
1241 <translation type="unfinished"></translation>
1242 </message>
1243 <message>
1244 <source>setLineStyle(style, ["name"])
1245
1246 Sets the line style of the object "name" to the style "style". If "name"
1247 is not given the currently selected item is used. There are predefined
1248 constants for "style" - LINE_<style>.
1249 </source>
1250 <translation type="unfinished"></translation>
1251 </message>
1252 <message>
1253 <source>setFillShade(shade, ["name"])
1254
1255 Sets the shading of the fill color of the object "name" to "shade".
1256 "shade" must be an integer value in the range from 0 (lightest) to 100
1257 (full Color intensity). If "name" is not given the currently selected
1258 Item is used.
1259
1260 May raise ValueError if the fill shade is out of bounds.
1261 </source>
1262 <translation type="unfinished"></translation>
1263 </message>
1264 <message>
1265 <source>setCornerRadius(radius, ["name"])
1266
1267 Sets the corner radius of the object "name". The radius is expressed
1268 in points. If "name" is not given the currently selected item is used.
1269
1270 May raise ValueError if the corner radius is negative.
1271 </source>
1272 <translation type="unfinished"></translation>
1273 </message>
1274 <message>
1275 <source>setMultiLine("namedStyle", ["name"])
1276
1277 Sets the line style of the object "name" to the named style "namedStyle".
1278 If "name" is not given the currently selected item is used.
1279
1280 May raise NotFoundError if the line style doesn't exist.
1281 </source>
1282 <translation type="unfinished"></translation>
1283 </message>
1284 <message>
1285 <source>getFont(["name"]) -> string
1286
1287 Returns the font name for the text frame "name". If this text frame
1288 has some text selected the value assigned to the first character
1289 of the selection is returned. If "name" is not given the currently
1290 selected item is used.
1291 </source>
1292 <translation type="unfinished"></translation>
1293 </message>
1294 <message>
1295 <source>getTextLength(["name"]) -> integer
1296
1297 Returns the length of the text in the text frame "name".
1298 If "name" is not given the currently selected item is used.
1299 </source>
1300 <translation type="unfinished"></translation>
1301 </message>
1302 <message>
1303 <source>getText(["name"]) -> string
1304
1305 Returns the text of the text frame "name". If this text frame has some text
1306 selected, the selected text is returned. All text in the frame, not just
1307 currently visible text, is returned. If "name" is not given the currently
1308 selected item is used.
1309 </source>
1310 <translation type="unfinished"></translation>
1311 </message>
1312 <message>
1313 <source>getAllText(["name"]) -> string
1314
1315 Returns the text of the text frame "name" and of all text frames which are
1316 linked with this frame. If this textframe has some text selected, the selected
1317 text is returned. If "name" is not given the currently selected item is
1318 used.
1319 </source>
1320 <translation type="unfinished"></translation>
1321 </message>
1322 <message>
1323 <source>getLineSpacing(["name"]) -> float
1324
1325 Returns the line spacing ("leading") of the text frame "name" expressed in
1326 points. If "name" is not given the currently selected item is used.
1327 </source>
1328 <translation type="unfinished"></translation>
1329 </message>
1330 <message>
1331 <source>getColumnGap(["name"]) -> float
1332
1333 Returns the column gap size of the text frame "name" expressed in points. If
1334 "name" is not given the currently selected item is used.
1335 </source>
1336 <translation type="unfinished"></translation>
1337 </message>
1338 <message>
1339 <source>getColumns(["name"]) -> integer
1340
1341 Gets the number of columns of the text frame "name". If "name" is not
1342 given the currently selected item is used.
1343 </source>
1344 <translation type="unfinished"></translation>
1345 </message>
1346 <message>
1347 <source>setText("text", ["name"])
1348
1349 Sets the text of the text frame "name" to the text of the string "text".
1350 Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ
1351 for more details. If "name" is not given the currently selected item is
1352 used.
1353 </source>
1354 <translation type="unfinished"></translation>
1355 </message>
1356 <message>
1357 <source>setFont("font", ["name"])
1358
1359 Sets the font of the text frame "name" to "font". If there is some text
1360 selected only the selected text is changed. If "name" is not given the
1361 currently selected item is used.
1362
1363 May throw ValueError if the font cannot be found.
1364 </source>
1365 <translation type="unfinished"></translation>
1366 </message>
1367 <message>
1368 <source>setFontSize(size, ["name"])
1369
1370 Sets the font size of the text frame "name" to "size". "size" is treated
1371 as a value in points. If there is some text selected only the selected text is
1372 changed. "size" must be in the range 1 to 512. If "name" is not given the
1373 currently selected item is used.
1374
1375 May throw ValueError for a font size that's out of bounds.
1376 </source>
1377 <translation type="unfinished"></translation>
1378 </message>
1379 <message>
1380 <source>setLineSpacing(size, ["name"])
1381
1382 Sets the line spacing ("leading") of the text frame "name" to "size".
1383 "size" is a value in points. If "name" is not given the currently selected
1384 item is used.
1385
1386 May throw ValueError if the line spacing is out of bounds.
1387 </source>
1388 <translation type="unfinished"></translation>
1389 </message>
1390 <message>
1391 <source>setColumnGap(size, ["name"])
1392
1393 Sets the column gap of the text frame "name" to the value "size". If
1394 "name" is not given the currently selected item is used.
1395
1396 May throw ValueError if the column gap is out of bounds (must be positive).
1397 </source>
1398 <translation type="unfinished"></translation>
1399 </message>
1400 <message>
1401 <source>setColumns(nr, ["name"])
1402
1403 Sets the number of columns of the text frame "name" to the integer "nr".
1404 If "name" is not given the currently selected item is used.
1405
1406 May throw ValueError if number of columns is not at least one.
1407 </source>
1408 <translation type="unfinished"></translation>
1409 </message>
1410 <message>
1411 <source>setTextAlignment(align, ["name"])
1412
1413 Sets the text alignment of the text frame "name" to the specified alignment.
1414 If "name" is not given the currently selected item is used. "align" should
1415 be one of the ALIGN_ constants defined in this module - see dir(scribus).
1416
1417 May throw ValueError for an invalid alignment constant.
1418 </source>
1419 <translation type="unfinished"></translation>
1420 </message>
1421 <message>
1422 <source>deleteText(["name"])
1423
1424 Deletes any text in the text frame "name". If there is some text selected,
1425 only the selected text will be deleted. If "name" is not given the currently
1426 selected item is used.
1427 </source>
1428 <translation type="unfinished"></translation>
1429 </message>
1430 <message>
1431 <source>setTextColor("color", ["name"])
1432
1433 Sets the text color of the text frame "name" to the color "color". If there
1434 is some text selected only the selected text is changed. If "name" is not
1435 given the currently selected item is used.
1436 </source>
1437 <translation type="unfinished"></translation>
1438 </message>
1439 <message>
1440 <source>setTextStroke("color", ["name"])
1441
1442 Set "color" of the text stroke. If "name" is not given the currently
1443 selected item is used.
1444 </source>
1445 <translation type="unfinished"></translation>
1446 </message>
1447 <message>
1448 <source>setTextShade(shade, ["name"])
1449
1450 Sets the shading of the text color of the object "name" to "shade". If
1451 there is some text selected only the selected text is changed. "shade" must
1452 be an integer value in the range from 0 (lightest) to 100 (full color
1453 intensity). If "name" is not given the currently selected item is
1454 used.
1455 </source>
1456 <translation type="unfinished"></translation>
1457 </message>
1458 <message>
1459 <source>linkTextFrames("fromname", "toname")
1460
1461 Link two text frames. The frame named "fromname" is linked to the
1462 frame named "toname". The target frame must be an empty text frame
1463 and must not link to or be linked from any other frames already.
1464
1465 May throw ScribusException if linking rules are violated.
1466 </source>
1467 <translation type="unfinished"></translation>
1468 </message>
1469 <message>
1470 <source>unlinkTextFrames("name")
1471
1472 Remove the specified (named) object from the text frame flow/linkage. If the
1473 frame was in the middle of a chain, the previous and next frames will be
1474 connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)'
1475
1476 May throw ScribusException if linking rules are violated.
1477 </source>
1478 <translation type="unfinished"></translation>
1479 </message>
1480 <message>
1481 <source>traceText(["name"])
1482
1483 Convert the text frame "name" to outlines. If "name" is not given the
1484 currently selected item is used.</source>
1485 <translation type="unfinished"></translation>
1486 </message>
1487 <message>
1488 <source>progressReset()
1489
1490 Cleans up the Scribus progress bar previous settings. It is called before the
1491 new progress bar use. See progressSet.
1492 </source>
1493 <translation type="unfinished"></translation>
1494 </message>
1495 <message>
1496 <source>progressTotal(max)
1497
1498 Sets the progress bar's maximum steps value to the specified number.
1499 See progressSet.
1500 </source>
1501 <translation type="unfinished"></translation>
1502 </message>
1503 <message>
1504 <source>progressSet(nr)
1505
1506 Set the progress bar position to "nr", a value relative to the previously set
1507 progressTotal. The progress bar uses the concept of steps; you give it the
1508 total number of steps and the number of steps completed so far and it will
1509 display the percentage of steps that have been completed. You can specify the
1510 total number of steps with progressTotal(). The current number of steps is set
1511 with progressSet(). The progress bar can be rewound to the beginning with
1512 progressReset(). [based on info taken from Trolltech's Qt docs]
1513 </source>
1514 <translation type="unfinished"></translation>
1515 </message>
1516 <message>
1517 <source>setCursor()
1518
1519 [UNSUPPORTED!] This might break things, so steer clear for now.
1520 </source>
1521 <translation type="unfinished"></translation>
1522 </message>
1523 <message>
1524 <source>docChanged(bool)
1525
1526 Enable/disable save icon in the Scribus icon bar and the Save menu item. It's
1527 useful to call this procedure when you're changing the document, because Scribus
1528 won&apos