Subversion Repositories Scribus

Rev

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

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