Subversion Repositories Scribus

Rev

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

Rev Author Line No. Line
9729 cbradney 1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE TS><TS version="1.1">
3064 cbradney 3
<context>
952 cbradney 4
    <name></name>
5
    <message>
9729 cbradney 6
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="21"/>
3064 cbradney 7
        <source>getColorNames() -&gt; list
952 cbradney 8
 
9
Returns a list containing the names of all defined colors in the document.
10
If no document is open, returns a list of the default document colors.
11
</source>
3064 cbradney 12
        <translation>getColorNames() -&gt; list
974 cbradney 13
 
14
Devuelve una lista que contiene los nombres de todos los colores definidos
15
en el documento. Si no hay abierto ningún documento, devulve una lista de
16
los colores del documento por defecto.
17
</translation>
952 cbradney 18
    </message>
19
    <message>
9729 cbradney 20
        <location filename="../plugins/scriptplugin/cmddialog.h" line="22"/>
3064 cbradney 21
        <source>newDocDialog() -&gt; bool
952 cbradney 22
 
23
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
24
accepts the settings. Does not create a document if the user presses cancel.
25
Returns true if a new document was created.
26
</source>
3064 cbradney 27
        <translation>newDocDialog() -&gt; bool
974 cbradney 28
 
29
Muestra el diálogo de &quot;Nuevo Documento&quot;. Crea un nuevo documento si
30
el usuario presiona aceptar. No lo crea si presiona cancelar. Devuelve true
31
si se crea un nuevo documento.</translation>
952 cbradney 32
    </message>
33
    <message>
9729 cbradney 34
        <location filename="" line="136965632"/>
3064 cbradney 35
        <source>newDoc(size, margins, orientation, firstPageNumber,
36
                   unit, facingPages, firstSideLeft) -&gt; bool
952 cbradney 37
 
38
Creates a new document and returns true if successful. The parameters have the
39
following meaning:
40
 
41
    size = A tuple (width, height) describing the size of the document. You can
3064 cbradney 42
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
952 cbradney 43
 
44
    margins = A tuple (left, right, top, bottom) describing the document
45
    margins
46
 
47
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
48
 
49
    firstPageNumber = is the number of the first page in the document used for
3064 cbradney 50
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
51
    numbers if you&apos;re creating a document in several parts.
952 cbradney 52
 
53
    unit: this value sets the measurement units used by the document. Use a
54
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
55
    UNIT_PICAS, UNIT_POINTS.
56
 
57
    facingPages = FACINGPAGES, NOFACINGPAGES
58
 
59
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
60
 
61
The values for width, height and the margins are expressed in the given unit
62
for the document. PAPER_* constants are expressed in points. If your document
63
is not in points, make sure to account for this.
64
 
65
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
66
                FACINGPAGES, FIRSTPAGERIGHT)
67
</source>
3064 cbradney 68
        <translation type="obsolete">newDoc(size, margins, orientation, firstPageNumber,
69
                   unit, facingPages, firstSideLeft) -&gt; bool
974 cbradney 70
 
71
Crea un nuevo documento y devuelve true si tiene éxito. Los parámetros tienen
72
el siguiente significado:
73
 
74
    size = Un par (ancho, alto) que describe el tamaño del documento. Se
3064 cbradney 75
    pueden usar constantes predefinidas llamadas PAPER_&lt;tipo_de_papel&gt;
974 cbradney 76
    p. ej. PAPER_A4, etc.
77
 
78
    margins = Un vector (izquierda, derecha, arriba, abajo) que describe
79
    los márgenes del documento
80
 
81
    orientation = la orientación de la página - constantes PORTRAIT (vertical),
82
    LANDSCAPE (apasaido)
83
 
84
   firstPageNumber = es el número de la primera página del documento
85
    usado para la numeración de páginas. Aunque normalmente será 1, es útil
86
    para tener números mayores si se crea un documento en varias partes.
87
 
88
    unit: este valor establece las unidades de medida usadas por el
89
    documento. Usa una constante predefinida para esto, una de:
90
    UNIT_INCHES (pulgadas), UNIT_MILLIMETERS (milímetros),
91
    UNIT_PICAS (picas), UNIT_POINTS (puntos).
92
 
93
    facingPages = FACINGPAGES (páginas enfrentadas),
94
    NOFACINGPAGES (páginas no enfrentadas)
95
 
96
    firstSideLeft = FIRSTPAGELEFT (primera página a la izquierda),
97
    FIRSTPAGERIGHT (primera página a la derecha)
98
 
99
Los valores para la anchura, altura y los márgenes están expresados en la unidad
100
dada para el documento. Las constantes PAPER_* están expresadas en puntos. Si
101
tu documento no está en puntos, asegurate de tenerlo en cuenta.
102
 
103
ejemplo: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
104
                FACINGPAGES, FIRSTPAGERIGHT)
105
</translation>
952 cbradney 106
    </message>
107
    <message>
9729 cbradney 108
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="21"/>
3064 cbradney 109
        <source>getFillColor([&quot;name&quot;]) -&gt; string
952 cbradney 110
 
111
Returns the name of the fill color of the object &quot;name&quot;.
112
If &quot;name&quot; is not given the currently selected item is used.
113
</source>
3064 cbradney 114
        <translation>getFillColor([&quot;name&quot;]) -&gt; string
974 cbradney 115
 
116
Devuleve el nombre del color de relleno del objeto con nombre&quot;name&quot;.
117
Si no se pasa un nombre se usa el objeto que esté seleccionado.
118
</translation>
952 cbradney 119
    </message>
120
    <message>
9729 cbradney 121
        <location filename="../plugins/scriptplugin/cmdmani.h" line="23"/>
3064 cbradney 122
        <source>moveObject(dx, dy [, &quot;name&quot;])
952 cbradney 123
 
124
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
125
distances are expressed in the current measurement unit of the document (see
126
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
127
If the object &quot;name&quot; belongs to a group, the whole group is moved.
128
</source>
3064 cbradney 129
        <translation>moveObject(dx, dy [, &quot;name&quot;])
974 cbradney 130
 
131
Mueve el objeto de nombre &quot;name&quot; dx y dy unidades, relativo a su posición
132
actual. Las distancias se deben expresar en las unidades actuales del
133
documento (ver constantes UNIT). Si no se pasa un nombre se usa el objeto
134
que esté seleccionado. Si el objeto &quot;name&quot; pertenece a un grupo, se
135
mueve el grupo entero.
136
</translation>
952 cbradney 137
    </message>
138
    <message>
9729 cbradney 139
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="24"/>
3064 cbradney 140
        <source>setRedraw(bool)
952 cbradney 141
 
142
Disables page redraw when bool = False, otherwise redrawing is enabled.
143
This change will persist even after the script exits, so make sure to call
144
setRedraw(True) in a finally: clause at the top level of your script.
145
</source>
3064 cbradney 146
        <translation>setRedraw(bool)
974 cbradney 147
 
148
Desactiva el redibujado de la página si bool = False, de otro modo, se activa
149
el redibujado. Este cambio permanecerá incluso después de que el script
150
termine, así que asegurate de llamar a setRedraw(True) en una sentencia
151
finally: en el nivel superior del script.
152
</translation>
952 cbradney 153
    </message>
154
    <message>
9729 cbradney 155
        <location filename="../plugins/scriptplugin/cmdobj.h" line="26"/>
3064 cbradney 156
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
952 cbradney 157
 
158
Creates a new rectangle on the current page and returns its name. The
159
coordinates are given in the current measurement units of the document
160
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
161
because you need this name to reference that object in future. If &quot;name&quot;
162
is not given Scribus will create one for you.
163
 
3064 cbradney 164
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 165
</source>
3064 cbradney 166
        <translation>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
974 cbradney 167
 
168
Crea un nuevo rectángulo en la página actual y devuelve su nombre. Las
169
coordenadas x, y, anchura y altura se expresan en las unidades actuales
170
del documento (ver constantes UNIT). &quot;name&quot; debería ser un identificador
171
único para el objeto porque el objeto se referenciará con ese nombre
172
después. Si no se le da un nombre, Scribus creará uno.
173
 
174
Puede lanzar la excepción NameExistsError si se pasa un nombre que
175
ya se está usando.
176
</translation>
952 cbradney 177
    </message>
178
    <message>
9729 cbradney 179
        <location filename="" line="136965632"/>
3064 cbradney 180
        <source>newPage(where [,&quot;template&quot;])
952 cbradney 181
 
182
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
183
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
184
counted from 1 upwards, no matter what the displayed first page number of your
185
document is. The optional parameter &quot;template&quot; specifies the name of the
186
template page for the new page.
187
 
188
May raise IndexError if the page number is out of range
189
</source>
3064 cbradney 190
        <translation type="obsolete">newPage(where [,&quot;template&quot;])
974 cbradney 191
 
192
Crea una nueva página. Si &quot;where&quot; es -1 la página se añade al documento,
193
de otro modo la página se inserta antes de la página &quot;where&quot;. Los números
194
de página se cuentan de 1 en adelante, sin importar cuál es el número que se
195
muestra en la primera página del documento. El parámetro opcional &quot;template&quot;
196
especifica el nombre de la plantilla para la nueva página.
197
 
198
Puede lanzar la excepción IndexError si el número de página está fuera de rango.
199
</translation>
952 cbradney 200
    </message>
201
    <message>
9729 cbradney 202
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="22"/>
3064 cbradney 203
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
952 cbradney 204
 
205
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
206
the same as for setFillColor() and setFillShade(). See the constants for
3064 cbradney 207
available types (FILL_&lt;type&gt;).
952 cbradney 208
</source>
3064 cbradney 209
        <translation>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
974 cbradney 210
 
211
Establece el degradado de relleno del objeto con nombre &quot;name&quot; como
212
tipo &quot;type&quot;. Las descripciones de color son las mismas que para setFillColor()
3064 cbradney 213
y setFillShade(). Ver las constantes FILL_&lt;tipo&gt; para los tipos disponibles.
974 cbradney 214
</translation>
952 cbradney 215
    </message>
216
    <message>
9729 cbradney 217
        <location filename="../plugins/scriptplugin/cmdtext.h" line="23"/>
3064 cbradney 218
        <source>getFontSize([&quot;name&quot;]) -&gt; float
952 cbradney 219
 
220
Returns the font size in points for the text frame &quot;name&quot;. If this text
221
frame has some text selected the value assigned to the first character of
222
the selection is returned.
223
If &quot;name&quot; is not given the currently selected item is used.
224
</source>
3064 cbradney 225
        <translation>getFontSize([&quot;name&quot;]) -&gt; float
974 cbradney 226
 
227
Devuelve el tamaño de fuente en puntos del marco de texto con nombre
228
&quot;name&quot;. Si el marco de texto tiene texto seleccionado, devuelve el del
229
primer caracter de la selección.
230
Si no se le pasa un nombre se usa el objeto que esté seleccionado.
231
</translation>
952 cbradney 232
    </message>
233
    <message>
9729 cbradney 234
        <location filename="../plugins/scriptplugin/guiapp.h" line="21"/>
3064 cbradney 235
        <source>messagebarText(&quot;string&quot;)
952 cbradney 236
 
237
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3064 cbradney 238
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
952 cbradney 239
</source>
3064 cbradney 240
        <translation>messagebarText(&quot;string&quot;)
974 cbradney 241
 
242
Escribe la cadena &quot;string&quot; en la barra de mensaje (barra de estado) de Scribus.
3064 cbradney 243
El texto debe estar codificado en UTF8 o &apos;unicode&apos; (recomendado).
974 cbradney 244
</translation>
952 cbradney 245
    </message>
1525 cbradney 246
    <message>
9729 cbradney 247
        <location filename="" line="136965632"/>
3064 cbradney 248
        <source>register_macro_callable(name, callable, accel=&apos;&apos;)
1525 cbradney 249
 
2140 cbradney 250
Create a macro called &quot;name&quot; with the existing callable object &quot;callable&quot;.
251
The passed callable must not require any arguments when called (it may take
252
optional arguments, but will not be given any).
253
If provided, the string &quot;accel&quot; will be used to set a keyboard shortcut
254
for the macro.
255
If the passed callable is a class, it will be rejected. Functions and bound
256
methods are quite acceptable, as are instances of classes that provide a
257
__call__ method with no arguments. There is no problem with registering
258
a callable more than once, nor with registering multiple bound methods
259
of a single instance.
260
</source>
3064 cbradney 261
        <translation type="obsolete">register_macro_callable(name, callable, accel=&apos;&apos;)
1525 cbradney 262
 
2140 cbradney 263
Crea una macro llamada &quot;name&quot; con el objeto ya existente llamado &quot;callable&quot;.
264
&quot;callable&quot; no debe requerir argumentos cuando se llame (puede tener
265
argumentos opcionales, pero no se le pasará ninguno).
266
La cadena &quot;accel&quot; se usará como acceso rápido para la macro, si se
267
proporciona.
268
Si &quot;callable&quot; es una clase se rechazará. Se admiten funciones y métodos
269
bound, al igual que instancias de clases que proporcionen un método
270
__call__ sin argumentos. No hay ningún problema en registrar el mismo
271
&quot;callable&quot; más de una vez, ni en registrar múltiples métodos bound de una
272
única instancia.
273
</translation>
1525 cbradney 274
    </message>
3064 cbradney 275
    <message>
9729 cbradney 276
        <location filename="../plugins/scriptplugin/cmdpage.h" line="26"/>
3064 cbradney 277
        <source>newPage(where [,&quot;masterpage&quot;])
278
 
279
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
280
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
281
counted from 1 upwards, no matter what the displayed first page number of your
282
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
283
master page for the new page.
284
 
285
May raise IndexError if the page number is out of range
286
</source>
287
        <translation type="unfinished"></translation>
288
    </message>
289
    <message>
9729 cbradney 290
        <location filename="../plugins/scriptplugin/cmddoc.h" line="55"/>
3824 cbradney 291
        <source>newDocument(size, margins, orientation, firstPageNumber,
6434 cbradney 292
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
3824 cbradney 293
 
294
Creates a new document and returns true if successful. The parameters have the
295
following meaning:
296
 
297
size = A tuple (width, height) describing the size of the document. You can
298
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
299
 
300
margins = A tuple (left, right, top, bottom) describing the document
301
margins
302
 
303
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
304
 
305
firstPageNumer = is the number of the first page in the document used for
306
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
307
numbers if you&apos;re creating a document in several parts.
308
 
309
unit: this value sets the measurement units used by the document. Use a
310
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
311
UNIT_PICAS, UNIT_POINTS.
312
 
313
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
314
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
315
PAGE_4 is 4-fold.
316
 
317
firstPageOrder = What is position of first page in the document.
318
Indexed from 0 (0 = first).
319
 
6434 cbradney 320
numPage = Number of pages to be created.
321
 
3824 cbradney 322
The values for width, height and the margins are expressed in the given unit
323
for the document. PAPER_* constants are expressed in points. If your document
324
is not in points, make sure to account for this.
325
 
326
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
6434 cbradney 327
PAGE_4, 3, 1)
3824 cbradney 328
 
329
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
330
</source>
331
        <translation type="unfinished"></translation>
332
    </message>
9729 cbradney 333
    <message>
334
        <location filename="../plugins/scriptplugin/svgimport.h" line="21"/>
335
        <source>placeSVG(&quot;filename&quot;, x, y)
336
 
337
Places the SVG &quot;filename&quot; onto the current page,
338
x and y specify the coordinate of the topleft corner of the SVG placed on the page
339
 
340
If loading was successful, the selection contains the imported SVG
341
</source>
342
        <translation type="unfinished"></translation>
343
    </message>
11652 cbradney 344
    <message>
345
        <location filename="../plugins/scriptplugin/cmdstyle.h" line="43"/>
346
        <source>createParagraphStyle(...)
347
 
348
Creates a paragraph style. This function takes the following keyword parameters:
349
 
350
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
351
 
352
linespacingmode [optional] -&gt; specifies the linespacing mode; possible modes are:
353
 
354
fixed linespacing:          0
355
 
356
automatic linespacing:      1
357
 
358
baseline grid linespacing:  2
359
 
360
linespacing [optional] -&gt; specifies the linespacing if using fixed linespacing
361
 
362
alignment [optional] -&gt; specifies the alignment of the paragraph
363
 
364
-&gt; left:     0
365
 
366
-&gt; center:   1
367
 
368
-&gt; right:    2
369
 
370
-&gt; justify:  3
371
 
372
-&gt; extend:   4
373
 
374
leftmargin [optional], rightmargin [optional] -&gt; specify the margin
375
 
376
gapbefore [optional], gapafter [optional] -&gt; specify the gaps to the heading and following paragraphs
377
 
378
firstindent [optional] -&gt; the indent of the first line
379
 
380
hasdropcap [optional] -&gt; specifies if there are caps (1 = yes, 0 = no)
381
 
382
dropcaplines [optional] -&gt; height (in lines) of the caps if used
383
 
384
dropcapoffset [optional] -&gt; offset of the caps if used
385
 
386
&quot;charstyle&quot; [optional] -&gt; char style to use
387
 
388
</source>
389
        <translation type="unfinished"></translation>
390
    </message>
3064 cbradney 391
</context>
392
<context>
952 cbradney 393
    <name>@default</name>
394
    <message>
9729 cbradney 395
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="35"/>
3064 cbradney 396
        <source>getColor(&quot;name&quot;) -&gt; tuple
952 cbradney 397
 
398
Returns a tuple (C, M, Y, K) containing the four color components of the
399
color &quot;name&quot; from the current document. If no document is open, returns
400
the value of the named color from the default document colors.
401
 
3064 cbradney 402
May raise NotFoundError if the named color wasn&apos;t found.
952 cbradney 403
May raise ValueError if an invalid color name is specified.
404
</source>
3064 cbradney 405
        <translation>getColor(&quot;name&quot;) -&gt; tuple
974 cbradney 406
 
407
Devuelve un vector (C, M, Y, K) que tiene las cuatro componentes de
408
color del color &quot;name&quot; del documento actual. Si no hay un documento
409
abierto, usa los colores del documento por defecto.
410
 
411
Puede lanzar la excepción NotFoundError si no se encuentra el color indicado.
412
Puede lanzar la excpeción ValueError si se especifica un nombre no válido.
413
</translation>
952 cbradney 414
    </message>
415
    <message>
9729 cbradney 416
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="64"/>
3064 cbradney 417
        <source>changeColor(&quot;name&quot;, c, m, y, k)
952 cbradney 418
 
419
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
420
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
421
Color components should be in the range from 0 to 255.
422
 
3064 cbradney 423
May raise NotFoundError if the named color wasn&apos;t found.
952 cbradney 424
May raise ValueError if an invalid color name is specified.
425
</source>
3064 cbradney 426
        <translation>changeColor(&quot;name&quot;, c, m, y, k)
974 cbradney 427
 
428
Cambia el color &quot;name&quot; al valor CMYK especificado. El valor del color
429
se define mediante cuatro componentes: c = cian, m = magenta,
430
y = amarillo y k = negro. Las componentes deberían estar en el
431
rango 0 a 255.
432
 
433
Puede lanzar la excepción NotFoundError si no se encuentra el color indicado.
434
Puede lanzar la excpeción ValueError si se especifica un nombre no válido.
435
</translation>
952 cbradney 436
    </message>
437
    <message>
9729 cbradney 438
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="77"/>
3064 cbradney 439
        <source>defineColor(&quot;name&quot;, c, m, y, k)
952 cbradney 440
 
441
Defines a new color &quot;name&quot;. The color Value is defined via four components:
442
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
443
the range from 0 to 255.
444
 
445
May raise ValueError if an invalid color name is specified.
446
</source>
7508 cbradney 447
        <translation type="unfinished">defineColor(&quot;name&quot;, c, m, y, k)
974 cbradney 448
 
449
Define un nuevo color llamado &quot;name&quot;. El valor del color se define mediante
450
cuatro componentes: c = cian, m = magenta, y = amarillo y k = negro.
451
Las componentes deberían estar en el rango 0 a 255.
452
 
453
Puede lanzar la excpeción ValueError si se especifica un nombre no válido.
454
</translation>
952 cbradney 455
    </message>
456
    <message>
9729 cbradney 457
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="94"/>
3064 cbradney 458
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
952 cbradney 459
 
460
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
461
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
462
&quot;None&quot; - transparent.
463
 
464
deleteColor works on the default document colors if there is no document open.
465
In that case, &quot;replace&quot;, if specified, has no effect.
466
 
3064 cbradney 467
May raise NotFoundError if a named color wasn&apos;t found.
952 cbradney 468
May raise ValueError if an invalid color name is specified.
469
</source>
3064 cbradney 470
        <translation>deleteColor(&quot;name&quot;, &quot;replace&quot;)
974 cbradney 471
 
472
Borra el color &quot;name&quot;. Cada aparición de ese color se reemplaza
473
con el color &quot;replace&quot;. Si no se especifica, se reemplaza por el
474
color &quot;Ninguno&quot; - transparente.
475
 
476
Si no hay ningún documento abierto deleteColor funciona sobre los
477
colores del documento por defecto. En ese caso, aunque se indique,
478
&quot;replace&quot; no tiene efecto.
479
 
480
Puede lanzar la excepción NotFoundError si no se encuentra el color indicado.
481
Puede lanzar la excpeción ValueError si se especifica un nombre no válido.
482
</translation>
952 cbradney 483
    </message>
484
    <message>
9729 cbradney 485
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="106"/>
3064 cbradney 486
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
952 cbradney 487
 
488
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
489
 
3064 cbradney 490
May raise NotFoundError if a named color wasn&apos;t found.
952 cbradney 491
May raise ValueError if an invalid color name is specified.
492
</source>
3064 cbradney 493
        <translation>replaceColor(&quot;name&quot;, &quot;replace&quot;)
974 cbradney 494
 
495
Cada aparición del color &quot;name&quot; se reemplaza por el color &quot;replace&quot;.
496
 
497
Puede lanzar la excepción NotFoundError si no se encuentra el color indicado.
498
Puede lanzar la excpeción ValueError si se especifica un nombre no válido.
499
</translation>
952 cbradney 500
    </message>
501
    <message>
9729 cbradney 502
        <location filename="" line="136965632"/>
3064 cbradney 503
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot; ,haspreview, issave]) -&gt; string with filename
952 cbradney 504
 
