Subversion Repositories Scribus

Rev

Rev 14099 | Details | Compare with Previous | Last modification | View Log | RSS feed

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