Subversion Repositories Scribus

Rev

Rev 11085 | Rev 12076 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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