Subversion Repositories Scribus

Rev

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

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