Subversion Repositories Scribus

Rev

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

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