Subversion Repositories Scribus

Rev

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

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