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