Subversion Repositories Scribus

Rev

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