Subversion Repositories Scribus

Rev

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

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