505
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
506
with the filter string &quot;filter&quot;. A default filename or file path can also
3064 cbradney 507
supplied, leave this string empty when you don&apos;t want to use it.  A value of
952 cbradney 508
True for haspreview enables a small preview widget in the FileSelect box.  When
509
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
510
otherwise it acts like a &quot;File Open Dialog&quot;. The default for both of the
511
opional parameters is False.
512
 
3064 cbradney 513
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
514
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
952 cbradney 515
 
516
Refer to the Qt-Documentation for QFileDialog for details on filters.
517
 
3064 cbradney 518
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
519
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
952 cbradney 520
</source>
3064 cbradney 521
        <translation type="obsolete">fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot; ,haspreview, issave]) -&gt; string con nombre de archivo
974 cbradney 522
 
523
Muestro un diálogo de Abrir Archivo con el título &quot;caption&quot;. Los archivos se
524
filtran por la cadena &quot;filter&quot;. Se puede suministrar un nombre de archivo o
525
ruta por defecto (defaultname), si no se quiere usar se debe dejar vacío.
526
Si haspreview es True muestra una pequeña previsualización. Cuando el
527
parámetro issave es True el diálogo se comporta como un diálogo de
528
&quot;Guardar Como&quot;, de modo se comporta como un diálogo de &quot;Abrir Archivo&quot;.
529
Ambos parámetros son False por defecto.
530
 
3064 cbradney 531
El filtro, si se especifica, tiene la forma &apos;comentario (*.tipo *.tipo2 ...)&apos;.
532
Por ejemplo &apos;Imágenes (*.png *.xpm *.jpg)&apos;.
974 cbradney 533
 
534
Mirar la Documentación de Qt de QFileDialog para detalles de los filtros.
535
 
3064 cbradney 536
Ejemplo: fileDialog(&apos;Abrir entrada&apos;, &apos;Archivos CSV (*.csv)&apos;)
537
Ejemplo: fileDialog(&apos;Guardar informe&apos;, defaultname=&apos;report.txt&apos;, issave=True)
974 cbradney 538
</translation>
952 cbradney 539
    </message>
540
    <message>
9729 cbradney 541
        <location filename="../plugins/scriptplugin/cmddialog.h" line="88"/>
3064 cbradney 542
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
952 cbradney 543
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
3064 cbradney 544
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
952 cbradney 545
 
546
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
547
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
548
button, OK, is displayed. Only the caption and message arguments are required,
549
though setting an icon and appropriate button(s) is strongly
550
recommended. The message text may contain simple HTML-like markup.
551
 
552
Returns the number of the button the user pressed. Button numbers start
553
at 1.
554
 
555
For the icon and the button parameters there are predefined constants available
556
with the same names as in the Qt Documentation. These are the BUTTON_* and
557
ICON_* constants defined in the module. There are also two extra constants that
558
can be binary-ORed with button constants:
559
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
560
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
561
 
562
Usage examples:
3064 cbradney 563
result = messageBox(&apos;Script failed&apos;,
564
                    &apos;This script only works when you have a text frame selected.&apos;,
952 cbradney 565
                    ICON_ERROR)
3064 cbradney 566
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
952 cbradney 567
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
568
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
569
 
570
Defined button and icon constants:
571
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
572
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
573
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
574
</source>
3064 cbradney 575
        <translation>messageBox(&quot;caption&quot;, &quot;message&quot;,
974 cbradney 576
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
3064 cbradney 577
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
974 cbradney 578
 
579
Muestra un cuadro de mensaje con el título &quot;caption&quot;, el mensaje &quot;message&quot;,
580
un icono &quot;icon&quot; y hasta 3 botones. Por defecto no se usa ningún icono y sólo
581
hay un botón, Aceptar. Sólo son obligatorios los parámetros caption y message,
582
sin embargo se recomienda definir un icono y el botón o botones apropiados.
583
El mensaje puede contener etiquetas simples similares a las de HTML.
584
 
585
Devuelve el número del botón que presionó el usuario. Los números de los
586
botones empiezan en 1.
587
 
588
Para los parámetros del iconoy de los botones hay constantes predefinidas
589
disponibles con los mismos nombres que en la Documentación de Qt. Son las
590
constantes BUTTON_* e ICON_* definidas en el módulo. Hay también otras
591
dos constantes extra que pueden ser combinadas con un OR binario con las
592
constantes de los botones:
593
    BUTTONOPT_DEFAULT   Presionar intro presiona este botón.
594
    BUTTONOPT_ESCAPE    Presionar escape presiona este botón.
595
 
596
Ejemplos de uso:
3064 cbradney 597
result = messageBox(&apos;Error en Script&apos;,
598
                    &apos;Este scrpt sólo funciona cuando tienes un marco de texto seleccionado.&apos;,
974 cbradney 599
                    ICON_ERROR)
3064 cbradney 600
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
974 cbradney 601
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
602
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
603
 
604
Botones definidos:
605
BUTTON_NONE (ninguno), BUTTON_ABORT (abortar), BUTTON_CANCEL (cancelar),
606
BUTTON_IGNORE (ignorar), BUTTON_NO (no), BUTTON_NOALL (no a todo),
607
BUTTON_OK (aceptar), BUTTON_RETRY (reintentar), BUTTON_YES (sí),
608
BUTTON_YESALL (sí a todo)
609
 
610
Constantes de iconos:
611
ICON_NONE (ninguno), ICON_INFORMATION (información), ICON_WARNING (aviso),
612
ICON_CRITICAL. (crítico)
613
</translation>
952 cbradney 614
    </message>
615
    <message>
9729 cbradney 616
        <location filename="../plugins/scriptplugin/cmddialog.h" line="101"/>
3064 cbradney 617
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
952 cbradney 618
 
3064 cbradney 619
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
620
Parameters: window title, text in the window and optional &apos;default&apos; value.
952 cbradney 621
 
3064 cbradney 622
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
952 cbradney 623
</source>
3064 cbradney 624
        <translation>valueDialog(caption, message [,defaultvalue]) -&gt; string
974 cbradney 625
 
3064 cbradney 626
Muestra el diálogo de &apos;Introducir una cadena&apos; y devuelve su valor
974 cbradney 627
como un string.
628
Parámetros: título de la ventana, texto de la ventana y un valor
629
por defecto opcional.
630
 
3064 cbradney 631
Ejemplo: valueDialog(&apos;título&apos;, &apos;texto de la ventana&apos;, &apos;opcional&apos;)
974 cbradney 632
</translation>
952 cbradney 633
    </message>
634
    <message>
9729 cbradney 635
        <location filename="../plugins/scriptplugin/cmddoc.h" line="108"/>
3064 cbradney 636
        <source>closeDoc()
952 cbradney 637
 
638
Closes the current document without prompting to save.
639
 
640
May throw NoDocOpenError if there is no document to close
641
</source>
3064 cbradney 642
        <translation>closeDoc()
974 cbradney 643
 
644
Cierra el documento actual sin preguntar para guardar.
645
 
646
Puede lanzar la excepción NoDocOpenError si no hay ningún
647
documento que cerrar.
648
</translation>
952 cbradney 649
    </message>
650
    <message>
9729 cbradney 651
        <location filename="../plugins/scriptplugin/cmddoc.h" line="117"/>
3064 cbradney 652
        <source>haveDoc() -&gt; bool
952 cbradney 653
 
654
Returns true if there is a document open.
655
</source>
3064 cbradney 656
        <translation>haveDoc() -&gt; bool
974 cbradney 657
 
658
Devuelve true si hay un documento abierto.</translation>
952 cbradney 659
    </message>
660
    <message>
9729 cbradney 661
        <location filename="../plugins/scriptplugin/cmddoc.h" line="128"/>
3064 cbradney 662
        <source>openDoc(&quot;name&quot;)
952 cbradney 663
 
664
Opens the document &quot;name&quot;.
665
 
666
May raise ScribusError if the document could not be opened.
667
</source>
3064 cbradney 668
        <translation>openDoc(&quot;name&quot;)
974 cbradney 669
 
670
Abre el documento &quot;name&quot;.
671
 
672
Puede lanzar la excepción ScribusError si el documento no se puede abrir.
673
</translation>
952 cbradney 674
    </message>
675
    <message>
9729 cbradney 676
        <location filename="../plugins/scriptplugin/cmddoc.h" line="141"/>
3064 cbradney 677
        <source>saveDoc()
952 cbradney 678
 
679
Saves the current document with its current name, returns true if successful.
680
If the document has not already been saved, this may bring up an interactive
681
save file dialog.
682
 
683
If the save fails, there is currently no way to tell.
684
</source>
3064 cbradney 685
        <translation>saveDoc()
974 cbradney 686
 
687
Guarda el documento actual con su nombre actual, y devuelve true si se
688
guarda correctamente. Si el documento no se había guardado todavía,
689
muestra un diálogo de guardar archivo.
690
 
691
Si se produce un error al guardar, actualmente no hay forma de informarlo.
692
</translation>
952 cbradney 693
    </message>
694
    <message>
9729 cbradney 695
        <location filename="../plugins/scriptplugin/cmddoc.h" line="152"/>
3064 cbradney 696
        <source>saveDocAs(&quot;name&quot;)
952 cbradney 697
 
698
Saves the current document under the new name &quot;name&quot; (which may be a full or
699
relative path).
700
 
701
May raise ScribusError if the save fails.
702
</source>
3064 cbradney 703
        <translation>saveDocAs(&quot;name&quot;)
974 cbradney 704
 
705
Guarda el documento actual con el nombre &quot;name&quot; (que puede ser un ruta
706
absoluta o relativa).
707
 
708
Puede lanzar la excepción ScribusError si se produce un error al guardar.
709
</translation>
952 cbradney 710
    </message>
711
    <message>
9729 cbradney 712
        <location filename="" line="136965632"/>
3064 cbradney 713
        <source>saveDocAs(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
952 cbradney 714
 
715
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
716
strings.
717
</source>
6434 cbradney 718
        <translation type="obsolete">saveDocAs(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
974 cbradney 719
 
720
Establece la información básica del documento: autor, información y
721
descripción. Todos los parámetros son strings.
722
</translation>
952 cbradney 723
    </message>
724
    <message>
9729 cbradney 725
        <location filename="" line="136965632"/>
3064 cbradney 726
        <source>setMargins(lr, rr, tr, br)
952 cbradney 727
 
728
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
3064 cbradney 729
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
952 cbradney 730
constants.
731
</source>
9729 cbradney 732
        <translation type="obsolete">setMargins(lr, rr, tr, br)
974 cbradney 733
 
734
Establece los márgenes del documento, Izquierda(lr), Derecha(rr), Arriba(tr)
735
y Abajo(br). Los márgenes se expresan en las unidades del documento - ver
3064 cbradney 736
las constantes UNIT_&lt;tipo&gt;.
974 cbradney 737
</translation>
952 cbradney 738
    </message>
739
    <message>
9729 cbradney 740
        <location filename="../plugins/scriptplugin/cmddoc.h" line="185"/>
3064 cbradney 741
        <source>setUnit(type)
952 cbradney 742
 
743
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
3064 cbradney 744
defined as constants UNIT_&lt;type&gt;.
952 cbradney 745
 
746
May raise ValueError if an invalid unit is passed.
747
</source>
3064 cbradney 748
        <translation>setUnit(type)
974 cbradney 749
 
750
Cambia las unidades de medida del documento. Los valores posibles para &quot;unit&quot;
3064 cbradney 751
son las constantes UNIT_&lt;tipo&gt;.
974 cbradney 752
 
753
Puede lanzar una excepción ValueError si se pasa una unidad no válida.
754
</translation>
952 cbradney 755
    </message>
756
    <message>
9729 cbradney 757
        <location filename="../plugins/scriptplugin/cmddoc.h" line="196"/>
3064 cbradney 758
        <source>getUnit() -&gt; integer (Scribus unit constant)
952 cbradney 759
 
760
Returns the measurement units of the document. The returned value will be one
761
of the UNIT_* constants:
762
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
763
</source>
3064 cbradney 764
        <translation>getUnit() -&gt; integer (constante de unidad de Scribus)
974 cbradney 765
 
766
Devuelve las unidades de medida del documento. El valor devuelto será una
767
de las constantes UNIT_*:
768
UNIT_INCHES (pulgadas), UNIT_MILLIMETERS (milimetros),
769
UNIT_PICAS (picas), UNIT_POINTS (puntos).
770
</translation>
952 cbradney 771
    </message>
772
    <message>
9729 cbradney 773
        <location filename="../plugins/scriptplugin/cmddoc.h" line="206"/>
3064 cbradney 774
        <source>loadStylesFromFile(&quot;filename&quot;)
952 cbradney 775
 
776
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
777
current document.
778
</source>
3064 cbradney 779
        <translation>loadStylesFromFile(&quot;filename&quot;)
974 cbradney 780
 
781
Carga en el documento actual los estilos de párrafo del documento
782
de Scribus que se encuentra en &quot;filename&quot;.
783
</translation>
952 cbradney 784
    </message>
785
    <message>
9729 cbradney 786
        <location filename="../plugins/scriptplugin/cmddoc.h" line="218"/>
3064 cbradney 787
        <source>setDocType(facingPages, firstPageLeft)
952 cbradney 788
 
789
Sets the document type. To get facing pages set the first parameter to
790
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
791
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
792
a right page use FIRSTPAGERIGHT.
793
</source>
3064 cbradney 794
        <translation>setDocType(facingPages, firstPageLeft)
974 cbradney 795
 
796
Establece el tipo de documento. Para que las páginas se muestren enfrentadas
797
el primer parámetro debe ser FACINGPAGES, para desactivar las páginas
798
enfrentadas debe ser NOFACINGPAGES. Si se quiere que la primera página esté
799
a la izquierda el segundo parámetro debe ser FIRSTPAGELEFT, para que esté a
800
la derecha debe ser FIRSTPAGERIGHT.
801
</translation>
952 cbradney 802
    </message>
803
    <message>
9729 cbradney 804
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="51"/>
3064 cbradney 805
        <source>getLineColor([&quot;name&quot;]) -&gt; string
952 cbradney 806
 
807
Returns the name of the line color of the object &quot;name&quot;.
808
If &quot;name&quot; is not given the currently selected item is used.
809
</source>
3064 cbradney 810
        <translation>getLineColor([&quot;name&quot;]) -&gt; string
974 cbradney 811
 
812
Devuelve el nombre del color de línea del objeto &quot;name&quot;.
813
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
814
</translation>
952 cbradney 815
    </message>
816
    <message>
9729 cbradney 817
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="81"/>
3064 cbradney 818
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
952 cbradney 819
 
820
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
821
is not given the currently selected Item is used.
822
</source>
3064 cbradney 823
        <translation>getLineWidth([&quot;name&quot;]) -&gt; integer
974 cbradney 824
 
825
Devuelve el ancho de línea del objeto &quot;name&quot;.
826
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
827
</translation>
952 cbradney 828
    </message>
829
    <message>
9729 cbradney 830
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="91"/>
3064 cbradney 831
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
952 cbradney 832
 
833
Returns the shading value of the line color of the object &quot;name&quot;.
834
If &quot;name&quot; is not given the currently selected item is used.
835
</source>
3064 cbradney 836
        <translation>getLineShade([&quot;name&quot;]) -&gt; integer
974 cbradney 837
 
838
Devuelve la intesnsidad del color de línea del objeto &quot;name&quot;.
839
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
840
</translation>
952 cbradney 841
    </message>
842
    <message>
9729 cbradney 843
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="102"/>
3064 cbradney 844
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
952 cbradney 845
 
846
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
847
the currently selected item is used.  The join types are:
848
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
849
</source>
10842 cbradney 850
        <translation type="obsolete">getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
974 cbradney 851
 
852
Devuelve el estilo de borde de línea del objeto &quot;name&quot;.
853
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
854
Los tipos de unión son:
855
JOIN_BEVEL (biselada), JOIN_MITTER (de inglete), JOIN_ROUND (redondeada)
856
</translation>
952 cbradney 857
    </message>
858
    <message>
9729 cbradney 859
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="113"/>
3064 cbradney 860
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
952 cbradney 861
 
862
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
863
currently selected item is used. The cap types are:
864
CAP_FLAT, CAP_ROUND, CAP_SQUARE
865
</source>
3064 cbradney 866
        <translation>getLineEnd([&quot;name&quot;]) -&gt; integer (ver constantes)
974 cbradney 867
 
868
Devuelve el estilo de extremo de línea del objeto &quot;name&quot;.
869
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
870
Los tipos de extremo son:
871
CAP_FLAT (plano), CAP_ROUND (redondeado), CAP_SQUARE (cuadrado)
872
</translation>
952 cbradney 873
    </message>
874
    <message>
9729 cbradney 875
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="124"/>
3064 cbradney 876
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
952 cbradney 877
 
878
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
879
currently selected item is used. Line style constants are:
880
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
881
</source>
3064 cbradney 882
        <translation>getLineStyle([&quot;name&quot;]) -&gt; integer (ver constantes)
974 cbradney 883
 
884
Devuelve el estilo de línea del objeto &quot;name&quot;.
885
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
886
Las constantes de estilos de línea son:
887
LINE_DASH (a trazos), LINE_DASHDOT (raya punto),
888
LINE_DASHDOTDOT (raya punto punto), LINE_DOT (a puntos),
889
LINE_SOLID (sólida)
890
</translation>
952 cbradney 891
    </message>
892
    <message>
9729 cbradney 893
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="134"/>
3064 cbradney 894
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
952 cbradney 895
 
896
Returns the shading value of the fill color of the object &quot;name&quot;.
897
If &quot;name&quot; is not given the currently selected item is used.
898
</source>
3064 cbradney 899
        <translation>getFillShade([&quot;name&quot;]) -&gt; integer
974 cbradney 900
 
901
Devuelve el valor de saturación del color de relleno del objeto &quot;name&quot;.
902
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
903
</translation>
952 cbradney 904
    </message>
905
    <message>
9729 cbradney 906
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="145"/>
3064 cbradney 907
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
952 cbradney 908
 
909
Returns the corner radius of the object &quot;name&quot;. The radius is
910
expressed in points. If &quot;name&quot; is not given the currently
911
selected item is used.
912
</source>
7508 cbradney 913
        <translation type="unfinished">getCornerRadius([&quot;name&quot;]) -&gt; integer
974 cbradney 914
 
915
Devuelve el radio de las esquinas del objeto &quot;name&quot;.
916
El radio se expresa en puntos.
917
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
918
</translation>
952 cbradney 919
    </message>
920
    <message>
9729 cbradney 921
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="155"/>
3064 cbradney 922
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
952 cbradney 923
 
924
Returns a (x, y) tuple containing the scaling values of the image frame
925
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
926
</source>
3064 cbradney 927
        <translation>getImageScale([&quot;name&quot;]) -&gt; (x,y)
974 cbradney 928
 
929
Devuelve un par (x, y) que contiene los valores de escalado del
930
marco de imagen &quot;name&quot;.
931
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
932
</translation>
952 cbradney 933
    </message>
934
    <message>
9729 cbradney 935
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="165"/>
3064 cbradney 936
        <source>getImageName([&quot;name&quot;]) -&gt; string
952 cbradney 937
 
938
Returns the filename for the image in the image frame. If &quot;name&quot; is not
939
given the currently selected item is used.
940
</source>
3064 cbradney 941
        <translation>getImageName([&quot;name&quot;]) -&gt; string
974 cbradney 942
 
943
Devuelve el nombre de archivo de la imagen en el marco de imagen &quot;name&quot;.
944
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
945
</translation>
952 cbradney 946
    </message>
947
    <message>
9729 cbradney 948
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="177"/>
3064 cbradney 949
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
952 cbradney 950
 
951
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
952
If &quot;name&quot; is not given the currently selected item is used.
953
The position is expressed in the actual measurement unit of the document
3064 cbradney 954
- see UNIT_&lt;type&gt; for reference.
952 cbradney 955
</source>
7508 cbradney 956
        <translation type="unfinished">getPosition([&quot;name&quot;]) -&gt; (x,y)
974 cbradney 957
 
958
Devuelve un par (x, y) con la posición del objeto &quot;name&quot;.
959
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
960
Las posiciones están expresadas en las unidades actuales del documento
3064 cbradney 961
- ver UNIT_&lt;tipo&gt; para más referencias.
974 cbradney 962
</translation>
952 cbradney 963
    </message>
964
    <message>
9729 cbradney 965
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="189"/>
3064 cbradney 966
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
952 cbradney 967
 
968
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
969
If &quot;name&quot; is not given the currently selected item is used. The size is
3064 cbradney 970
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
952 cbradney 971
for reference.
972
</source>
3064 cbradney 973
        <translation>getSize([&quot;name&quot;]) -&gt; (width,height)
974 cbradney 974
 
975
Devuelve un par (ancho, alto) con el tamaño del objeto &quot;name&quot;.
976
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
977
El tamaño está expresado en las unidades actuales del documento
3064 cbradney 978
- ver UNIT_&lt;tipo&gt; para más referencias.
974 cbradney 979
</translation>
952 cbradney 980
    </message>
981
    <message>
9729 cbradney 982
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="200"/>
3064 cbradney 983
        <source>getRotation([&quot;name&quot;]) -&gt; integer
952 cbradney 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>
3064 cbradney 989
        <translation>getRotation([&quot;name&quot;]) -&gt; integer
974 cbradney 990
 
991
Devuelve la rotación del objeto &quot;name&quot;. El valor está expresado
992
en grados y si es positivo es en el sentido de las agujas del reloj.
993
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
994
</translation>
952 cbradney 995
    </message>
996
    <message>
9729 cbradney 997
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="209"/>
3064 cbradney 998
        <source>getAllObjects() -&gt; list
952 cbradney 999
 
1000
Returns a list containing the names of all objects on the current page.
1001
</source>
3064 cbradney 1002
        <translation>getAllObjects() -&gt; list
974 cbradney 1003
 
1004
Devuelve una lista que contiene los nombres de todos los objetos
1005
de la página actual.
1006
</translation>
952 cbradney 1007
    </message>
1008
    <message>
9729 cbradney 1009
        <location filename="../plugins/scriptplugin/cmdmani.h" line="35"/>
3064 cbradney 1010
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
952 cbradney 1011
 
1012
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
1013
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
1014
is not given the currently selected item is used.  If the object &quot;name&quot;
1015
belongs to a group, the whole group is moved.
1016
</source>
3064 cbradney 1017
        <translation>moveObjectAbs(x, y [, &quot;name&quot;])
974 cbradney 1018
 
1019
Mueve el objeto &quot;name&quot; a una nueva posición. Las coordenadas están
1020
expresadas en las unidades actuales del documento (ver constantes UNIT).
1021
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1022
Si el objeto a mover pertenece a un grupo, se mueve todo el grupo.
1023
</translation>
952 cbradney 1024
    </message>
1025
    <message>
9729 cbradney 1026
        <location filename="../plugins/scriptplugin/cmdmani.h" line="48"/>
3064 cbradney 1027
        <source>rotateObject(rot [, &quot;name&quot;])
952 cbradney 1028
 
1029
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
1030
rotated by the vertex that is currently selected as the rotation point - by
1031
default, the top left vertext at zero rotation. Positive values mean counter
1032
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
1033
given the currently selected item is used.
1034
</source>
10842 cbradney 1035
        <translation type="obsolete">rotateObject(rot [, &quot;name&quot;])
974 cbradney 1036
 
1037
Rota el objeto &quot;name&quot; &quot;rot&quot; grados de forma relativa. El objeto se rota sobre
1038
el objeto que está seleccionado como punto de rotación - por defecto es
1039
el vértice superior izquierdo con cero grados de rotación. Los valores positivos
1040
significan rotación en sentido contrario a las agujas del reloj cuando se usa el
1041
punto de rotación por defecto.
1042
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1043
</translation>
952 cbradney 1044
    </message>
1045
    <message>
9729 cbradney 1046
        <location filename="../plugins/scriptplugin/cmdmani.h" line="59"/>
3064 cbradney 1047
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
952 cbradney 1048
 
1049
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
1050
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
1051
selected item is used.
1052
</source>
7508 cbradney 1053
        <translation type="unfinished">rotateObjectAbs(rot [, &quot;name&quot;])
974 cbradney 1054
 
1055
Establece la rotación del objeto &quot;name&quot; a &quot;rot&quot;. Los valores positivos
1056
significan rotación en sentido contrario a las agujas del reloj.
1057
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1058
</translation>
952 cbradney 1059
    </message>
1060
    <message>
9729 cbradney 1061
        <location filename="../plugins/scriptplugin/cmdmani.h" line="69"/>
3064 cbradney 1062
        <source>sizeObject(width, height [, &quot;name&quot;])
952 cbradney 1063
 
1064
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
1065
is not given the currently selected item is used.
1066
</source>
3064 cbradney 1067
        <translation>sizeObject(width, height [, &quot;name&quot;])
974 cbradney 1068
 
1069
Redimensiona el objeto &quot;name&quot; a la anchura (width) y altura (height) dados.
1070
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1071
</translation>
952 cbradney 1072
    </message>
1073
    <message>
9729 cbradney 1074
        <location filename="../plugins/scriptplugin/cmdmani.h" line="80"/>
3064 cbradney 1075
        <source>getSelectedObject([nr]) -&gt; string
952 cbradney 1076
 
1077
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
1078
of the selected object, e.g. 0 means the first selected object, 1 means the
1079
second selected Object and so on.
1080
</source>
3064 cbradney 1081
        <translation>getSelectedObject([nr]) -&gt; string
974 cbradney 1082
 
1083
Devuelve el nombre del objeto seleccionado. &quot;nr&quot;, si se especifica, indica
1084
el número del objeto seleccionado, p. ej. 0 significa el primer objeto
1085
seleccionado, 1 el segundo objeto seleccionado, etc.
1086
</translation>
952 cbradney 1087
    </message>
1088
    <message>
9729 cbradney 1089
        <location filename="../plugins/scriptplugin/cmdmani.h" line="89"/>
3064 cbradney 1090
        <source>selectionCount() -&gt; integer
952 cbradney 1091
 
1092
Returns the number of selected objects.
1093
</source>
3064 cbradney 1094
        <translation>selectionCount() -&gt; integer
974 cbradney 1095
 
1096
Devuelve el número de objetos seleccionados.
1097
</translation>
952 cbradney 1098
    </message>
1099
    <message>
9729 cbradney 1100
        <location filename="../plugins/scriptplugin/cmdmani.h" line="98"/>
3064 cbradney 1101
        <source>selectObject(&quot;name&quot;)
952 cbradney 1102
 
1103
Selects the object with the given &quot;name&quot;.
1104
</source>
3064 cbradney 1105
        <translation>selectObject(&quot;name&quot;)
974 cbradney 1106
 
1107
Selecciona el objeto con el nombre &quot;name&quot;.
1108
</translation>
952 cbradney 1109
    </message>
1110
    <message>
9729 cbradney 1111
        <location filename="../plugins/scriptplugin/cmdmani.h" line="107"/>
3064 cbradney 1112
        <source>deselectAll()
952 cbradney 1113
 
1114
Deselects all objects in the whole document.
1115
</source>
3064 cbradney 1116
        <translation>deselectAll()
974 cbradney 1117
 
1118
Deselecciona todos los objetos del documento entero.
1119
</translation>
952 cbradney 1120
    </message>
1121
    <message>
9729 cbradney 1122
        <location filename="../plugins/scriptplugin/cmdmani.h" line="118"/>
3064 cbradney 1123
        <source>groupObjects(list)
952 cbradney 1124
 
1125
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
1126
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1127
items are used.
1128
</source>
3064 cbradney 1129
        <translation>groupObjects(list)
974 cbradney 1130
 
1131
Agrupa los objetos nombrados en &quot;list&quot;. &quot;list&quot; debe contener los nombres
1132
de los objetos a ser agrupados.
1133
Si no se pasa una lista se usan los objetos que estén seleccionados.
1134
</translation>
952 cbradney 1135
    </message>
1136
    <message>
9729 cbradney 1137
        <location filename="../plugins/scriptplugin/cmdmani.h" line="126"/>
3064 cbradney 1138
        <source>unGroupObjects(&quot;name&quot;)
952 cbradney 1139
 
1140
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
3064 cbradney 1141
        <translation>unGroupObjects(&quot;name&quot;)
974 cbradney 1142
 
1143
Destruye el grupo al que pertenece el objeto &quot;name&quot;.
1144
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1145
</translation>
952 cbradney 1146
    </message>
1147
    <message>
9729 cbradney 1148
        <location filename="../plugins/scriptplugin/cmdmani.h" line="141"/>
3064 cbradney 1149
        <source>scaleGroup(factor [,&quot;name&quot;])
952 cbradney 1150
 
1151
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
1152
the group, values smaller than 1 make the group smaller e.g a value of 0.5
1153
scales the group to 50 % of its original size, a value of 1.5 scales the group
1154
to 150 % of its original size.  The value for &quot;factor&quot; must be greater than
1155
0. If &quot;name&quot; is not given the currently selected item is used.
1156
 
1157
May raise ValueError if an invalid scale factor is passed.
1158
</source>
3064 cbradney 1159
        <translation>scaleGroup(factor [,&quot;name&quot;])
974 cbradney 1160
 
1161
Escala el grupo al que pertenece el objeto &quot;name&quot;. Los valores mayor de 1
1162
agrandan el grupo, los menores de 1 lo hacen más pequeño, p. ej. un valor
1163
de 0.5 escala el grupo al 50% de su tamaño original, un valor de 1.5 escala
1164
el grupo a 150% de su tamaño original.
1165
El valor de &quot;factor&quot; debe ser mayor de cero.
1166
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1167
 
1168
Puede lanzar la excepción ValueError si se pasa un factor de escala no válido.
1169
</translation>
952 cbradney 1170
    </message>
1171
    <message>
9729 cbradney 1172
        <location filename="../plugins/scriptplugin/cmdmani.h" line="153"/>
3064 cbradney 1173
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
952 cbradney 1174
 
1175
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
1176
not given the currently selected item is used.
1177
 
1178
May raise WrongFrameTypeError if the target frame is not an image frame
1179
</source>
3064 cbradney 1180
        <translation>loadImage(&quot;filename&quot; [, &quot;name&quot;])
974 cbradney 1181
 
1182
Carga la imagen &quot;filename&quot; en el marco de imagen &quot;name&quot;.
1183
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1184
 
1185
Puede lanzar la excepción WrongFrameTypeError si el marco de destino
1186
no es un marco de imagen.
1187
</translation>
952 cbradney 1188
    </message>
1189
    <message>
9729 cbradney 1190
        <location filename="../plugins/scriptplugin/cmdmani.h" line="166"/>
3064 cbradney 1191
        <source>scaleImage(x, y [, &quot;name&quot;])
952 cbradney 1192
 
1193
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
1194
If &quot;name&quot; is not given the currently selected item is used. A number of 1
1195
means 100 %.
1196
 
1197
May raise WrongFrameTypeError if the target frame is not an image frame
1198
</source>
3064 cbradney 1199
        <translation>scaleImage(x, y [, &quot;name&quot;])
974 cbradney 1200
 
1201
Establece los factores de escalado de la imagen en el marco de
1202
imagen &quot;name&quot;. Un valor de 1 significa 100%.
1203
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1204
 
1205
Puede lanzar la excepción WrongFrameTypeError si el marco de destino
1206
no es un marco de imagen.
1207
</translation>
952 cbradney 1208
    </message>
1209
    <message>
9729 cbradney 1210
        <location filename="../plugins/scriptplugin/cmdmani.h" line="177"/>
3064 cbradney 1211
        <source>lockObject([&quot;name&quot;]) -&gt; bool
952 cbradney 1212
 
3064 cbradney 1213
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
952 cbradney 1214
If &quot;name&quot; is not given the currently selected item is used. Returns true
1215
if locked.
1216
</source>
3064 cbradney 1217
        <translation>lockObject([&quot;name&quot;]) -&gt; bool
974 cbradney 1218
 
1219
Bloquea el objeto &quot;name&quot; si está desbloqueado o lo desbloquea en
1220
caso contrario. Devuelve true si se bloquea.
1221
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1222
</translation>
952 cbradney 1223
    </message>
1224
    <message>
9729 cbradney 1225
        <location filename="../plugins/scriptplugin/cmdmani.h" line="187"/>
3064 cbradney 1226
        <source>isLocked([&quot;name&quot;]) -&gt; bool
952 cbradney 1227
 
1228
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1229
currently selected item is used.
1230
</source>
3064 cbradney 1231
        <translation>isLocked([&quot;name&quot;]) -&gt; bool
974 cbradney 1232
 
1233
Devuelve true si el objeto &quot;name&quot; está bloqueado.
1234
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1235
</translation>
952 cbradney 1236
    </message>
1237
    <message>
9729 cbradney 1238
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="33"/>
3064 cbradney 1239
        <source>getFontNames() -&gt; list
952 cbradney 1240
 
1241
Returns a list with the names of all available fonts.
1242
</source>
3064 cbradney 1243
        <translation>getFontNames() -&gt; list
974 cbradney 1244
 
1245
Devuelve una lista con los nombres de todas las fuentes disponibles.
1246
</translation>
952 cbradney 1247
    </message>
1248
    <message>
9729 cbradney 1249
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="43"/>
3064 cbradney 1250
        <source>getXFontNames() -&gt; list of tuples
952 cbradney 1251
 
3064 cbradney 1252
Returns a larger font info. It&apos;s a list of the tuples with:
952 cbradney 1253
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1254
</source>
3064 cbradney 1255
        <translation>getXFontNames() -&gt; list of tuples
974 cbradney 1256
 
1257
Da una mayor información sobre las fuentes. Devuelve una lista de vectores con:
1258
[ (nombre de Scribus, Familia, Nombre real, empotrar subconjunto (1|0),
1259
empotrar PS (1|0), archivo de fuente), (...), ...]
1260
</translation>
952 cbradney 1261
    </message>
1262
    <message>
9729 cbradney 1263
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="71"/>
3064 cbradney 1264
        <source>getLayers() -&gt; list
952 cbradney 1265
 
1266
Returns a list with the names of all defined layers.
1267
</source>
3064 cbradney 1268
        <translation>getLayers() -&gt; list
974 cbradney 1269
 
1270
Devuelve una lista con los nombres de todas las capas definidas.
1271
</translation>
952 cbradney 1272
    </message>
1273
    <message>
9729 cbradney 1274
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="83"/>
3064 cbradney 1275
        <source>setActiveLayer(&quot;name&quot;)
952 cbradney 1276
 
1277
Sets the active layer to the layer named &quot;name&quot;.
1278
 
3064 cbradney 1279
May raise NotFoundError if the layer can&apos;t be found.
1280
May raise ValueError if the layer name isn&apos;t acceptable.
952 cbradney 1281
</source>
3064 cbradney 1282
        <translation>setActiveLayer(&quot;name&quot;)
974 cbradney 1283
 
1284
Establece la capa activa a la capa con nombre &quot;name&quot;.
1285
 
1286
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
1287
Puede lanzar la excepción ValueError si la el nombre de la capa no es válido.
1288
</translation>
952 cbradney 1289
    </message>
1290
    <message>
9729 cbradney 1291
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="92"/>
3064 cbradney 1292
        <source>getActiveLayer() -&gt; string
952 cbradney 1293
 
1294
Returns the name of the current active layer.
1295
</source>
3064 cbradney 1296
        <translation>getActiveLayer() -&gt; string
974 cbradney 1297
 
1298
Devuelve el nombre de la capa activa actual.
1299
</translation>
952 cbradney 1300
    </message>
1301
    <message>
9729 cbradney 1302
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="105"/>
3064 cbradney 1303
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
952 cbradney 1304
 
1305
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
1306
If &quot;name&quot; is not given the currently selected item is used.
1307
 
3064 cbradney 1308
May raise NotFoundError if the layer can&apos;t be found.
1309
May raise ValueError if the layer name isn&apos;t acceptable.
952 cbradney 1310
</source>
3064 cbradney 1311
        <translation>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
974 cbradney 1312
 
1313
Envía el objeto &quot;name&quot; a la capa &quot;layer&quot;. La capa debe existir.
1314
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1315
 
1316
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
1317
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
1318
</translation>
952 cbradney 1319
    </message>
1320
    <message>
9729 cbradney 1321
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="118"/>
3064 cbradney 1322
        <source>setLayerVisible(&quot;layer&quot;, visible)
952 cbradney 1323
 
1324
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
1325
the layer is invisible.
1326
 
3064 cbradney 1327
May raise NotFoundError if the layer can&apos;t be found.
1328
May raise ValueError if the layer name isn&apos;t acceptable.
952 cbradney 1329
</source>
3064 cbradney 1330
        <translation>setLayerVisible(&quot;layer&quot;, visible)
974 cbradney 1331
 
1332
Establece si la capa &quot;layer&quot; es visible o no.
1333
Si &quot;visible&quot; es false la capa será invisible.
1334
 
1335
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
1336
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
1337
</translation>
952 cbradney 1338
    </message>
1339
    <message>
9729 cbradney 1340
        <location filename="" line="136965632"/>
3064 cbradney 1341
        <source>setLayerPrintable(&quot;layer&quot;, printable)
952 cbradney 1342
 
1343
Sets the layer &quot;layer&quot; to be printable or not. If is the printable set to
3064 cbradney 1344
false the layer won&apos;t be printed.
952 cbradney 1345
 
3064 cbradney 1346
May raise NotFoundError if the layer can&apos;t be found.
1347
May raise ValueError if the layer name isn&apos;t acceptable.
952 cbradney 1348
</source>
6261 cbradney 1349
        <translation type="obsolete">setLayerPrintable(&quot;layer&quot;, printable)
974 cbradney 1350
 
1351
Establece si la capa &quot;layer&quot; es imprimible o no.
1352
Si &quot;printable&quot; es false la capa no se imprimirá.
1353
 
1354
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
1355
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
1356
</translation>
952 cbradney 1357
    </message>
1358
    <message>
9729 cbradney 1359
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="300"/>
3064 cbradney 1360
        <source>deleteLayer(&quot;layer&quot;)
952 cbradney 1361
 
3064 cbradney 1362
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
1363
exists or if it&apos;s the only layer in the document.
952 cbradney 1364
 
3064 cbradney 1365
May raise NotFoundError if the layer can&apos;t be found.
1366
May raise ValueError if the layer name isn&apos;t acceptable.
952 cbradney 1367
</source>
3064 cbradney 1368
        <translation>deleteLayer(&quot;layer&quot;)
974 cbradney 1369
 
1370
Borra la capa con el nombre &quot;layer&quot;. No ocurre nada si la capa no existe o
1371
si es la única capa del documento.
1372
 
1373
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
1374
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
1375
</translation>
952 cbradney 1376
    </message>
1377
    <message>
9729 cbradney 1378
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="311"/>
3064 cbradney 1379
        <source>createLayer(layer)
952 cbradney 1380
 
1381
Creates a new layer with the name &quot;name&quot;.
1382
 
3064 cbradney 1383
May raise ValueError if the layer name isn&apos;t acceptable.
952 cbradney 1384
</source>
3064 cbradney 1385
        <translation>createLayer(layer)
974 cbradney 1386
 
1387
Crea una nueva capa co el nombre &quot;name&quot;.
1388
 
1389
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
1390
</translation>
952 cbradney 1391
    </message>
1392
    <message>
9729 cbradney 1393
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="320"/>
3064 cbradney 1394
        <source>getGuiLanguage() -&gt; string
952 cbradney 1395
 
1396
Returns a string with the -lang value.
1397
</source>
3064 cbradney 1398
        <translation>getGuiLanguage() -&gt; string
974 cbradney 1399
 
1400
Devuelve una cadena con el código del idioma usado.
1401
</translation>
952 cbradney 1402
    </message>
1403
    <message>
9729 cbradney 1404
        <location filename="../plugins/scriptplugin/cmdobj.h" line="43"/>
3064 cbradney 1405
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
952 cbradney 1406
 
1407
Creates a new ellipse on the current page and returns its name.
1408
The coordinates are given in the current measurement units of the document
1409
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1410
because you need this name for further referencing of that object. If &quot;name&quot;
1411
is not given Scribus will create one for you.
1412
 
3064 cbradney 1413
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1414
</source>
3064 cbradney 1415
        <translation>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
974 cbradney 1416
 
1417
Crea una elipse en la página actual y devuelve su nombre.
1418
Las coordenadas x, y, anchura y altura se expresan en las unidades
1419
actuales del documento (ver constantes UNIT). &quot;name&quot; debería ser
1420
un identificador único para el objeto porque se referenciará con ese
1421
nombre después. Si no se le da un nombre, Scribus creará uno.
1422
 
1423
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1424
ya se está usando.
1425
</translation>
952 cbradney 1426
    </message>
1427
    <message>
9729 cbradney 1428
        <location filename="../plugins/scriptplugin/cmdobj.h" line="60"/>
3064 cbradney 1429
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
952 cbradney 1430
 
1431
Creates a new picture frame on the current page and returns its name. The
1432
coordinates are given in the current measurement units of the document.
1433
&quot;name&quot; should be a unique identifier for the object because you need this
1434
name for further access to that object. If &quot;name&quot; is not given Scribus will
1435
create one for you.
1436
 
3064 cbradney 1437
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1438
</source>
3064 cbradney 1439
        <translation>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
974 cbradney 1440
 
1441
Crea un marco de imagen en la página actual y devuelve su nombre.
1442
Las coordenadas x, y, anchura y altura se expresan en las unidades
1443
actuales del documento. &quot;name&quot; debería ser un identificador único
1444
para el objeto porque se referenciará con ese nombre después.
1445
Si no se le da un nombre, Scribus creará uno.
1446
 
1447
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1448
ya se está usando.
1449
</translation>
952 cbradney 1450
    </message>
1451
    <message>
9729 cbradney 1452
        <location filename="../plugins/scriptplugin/cmdobj.h" line="75"/>
3064 cbradney 1453
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
952 cbradney 1454
 
1455
Creates a new text frame on the actual page and returns its name.
1456
The coordinates are given in the actual measurement unit of the document (see
1457
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1458
you need this name for further referencing of that object. If &quot;name&quot; is not
1459
given Scribus will create one for you.
1460
 
3064 cbradney 1461
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1462
</source>
3064 cbradney 1463
        <translation>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
974 cbradney 1464
 
1465
Crea un marco de texto en la página actual y devuelve su nombre.
1466
Las coordenadas x, y, anchura y altura se expresan en las unidades
1467
actuales del documento (ver constantes UNIT). &quot;name&quot; debería ser
1468
un identificador único para el objeto porque se referenciará con ese
1469
nombre después. Si no se le da un nombre, Scribus creará uno.
1470
 
1471
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1472
ya se está usando.
1473
</translation>
952 cbradney 1474
    </message>
1475
    <message>
9729 cbradney 1476
        <location filename="../plugins/scriptplugin/cmdobj.h" line="90"/>
3064 cbradney 1477
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
952 cbradney 1478
 
1479
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1480
its name. The coordinates are given in the current measurement unit of the
1481
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
1482
object because you need this name for further access to that object. If
1483
&quot;name&quot; is not given Scribus will create one for you.
1484
 
3064 cbradney 1485
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1486
</source>
3064 cbradney 1487
        <translation>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
974 cbradney 1488
 
1489
Crea una línea del punto (x1, y1) al punto (x2, y2) y devuelve su
1490
nombre. Las coordenadas se expresan en las unidades actuales
1491
del documento (ver constantes UNIT). &quot;name&quot; debería ser un
1492
identificador único para el objeto porque se referenciará con ese
1493
nombre después. Si no se le da un nombre, Scribus creará uno.
1494
 
1495
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1496
ya se está usando.
1497
</translation>
952 cbradney 1498
    </message>
1499
    <message>
9729 cbradney 1500
        <location filename="../plugins/scriptplugin/cmdobj.h" line="108"/>
3064 cbradney 1501
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
952 cbradney 1502
 
1503
Creates a new polyline and returns its name. The points for the polyline are
1504
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1505
The coordinates are given in the current measurement units of the document (see
1506
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1507
you need this name for further access to that object. If &quot;name&quot; is not given
1508
Scribus will create one for you.
1509
 
3064 cbradney 1510
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1511
May raise ValueError if an insufficient number of points is passed or if
3064 cbradney 1512
the number of values passed don&apos;t group into points without leftovers.
952 cbradney 1513
</source>
3064 cbradney 1514
        <translation>createPolyLine(list, [&quot;name&quot;]) -&gt; string
974 cbradney 1515
 
1516
Crea una polilínea y devuelve su nombre. Los puntos de la polilínea
1517
se almacenan en la lista &quot;list&quot; en el orden siguiente: [x1, y1, x2, y2, ...xn, yn].
1518
Las coordenadas se expresan en las unidades actuales del documento
1519
(ver constantes UNIT). &quot;name&quot; debería ser un identificador único para el
1520
objeto porque se referenciará con ese nombre después. Si no se le da
1521
un nombre, Scribus creará uno.
1522
 
1523
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1524
ya se está usando.
1525
Puede lanzar la excepción ValueError si se pasa un número de puntos
1526
insuficiente, o si el número de valores es impar.
1527
</translation>
952 cbradney 1528
    </message>
1529
    <message>
9729 cbradney 1530
        <location filename="../plugins/scriptplugin/cmdobj.h" line="128"/>
3064 cbradney 1531
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
952 cbradney 1532
 
1533
Creates a new polygon and returns its name. The points for the polygon are
1534
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1535
At least three points are required. There is no need to repeat the first point
1536
to close the polygon. The polygon is automatically closed by connecting the
1537
first and the last point.  The coordinates are given in the current measurement
1538
units of the document (see UNIT constants).  &quot;name&quot; should be a unique
1539
identifier for the object because you need this name for further access to that
1540
object. If &quot;name&quot; is not given Scribus will create one for you.
1541
 
3064 cbradney 1542
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1543
May raise ValueError if an insufficient number of points is passed or if
3064 cbradney 1544
the number of values passed don&apos;t group into points without leftovers.
952 cbradney 1545
</source>
3064 cbradney 1546
        <translation>createPolygon(list, [&quot;name&quot;]) -&gt; string
974 cbradney 1547
 
1548
Crea un polígono y devuelve su nombre. Los puntos del polígono se
1549
almacenan en la lista &quot;list&quot; en el orden siguiente: [x1, y1, x2, y2, ...xn, yn].
1550
Al menos se necesitan 3 puntos. No se necesita repetir el primer punto
1551
para cerrar el polígono, se cierra automáticamente conectando el primer
1552
punto con el último. Las coordenadas se expresan en las unidades actuales
1553
del documento (ver constantes UNIT). &quot;name&quot; debería ser un identificador
1554
único para el objeto porque se referenciará con ese nombre después.
1555
Si no se le da un nombre, Scribus creará uno.
1556
 
1557
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1558
ya se está usando.
1559
Puede lanzar la excepción ValueError si se pasa un número de puntos
1560
insuficiente, o si el número de valores es impar.
1561
</translation>
952 cbradney 1562
    </message>
1563
    <message>
9729 cbradney 1564
        <location filename="../plugins/scriptplugin/cmdobj.h" line="149"/>
3064 cbradney 1565
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
952 cbradney 1566
 
1567
Creates a new bezier curve and returns its name. The points for the bezier
1568
curve are stored in the list &quot;list&quot; in the following order:
1569
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1570
In the points list, x and y mean the x and y coordinates of the point and kx
1571
and ky meaning the control point for the curve.  The coordinates are given in
1572
the current measurement units of the document (see UNIT constants). &quot;name&quot;
1573
should be a unique identifier for the object because you need this name for
1574
further access to that object. If &quot;name&quot; is not given Scribus will create one
1575
for you.
1576
 
3064 cbradney 1577
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
952 cbradney 1578
May raise ValueError if an insufficient number of points is passed or if
3064 cbradney 1579
the number of values passed don&apos;t group into points without leftovers.
952 cbradney 1580
</source>
3064 cbradney 1581
        <translation>createBezierLine(list, [&quot;name&quot;]) -&gt; string
974 cbradney 1582
 
1583
Crea una curva de bezier y devuelve su nombre. Los puntos de la
1584
curva de bezier se almacenan en la lista &quot;list&quot; en el orden siguiente:
1585
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn, yn, kxn, kyn].
1586
En la lista de puntos, x e y son las coordenadas del punto y kx y ky
1587
el punto de control de la curva. Las coordenadas se expresan en las
1588
unidades actuales del documento (ver constantes UNIT). &quot;name&quot; debería
1589
ser un identificador único para el objeto porque se referenciará con ese
1590
nombre después. Si no se le da un nombre, Scribus creará uno.
1591
 
1592
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1593
ya se está usando.
1594
Puede lanzar la excepción ValueError si se pasa un número de puntos
1595
insuficiente, o si el número de valores es impar.
1596
</translation>
952 cbradney 1597
    </message>
1598
    <message>
9729 cbradney 1599
        <location filename="../plugins/scriptplugin/cmdobj.h" line="165"/>
3064 cbradney 1600
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
952 cbradney 1601
 
1602
Creates a new pathText by merging the two objects &quot;textbox&quot; and
1603
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
1604
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
1605
unique identifier for the object because you need this name for further access
1606
to that object. If &quot;name&quot; is not given Scribus will create one for you.
1607
 
3064 cbradney 1608
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1609
May raise NotFoundError if one or both of the named base object don&apos;t exist.
952 cbradney 1610
</source>
3064 cbradney 1611
        <translation>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
974 cbradney 1612
 
1613
Crea un texto adjunto a un trazado, adjuntando el objeto&quot;textbox&quot; al objeto
1614
&quot;beziercurve&quot; y devuelve su nombre. Las coordenadas se expresan en las
1615
unidades actuales del documento (ver constantes UNIT). &quot;name&quot; debería
1616
ser un identificador único para el objeto porque se referenciará con ese
1617
nombre después. Si no se le da un nombre, Scribus creará uno.
1618
 
1619
Puede lanzar la excepción NameExistsError si se pasa un nombre que
1620
ya se está usando.
1621
Puede lanzar la excepción NotFoundError si alguno de los objetos no existe.
1622
</translation>
952 cbradney 1623
    </message>
1624
    <message>
9729 cbradney 1625
        <location filename="../plugins/scriptplugin/cmdobj.h" line="177"/>
3064 cbradney 1626
        <source>deleteObject([&quot;name&quot;])
952 cbradney 1627
 
1628
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1629
selected item is deleted.
1630
</source>
3064 cbradney 1631
        <translation>deleteObject([&quot;name&quot;])
974 cbradney 1632
 
1633
Borra el objeto con el nombre &quot;name&quot;.
1634
Si no se pasa un nombre, se usa el objeto que esté seleccionado.
1635
</translation>
952 cbradney 1636
    </message>
1637
    <message>
9729 cbradney 1638
        <location filename="" line="136965632"/>
3064 cbradney 1639
        <source>textFlowsAroundFrame(&quot;name&quot; [, state])
952 cbradney 1640
 
1641
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1642
Called with parameters string name and optional boolean &quot;state&quot;. If &quot;state&quot;
1643
is not passed, text flow is toggled.
1644
</source>
6261 cbradney 1645
        <translation type="obsolete">textFlowsAroundFrame(&quot;name&quot; [, state])
974 cbradney 1646
 
1647
Activa o desactiva la característica &quot;el texto fluye alrededor del marco&quot;
1648
del objeto &quot;name&quot;, según el valor del parámetro booleano &quot;state&quot;.
1649
Si no se pasa &quot;state&quot;, se invierte dicha característica.
1650
</translation>
952 cbradney 1651
    </message>
1652
    <message>
9729 cbradney 1653
        <location filename="../plugins/scriptplugin/cmdobj.h" line="211"/>
3064 cbradney 1654
        <source>objectExists([&quot;name&quot;]) -&gt; bool
952 cbradney 1655
 
1656
Test if an object with specified name really exists in the document.
1657
The optional parameter is the object name. When no object name is given,
1658
returns True if there is something selected.
1659
</source>
3064 cbradney 1660
        <translation>objectExists([&quot;name&quot;]) -&gt; bool
974 cbradney 1661
 
1662
Comprueba si existe en el documento un objeto con el nombre &quot;name&quot;.
1663
Si no se pasa un nombre, devuelve true si hay algún objeto seleccionado.
1664
</translation>
952 cbradney 1665
    </message>
1666
    <message>
9729 cbradney 1667
        <location filename="../plugins/scriptplugin/cmdobj.h" line="227"/>
3064 cbradney 1668
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
952 cbradney 1669
 
1670
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
3064 cbradney 1671
given, it&apos;s applied on the selected object.
952 cbradney 1672
</source>
3064 cbradney 1673
        <translation>setStyle(&quot;style&quot; [, &quot;name&quot;])
974 cbradney 1674
 
1675
Aplica el estilo &quot;style&quot; al objeto &quot;name&quot;.
1676
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
1677
</translation>
952 cbradney 1678
    </message>
1679
    <message>
9729 cbradney 1680
        <location filename="../plugins/scriptplugin/cmdobj.h" line="240"/>
3064 cbradney 1681
        <source>getAllStyles() -&gt; list
952 cbradney 1682
 
1683
Return a list of the names of all paragraph styles in the current document.
1684
</source>
3064 cbradney 1685
        <translation>getAllStyles() -&gt; list
974 cbradney 1686
 
1687
Devuelve una lista con los nombres de todos los estilos
1688
de párrafo del documento.
1689
</translation>
952 cbradney 1690
    </message>
1691
    <message>
9729 cbradney 1692
        <location filename="../plugins/scriptplugin/cmdpage.h" line="36"/>
3064 cbradney 1693
        <source>currentPage() -&gt; integer
952 cbradney 1694
 
1695
Returns the number of the current working page. Page numbers are counted from 1
1696
upwards, no matter what the displayed first page number of your document is.
1697
</source>
3064 cbradney 1698
        <translation>currentPage() -&gt; integer
974 cbradney 1699
 
1700
Devuelve el número de la página actual. Los números de página van del 1 en
1701
adelante, independientemente del número mostrado en la primera página.
1702
</translation>
952 cbradney 1703
    </message>
1704
    <message>
9729 cbradney 1705
        <location filename="../plugins/scriptplugin/cmdpage.h" line="45"/>
3064 cbradney 1706
        <source>redrawAll()
952 cbradney 1707
 
1708
Redraws all pages.
1709
</source>
3064 cbradney 1710
        <translation>redrawAll()
974 cbradney 1711
 
1712
Redibuja todas las páginas.
1713
</translation>
952 cbradney 1714
    </message>
1715
    <message>
9729 cbradney 1716
        <location filename="../plugins/scriptplugin/cmdpage.h" line="65"/>
3064 cbradney 1717
        <source>savePageAsEPS(&quot;name&quot;)
952 cbradney 1718
 
1719
Saves the current page as an EPS to the file &quot;name&quot;.
1720
 
1721
May raise ScribusError if the save failed.
1722
</source>
3064 cbradney 1723
        <translation>savePageAsEPS(&quot;name&quot;)
974 cbradney 1724
 
1725
Guarda la página actual como un EPS al archivo &quot;name&quot;.
1726
 
1727
Puede lanzar la excpeción ScribusError si hubo un error al guardar.
1728
</translation>
952 cbradney 1729
    </message>
1730
    <message>
9729 cbradney 1731
        <location filename="../plugins/scriptplugin/cmdpage.h" line="78"/>
3064 cbradney 1732
        <source>deletePage(nr)
952 cbradney 1733
 
1734
Deletes the given page. Does nothing if the document contains only one page.
1735
Page numbers are counted from 1 upwards, no matter what the displayed first
1736
page number is.
1737
 
1738
May raise IndexError if the page number is out of range
1739
</source>
3064 cbradney 1740
        <translation>deletePage(nr)
974 cbradney 1741
 
1742
Borra la página &quot;nr&quot;. No hace nada si el documento sólo tiene una página.
1743
Los números de página van del 1 en adelante, independientemente del
1744
mostrado en la primera página.
1745
 
1746
Puede lanzar la excepción IndexError si el número de página está fuera de rango.
1747
</translation>
952 cbradney 1748
    </message>
1749
    <message>
9729 cbradney 1750
        <location filename="../plugins/scriptplugin/cmdpage.h" line="91"/>
3064 cbradney 1751
        <source>gotoPage(nr)
952 cbradney 1752
 
1753
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
3064 cbradney 1754
gotoPage doesn&apos;t (curently) change the page the user&apos;s view is displaying, it
952 cbradney 1755
just sets the page that script commands will operates on.
1756
 
1757
May raise IndexError if the page number is out of range.
1758
</source>
10842 cbradney 1759
        <translation type="obsolete">gotoPage(nr)
974 cbradney 1760
 
1761
Cambia a la página &quot;nr&quot; (es decir, hace la página actual la página &quot;nr&quot;).
1762
Nota que actualmente no cambia la página que se está mostrando, sólo
1763
establece la página sobre la que operan los comandos del script.
1764
 
1765
Puede lanzar la excepción IndexError si el número de página está fuera de rango.
1766
</translation>
952 cbradney 1767
    </message>
1768
    <message>
9729 cbradney 1769
        <location filename="../plugins/scriptplugin/cmdpage.h" line="100"/>
3064 cbradney 1770
        <source>pageCount() -&gt; integer
952 cbradney 1771
 
1772
Returns the number of pages in the document.
1773
</source>
3064 cbradney 1774
        <translation>pageCount() -&gt; integer
974 cbradney 1775
 
1776
Devuelve el número de páginas del documento.
1777
</translation>
952 cbradney 1778
    </message>
1779
    <message>
9729 cbradney 1780
        <location filename="../plugins/scriptplugin/cmdpage.h" line="110"/>
3064 cbradney 1781
        <source>getHGuides() -&gt; list
952 cbradney 1782
 
1783
Returns a list containing positions of the horizontal guides. Values are in the
3064 cbradney 1784
document&apos;s current units - see UNIT_&lt;type&gt; constants.
952 cbradney 1785
</source>
3064 cbradney 1786
        <translation>getHGuides() -&gt; list
974 cbradney 1787
 
1788
Devuelve una lista que contiene las posiciones de las guías horizontales.
1789
Los valores están en las unidades actuales del documento - ver las
3064 cbradney 1790
constantes UNIT_&lt;tipo&gt;.
974 cbradney 1791
</translation>
952 cbradney 1792
    </message>
1793
    <message>
9729 cbradney 1794
        <location filename="../plugins/scriptplugin/cmdpage.h" line="123"/>
3064 cbradney 1795
        <source>setHGuides(list)
952 cbradney 1796
 
1797
Sets horizontal guides. Input parameter must be a list of guide positions
3064 cbradney 1798
measured in the current document units - see UNIT_&lt;type&gt; constants.
952 cbradney 1799
 
1800
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1801
         setHGuides([90,250]) # replace current guides entirely
1802
</source>
3064 cbradney 1803
        <translation>setHGuides(list)
974 cbradney 1804
 
1805
Establece las guías horizontales. El parámetro debe ser una lista de
1806
posiciones medidas en las unidades actuales del documento - ver
3064 cbradney 1807
las constantes UNIT_&lt;tipo&gt;.
974 cbradney 1808
 
1809
Ejemplo: setHGuides(getHGuides() + [200.0, 210.0] # añade guías sin perder ninguna
1810
         setHGuides([90,250]) # reemplaza las guías actuales
1811
</translation>
952 cbradney 1812
    </message>
1813
    <message>
9729 cbradney 1814
        <location filename="../plugins/scriptplugin/cmdpage.h" line="132"/>
3064 cbradney 1815
        <source>getVGuides()
952 cbradney 1816
 
1817
See getHGuides.
1818
</source>
3064 cbradney 1819
        <translation>getVGuides()
974 cbradney 1820
 
1821
Ver getHGuides.
1822
</translation>
952 cbradney 1823
    </message>
1824
    <message>
9729 cbradney 1825
        <location filename="../plugins/scriptplugin/cmdpage.h" line="141"/>
3064 cbradney 1826
        <source>setVGuides()
952 cbradney 1827
 
1828
See setHGuides.
1829
</source>
3064 cbradney 1830
        <translation>setVGuides()
974 cbradney 1831
 
1832
Ver setHGuides.
1833
</translation>
952 cbradney 1834
    </message>
1835
    <message>
9729 cbradney 1836
        <location filename="../plugins/scriptplugin/cmdpage.h" line="151"/>
3064 cbradney 1837
        <source>getPageSize() -&gt; tuple
952 cbradney 1838
 
3064 cbradney 1839
Returns a tuple with page dimensions measured in the document&apos;s current units.
1840
See UNIT_&lt;type&gt; constants and getPageMargins()
952 cbradney 1841
</source>
3064 cbradney 1842
        <translation>getPageSize() -&gt; tuple
974 cbradney 1843
 
1844
Devuelve un vector con las dimensiones de página medidas en las unidades
3064 cbradney 1845
actuales del documento. Ver las constantes UNIT_&lt;tipo&gt; y getPageMargins()
974 cbradney 1846
</translation>
952 cbradney 1847
    </message>
1848
    <message>
9729 cbradney 1849
        <location filename="../plugins/scriptplugin/cmdpage.h" line="167"/>
3064 cbradney 1850
        <source>getPageItems() -&gt; list
952 cbradney 1851
 
1852
Returns a list of tuples with items on the current page. The tuple is:
3064 cbradney 1853
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
1854
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
952 cbradney 1855
the page...
1856
</source>
3064 cbradney 1857
        <translation>getPageItems() -&gt; list
974 cbradney 1858
 
1859
Devuelve una lista de vectores con los objetos de la página actual.
1860
El vector es (nombre, tipoDeObjeto, orden).
3064 cbradney 1861
P. ej. [(&apos;Texto1&apos;, 4, 0), (&apos;Imagen1&apos;, 2, 1)] significa que el objeto &apos;Texto1&apos;
974 cbradney 1862
es un marco de texto (tipo 4) y es el primero de la página...
1863
</translation>
952 cbradney 1864
    </message>
1865
    <message>
9729 cbradney 1866
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="33"/>
3064 cbradney 1867
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
952 cbradney 1868
 
1869
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
1870
is the name of one of the defined colors. If &quot;name&quot; is not given the
1871
currently selected item is used.
1872
</source>
3064 cbradney 1873
        <translation>setFillColor(&quot;color&quot;, [&quot;name&quot;])
974 cbradney 1874
 
1875
Establece el color de relleno del objeto &quot;name&quot; al color &quot;color&quot;.
1876
&quot;color&quot; es el nombre de uno de los colores definidos.
1877
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
1878
</translation>
952 cbradney 1879
    </message>
1880
    <message>
9729 cbradney 1881
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="63"/>
3064 cbradney 1882
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
952 cbradney 1883
 
1884
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
1885
is not given the currently selected item is used.
1886
</source>
3064 cbradney 1887
        <translation>setLineColor(&quot;color&quot;, [&quot;name&quot;])
974 cbradney 1888
 
1889
Establece el color de línea del objeto &quot;name&quot; al color &quot;color&quot;.
1890
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
1891
</translation>
952 cbradney 1892
    </message>
1893
    <message>
9729 cbradney 1894
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="96"/>
3064 cbradney 1895
        <source>setLineWidth(width, [&quot;name&quot;])
952 cbradney 1896
 
1897
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
1898
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
1899
given the currently selected item is used.
1900
 
1901
May raise ValueError if the line width is out of bounds.
1902
</source>
3064 cbradney 1903
        <translation>setLineWidth(width, [&quot;name&quot;])
974 cbradney 1904
 
1905
Establece el ancho de línea del objeto &quot;name&quot; a &quot;width&quot;. &quot;width&quot; debe estar
1906
en el rango de 0.0 a 12.0 inclusive, y se miede en puntos.
1907
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
1908
 
1909
Puede lanzar la excepción ValueError si el ancho de línea está fuera de rango.
1910
</translation>
952 cbradney 1911
    </message>
1912
    <message>
9729 cbradney 1913
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="110"/>
3064 cbradney 1914
        <source>setLineShade(shade, [&quot;name&quot;])
952 cbradney 1915
 
1916
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
1917
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
1918
(full color intensity). If &quot;name&quot; is not given the currently selected item
1919
is used.
1920
 
1921
May raise ValueError if the line shade is out of bounds.
1922
</source>
3064 cbradney 1923
        <translation>setLineShade(shade, [&quot;name&quot;])
974 cbradney 1924
 
1925
Establece la saturación del color de línea del objeto &quot;name&quot; a &quot;shade&quot;.
1926
&quot;shade&quot; debe ser un valor entero en el rango de 0 (más claro) a 100
1927
(color de mayor intensidad).
1928
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
1929
 
1930
Puede lanzar la excepción ValueError si la saturación está fuera de rango.
1931
</translation>
952 cbradney 1932
    </message>
1933
    <message>
9729 cbradney 1934
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="121"/>
3064 cbradney 1935
        <source>setLineJoin(join, [&quot;name&quot;])
952 cbradney 1936
 
1937
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
1938
If &quot;name&quot; is not given the currently selected item is used. There are
3064 cbradney 1939
predefined constants for join - JOIN_&lt;type&gt;.
952 cbradney 1940
</source>
3064 cbradney 1941
        <translation>setLineJoin(join, [&quot;name&quot;])
974 cbradney 1942
 
1943
Establece el estilo de unión de línea del objeto &quot;name&quot; al estilo &quot;join&quot;.
1944
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
3064 cbradney 1945
Hay constantes predefinidas para &quot;join&quot; - JOIN_&lt;tipo&gt;.
974 cbradney 1946
</translation>
952 cbradney 1947
    </message>
1948
    <message>
9729 cbradney 1949
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="132"/>
3064 cbradney 1950
        <source>setLineEnd(endtype, [&quot;name&quot;])
952 cbradney 1951
 
1952
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
1953
If &quot;name&quot; is not given the currently selected item is used. There are
3064 cbradney 1954
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
952 cbradney 1955
</source>
3064 cbradney 1956
        <translation>setLineEnd(endtype, [&quot;name&quot;])
974 cbradney 1957
 
1958
Establece el estilo de extremo de línea del objeto &quot;name&quot; al estilo &quot;cap&quot;.
1959
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
3064 cbradney 1960
Hay constantes predefinidas para &quot;cap&quot; - CAP_&lt;tipo&gt;.
974 cbradney 1961
</translation>
952 cbradney 1962
    </message>
1963
    <message>
9729 cbradney 1964
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="143"/>
3064 cbradney 1965
        <source>setLineStyle(style, [&quot;name&quot;])
952 cbradney 1966
 
1967
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
1968
is not given the currently selected item is used. There are predefined
3064 cbradney 1969
constants for &quot;style&quot; - LINE_&lt;style&gt;.
952 cbradney 1970
</source>
3064 cbradney 1971
        <translation>setLineStyle(style, [&quot;name&quot;])
974 cbradney 1972
 
1973
Establece el estilo de línea del objeto &quot;name&quot; al estilo &quot;style&quot;.
1974
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
3064 cbradney 1975
Hay constantes predefinidas para &quot;style&quot; - LINE_&lt;tipo&gt;.
974 cbradney 1976
</translation>
952 cbradney 1977
    </message>
1978
    <message>
9729 cbradney 1979
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="157"/>
3064 cbradney 1980
        <source>setFillShade(shade, [&quot;name&quot;])
952 cbradney 1981
 
1982
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
1983
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
1984
(full Color intensity). If &quot;name&quot; is not given the currently selected
1985
Item is used.
1986
 
1987
May raise ValueError if the fill shade is out of bounds.
1988
</source>
3064 cbradney 1989
        <translation>setFillShade(shade, [&quot;name&quot;])
974 cbradney 1990
 
1991
Establece la saturación del color de relleno del objeto &quot;name&quot; a &quot;shade&quot;.
1992
&quot;shade&quot; debe ser un valor entero en el rango de 0 (más claro) a 100
1993
(color de mayor intensidad).
1994
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
1995
 
1996
Puede lanzar la excepción ValueError si la saturación está fuera de rango.
1997
</translation>
952 cbradney 1998
    </message>
1999
    <message>
9729 cbradney 2000
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="169"/>
3064 cbradney 2001
        <source>setCornerRadius(radius, [&quot;name&quot;])
952 cbradney 2002
 
2003
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
2004
in points. If &quot;name&quot; is not given the currently selected item is used.
2005
 
2006
May raise ValueError if the corner radius is negative.
2007
</source>
3064 cbradney 2008
        <translation>setCornerRadius(radius, [&quot;name&quot;])
974 cbradney 2009
 
2010
Establece el radio de las esquinas del objeto &quot;name&quot;. El radio está
2011
expreado en puntos.
2012
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2013
 
2014
Puede lanzar la excepción ValueError si el radio está fuera de rango.
2015
</translation>
952 cbradney 2016
    </message>
2017
    <message>
9729 cbradney 2018
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="181"/>
3064 cbradney 2019
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
952 cbradney 2020
 
2021
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
2022
If &quot;name&quot; is not given the currently selected item is used.
2023
 
3064 cbradney 2024
May raise NotFoundError if the line style doesn&apos;t exist.
952 cbradney 2025
</source>
3064 cbradney 2026
        <translation>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
974 cbradney 2027
 
2028
Establece el estilo de línea del objeto &quot;name&quot; al estilo de nombre &quot;namedStyle&quot;.
2029
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2030
 
2031
Puede lanzar la excepción NotFoundError si el estilo de línea no existe.
2032
</translation>
952 cbradney 2033
    </message>
2034
    <message>
9729 cbradney 2035
        <location filename="../plugins/scriptplugin/cmdtext.h" line="35"/>
3064 cbradney 2036
        <source>getFont([&quot;name&quot;]) -&gt; string
952 cbradney 2037
 
2038
Returns the font name for the text frame &quot;name&quot;. If this text frame
2039
has some text selected the value assigned to the first character
2040
of the selection is returned. If &quot;name&quot; is not given the currently
2041
selected item is used.
2042
</source>
3064 cbradney 2043
        <translation>getFont([&quot;name&quot;]) -&gt; string
974 cbradney 2044
 
2045
Devuelve el nombre de la fuente del marco de texto &quot;name&quot;. Si el
2046
marco de texto tiene texto seleccionado, devuelve el del primer
2047
caracter de la selección.
2048
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2049
</translation>
952 cbradney 2050
    </message>
2051
    <message>
9729 cbradney 2052
        <location filename="../plugins/scriptplugin/cmdtext.h" line="45"/>
3064 cbradney 2053
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
952 cbradney 2054
 
2055
Returns the length of the text in the text frame &quot;name&quot;.
2056
If &quot;name&quot; is not given the currently selected item is used.
2057
</source>
3064 cbradney 2058
        <translation>getTextLength([&quot;name&quot;]) -&gt; integer
974 cbradney 2059
 
2060
Devuelve la longitud del texto en el marco de texto &quot;name&quot;.
2061
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2062
</translation>
952 cbradney 2063
    </message>
2064
    <message>
9729 cbradney 2065
        <location filename="../plugins/scriptplugin/cmdtext.h" line="67"/>
3064 cbradney 2066
        <source>getText([&quot;name&quot;]) -&gt; string
952 cbradney 2067
 
2068
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
2069
selected, the selected text is returned. All text in the frame, not just
2070
currently visible text, is returned. If &quot;name&quot; is not given the currently
2071
selected item is used.
2072
</source>
3064 cbradney 2073
        <translation>getText([&quot;name&quot;]) -&gt; string
974 cbradney 2074
 
2075
Devuelve el texto del marco de texto &quot;name&quot;.  Si el marco de texto
2076
tiene texto seleccionado, devuelve el texto seleccionado. Devuelve
2077
todo el texto del marco, no solo el que se ve actualmente.
2078
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2079
</translation>
952 cbradney 2080
    </message>
2081
    <message>
9729 cbradney 2082
        <location filename="../plugins/scriptplugin/cmdtext.h" line="79"/>
3064 cbradney 2083
        <source>getAllText([&quot;name&quot;]) -&gt; string
952 cbradney 2084
 
2085
Returns the text of the text frame &quot;name&quot; and of all text frames which are
2086
linked with this frame. If this textframe has some text selected, the selected
2087
text is returned. If &quot;name&quot; is not given the currently selected item is
2088
used.
2089
</source>
3064 cbradney 2090
        <translation>getAllText([&quot;name&quot;]) -&gt; string
974 cbradney 2091
 
2092
Devuelve el texto del marco de texto &quot;name&quot; y de todos los marcos de texto
2093
que están enlazados con este marco. Si el marco de texto tiene texto
2094
seleccionado, devuelve el texto seleccionado.
2095
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2096
</translation>
952 cbradney 2097
    </message>
2098
    <message>
9729 cbradney 2099
        <location filename="../plugins/scriptplugin/cmdtext.h" line="89"/>
3064 cbradney 2100
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
952 cbradney 2101
 
2102
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2103
points. If &quot;name&quot; is not given the currently selected item is used.
2104
</source>
3064 cbradney 2105
        <translation>getLineSpacing([&quot;name&quot;]) -&gt; float
974 cbradney 2106
 
2107
Devuelve el interlineado del marco de texto &quot;name&quot; expresado en puntos.
2108
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2109
</translation>
952 cbradney 2110
    </message>
2111
    <message>
9729 cbradney 2112
        <location filename="../plugins/scriptplugin/cmdtext.h" line="99"/>
3064 cbradney 2113
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
952 cbradney 2114
 
2115
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2116
&quot;name&quot; is not given the currently selected item is used.
2117
</source>
3064 cbradney 2118
        <translation>getColumnGap([&quot;name&quot;]) -&gt; float
974 cbradney 2119
 
2120
Devuelve la distancia entre columnas del marco de texto &quot;name&quot; expresado
2121
en puntos. Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2122
 
2123
</translation>
952 cbradney 2124
    </message>
2125
    <message>
9729 cbradney 2126
        <location filename="../plugins/scriptplugin/cmdtext.h" line="109"/>
3064 cbradney 2127
        <source>getColumns([&quot;name&quot;]) -&gt; integer
952 cbradney 2128
 
2129
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2130
given the currently selected item is used.
2131
</source>
3064 cbradney 2132
        <translation>getColumns([&quot;name&quot;]) -&gt; integer
974 cbradney 2133
 
2134
Devuelve el número de columnas del marco de texto &quot;name&quot;.
2135
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2136
</translation>
952 cbradney 2137
    </message>
2138
    <message>
9729 cbradney 2139
        <location filename="../plugins/scriptplugin/cmdtext.h" line="121"/>
3064 cbradney 2140
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
952 cbradney 2141
 
2142
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
3064 cbradney 2143
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
952 cbradney 2144
for more details. If &quot;name&quot; is not given the currently selected item is
2145
used.
2146
</source>
3064 cbradney 2147
        <translation>setText(&quot;text&quot;, [&quot;name&quot;])
974 cbradney 2148
 
2149
Establece el texto del marco de texto &quot;name&quot; al texto de la cadena &quot;text&quot;.
3064 cbradney 2150
El texto debe estar codificado en UTF8 - usa p. ej. unicode(&quot;text&quot;, &apos;iso-8859-2&apos;).
974 cbradney 2151
Ver las FAQ para más detalles.
2152
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2153
</translation>
952 cbradney 2154
    </message>
2155
    <message>
9729 cbradney 2156
        <location filename="../plugins/scriptplugin/cmdtext.h" line="148"/>
3064 cbradney 2157
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
952 cbradney 2158
 
2159
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
2160
selected only the selected text is changed.  If &quot;name&quot; is not given the
2161
currently selected item is used.
2162
 
2163
May throw ValueError if the font cannot be found.
2164
</source>
3064 cbradney 2165
        <translation>setFont(&quot;font&quot;, [&quot;name&quot;])
974 cbradney 2166
 
2167
Establece la fuente del marco de texto &quot;name&quot; a &quot;font&quot;. Si hay texto
2168
seleccionado sólo cambia la del texto seleccionado.
2169
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2170
 
2171
Puede lanzar la excepción ValueError si no se puede encontrar la fuente.
2172
</translation>
952 cbradney 2173
    </message>
2174
    <message>
9729 cbradney 2175
        <location filename="../plugins/scriptplugin/cmdtext.h" line="162"/>
3064 cbradney 2176
        <source>setFontSize(size, [&quot;name&quot;])
952 cbradney 2177
 
2178
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
2179
as a value in points. If there is some text selected only the selected text is
2180
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
2181
currently selected item is used.
2182
 
3064 cbradney 2183
May throw ValueError for a font size that&apos;s out of bounds.
952 cbradney 2184
</source>
3064 cbradney 2185
        <translation>setFontSize(size, [&quot;name&quot;])
974 cbradney 2186
 
2187
Establece el tamaño de fuente del marco de texto &quot;name&quot; a &quot;size&quot;.
2188
&quot;size&quot; debe ser un valor en puntos. Si hay texto seleccionado sólo
2189
cambia la del texto seleccionado. &quot;size&quot; debe ser un entero en el
2190
rango 1 a 512.
2191
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2192
 
2193
Puede lanzar la excepción ValueError si el tamaño está fuera de rango.
2194
</translation>
952 cbradney 2195
    </message>
2196
    <message>
9729 cbradney 2197
        <location filename="../plugins/scriptplugin/cmdtext.h" line="175"/>
3064 cbradney 2198
        <source>setLineSpacing(size, [&quot;name&quot;])
952 cbradney 2199
 
2200
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
2201
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
2202
item is used.
2203
 
2204
May throw ValueError if the line spacing is out of bounds.
2205
</source>
3064 cbradney 2206
        <translation>setLineSpacing(size, [&quot;name&quot;])
974 cbradney 2207
 
2208
Establece el interlineado del marco de texto &quot;name&quot; a &quot;size&quot;.
2209
&quot;size&quot; es un valor en puntos.
2210
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2211
 
2212
Puede lanzar la excepción ValueError si el interlineado está fuera de rango.
2213
</translation>
952 cbradney 2214
    </message>
2215
    <message>
9729 cbradney 2216
        <location filename="../plugins/scriptplugin/cmdtext.h" line="187"/>
3064 cbradney 2217
        <source>setColumnGap(size, [&quot;name&quot;])
952 cbradney 2218
 
2219
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
2220
&quot;name&quot; is not given the currently selected item is used.
2221
 
2222
May throw ValueError if the column gap is out of bounds (must be positive).
2223
</source>
3064 cbradney 2224
        <translation>setColumnGap(size, [&quot;name&quot;])
974 cbradney 2225
 
2226
Establece la distancia entre columnas del marco de texto &quot;name&quot; al
2227
valor &quot;size&quot;.
2228
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2229
 
2230
Puede lanzar la excepción ValueError si la distancia entre columnas
2231
está fuera de rango (debe ser positiva).
2232
</translation>
952 cbradney 2233
    </message>
2234
    <message>
9729 cbradney 2235
        <location filename="../plugins/scriptplugin/cmdtext.h" line="199"/>
3064 cbradney 2236
        <source>setColumns(nr, [&quot;name&quot;])
952 cbradney 2237
 
2238
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
2239
If &quot;name&quot; is not given the currently selected item is used.
2240
 
2241
May throw ValueError if number of columns is not at least one.
2242
</source>
3064 cbradney 2243
        <translation>setColumns(nr, [&quot;name&quot;])
974 cbradney 2244
 
2245
Establece el número de columnas del marco de texto &quot;name&quot; al entero &quot;nr&quot;.
2246
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2247
 
2248
Puede lanzar la excepción ValueError si el número de columnas es menor de uno.
2249
</translation>
952 cbradney 2250
    </message>
2251
    <message>
9729 cbradney 2252
        <location filename="../plugins/scriptplugin/cmdtext.h" line="212"/>
3064 cbradney 2253
        <source>setTextAlignment(align, [&quot;name&quot;])
952 cbradney 2254
 
2255
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
2256
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
2257
be one of the ALIGN_ constants defined in this module - see dir(scribus).
2258
 
2259
May throw ValueError for an invalid alignment constant.
2260
</source>
3064 cbradney 2261
        <translation>setTextAlignment(align, [&quot;name&quot;])
974 cbradney 2262
 
2263
Establece el alineamiento del marco de texto &quot;name&quot; al alineamiento
2264
indicado. &quot;align&quot; debería ser una de las constantes ALIGN_ definidas
2265
en este módulo - ver dir(scribus).
2266
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2267
 
2268
Puede lanzar la excepción ValueError si la constante de la alineamiento
2269
no es válida.
2270
</translation>
952 cbradney 2271
    </message>
2272
    <message>
9729 cbradney 2273
        <location filename="../plugins/scriptplugin/cmdtext.h" line="237"/>
3064 cbradney 2274
        <source>deleteText([&quot;name&quot;])
952 cbradney 2275
 
2276
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
2277
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2278
selected item is used.
2279
</source>
3064 cbradney 2280
        <translation>deleteText([&quot;name&quot;])
974 cbradney 2281
 
2282
Borrar el texto del marco de texto &quot;name&quot;. Si hay texto seleccionado sólo
2283
se borra el texto seleccionado.
2284
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2285
</translation>
952 cbradney 2286
    </message>
2287
    <message>
9729 cbradney 2288
        <location filename="../plugins/scriptplugin/cmdtext.h" line="248"/>
3064 cbradney 2289
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
952 cbradney 2290
 
2291
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
2292
is some text selected only the selected text is changed. If &quot;name&quot; is not
2293
given the currently selected item is used.
2294
</source>
3064 cbradney 2295
        <translation>setTextColor(&quot;color&quot;, [&quot;name&quot;])
974 cbradney 2296
 
2297
Establece el color del texto marco de texto &quot;name&quot; al color &quot;color&quot;. Si
2298
hay texto seleccionado sólo se cambia el texto seleccionado.
2299
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2300
</translation>
952 cbradney 2301
    </message>
2302
    <message>
9729 cbradney 2303
        <location filename="../plugins/scriptplugin/cmdtext.h" line="258"/>
3064 cbradney 2304
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
952 cbradney 2305
 
2306
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2307
selected item is used.
2308
</source>
3064 cbradney 2309
        <translation>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
974 cbradney 2310
 
2311
Establece el color del trazo del texto a &quot;color&quot;.
2312
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2313
</translation>
952 cbradney 2314
    </message>
2315
    <message>
9729 cbradney 2316
        <location filename="../plugins/scriptplugin/cmdtext.h" line="271"/>
3064 cbradney 2317
        <source>setTextShade(shade, [&quot;name&quot;])
952 cbradney 2318
 
2319
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
2320
there is some text selected only the selected text is changed. &quot;shade&quot; must
2321
be an integer value in the range from 0 (lightest) to 100 (full color
2322
intensity). If &quot;name&quot; is not given the currently selected item is
2323
used.
2324
</source>
3064 cbradney 2325
        <translation>setTextShade(shade, [&quot;name&quot;])
974 cbradney 2326
 
2327
Establece la saturación del color del texto del objeto &quot;name&quot; a &quot;shade&quot;.
2328
Si hay texto seleccionado, sólo cambia el texto seleccionado. &quot;shade&quot;
2329
debe ser un valor entero en el rango de 0 (más claro) a 100 (color de
2330
mayor intensidad).
2331
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2332
</translation>
952 cbradney 2333
    </message>
2334
    <message>
9729 cbradney 2335
        <location filename="../plugins/scriptplugin/cmdtext.h" line="284"/>
3064 cbradney 2336
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
952 cbradney 2337
 
2338
Link two text frames. The frame named &quot;fromname&quot; is linked to the
2339
frame named &quot;toname&quot;. The target frame must be an empty text frame
2340
and must not link to or be linked from any other frames already.
2341
 
2342
May throw ScribusException if linking rules are violated.
2343
</source>
3064 cbradney 2344
        <translation>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
974 cbradney 2345
 
2346
Enlaza dos marcos de texto. El marco llamado &quot;fromname&quot; se enlaza al marco
2347
llamado &quot;toname&quot;. El marco de destino debe ser un marco de texto vacío y
2348
no debe estar enlazado a otros ni desde otros marcos de texto.
2349
 
2350
Puede lanzar la excepción ScribusException si se violan las reglas de enlazado.
2351
</translation>
952 cbradney 2352
    </message>
2353
    <message>
9729 cbradney 2354
        <location filename="../plugins/scriptplugin/cmdtext.h" line="301"/>
3064 cbradney 2355
        <source>unlinkTextFrames(&quot;name&quot;)
952 cbradney 2356
 
2357
Remove the specified (named) object from the text frame flow/linkage. If the
2358
frame was in the middle of a chain, the previous and next frames will be
3064 cbradney 2359
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
952 cbradney 2360
 
2361
May throw ScribusException if linking rules are violated.
2362
</source>
3064 cbradney 2363
        <translation>unlinkTextFrames(&quot;name&quot;)
974 cbradney 2364
 
2365
Elimina el objeto &quot;name&quot; del flujo de enlazado de marcos de texto. Si el
2366
marco estaba en medio de una cadena, los marcos anterior y siguiente
3064 cbradney 2367
se enlazarán, p. ej. &apos;a-&gt;b-&gt;c&apos; pasa a ser &apos;a-&gt;c&apos; al ejecutar unlinkTextFrames(b)
974 cbradney 2368
 
2369
Puede lanzar la excepción ScribusException si se violan las reglas de enlazado.
2370
</translation>
952 cbradney 2371
    </message>
2372
    <message>
9729 cbradney 2373
        <location filename="../plugins/scriptplugin/cmdtext.h" line="314"/>
3064 cbradney 2374
        <source>traceText([&quot;name&quot;])
952 cbradney 2375
 
2376
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2377
currently selected item is used.</source>
3064 cbradney 2378
        <translation>traceText([&quot;name&quot;])
974 cbradney 2379
 
2380
Convierte el marco de texto &quot;name&quot; a contornos.
2381
Si no se pasa un nombre, se aplica al objeto que esté seleccionado.
2382
</translation>
952 cbradney 2383
    </message>
2384
    <message>
9729 cbradney 2385
        <location filename="../plugins/scriptplugin/guiapp.h" line="34"/>
3064 cbradney 2386
        <source>progressReset()
952 cbradney 2387
 
2388
Cleans up the Scribus progress bar previous settings. It is called before the
2389
new progress bar use. See progressSet.
2390
</source>
3064 cbradney 2391
        <translation>progressReset()
974 cbradney 2392
 
2393
Borra la barra de progreso de Scribus. Se llama antes de usar
2394
la barra de progreso. Ver progressSet.
2395
</translation>
952 cbradney 2396
    </message>
2397
    <message>
9729 cbradney 2398
        <location filename="../plugins/scriptplugin/guiapp.h" line="47"/>
3064 cbradney 2399
        <source>progressTotal(max)
952 cbradney 2400
 
3064 cbradney 2401
Sets the progress bar&apos;s maximum steps value to the specified number.
952 cbradney 2402
See progressSet.
2403
</source>
3064 cbradney 2404
        <translation>progressTotal(max)
974 cbradney 2405
 
2406
Establece el máximo número de pasos de la barra de progreso al
2407
número especificado. Ver progressSet.
2408
</translation>
952 cbradney 2409
    </message>
2410
    <message>
9729 cbradney 2411
        <location filename="../plugins/scriptplugin/guiapp.h" line="61"/>
3064 cbradney 2412
        <source>progressSet(nr)
952 cbradney 2413
 
2414
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
2415
progressTotal. The progress bar uses the concept of steps; you give it the
2416
total number of steps and the number of steps completed so far and it will
2417
display the percentage of steps that have been completed. You can specify the
2418
total number of steps with progressTotal(). The current number of steps is set
2419
with progressSet(). The progress bar can be rewound to the beginning with
3064 cbradney 2420
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
952 cbradney 2421
</source>
3064 cbradney 2422
        <translation>progressSet(nr)
974 cbradney 2423
 
2424
Establece la posición de la barra de progreso a &quot;nr&quot;, un valor relativo a
2425
lo puesto anteriormente con progressTotal. La barra de progreso usa el
2426
concepto de pasos, se le dice el número de pasos totales y el número
2427
pasos completado y mostrará el porcentaje de pasos que se han
2428
completado. Se puede especificar el número de pasos con progressTotal().
2429
El número actual de pasos se establece con progressSet(). Se rebobina al
2430
principio con progressReset().
2431
[basado en la información tomada de la documentación de Qt de Trolltech]
2432
</translation>
952 cbradney 2433
    </message>
2434
    <message>
9729 cbradney 2435
        <location filename="../plugins/scriptplugin/guiapp.h" line="69"/>
3064 cbradney 2436
        <source>setCursor()
952 cbradney 2437
 
2438
[UNSUPPORTED!] This might break things, so steer clear for now.
2439
</source>
3064 cbradney 2440
        <translation>setCursor()
974 cbradney 2441
 
2442
[¡NO SOPORTADO!]
2443
Esto podría romper cosas, así que no se utiliza de momento.
2444
</translation>
952 cbradney 2445
    </message>
2446
    <message>
9729 cbradney 2447
        <location filename="../plugins/scriptplugin/guiapp.h" line="83"/>
3064 cbradney 2448
        <source>docChanged(bool)
952 cbradney 2449
 
3064 cbradney 2450
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
2451
useful to call this procedure when you&apos;re changing the document, because Scribus
2452
won&apos;t automatically notice when you change the document using a script.
952 cbradney 2453
</source>
3064 cbradney 2454
        <translation>docChanged(bool)
974 cbradney 2455
 
2456
Activa o desactiva el icono de guardar en la barra de iconos de Scribs y la
2457
opción de menú Guardar. Es útil llamarlo cuando estás cambiando el documento,
2458
porque Scribus no notará automáticamente cuando se cambie el documento
2459
con un script.
2460
</translation>
952 cbradney 2461
    </message>
1525 cbradney 2462
    <message>
9729 cbradney 2463
        <location filename="../plugins/scriptplugin/cmdmani.h" line="199"/>
3064 cbradney 2464
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
1525 cbradney 2465
 
3064 cbradney 2466
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
2467
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
2468
Both `scaletoframe&apos; and `proportional&apos; are boolean.
1525 cbradney 2469
 
2470
May raise WrongFrameTypeError.
2471
</source>
3064 cbradney 2472
        <translation>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
2140 cbradney 2473
 
2474
Establece la opción escalar al tamaño del marco a &quot;scaletoframe&quot; en el marco de
2475
imagen seleccionado o especificado por &quot;name&quot;.
2476
Si se especifica &quot;proportional&quot;, establece la opción mantener la relación de aspecto
2477
a &quot;proportional&quot;.
2478
Tanto &quot;scaletoframe&quot; como &quot;proportional&quot; son booleanos.
2479
 
2480
Puede lanzar la excepción WrongFrameTypeError.
2481
</translation>
1525 cbradney 2482
    </message>
2483
    <message>
9729 cbradney 2484
        <location filename="" line="136965632"/>
3064 cbradney 2485
        <source>selectText(start, count, [&quot;name&quot;])
1525 cbradney 2486
 
2140 cbradney 2487
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2488
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2489
text selection will be cleared. If &quot;count&quot; is -1, all text in the frame will
2490
be selected. If &quot;name&quot; is not given the currently selected item is used.
1525 cbradney 2491
 
2140 cbradney 2492
May throw IndexError if the selection is outside the bounds of the text.
1525 cbradney 2493
</source>
3064 cbradney 2494
        <translation type="obsolete">selectText(start, count, [&quot;name&quot;])
2140 cbradney 2495
 
2496
Selecciona &quot;count&quot; caracteres del marco de texto &quot;name&quot; empezando
2497
desde el carácter &quot;start&quot;. Los caracteres se cuentan desde 0. Si &quot;count&quot;
2498
es cero, se perderá cualquier selección que hubiera. Si &quot;count&quot; es -1,
2499
se seleccionará todo el texto del marco. Si no se pasa &quot;name&quot; se usará
2500
el objeto seleccionado actualmente.
2501
 
2502
Puede lanzar la excepción IndexError si la selección está fuera de los
2503
límites del texto.
2504
</translation>
1525 cbradney 2505
    </message>
2506
    <message>
9729 cbradney 2507
        <location filename="" line="136965632"/>
3064 cbradney 2508
        <source>register_macro_code(name, sourcetext, accel=&apos;&apos;)
1525 cbradney 2509
 
2140 cbradney 2510
Create a macro named &quot;name&quot; by evaluating the the source code &quot;sourcetext&quot;.
2511
&quot;sourcetext&quot; must follow the same rules as macros created in the GUI.
2512
If provided, the string &quot;accel&quot; will be used to set a keyboard shortcut
2513
for the macro.
2514
</source>
3064 cbradney 2515
        <translation type="obsolete">register_macro_code(name, sourcetext, accel=&apos;&apos;)
2140 cbradney 2516
 
2517
Crea una macro llamada &quot;name&quot; evaluando el código fuente &quot;sourcetext&quot;.
2518
&quot;sourcetext&quot; debe seguir las mismas reglas que las macros creadas en
2519
la interfaz gráfica. Si se proporciona &quot;accel&quot; se usará para establecer un
2520
acceso rápido para la macro.
2521
</translation>
2522
    </message>
2523
    <message>
9729 cbradney 2524
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="222"/>
3064 cbradney 2525
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
2140 cbradney 2526
 
1525 cbradney 2527
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
2528
that the layer &quot;layer&quot; can be printed, a value of False means that printing
2529
the layer &quot;layer&quot; is disabled.
2530
 
3064 cbradney 2531
May raise NotFoundError if the layer can&apos;t be found.
2532
May raise ValueError if the layer name isn&apos;t acceptable.
1525 cbradney 2533
</source>
3064 cbradney 2534
        <translation>isLayerPrintable(&quot;layer&quot;) -&gt; bool
2140 cbradney 2535
 
2536
Devuelve si la capa &quot;layer&quot; es imprimible o no, un valor de True significa
2537
que la capa &quot;layer&quot; se puede imprimir, un valor de False significa que se
2538
ha desactivado la impresión de la capa&quot;layer&quot;.
2539
 
2540
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
2541
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
2542
</translation>
1525 cbradney 2543
    </message>
2544
    <message>
9729 cbradney 2545
        <location filename="" line="136965632"/>
3064 cbradney 2546
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
1525 cbradney 2547
 
2548
Returns a tuple (R,G,B) containing the three color components of the
2140 cbradney 2549
color &quot;name&quot; from the current document, converted to the RGB colour
1525 cbradney 2550
space. If no document is open, returns the value of the named color
2551
from the default document colors.
2552
 
3064 cbradney 2553
May raise NotFoundError if the named color wasn&apos;t found.
1525 cbradney 2554
May raise ValueError if an invalid color name is specified.
2555
</source>
3064 cbradney 2556
        <translation type="obsolete">getColorAsRGB(&quot;name&quot;) -&gt; tuple
1525 cbradney 2557
 
2140 cbradney 2558
Devuelve un vector (R,G,B) conteniendo las tres componentes de color
2559
del color &quot;name&quot; del actual documento, convertido al espacio de color
2560
RGB. Si no hay ningún documento abierto, devuelve el valor de dicho
2561
color de los colores por defecto.
1525 cbradney 2562
 
2140 cbradney 2563
Puede lanzar la excepción NotFoundError si no se puede encontrar dicho color.
2564
Puede lanzar la excepción ValueError si el nombre del color no es válido.
2565
</translation>
1525 cbradney 2566
    </message>
2567
    <message>
9729 cbradney 2568
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="62"/>
3064 cbradney 2569
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1525 cbradney 2570
 
2140 cbradney 2571
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
2572
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
2573
image data is returned as a string. The optional &quot;format&quot; argument
2574
specifies the image format to generate, and supports any format allowed
2575
by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.
2576
 
3064 cbradney 2577
May raise NotFoundError if the specified font can&apos;t be found.
2140 cbradney 2578
May raise ValueError if an empty sample or filename is passed.
1525 cbradney 2579
</source>
3064 cbradney 2580
        <translation>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1525 cbradney 2581
 
2140 cbradney 2582
Crea una previsualización de la fuente &quot;name&quot; con el texto &quot;sample&quot; y
2583
de tamaño &quot;size&quot;. Si &quot;filename&quot; no es &quot;&quot;, la imagen se guarda en&quot;filename&quot;.
2584
De otra forma la imagen se devuelve como una cadena. El argumento
2585
opcional &quot;format&quot; especifica el formato de imagen a generar, y admite
2586
cualquier formato permitido por QPixmap.save(). Los formatos comunes
2587
son PPM, JPEG, PNG y XPM.
2588
 
2589
Puede lanzar la excepción NotFoundError si no se puede encontrar la
2590
fuente indicada.
2591
Puede lanzar la excepción ValueError si &quot;filename&quot; o &quot;sample&quot; son
2592
cadenas vacías.
2593
</translation>
1525 cbradney 2594
    </message>
2595
    <message>
9729 cbradney 2596
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="208"/>
3064 cbradney 2597
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
1525 cbradney 2598
 
2140 cbradney 2599
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
2600
that the layer &quot;layer&quot; is visible, a value of False means that the layer
2601
&quot;layer&quot; is invisible.
1525 cbradney 2602
 
3064 cbradney 2603
May raise NotFoundError if the layer can&apos;t be found.
2604
May raise ValueError if the layer name isn&apos;t acceptable.
1525 cbradney 2605
</source>
7508 cbradney 2606
        <translation type="unfinished">isLayerVisible(&quot;layer&quot;) -&gt; bool
1525 cbradney 2607
 
2140 cbradney 2608
Devuelve si la capa &quot;layer&quot; es visible o no, un valor de True significa
2609
que la capa &quot;layer&quot; es visible, un valor de False significa que la capa
2610
&quot;layer&quot; es invisible.
2611
 
2612
Puede lanzar la excepción NotFoundError si no se puede encontrar la capa.
2613
Puede lanzar la excepción ValueError si el nombre de la capa no es válido.
2614
</translation>
1525 cbradney 2615
    </message>
2616
    <message>
9729 cbradney 2617
        <location filename="../plugins/scriptplugin/cmdtext.h" line="342"/>
3064 cbradney 2618
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
1525 cbradney 2619
 
2140 cbradney 2620
Sets wether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
2621
If &quot;name&quot; is not given the currently selected item is used.
1525 cbradney 2622
 
2140 cbradney 2623
May raise WrongFrameTypeError if the target frame is not a text frame
2624
</source>
10842 cbradney 2625
        <translation type="obsolete">setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
1525 cbradney 2626
 
2140 cbradney 2627
Establece si (toggle = 1) el marco de texto &quot;name&quot; es un marcador o no.
2628
Si no se pasa &quot;name&quot; se usa el objeto actualmente seleccionado.
1525 cbradney 2629
 
2140 cbradney 2630
Puede lanzar la excepción WrongFrameTypeError si el marco de destino
2631
no es un marco de texto.
2632
</translation>
1525 cbradney 2633
    </message>
2634
    <message>
11652 cbradney 2635
        <location filename="../plugins/scriptplugin/cmdtext.h" line="382"/>
3064 cbradney 2636
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
1525 cbradney 2637
 
2140 cbradney 2638
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
2639
If &quot;name&quot; is not given the currently selected item is used.
1525 cbradney 2640
 
2140 cbradney 2641
May raise WrongFrameTypeError if the target frame is not a text frame
1525 cbradney 2642
</source>
3064 cbradney 2643
        <translation>isPDFBookmark([&quot;name&quot;]) -&gt; bool
1525 cbradney 2644
 
2140 cbradney 2645
Devuelve si el marco de texto &quot;name&quot; es un marcador de PDF.
2646
Si no se pasa &quot;name&quot; se usa el objeto actualmente seleccionado.
1525 cbradney 2647
 
2140 cbradney 2648
Puede lanzar la excepción WrongFrameTypeError si el marco de destino
2649
no es un marco de texto.
2650
</translation>
1525 cbradney 2651
    </message>
2652
    <message>
9729 cbradney 2653
        <location filename="../plugins/scriptplugin/cmdpage.h" line="181"/>
3064 cbradney 2654
        <source>getPageMargins()
1525 cbradney 2655
 
2140 cbradney 2656
Returns the page margins as a (top, left, right, bottom) tuple in the current
3064 cbradney 2657
units. See UNIT_&lt;type&gt; constants and getPageSize().
1525 cbradney 2658
</source>
3064 cbradney 2659
        <translation>getPageMargins()
1525 cbradney 2660
 
2140 cbradney 2661
Devuelve los márgenes de página como un vector (arriba, izquierda, derecha, abajo)
3064 cbradney 2662
en las unidades actuales. Ver las constantes UNIT_&lt;tipo&gt; y getPageSize().
2140 cbradney 2663
</translation>
1525 cbradney 2664
    </message>
2665
    <message>
9729 cbradney 2666
        <location filename="" line="136965632"/>
3064 cbradney 2667
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
1525 cbradney 2668
 
2140 cbradney 2669
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2670
Text must be UTF encoded (see setText() as reference). The first character has
2671
an index of 0. Inserting at position -1 appends text to the frame. If &quot;name&quot;
2672
is not given the currently selected Item is used.
1525 cbradney 2673
 
2140 cbradney 2674
May throw IndexError for an insertion out of bounds.
1525 cbradney 2675
</source>
3064 cbradney 2676
        <translation type="obsolete">insertText(&quot;text&quot;, pos, [&quot;name&quot;])
1525 cbradney 2677
 
2140 cbradney 2678
Inserta el texto &quot;text&quot; en la posición &quot;pos&quot; en el marco de texto &quot;name&quot;.
2679
El texto debe estar codificado en UTF (ver setText() como referencia).
2680
El primer carácter tiene índice 0. Insertar en la posición -1 añade &quot;text&quot;
2681
al marco. Si no se pasa &quot;name&quot; se usará el objeto actualmente seleccionado.
1525 cbradney 2682
 
2140 cbradney 2683
Puede lanzar la excepción IndexError para una inserción fuera de rango.
2684
</translation>
1525 cbradney 2685
    </message>
3064 cbradney 2686
    <message>
9729 cbradney 2687
        <location filename="../plugins/scriptplugin/cmdcolor.h" line="50"/>
3064 cbradney 2688
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
2689
 
2690
Returns a tuple (R,G,B) containing the three color components of the
2691
color &quot;name&quot; from the current document, converted to the RGB color
2692
space. If no document is open, returns the value of the named color
2693
from the default document colors.
2694
 
2695
May raise NotFoundError if the named color wasn&apos;t found.
2696
May raise ValueError if an invalid color name is specified.
2697
</source>
2698
        <translation type="unfinished"></translation>
2699
    </message>
2700
    <message>
9729 cbradney 2701
        <location filename="../plugins/scriptplugin/cmddialog.h" line="111"/>
3064 cbradney 2702
        <source>newStyleDialog() -&gt; string
2703
 
2704
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
2705
style name or None when user cancels the dialog.
2706
</source>
2707
        <translation type="unfinished"></translation>
2708
    </message>
2709
    <message>
10166 cbradney 2710
        <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="83"/>
3064 cbradney 2711
        <source>getPropertyCType(object, property, includesuper=True)
2712
 
2713
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
2714
for details of arguments.
2715
 
2716
If `includesuper&apos; is true, search inherited properties too.
2717
</source>
2718
        <translation type="unfinished"></translation>
2719
    </message>
2720
    <message>
10166 cbradney 2721
        <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="101"/>
3064 cbradney 2722
        <source>getPropertyNames(object, includesuper=True)
2723
 
2724
Return a list of property names supported by `object&apos;.
2725
If `includesuper&apos; is true, return properties supported
2726
by parent classes as well.
2727
</source>
2728
        <translation type="unfinished"></translation>
2729
    </message>
2730
    <message>
10166 cbradney 2731
        <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="135"/>
3064 cbradney 2732
        <source>getProperty(object, property)
2733
 
2734
Return the value of the property `property&apos; of the passed `object&apos;.
2735
 
2736
The `object&apos; argument may be a string, in which case the named PageItem
2737
is searched for. It may also be a PyCObject, which may point to any
2738
C++ QObject instance.
2739
 
2740
The `property&apos; argument must be a string, and is the name of the property
2741
to look up on `object&apos;.
2742
 
2743
The return value varies depending on the type of the property.
2744
</source>
2745
        <translation type="unfinished"></translation>
2746
    </message>
2747
    <message>
10166 cbradney 2748
        <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="165"/>
3064 cbradney 2749
        <source>setProperty(object, property, value)
2750
 
2751
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
2752
compatible with the type of `property&apos;, an exception is raised. An exception may
2753
also be raised if the underlying setter fails.
2754
 
2755
See getProperty() for more information.
2756
</source>
2757
        <translation type="unfinished"></translation>
2758
    </message>
2759
    <message>
9729 cbradney 2760
        <location filename="../plugins/scriptplugin/cmdtext.h" line="226"/>
3064 cbradney 2761
        <source>selectText(start, count, [&quot;name&quot;])
2762
 
2763
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2764
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2765
text selection will be cleared.  If &quot;name&quot; is not given the currently
2766
selected item is used.
2767
 
2768
May throw IndexError if the selection is outside the bounds of the text.
2769
</source>
2770
        <translation type="unfinished"></translation>
2771
    </message>
2772
    <message>
9729 cbradney 2773
        <location filename="../plugins/scriptplugin/cmdtext.h" line="328"/>
3064 cbradney 2774
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
2775
 
2776
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
2777
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
2778
use text frame linking. Without this parameter it search all linking chain.
2779
 
2780
May raise WrongFrameTypeError if the target frame is not an text frame
2781
</source>
2782
        <translation type="unfinished"></translation>
2783
    </message>
3824 cbradney 2784
    <message>
9729 cbradney 2785
        <location filename="../plugins/scriptplugin/cmddoc.h" line="96"/>
3824 cbradney 2786
        <source>newDoc(size, margins, orientation, firstPageNumber,
2787
                   unit, facingPages, firstSideLeft) -&gt; bool
2788
 
2789
WARNING: Obsolete procedure! Use newDocument instead.
2790
 
2791
Creates a new document and returns true if successful. The parameters have the
2792
following meaning:
2793
 
2794
    size = A tuple (width, height) describing the size of the document. You can
2795
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
2796
 
2797
    margins = A tuple (left, right, top, bottom) describing the document
2798
    margins
2799
 
2800
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
2801
 
2802
    firstPageNumer = is the number of the first page in the document used for
2803
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
2804
    numbers if you&apos;re creating a document in several parts.
2805
 
2806
    unit: this value sets the measurement units used by the document. Use a
2807
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
2808
    UNIT_PICAS, UNIT_POINTS.
2809
 
2810
    facingPages = FACINGPAGES, NOFACINGPAGES
2811
 
2812
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
2813
 
2814
The values for width, height and the margins are expressed in the given unit
2815
for the document. PAPER_* constants are expressed in points. If your document
2816
is not in points, make sure to account for this.
2817
 
2818
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
2819
                FACINGPAGES, FIRSTPAGERIGHT)
2820
</source>
2821
        <translation type="unfinished"></translation>
2822
    </message>
4141 cbradney 2823
    <message>
9729 cbradney 2824
        <location filename="../plugins/scriptplugin/cmddoc.h" line="226"/>
4141 cbradney 2825
        <source>closeMasterPage()
2826
 
2827
Closes the currently active master page, if any, and returns editing
2828
to normal. Begin editing with editMasterPage().
2829
</source>
2830
        <translation type="unfinished"></translation>
2831
    </message>
2832
    <message>
9729 cbradney 2833
        <location filename="../plugins/scriptplugin/cmddoc.h" line="233"/>
4141 cbradney 2834
        <source>masterPageNames()
2835
 
2836
Returns a list of the names of all master pages in the document.
2837
</source>
2838
        <translation type="unfinished"></translation>
2839
    </message>
2840
    <message>
9729 cbradney 2841
        <location filename="../plugins/scriptplugin/cmddoc.h" line="241"/>
4141 cbradney 2842
        <source>editMasterPage(pageName)
2843
 
2844
Enables master page editing and opens the named master page
2845
for editing. Finish editing with closeMasterPage().
2846
</source>
2847
        <translation type="unfinished"></translation>
2848
    </message>
2849
    <message>
9729 cbradney 2850
        <location filename="../plugins/scriptplugin/cmddoc.h" line="249"/>
4141 cbradney 2851
        <source>createMasterPage(pageName)
2852
 
2853
Creates a new master page named pageName and opens it for
2854
editing.
2855
</source>
2856
        <translation type="unfinished"></translation>
2857
    </message>
2858
    <message>
9729 cbradney 2859
        <location filename="../plugins/scriptplugin/cmddoc.h" line="256"/>
4141 cbradney 2860
        <source>deleteMasterPage(pageName)
2861
 
2862
Delete the named master page.
2863
</source>
2864
        <translation type="unfinished"></translation>
2865
    </message>
2866
    <message>
9729 cbradney 2867
        <location filename="../plugins/scriptplugin/guiapp.h" line="95"/>
4141 cbradney 2868
        <source>zoomDocument(double)
2869
 
2870
Zoom the document in main GUI window. Actions have whole number
2871
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
2872
</source>
2873
        <translation type="unfinished"></translation>
2874
    </message>
6261 cbradney 2875
    <message>
9729 cbradney 2876
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="31"/>
6261 cbradney 2877
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
2878
 
2879
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
2880
is not given the currently selected Item is used.
2881
</source>
2882
        <translation type="unfinished"></translation>
2883
    </message>
2884
    <message>
9729 cbradney 2885
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="41"/>
6261 cbradney 2886
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
2887
 
2888
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
2889
is not given the currently selected Item is used.
2890
</source>
2891
        <translation type="unfinished"></translation>
2892
    </message>
2893
    <message>
9729 cbradney 2894
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="61"/>
6261 cbradney 2895
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
2896
 
2897
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
2898
is not given the currently selected Item is used.
2899
</source>
2900
        <translation type="unfinished"></translation>
2901
    </message>
2902
    <message>
9729 cbradney 2903
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="71"/>
6261 cbradney 2904
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
2905
 
2906
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
2907
is not given the currently selected Item is used.
2908
</source>
2909
        <translation type="unfinished"></translation>
2910
    </message>
2911
    <message>
9729 cbradney 2912
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="144"/>
6261 cbradney 2913
        <source>setLayerLocked(&quot;layer&quot;, locked)
2914
 
2915
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
2916
true the layer will be locked.
2917
 
2918
May raise NotFoundError if the layer can&apos;t be found.
2919
May raise ValueError if the layer name isn&apos;t acceptable.
2920
</source>
2921
        <translation type="unfinished"></translation>
2922
    </message>
2923
    <message>
9729 cbradney 2924
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="236"/>
2925
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
6261 cbradney 2926
 
9729 cbradney 2927
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
2928
that the layer &quot;layer&quot; is editable, a value of False means that the layer
2929
&quot;layer&quot; is locked.
6261 cbradney 2930
 
2931
May raise NotFoundError if the layer can&apos;t be found.
2932
May raise ValueError if the layer name isn&apos;t acceptable.
2933
</source>
2934
        <translation type="unfinished"></translation>
2935
    </message>
2936
    <message>
9729 cbradney 2937
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="250"/>
2938
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
6261 cbradney 2939
 
9729 cbradney 2940
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
2941
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
2942
&quot;layer&quot; is normal.
6261 cbradney 2943
 
2944
May raise NotFoundError if the layer can&apos;t be found.
2945
May raise ValueError if the layer name isn&apos;t acceptable.
2946
</source>
2947
        <translation type="unfinished"></translation>
2948
    </message>
2949
    <message>
9729 cbradney 2950
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="263"/>
2951
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
6261 cbradney 2952
 
9729 cbradney 2953
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
2954
that text flows around, a value of False means that the text does not flow around.
6261 cbradney 2955
 
2956
May raise NotFoundError if the layer can&apos;t be found.
2957
May raise ValueError if the layer name isn&apos;t acceptable.
2958
</source>
2959
        <translation type="unfinished"></translation>
2960
    </message>
2961
    <message>
9729 cbradney 2962
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="275"/>
2963
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
6261 cbradney 2964
 
9729 cbradney 2965
Returns the &quot;layer&quot; layer blendmode,
6261 cbradney 2966
 
2967
May raise NotFoundError if the layer can&apos;t be found.
2968
May raise ValueError if the layer name isn&apos;t acceptable.
2969
</source>
2970
        <translation type="unfinished"></translation>
2971
    </message>
2972
    <message>
9729 cbradney 2973
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="287"/>
2974
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
6261 cbradney 2975
 
9729 cbradney 2976
Returns the &quot;layer&quot; layer transparency,
6261 cbradney 2977
 
2978
May raise NotFoundError if the layer can&apos;t be found.
2979
May raise ValueError if the layer name isn&apos;t acceptable.
2980
</source>
2981
        <translation type="unfinished"></translation>
2982
    </message>
2983
    <message>
9729 cbradney 2984
        <location filename="../plugins/scriptplugin/cmdobj.h" line="193"/>
2985
        <source>textFlowMode(&quot;name&quot; [, state])
6261 cbradney 2986
 
9729 cbradney 2987
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
2988
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
2989
Setting &quot;state&quot; to 0 will disable text flow.
2990
Setting &quot;state&quot; to 1 will make text flow around object frame.
2991
Setting &quot;state&quot; to 2 will make text flow around bounding box.
2992
Setting &quot;state&quot; to 3 will make text flow around contour line.
2993
If &quot;state&quot; is not passed, text flow is toggled.
2994
</source>
2995
        <translation type="unfinished"></translation>
2996
    </message>
2997
    <message>
2998
        <location filename="../plugins/scriptplugin/cmdobj.h" line="252"/>
2999
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
6261 cbradney 3000
 
9729 cbradney 3001
creates a Duplicate of the selected Object (or Selection Group).
6261 cbradney 3002
</source>
3003
        <translation type="unfinished"></translation>
3004
    </message>
3005
    <message>
9729 cbradney 3006
        <location filename="../plugins/scriptplugin/cmddoc.h" line="162"/>
3007
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
6261 cbradney 3008
 
9729 cbradney 3009
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
3010
strings.
3011
</source>
3012
        <translation type="unfinished"></translation>
3013
    </message>
3014
    <message>
3015
        <location filename="../plugins/scriptplugin/cmdpage.h" line="54"/>
3016
        <source>getPageType() -&gt; integer
6261 cbradney 3017
 
9729 cbradney 3018
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
3019
</source>
3020
        <translation type="unfinished"></translation>
3021
    </message>
3022
    <message>
3023
        <location filename="../plugins/scriptplugin/cmdtext.h" line="55"/>
3024
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
3025
 
3026
Returns the number of lines of the text in the text frame &quot;name&quot;.
3027
If &quot;name&quot; is not given the currently selected item is used.
3028
</source>
3029
        <translation type="unfinished"></translation>
3030
    </message>
3031
    <message>
3032
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="131"/>
3033
        <source>setLayerPrintable(&quot;layer&quot;, printable)
3034
 
3035
Sets the layer &quot;layer&quot; to be printable or not. If is the
3036
printable set to false the layer won&apos;t be printed.
3037
 
6261 cbradney 3038
May raise NotFoundError if the layer can&apos;t be found.
3039
May raise ValueError if the layer name isn&apos;t acceptable.
3040
</source>
3041
        <translation type="unfinished"></translation>
3042
    </message>
3043
    <message>
9729 cbradney 3044
        <location filename="../plugins/scriptplugin/cmdtext.h" line="135"/>
3045
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
6261 cbradney 3046
 
9729 cbradney 3047
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
3048
Text must be UTF encoded (see setText() as reference) The first character has an
3049
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
3050
not given the currently selected Item is used.
6261 cbradney 3051
 
9729 cbradney 3052
May throw IndexError for an insertion out of bounds.
3053
</source>
3054
        <translation type="unfinished"></translation>
3055
    </message>
3056
    <message>
3057
        <location filename="../plugins/fileloader/scribus12format/scribus12format.cpp" line="1593"/>
3058
        <source>Copy #%1 of </source>
10130 cbradney 3059
        <translation type="obsolete">Copia #%1 de </translation>
9729 cbradney 3060
    </message>
3061
    <message>
3062
        <location filename="../plugins/scriptplugin/cmddoc.h" line="173"/>
3063
        <source>setMargins(lr, rr, tr, br)
3064
 
3065
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
3066
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3067
constants.
3068
</source>
3069
        <translation type="unfinished"></translation>
3070
    </message>
3071
    <message>
3072
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="157"/>
3073
        <source>setLayerOutlined(&quot;layer&quot;, outline)
3074
 
3075
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
3076
true the layer will be displayed outlined.
3077
 
6261 cbradney 3078
May raise NotFoundError if the layer can&apos;t be found.
3079
May raise ValueError if the layer name isn&apos;t acceptable.
3080
</source>
3081
        <translation type="unfinished"></translation>
3082
    </message>
3083
    <message>
9729 cbradney 3084
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="170"/>
3085
        <source>setLayerFlow(&quot;layer&quot;, flow)
6261 cbradney 3086
 
9729 cbradney 3087
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
3088
true text in layers above this one will flow around objects on this layer.
6261 cbradney 3089
 
3090
May raise NotFoundError if the layer can&apos;t be found.
3091
May raise ValueError if the layer name isn&apos;t acceptable.
3092
</source>
3093
        <translation type="unfinished"></translation>
3094
    </message>
3095
    <message>
9729 cbradney 3096
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="182"/>
3097
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
6261 cbradney 3098
 
9729 cbradney 3099
Sets the layers &quot;layer&quot;  blendmode to blend.
3100
 
3101
May raise NotFoundError if the layer can&apos;t be found.
3102
May raise ValueError if the layer name isn&apos;t acceptable.
6261 cbradney 3103
</source>
3104
        <translation type="unfinished"></translation>
3105
    </message>
3106
    <message>
9729 cbradney 3107
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="194"/>
3108
        <source>setLayerTransparency(&quot;layer&quot;, trans)
6261 cbradney 3109
 
9729 cbradney 3110
Sets the layers &quot;layer&quot;  transparency to trans.
3111
 
3112
May raise NotFoundError if the layer can&apos;t be found.
3113
May raise ValueError if the layer name isn&apos;t acceptable.
6261 cbradney 3114
</source>
3115
        <translation type="unfinished"></translation>
3116
    </message>
3117
    <message>
9729 cbradney 3118
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="43"/>
6261 cbradney 3119
        <source>setFillTransparency(transparency, [&quot;name&quot;])
3120
 
3121
Sets the fill transparency of the object &quot;name&quot; to transparency
9729 cbradney 3122
If &quot;name&quot; is not given the currently selected item is used.
6261 cbradney 3123
</source>
3124
        <translation type="unfinished"></translation>
3125
    </message>
3126
    <message>
9729 cbradney 3127
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="53"/>
6261 cbradney 3128
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
3129
 
3130
Sets the fill blendmode of the object &quot;name&quot; to blendmode
9729 cbradney 3131
If &quot;name&quot; is not given the currently selected item is used.
6261 cbradney 3132
</source>
3133
        <translation type="unfinished"></translation>
3134
    </message>
3135
    <message>
9729 cbradney 3136
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="73"/>
6261 cbradney 3137
        <source>setLineTransparency(transparency, [&quot;name&quot;])
3138
 
3139
Sets the line transparency of the object &quot;name&quot; to transparency
9729 cbradney 3140
If &quot;name&quot; is not given the currently selected item is used.
6261 cbradney 3141
</source>
3142
        <translation type="unfinished"></translation>
3143
    </message>
3144
    <message>
9729 cbradney 3145
        <location filename="../plugins/scriptplugin/cmdsetprop.h" line="83"/>
6261 cbradney 3146
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
3147
 
3148
Sets the line blendmode of the object &quot;name&quot; to blendmode
9729 cbradney 3149
If &quot;name&quot; is not given the currently selected item is used.
6261 cbradney 3150
</source>
3151
        <translation type="unfinished"></translation>
3152
    </message>
6434 cbradney 3153
    <message>
9729 cbradney 3154
        <location filename="../plugins/scriptplugin/svgimport.h" line="33"/>
3155
        <source>placeEPS(&quot;filename&quot;, x, y)
6434 cbradney 3156
 
9729 cbradney 3157
Places the EPS &quot;filename&quot; onto the current page,
3158
x and y specify the coordinate of the topleft corner of the EPS placed on the page
6434 cbradney 3159
 
9729 cbradney 3160
If loading was successful, the selection contains the imported EPS
6434 cbradney 3161
</source>
3162
        <translation type="unfinished"></translation>
3163
    </message>
3164
    <message>
9729 cbradney 3165
        <location filename="../plugins/scriptplugin/svgimport.h" line="45"/>
3166
        <source>placeSXD(&quot;filename&quot;, x, y)
6434 cbradney 3167
 
9729 cbradney 3168
Places the SXD &quot;filename&quot; onto the current page,
3169
x and y specify the coordinate of the topleft corner of the SXD placed on the page
7508 cbradney 3170
 
9729 cbradney 3171
If loading was successful, the selection contains the imported SXD
7508 cbradney 3172
</source>
3173
        <translation type="unfinished"></translation>
3174
    </message>
3175
    <message>
9729 cbradney 3176
        <location filename="../plugins/scriptplugin/svgimport.h" line="57"/>
3177
        <source>placeODG(&quot;filename&quot;, x, y)
7508 cbradney 3178
 
9729 cbradney 3179
Places the ODG &quot;filename&quot; onto the current page,
3180
x and y specify the coordinate of the topleft corner of the ODG placed on the page
7508 cbradney 3181
 
9729 cbradney 3182
If loading was successful, the selection contains the imported ODG
7508 cbradney 3183
</source>
3184
        <translation type="unfinished"></translation>
3185
    </message>
10166 cbradney 3186
    <message>
3187
        <location filename="../plugins/scriptplugin/cmddialog.h" line="46"/>
3188
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
3189
 
3190
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
3191
with the filter string &quot;filter&quot;. A default filename or file path can also
3192
supplied, leave this string empty when you don&apos;t want to use it.  A value of
3193
True for haspreview enables a small preview widget in the FileSelect box.  When
3194
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
3195
otherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is True
3196
the dialog shows and returns only directories. The default for all of the
10842 cbradney 3197
optional parameters is False.
10166 cbradney 3198
 
3199
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
3200
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
3201
 
3202
Refer to the Qt-Documentation for QFileDialog for details on filters.
3203
 
3204
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
3205
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
3206
</source>
3207
        <translation type="unfinished"></translation>
3208
    </message>
10842 cbradney 3209
    <message>
3210
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="102"/>
3211
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
3212
 
3213
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
3214
the currently selected item is used.  The join types are:
3215
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
3216
</source>
3217
        <translation type="unfinished"></translation>
3218
    </message>
3219
    <message>
3220
        <location filename="../plugins/scriptplugin/cmdmani.h" line="48"/>
3221
        <source>rotateObject(rot [, &quot;name&quot;])
3222
 
3223
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
3224
rotated by the vertex that is currently selected as the rotation point - by
3225
default, the top left vertex at zero rotation. Positive values mean counter
3226
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
3227
given the currently selected item is used.
3228
</source>
3229
        <translation type="unfinished"></translation>
3230
    </message>
3231
    <message>
3232
        <location filename="../plugins/scriptplugin/cmdpage.h" line="91"/>
3233
        <source>gotoPage(nr)
3234
 
3235
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
3236
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
3237
just sets the page that script commands will operates on.
3238
 
3239
May raise IndexError if the page number is out of range.
3240
</source>
3241
        <translation type="unfinished"></translation>
3242
    </message>
3243
    <message>
11652 cbradney 3244
        <location filename="../plugins/scriptplugin/cmdtext.h" line="370"/>
10842 cbradney 3245
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
3246
 
3247
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
3248
If &quot;name&quot; is not given the currently selected item is used.
3249
 
3250
May raise WrongFrameTypeError if the target frame is not a text frame
3251
</source>
3252
        <translation type="unfinished"></translation>
3253
    </message>
11652 cbradney 3254
    <message>
3255
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="329"/>
3256
        <source>moveSelectionToFront()
3257
 
3258
Moves current selection to front.
3259
</source>
3260
        <translation type="unfinished"></translation>
3261
    </message>
3262
    <message>
3263
        <location filename="../plugins/scriptplugin/cmdmisc.h" line="338"/>
3264
        <source>moveSelectionToFront()
3265
 
3266
Moves current selection to back.
3267
</source>
3268
        <translation type="unfinished"></translation>
3269
    </message>
3270
    <message>
3271
        <location filename="../plugins/scriptplugin/cmdpage.h" line="198"/>
3272
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
3273
 
3274
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.
3275
fromDoc: string; the filename of the document to import pages from
3276
pageList: tuple with page numbers of pages to import
3277
create: number; 0 to replace existing pages, 1 (default) to insert new pages
3278
importWhere: number; the page number (of the current document) at which import the pages
3279
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
3280
</source>
3281
        <translation type="unfinished"></translation>
3282
    </message>
3283
    <message>
3284
        <location filename="../plugins/scriptplugin/cmdstyle.h" line="80"/>
3285
        <source>createCharStyle(...)
3286
 
3287
Creates a character style. This function takes the following keyword parameters:
3288
 
3289
&quot;name&quot; [required] -&gt; name of the char style to create
3290
 
3291
&quot;font&quot; [optional] -&gt; name of the font to use
3292
 
3293
fontsize [optional] -&gt; font size to set (double)
3294
 
3295
&quot;features&quot; [optional] -&gt; nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):
3296
 
3297
-&gt; inherit
3298
 
3299
-&gt; bold
3300
 
3301
-&gt; italic
3302
 
3303
-&gt; underline
3304
 
3305
-&gt; underlinewords
3306
 
3307
-&gt; strike
3308
 
3309
-&gt; superscript
3310
 
3311
-&gt; subscript
3312
 
3313
-&gt; outline
3314
 
3315
-&gt; shadowed
3316
 
3317
-&gt; allcaps
3318
 
3319
-&gt; smallcaps
3320
 
3321
&quot;fillcolor&quot; [optional], &quot;fillshade&quot; [optional] -&gt; specify fill options
3322
 
3323
&quot;strokecolor&quot; [optional], &quot;strokeshade&quot; [optional] -&gt; specify stroke options
3324
 
3325
baselineoffset [optional] -&gt; offset of the baseline
3326
 
3327
shadowxoffset [optional], shadowyoffset [optional] -&gt; offset of the shadow if used
3328
 
3329
outlinewidth [optional] -&gt; width of the outline if used
3330
 
3331
underlineoffset [optional], underlinewidth [optional] -&gt; underline options if used
3332
 
3333
strikethruoffset [optional], strikethruwidth [optional] -&gt; strikethru options if used
3334
 
3335
scaleh [optional], scalev [optional] -&gt; scale of the chars
3336
 
3337
tracking [optional] -&gt; tracking of the text
3338
 
3339
&quot;language&quot; [optional] -&gt; language code
3340
 
3341
</source>
3342
        <translation type="unfinished"></translation>
3343
    </message>
3344
    <message>
3345
        <location filename="../plugins/scriptplugin/cmdtext.h" line="341"/>
3346
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
3347
 
3348
Does hyphenation on text frame &quot;name&quot;.
3349
If &quot;name&quot; is not given the currently selected item is used.
3350
 
3351
May raise WrongFrameTypeError if the target frame is not a text frame
3352
</source>
3353
        <translation type="unfinished"></translation>
3354
    </message>
3355
    <message>
3356
        <location filename="../plugins/scriptplugin/cmdtext.h" line="355"/>
3357
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
3358
 
3359
Does dehyphenation on text frame &quot;name&quot;.
3360
If &quot;name&quot; is not given the currently selected item is used.
3361
 
3362
May raise WrongFrameTypeError if the target frame is not a text frame
3363
</source>
3364
        <translation type="unfinished"></translation>
3365
    </message>
3366
    <message>
3367
        <location filename="../plugins/scriptplugin/guiapp.h" line="106"/>
3368
        <source>scrollDocument(x,y)
3369
 
3370
Scroll the document in main GUI window by x and y.
3371
</source>
3372
        <translation type="unfinished"></translation>
3373
    </message>
3064 cbradney 3374
</context>
3375
<context>
10842 cbradney 3376
    <name>AIPlug</name>
3377
    <message>
11652 cbradney 3378
        <location filename="../plugins/aiimplugin/importai.cpp" line="120"/>
10842 cbradney 3379
        <source>Importing: %1</source>
3380
        <translation type="unfinished"></translation>
3381
    </message>
3382
    <message>
11652 cbradney 3383
        <location filename="../plugins/aiimplugin/importai.cpp" line="123"/>
10842 cbradney 3384
        <source>Analyzing File:</source>
3385
        <translation type="unfinished"></translation>
3386
    </message>
3387
    <message>
11652 cbradney 3388
        <location filename="../plugins/aiimplugin/importai.cpp" line="278"/>
10842 cbradney 3389
        <source>Group%1</source>
3390
        <translation type="unfinished"></translation>
3391
    </message>
3392
    <message>
11652 cbradney 3393
        <location filename="../plugins/aiimplugin/importai.cpp" line="2210"/>
10842 cbradney 3394
        <source>Generating Items</source>
3395
        <translation type="unfinished"></translation>
3396
    </message>
3397
</context>
3398
<context>
945 cbradney 3399
    <name>About</name>
3400
    <message>
11652 cbradney 3401
        <location filename="../about.cpp" line="49"/>
3064 cbradney 3402
        <source>About Scribus %1</source>
3403
        <translation>Acerca de Scribus %1</translation>
945 cbradney 3404
    </message>
3405
    <message>
9729 cbradney 3406
        <location filename="" line="136965632"/>
3064 cbradney 3407
        <source>Scribus Version %1
945 cbradney 3408
%2 %3</source>
3064 cbradney 3409
        <translation type="obsolete">Versión de Scribus %1
945 cbradney 3410
%2 %3</translation>
3411
    </message>
3412
    <message>
9729 cbradney 3413
        <location filename="" line="136965632"/>
3064 cbradney 3414
        <source>Build-ID:</source>
3824 cbradney 3415
        <translation type="obsolete">Build-ID:</translation>
945 cbradney 3416
    </message>
3417
    <message>
11652 cbradney 3418
        <location filename="../about.cpp" line="139"/>
3064 cbradney 3419
        <source>&amp;About</source>
3420
        <translation>&amp;Acerca de</translation>
945 cbradney 3421
    </message>
3422
    <message>
11652 cbradney 3423
        <location filename="../about.cpp" line="145"/>
3064 cbradney 3424
        <source>Development Team:</source>
3425
        <translation>Equipo de Desarrollo:</translation>
945 cbradney 3426
    </message>
3427
    <message>
11652 cbradney 3428
        <location filename="../about.cpp" line="159"/>
3064 cbradney 3429
        <source>Contributions from:</source>
3430
        <translation>Contribuciones de:</translation>
945 cbradney 3431
    </message>
3432
    <message>
9729 cbradney 3433
        <location filename="" line="136965632"/>
3064 cbradney 3434
        <source>Windows port:</source>
3435
        <translation type="obsolete">Versión de Windows:</translation>
945 cbradney 3436
    </message>
3437
    <message>
11652 cbradney 3438
        <location filename="../about.cpp" line="191"/>
3064 cbradney 3439
        <source>Official Documentation:</source>
3440
        <translation>Documentación Oficial:</translation>
945 cbradney 3441
    </message>
3442
    <message>
11652 cbradney 3443
        <location filename="../about.cpp" line="199"/>
3064 cbradney 3444
        <source>Other Documentation:</source>
3445
        <translation>Otra Documentación:</translation>
945 cbradney 3446
    </message>
3447
    <message>
11652 cbradney 3448
        <location filename="../about.cpp" line="213"/>
3064 cbradney 3449
        <source>A&amp;uthors</source>
3450
        <translation>A&amp;utores</translation>
945 cbradney 3451
    </message>
3452
    <message>
11652 cbradney 3453
        <location filename="../about.cpp" line="221"/>
3064 cbradney 3454
        <source>Official Translations and Translators:</source>
3455
        <translation>Traducciones Oficiales y Traductores:</translation>
945 cbradney 3456
    </message>
3457
    <message>
9729 cbradney 3458
        <location filename="" line="136965632"/>
3064 cbradney 3459
        <source>Catalan:</source>
3460
        <translation type="obsolete">Catalán:</translation>
945 cbradney 3461
    </message>
3462
    <message>
9729 cbradney 3463
        <location filename="" line="136965632"/>
3064 cbradney 3464
        <source>Czech:</source>
3465
        <translation type="obsolete">Checo:</translation>
945 cbradney 3466
    </message>
3467
    <message>
9729 cbradney 3468
        <location filename="" line="136965632"/>
3064 cbradney 3469
        <source>Danish:</source>
3470
        <translation type="obsolete">Danés:</translation>
945 cbradney 3471
    </message>
3472
    <message>
9729 cbradney 3473
        <location filename="" line="136965632"/>
3064 cbradney 3474
        <source>English (British):</source>
3475
        <translation type="obsolete">Inglés (Británico):</translation>
945 cbradney 3476
    </message>
3477
    <message>
9729 cbradney 3478
        <location filename="" line="136965632"/>
3064 cbradney 3479
        <source>Esperanto:</source>
3480
        <translation type="obsolete">Esperanto:</translation>
945 cbradney 3481
    </message>
3482
    <message>
9729 cbradney 3483
        <location filename="" line="136965632"/>
3064 cbradney 3484
        <source>Finnish:</source>
3485
        <translation type="obsolete">Finlandés:</translation>
945 cbradney 3486
    </message>
3487
    <message>
9729 cbradney 3488
        <location filename="" line="136965632"/>
3064 cbradney 3489
        <source>French:</source>
3490
        <translation type="obsolete">Francés:</translation>
945 cbradney 3491
    </message>
3492
    <message>
9729 cbradney 3493
        <location filename="" line="136965632"/>
3064 cbradney 3494
        <source>German:</source>
3495
        <translation type="obsolete">Alemán:</translation>
945 cbradney 3496
    </message>
3497
    <message>
9729 cbradney 3498
        <location filename="" line="136965632"/>
3064 cbradney 3499
        <source>Italian:</source>
3500
        <translation type="obsolete">Italiano:</translation>
945 cbradney 3501
    </message>
3502
    <message>
9729 cbradney 3503
        <location filename="" line="136965632"/>
3064 cbradney 3504
        <source>Korean:</source>
3505
        <translation type="obsolete">Coreano:</translation>
945 cbradney 3506
    </message>
3507
    <message>
9729 cbradney 3508
        <location filename="" line="136965632"/>
3064 cbradney 3509
        <source>Norwegian:</source>
3510
        <translation type="obsolete">Noruego:</translation>
945 cbradney 3511
    </message>
3512
    <message>
9729 cbradney 3513
        <location filename="" line="136965632"/>
3064 cbradney 3514
        <source>Polish:</source>
3515
        <translation type="obsolete">Polaco:</translation>
945 cbradney 3516
    </message>
3517
    <message>
9729 cbradney 3518
        <location filename="" line="136965632"/>
3064 cbradney 3519
        <source>Russian:</source>
3520
        <translation type="obsolete">Ruso:</translation>
945 cbradney 3521
    </message>
3522
    <message>
9729 cbradney 3523
        <location filename="" line="136965632"/>
3064 cbradney 3524
        <source>Serbian:</source>
3525
        <translation type="obsolete">Serbio:</translation>
945 cbradney 3526
    </message>
3527
    <message>
9729 cbradney 3528
        <location filename="" line="136965632"/>
3064 cbradney 3529
        <source>Slovak:</source>
3530
        <translation type="obsolete">Eslovaco:</translation>