"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "scribus-1.3.3.12/scribus/po/scribus.ca.ts" of archive scribus-1.3.3.12.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 <!DOCTYPE TS><TS>
2 <context>
3 <name></name>
4 <message>
5 <source>getFontSize(["name"]) -> float
6
7 Returns the font size in points for the text frame "name". If this text
8 frame has some text selected the value assigned to the first character of
9 the selection is returned.
10 If "name" is not given the currently selected item is used.
11 </source>
12 <translation>getFontSize(["nom"]) -> float
13
14 Retorna la mida del tipus de lletra en punts del quadre de text "nom". Si
15 aquest quadre de text té algun text seleccionat es torna el primer caràcter
16 de la selecció.
17 Si no es passa "nom" es fa servir l'ítem actualment seleccionat.
18 </translation>
19 </message>
20 <message>
21 <source>getColorNames() -> list
22
23 Returns a list containing the names of all defined colors in the document.
24 If no document is open, returns a list of the default document colors.
25 </source>
26 <translation>getColorNames() -> llista
27
28 Retorna una llista que conté els noms dels colors definits en el document.
29 Si no hi ha cap document obert, retorna una llista amb els colors per defecte.
30 </translation>
31 </message>
32 <message>
33 <source>newDocDialog() -> bool
34
35 Displays the "New Document" dialog box. Creates a new document if the user
36 accepts the settings. Does not create a document if the user presses cancel.
37 Returns true if a new document was created.
38 </source>
39 <translation>newDocDialog() -> bool
40
41 Mostra el diàleg "Nou Document". Crea un nou document si l'usuari accepta
42 els paràmetres. No en fa cap en cas de que hagi triat cancel·lar.
43 Retorna cert si s'ha creat un nou document.
44 </translation>
45 </message>
46 <message>
47 <source>getFillColor(["name"]) -> string
48
49 Returns the name of the fill color of the object "name".
50 If "name" is not given the currently selected item is used.
51 </source>
52 <translation>getFillColor(["nom"]) -> string
53
54 Retorna el nom del color de l'objecte "nom".
55 Si no es dóna cap "nom", es fa servir l'ítem sel·leccionat.
56 </translation>
57 </message>
58 <message>
59 <source>moveObject(dx, dy [, "name"])
60
61 Moves the object "name" by dx and dy relative to its current position. The
62 distances are expressed in the current measurement unit of the document (see
63 UNIT constants). If "name" is not given the currently selected item is used.
64 If the object "name" belongs to a group, the whole group is moved.
65 </source>
66 <translation>moveObject(dx, dy [,"nom"])
67
68 Mou l'objecte "nom" una distància dx i dx respecte la posició actual. Les
69 distàncies estan expressades en les unitats actuals del document (mireu
70 unitats). Si no es dóna cap "nom", es fa servir l'ítem sel·leccionat.
71 Si l'objecte "nom" pertany a un grup, es mou tot el grup.
72 </translation>
73 </message>
74 <message>
75 <source>setRedraw(bool)
76
77 Disables page redraw when bool = False, otherwise redrawing is enabled.
78 This change will persist even after the script exits, so make sure to call
79 setRedraw(True) in a finally: clause at the top level of your script.
80 </source>
81 <translation>setRedraw(bool)
82
83 Desactiva el repintat de la pàgina quan bool=fals, altrament està activat.
84 Aquest canvi continuarà fins i tot quan acabi l'execució de la seqüència, per tant cal estar
85 segur d'acabar amb setRedraw(True): clausula a nivell alt de la teva seqüència.
86 </translation>
87 </message>
88 <message>
89 <source>createRect(x, y, width, height, ["name"]) -> string
90
91 Creates a new rectangle on the current page and returns its name. The
92 coordinates are given in the current measurement units of the document
93 (see UNIT constants). "name" should be a unique identifier for the object
94 because you need this name to reference that object in future. If "name"
95 is not given Scribus will create one for you.
96
97 May raise NameExistsError if you explicitly pass a name that's already used.
98 </source>
99 <translation>createRect(x,y,amplada, alçada, ["name"]) -> string
100
101 Crea un nou rectangle en la pàgina actual i retorna el seu nom. Les
102 coordenades donades estaran en les unitats per defecte del document
103 (mireu unitats). "nom" ha de ser un identificador únic per l'objecte
104 ja que necessites aquest nom per fer referència a l'objecte en el futur. Si no
105 es dóna "nom" Scribus en crearà un per nosaltres.
106
107 Es generar un NameExistsError si passem un nom que ja existeix.
108 </translation>
109 </message>
110 <message>
111 <source>newPage(where [,"template"])
112
113 Creates a new page. If "where" is -1 the new Page is appended to the
114 document, otherwise the new page is inserted before "where". Page numbers are
115 counted from 1 upwards, no matter what the displayed first page number of your
116 document is. The optional parameter "template" specifies the name of the
117 template page for the new page.
118
119 May raise IndexError if the page number is out of range
120 </source>
121 <translation type="obsolete">newPage(on [,"plantilla"])
122
123 Crea una nova pàgina. Si "on" és -1 la nova pàgina es afegida al
124 document, altrament la nova pàgina es afegida abans de "on". Els números de pàgina estan
125 contats des de 1 endavant, no importa el número de pàgina que s'ensenya al
126 document. El paràmetre opcional "plantilla" especifica el nom de la
127 plantilla a fer servir en la pàgina.
128
129 Es pot generar un IndexError si el número de pàgina està fora de rang
130 </translation>
131 </message>
132 <message>
133 <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])
134
135 Sets the gradient fill of the object "name" to type. Color descriptions are
136 the same as for setFillColor() and setFillShade(). See the constants for
137 available types (FILL_<type>).
138 </source>
139 <translation>setGradientFill(tipus, "color1", intensitat1, "color2", intensitat2, ["nom"])
140
141 Estableix el gradient d'emplenat de l'objecte "nom" a tipus. Les descripcions de colors
142 són les mateixes que per setFillColor() i setFillShade(). Mireu les constants pels
143 tipus disponibles (FILL_<tipus>).
144 </translation>
145 </message>
146 <message>
147 <source>messagebarText("string")
148
149 Writes the "string" into the Scribus message bar (status line). The text
150 must be UTF8 encoded or 'unicode' string(recommended).
151 </source>
152 <translation>messagebarText("string")
153
154 Escriu la cadena "string" en la barra d'estat de l'Scribus. El text
155 ha de ser codificat en UTF8 o una cadena 'unicode' (recomanat).
156 </translation>
157 </message>
158 <message>
159 <source>newDoc(size, margins, orientation, firstPageNumber,
160 unit, facingPages, firstSideLeft) -> bool
161
162 Creates a new document and returns true if successful. The parameters have the
163 following meaning:
164
165 size = A tuple (width, height) describing the size of the document. You can
166 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
167
168 margins = A tuple (left, right, top, bottom) describing the document
169 margins
170
171 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
172
173 firstPageNumber = is the number of the first page in the document used for
174 pagenumbering. While you'll usually want 1, it's useful to have higher
175 numbers if you're creating a document in several parts.
176
177 unit: this value sets the measurement units used by the document. Use a
178 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
179 UNIT_PICAS, UNIT_POINTS.
180
181 facingPages = FACINGPAGES, NOFACINGPAGES
182
183 firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
184
185 The values for width, height and the margins are expressed in the given unit
186 for the document. PAPER_* constants are expressed in points. If your document
187 is not in points, make sure to account for this.
188
189 example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
190 FACINGPAGES, FIRSTPAGERIGHT)
191 </source>
192 <translation type="obsolete">newDoc(mida, marges, orientació, primerNúmeroPàgina,
193 unitats, PaginesAcarades, primeraPaginaEsquerra) -> bool
194
195 Crea un nou document i retorna cert si tot ha anat bé. Els paràmetres tenen el
196 següent significat:
197
198 mida = Una parella (amplada, alçada) que descriu la mida del document. Pots
199 fer servir constants predefinides com PAPER_<tipus de paper> ex. PAPER_A4 etc.
200
201 marges = Una agrupació (esquerra, dreta, dalt, baix) que descriu els marges
202 del document.
203
204 orientació = la orientació de la pàgina - constants PORTRAIT, LANDSCAPE
205
206 PrimerNúmeroPàgina = és el número de la primera pàgina en el document que farem
207 servir per numerar les pàgines. Encara que normalment es farà servir 1, a vegades
208 es útil poder posar números més grans si es creen documents en parts.
209
210 unitats : aquest valor estableix les unitats que el document farà servir. Cal usar una
211 constant predefinida, pot ser una de: UNIT_INCHES, UNIT_MILLIMETERS,
212 UNIT_PICAS, UNIT_POINTS.
213
214 PàginesAcarades = FACINPAGES, NOFACINPAGES
215
216 PrimeraPàginaEsquerra = FIRSTPAGELEFT, FIRSTPAGERIGHT
217
218 Els valors per l'amplada, l'alçada i els marges està expressada en les unitats donades
219 pel document. Les constants PAPER_* estan expressades en punts. Si el nostre document
220 no està en punts, cal tenir-ho en compte.
221
222 exemple: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
223 FACINGPAGES, FIRSTPAGERIGHT)
224 </translation>
225 </message>
226 <message>
227 <source>register_macro_callable(name, callable, accel='')
228
229 Create a macro called "name" with the existing callable object "callable".
230 The passed callable must not require any arguments when called (it may take
231 optional arguments, but will not be given any).
232 If provided, the string "accel" will be used to set a keyboard shortcut
233 for the macro.
234 If the passed callable is a class, it will be rejected. Functions and bound
235 methods are quite acceptable, as are instances of classes that provide a
236 __call__ method with no arguments. There is no problem with registering
237 a callable more than once, nor with registering multiple bound methods
238 of a single instance.
239 </source>
240 <translation type="obsolete">register_macro_callable(nom, callable, accel='')
241
242 Crea una macro anomenada "nom" amb l'objecte usable existent "callable".
243 Aquest objecte no ha de requerir cap argument quan es cridi (en pot tenir
244 d'opcionals, però no se li'n poden donar).
245 Si s'afegeix el paràmetre "accel" serà fet servir er crear una drecera de teclat
246 per la macro.
247 Si l'objecte que es vol usar és una classe, serà rebutjada. Es permeten funcions i
248 mètodes embedits, ja que són instàncies classes que tenen un mètode
249 __call__ sense arguments. No hi haurà problemes per registrar
250 un objecte usable més d'un cop, ni per registrar múltiples mètodes embedits
251 d'una sola instància.
252 </translation>
253 </message>
254 <message>
255 <source>newDoc(size, margins, orientation, firstPageNumber,
256 unit, facingPages, firstSideLeft) -> bool
257
258 Creates a new document and returns true if successful. The parameters have the
259 following meaning:
260
261 size = A tuple (width, height) describing the size of the document. You can
262 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
263
264 margins = A tuple (left, right, top, bottom) describing the document
265 margins
266
267 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
268
269 firstPageNumer = is the number of the first page in the document used for
270 pagenumbering. While you'll usually want 1, it's useful to have higher
271 numbers if you're creating a document in several parts.
272
273 unit: this value sets the measurement units used by the document. Use a
274 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
275 UNIT_PICAS, UNIT_POINTS.
276
277 facingPages = FACINGPAGES, NOFACINGPAGES
278
279 firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
280
281 The values for width, height and the margins are expressed in the given unit
282 for the document. PAPER_* constants are expressed in points. If your document
283 is not in points, make sure to account for this.
284
285 example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
286 FACINGPAGES, FIRSTPAGERIGHT)
287 </source>
288 <translation type="obsolete">newDoc(mida, marges, orientació, primerNumeroPagina,
289 unitats, PaginesArarades, primercostatEsquerra) -> bool
290
291 Crea un nou document i retorna cert si se n'ha sortit. Els paràmetres signifiquen el
292 següent:
293
294 Mida = Un parell (amplada, alçada) que descriu la mida del document. Pots fer
295 servir les constants PAPER_<tipus> ex. PAPER_A4 etc..
296
297 marges = una tupla (esquerra, dreta, dalt, baix) que descriu els marges del
298 document
299
300 orientació = La orientació de la pàgina - constants PORTRAIT, LANDSCAPE
301
302 primerNumeroPagina = és el número que tindrà la primera pàgina del document a l'hora
303 de numerar-les. Encara que normalment es farà servir 1, és útil tenir la possibilitat de posar-ne
304 d'altres per si es crea un document en diferents parts.
305
306 unitats: aquest valor estableix les unitats de mesura que es faran servir en el document. Es
307 fa servir una constant predefinida per definir-les: UNIT_INCHES, UNIT_MILLIMETERS,
308 UNIT_PICAS, UNIT_POINTS.
309
310 PaginesArarades = FACINPAGES, NOFACINPAGES
311
312 primercostatEsquerra = FIRSTPAGELEFT, FIRSTPAGERIGHT
313
314 Els valors de amplada, alçada i els marges estan expressats en les unitats donades
315 al document. Les constants PAPER_* estan expressades en punts. Si el document
316 no treballa en punts, tingueu-ho en compte.
317
318 exemple: newDoc(PAPER_A4, (10,10,20,20),LANDSCAPE,1,UNIT_POINTS,
319 FACINPAGES, FIRSTPAGERIGHT)
320 </translation>
321 </message>
322 <message>
323 <source>newPage(where [,"masterpage"])
324
325 Creates a new page. If "where" is -1 the new Page is appended to the
326 document, otherwise the new page is inserted before "where". Page numbers are
327 counted from 1 upwards, no matter what the displayed first page number of your
328 document is. The optional parameter "masterpage" specifies the name of the
329 master page for the new page.
330
331 May raise IndexError if the page number is out of range
332 </source>
333 <translation>newPage(on [,"paginamestra"])
334
335 Crea una nova pàgina. Si "on" és -1 la nova pàgina s'afegeix al final del document,
336 altrament la nova pàgina s'afegeix allà on diu 'on'. Els números de pàgina es compten
337 des de 1 endavan, independentment del número que s'hagi posat a cada pàgina en la
338 creació del document. El paràmetre opcional "paginamestra" especifica el nom de la
339 pàgina mestra a aplicar a la nova pàgina.
340
341 Pot generar un error IndexError si la pàgina està fora de rang</translation>
342 </message>
343 <message>
344 <source>importSVG("string")
345
346 The "string" must be a valid filename for a SVG image. The text
347 must be UTF8 encoded or 'unicode' string(recommended).
348 </source>
349 <translation>importSVG("string")
350
351 "String" ha de ser un nom vàlid per un fitxer SVG. El text
352 ha de ser en codi UTF8 o unicode (recomanat).</translation>
353 </message>
354 <message>
355 <source>newDocument(size, margins, orientation, firstPageNumber,
356 unit, pagesType, firstPageOrder) -> bool
357
358 Creates a new document and returns true if successful. The parameters have the
359 following meaning:
360
361 size = A tuple (width, height) describing the size of the document. You can
362 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
363
364 margins = A tuple (left, right, top, bottom) describing the document
365 margins
366
367 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
368
369 firstPageNumer = is the number of the first page in the document used for
370 pagenumbering. While you'll usually want 1, it's useful to have higher
371 numbers if you're creating a document in several parts.
372
373 unit: this value sets the measurement units used by the document. Use a
374 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
375 UNIT_PICAS, UNIT_POINTS.
376
377 pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
378 PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
379 PAGE_4 is 4-fold.
380
381 firstPageOrder = What is position of first page in the document.
382 Indexed from 0 (0 = first).
383
384 The values for width, height and the margins are expressed in the given unit
385 for the document. PAPER_* constants are expressed in points. If your document
386 is not in points, make sure to account for this.
387
388 example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
389 PAGE_4, 3)
390
391 May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
392 </source>
393 <translation type="obsolete">newDocument(size, margins, orientation, firstPageNumber,(new line)
394 unit, pagesType, firstPageOrder) -> bool
395
396 Crea un nou document i retorna cert si ha funcionat. Els paràmetres tenen el
397 següent significat:
398
399 size = Una parella (amplada, alçada) que descriu la mida del document. Pots fer
400 servir constants predefinides PAPER_<tipus de paper>. Ex. PAPER_A4 etc.
401
402 margins = una tupla (esquerra, dreta, dalt, baix) que descriu els marges del
403 document
404
405 orientation = la orientació de la pàgina - constants PORTRAIT, LANDSCAPE
406
407 firstPageNumber = és el número de la primera pàgina que farà servir el document
408 Normalment farem servir 1, però a vegades és útil tenir números més grans
409 si es crea un document en varies parts
410
411 unit: thaquest valor estableix les unitats que el document farà servir. Cal usar una
412 constant predefinida, pot ser una de: UNIT_INCHES, UNIT_MILLIMETERS,
413 UNIT_PICAS, UNIT_POINTS.
414
415 pagesType = Una de les constants predefinides PAGE_n. PAGE_1 és una pàgina simple,
416 PAGE_2 és per pàgines pels dos costats, PAGE_3 és per pàgines amb tres plecs
417 PAGE_4 és per pàgines amb 4 plecs
418
419 firstPageOrder = Quina és la posició de la primera pàgina del document.
420 Indexades des de 0 (0 = primera)
421
422 Els valors per amplada i alçada i els marges han d'estar expressats en les unitats per defecte
423 del document. Les constants PAPER_* estan expressades en punts. Recorda-ho si el teu
424 document no està en punts
425
426 exemple: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
427 PAGE_4, 3)
428
429 Pot generar un ScribusError si firstPageOrder és més gran que el permès per pagesType.
430 </translation>
431 </message>
432 <message>
433 <source>newDocument(size, margins, orientation, firstPageNumber,
434 unit, pagesType, firstPageOrder) -> bool
435
436 Creates a new document and returns true if successful. The parameters have the
437 following meaning:
438
439 size = A tuple (width, height) describing the size of the document. You can
440 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
441
442 margins = A tuple (left, right, top, bottom) describing the document
443 margins
444
445 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
446
447 firstPageNumer = is the number of the first page in the document used for
448 pagenumbering. While you'll usually want 1, it's useful to have higher
449 numbers if you're creating a document in several parts.
450
451 unit: this value sets the measurement units used by the document. Use a
452 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
453 UNIT_PICAS, UNIT_POINTS.
454
455 pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
456 PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
457 PAGE_4 is 4-fold.
458
459 firstPageOrder = What is position of first page in the document.
460 Indexed from 0 (0 = first).
461
462 numPage = Number of pages to be created.
463
464 The values for width, height and the margins are expressed in the given unit
465 for the document. PAPER_* constants are expressed in points. If your document
466 is not in points, make sure to account for this.
467
468 example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
469 PAGE_4, 3, 1)
470
471 May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
472 </source>
473 <translation type="unfinished"></translation>
474 </message>
475 </context>
476 <context>
477 <name>@default</name>
478 <message>
479 <source>getFont(["name"]) -> string
480
481 Returns the font name for the text frame "name". If this text frame
482 has some text selected the value assigned to the first character
483 of the selection is returned. If "name" is not given the currently
484 selected item is used.
485 </source>
486 <translation>getFont(["nom]) -> string
487
488 Retorna el nom de la font del quadre de text "nom". Si aquest quadre
489 de text té algun text seleccionat es retorna el valor assignat al primer
490 caràcter de la selecció. Si no especifiquem "nom" es fa servir l'ítem
491 seleccionat.
492 </translation>
493 </message>
494 <message>
495 <source>getTextLength(["name"]) -> integer
496
497 Returns the length of the text in the text frame "name".
498 If "name" is not given the currently selected item is used.
499 </source>
500 <translation>getFillColor(["nom"]) -> string
501
502 Retorna el nom del color de l'objecte "nom".
503 Si no es dóna cap "nom", es fa servir l'ítem sel·leccionat.
504 getTextLength(["nom"]) -> integer
505
506 Retorna la llargada del text del quadre de text "nom".
507 Si no es dóna cap "nom", es fa servir l'ítem sel.leccionat.
508 </translation>
509 </message>
510 <message>
511 <source>getText(["name"]) -> string
512
513 Returns the text of the text frame "name". If this text frame has some text
514 selected, the selected text is returned. All text in the frame, not just
515 currently visible text, is returned. If "name" is not given the currently
516 selected item is used.
517 </source>
518 <translation>getText(["nom"]) -> string
519
520 Retorna el text del quadre de text "nom". Si el quadre de text té algun
521 text seleccionat, es torna el text seleccionat. Es torna tot el text,
522 no només el text visible. Si no es dóna cap "nom", es fa servir
523 l'ítem sel·leccionat.
524 </translation>
525 </message>
526 <message>
527 <source>getAllText(["name"]) -> string
528
529 Returns the text of the text frame "name" and of all text frames which are
530 linked with this frame. If this textframe has some text selected, the selected
531 text is returned. If "name" is not given the currently selected item is
532 used.
533 </source>
534 <translation>getAllText(["nom"]) -> string
535
536 Retorna el text del quadre de text "nom" i de tots els quadres de text que estan
537 enllaçats amb aquest. Si el quadre de text té algun text seleccionat, es retorna
538 el text seleccionat. Si no es dóna cap "nom", es fa servir l'ítem
539 sel·leccionat.
540 </translation>
541 </message>
542 <message>
543 <source>getLineSpacing(["name"]) -> float
544
545 Returns the line spacing ("leading") of the text frame "name" expressed in
546 points. If "name" is not given the currently selected item is used.
547 </source>
548 <translation>getLineSpacing(["nom"]) -> float
549
550 Retorna l'espaiat entre línies del quadre de text "nom" expressat en
551 punts. Si no es dóna cap "nom", es fa servir l'ítem sel·leccionat.
552 </translation>
553 </message>
554 <message>
555 <source>getColumnGap(["name"]) -> float
556
557 Returns the column gap size of the text frame "name" expressed in points. If
558 "name" is not given the currently selected item is used.
559 </source>
560 <translation>getColumnGap(["nom"]) -> float
561
562 Retorna l'espai entre columnes del quadre de text "nom" expressat en punts. Si
563 no es dóna cap "nom", es fa servir l'ítem sel·leccionat.
564 </translation>
565 </message>
566 <message>
567 <source>getColumns(["name"]) -> integer
568
569 Gets the number of columns of the text frame "name". If "name" is not
570 given the currently selected item is used.
571 </source>
572 <translation>getColumns(["nom"]) -> integer
573
574 Dóna el número de columnes del quadre de text "nom". Si no es dóna
575 cap "nom", es fa servir l'ítem sel·leccionat.
576 </translation>
577 </message>
578 <message>
579 <source>setText("text", ["name"])
580
581 Sets the text of the text frame "name" to the text of the string "text".
582 Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ
583 for more details. If "name" is not given the currently selected item is
584 used.
585 </source>
586 <translation>setText("text",["nom"])
587
588 Posa al quadre de text "name" el text contingut a la cadena "text".
589 El text ha de ser codificat UTF8 - feu servir unicode(text, 'iso-8859-2'). Mireu el
590 FAQ per més detalls. Si no es dóna cap "nom", es fa servir l'ítem
591 sel·leccionat.
592 </translation>
593 </message>
594 <message>
595 <source>insertText("text", pos, ["name"])
596
597 Inserts the text "text" at the position "pos" into the text frame. Text
598 must be UTF encoded (see setText() as reference) The first character has an
599 index of 0. "name" If "name" is not given the currently selected Item is
600 used.
601
602 May throw IndexError for an insertion out of bounds.
603 </source>
604 <translation type="obsolete">insertText("text", pos, ["nom"])
605
606 Insereix el text "text" a la posició "pos" del quadre de text. Text ha de ser
607 codificat UTF (mireu setText() per referència). El primer caràcter té un
608 índex de 0. Si no es dóna cap "nom", es fa servir l'ítem
609 sel.leccionat.
610
611 Pot provocar un IndexError al inserir fora de marges.</translation>
612 </message>
613 <message>
614 <source>setFont("font", ["name"])
615
616 Sets the font of the text frame "name" to "font". If there is some text
617 selected only the selected text is changed. If "name" is not given the
618 currently selected item is used.
619
620 May throw ValueError if the font cannot be found.
621 </source>
622 <translation>setFont("font",["nom])
623
624 Passa el quadre de text "nom" al tipus de lletra "font". Si hi ha alguna
625 part de text seleccionada només canvia aquesta. Si no especifiquem "nom"
626 es fa servir l'ítem seleccionat.
627
628 Pot generar ValueError si la font no es pot trobar.
629 </translation>
630 </message>
631 <message>
632 <source>setFontSize(size, ["name"])
633
634 Sets the font size of the text frame "name" to "size". "size" is treated
635 as a value in points. If there is some text selected only the selected text is
636 changed. "size" must be in the range 1 to 512. If "name" is not given the
637 currently selected item is used.
638
639 May throw ValueError for a font size that's out of bounds.
640 </source>
641 <translation>setFontSize(mida, ["nom"])
642
643 Estableix la mida de la font del quadre de text "nom" a "mida". "mida"
644 ha de ser en punts. Si hi ha text seleccionat només es canvia
645 aquest. "mida" ha de ser un valor entre 1 i 512. Si no especifiquem
646 "nom" es fa servir l'ítem seleccionat.
647
648 Pot provocar ValueError per mides fora de rang.
649 </translation>
650 </message>
651 <message>
652 <source>setLineSpacing(size, ["name"])
653
654 Sets the line spacing ("leading") of the text frame "name" to "size".
655 "size" is a value in points. If "name" is not given the currently selected
656 item is used.
657
658 May throw ValueError if the line spacing is out of bounds.
659 </source>
660 <translation>setLineSpacing(mida,["nom"])
661
662 Estableix l'espaiat de línia del quadre de text "nom" a "mida".
663 "mida" està en punts. Si no especifiquem "nom" es fa servir l'ítem
664 seleccionat.
665
666 Pot provocar ValueError si l'espaiat està fora de marges.</translation>
667 </message>
668 <message>
669 <source>setColumnGap(size, ["name"])
670
671 Sets the column gap of the text frame "name" to the value "size". If
672 "name" is not given the currently selected item is used.
673
674 May throw ValueError if the column gap is out of bounds (must be positive).
675 </source>
676 <translation>setColumnGap(mida,["nom"])
677
678 Estableix l'espai entre columnes del quadre de text "nom" a "mida". Si
679 no especifiquem "nom" es fa servir l'ítem seleccionat.
680
681 Pot provocar ValueError si el valor està fora de rang (ha de ser positiu).
682 </translation>
683 </message>
684 <message>
685 <source>setColumns(nr, ["name"])
686
687 Sets the number of columns of the text frame "name" to the integer "nr".
688 If "name" is not given the currently selected item is used.
689
690 May throw ValueError if number of columns is not at least one.
691 </source>
692 <translation>setColumns(nr, ["nom"])
693
694 Estableix que el quadre de text "nom" tindrà "nr" columnes.
695 Si no especifiquem "nom" es fa servir l'ítem seleccionat.
696
697 Pot provocar ValueError si el número de columnes no és almenys una.
698 </translation>
699 </message>
700 <message>
701 <source>setTextAlignment(align, ["name"])
702
703 Sets the text alignment of the text frame "name" to the specified alignment.
704 If "name" is not given the currently selected item is used. "align" should
705 be one of the ALIGN_ constants defined in this module - see dir(scribus).
706
707 May throw ValueError for an invalid alignment constant.
708 </source>
709 <translation>setTextAlignment(alineacio, ["nom"])
710
711 Estableix l'alineació del quadre de text "nom" a la especificada.
712 Si no especifiquem "nom" es fa servir l'ítem seleccionat. "alineació" ha de ser
713 una de les constants ALIGN_ definides en aquest mòdul - Mireu dir(scribus).
714
715 Pot provocar ValueError si posem una constant invàl·lida.
716 </translation>
717 </message>
718 <message>
719 <source>selectText(start, count, ["name"])
720
721 Selects "count" characters of text in the text frame "name" starting from the
722 character "start". Character counting starts at 0. If "count" is zero, any
723 text selection will be cleared. If "name" is not given the currently
724 selected item is used.
725
726 May throw IndexError if the selection is outside the bounds of the text.
727 </source>
728 <translation>selectText(inici, número, ["name"])
729
730 Seleccióna "número" caràcters del quadre de text "nom" començant pel
731 caràcter "inici". Els caràcters comencen per 0. Si "número" és zero, es
732 deselecciona tot el que hi pogués haver seleccionat. Si no especifiquem
733 "nom" es fa servir l'ítem seleccionat.
734
735 Pot provocar un IndexError si la selecció és massa gran pel text.
736 </translation>
737 </message>
738 <message>
739 <source>deleteText(["name"])
740
741 Deletes any text in the text frame "name". If there is some text selected,
742 only the selected text will be deleted. If "name" is not given the currently
743 selected item is used.
744 </source>
745 <translation>deleteText(["nom"])
746
747 Esborra qualsevol text del quadre de text "nom". Si hi ha algun text
748 seleccionat només s'esborra la selecció. Si no especifiquem "nom"
749 es fa servir l'ítem seleccionat.
750 </translation>
751 </message>
752 <message>
753 <source>setTextColor("color", ["name"])
754
755 Sets the text color of the text frame "name" to the color "color". If there
756 is some text selected only the selected text is changed. If "name" is not
757 given the currently selected item is used.
758 </source>
759 <translation>setTextColor("color", ["nom"])
760
761 Posa el text del quadre de text "nom" al color "color". Si hi ha algun
762 text seleccionat només es canvia el text seleccionat. Si no
763 especifiquem "nom" es fa servir l'ítem seleccionat.
764 </translation>
765 </message>
766 <message>
767 <source>setTextStroke("color", ["name"])
768
769 Set "color" of the text stroke. If "name" is not given the currently
770 selected item is used.
771 </source>
772 <translation>setTextStroke("color", ["nom"])
773
774 Posa el "color" a les línies de contorn. Si no especifiquem "nom"
775 es fa servir l'ítem seleccionat.
776 </translation>
777 </message>
778 <message>
779 <source>setTextShade(shade, ["name"])
780
781 Sets the shading of the text color of the object "name" to "shade". If
782 there is some text selected only the selected text is changed. "shade" must
783 be an integer value in the range from 0 (lightest) to 100 (full color
784 intensity). If "name" is not given the currently selected item is
785 used.
786 </source>
787 <translation>setTextShade(intensitat, ["nom"])
788
789 Posa la intensitat del color del text "nom" a "intensitat". Si hi ha algun
790 text seleccionat només es canvia aquest. "intensitat" ha de ser
791 un valor enter que va des de 0 (clarejat) a 100 (intensitat de
792 color).Si no especifiquem "nom" es fa servir l'ítem
793 seleccionat.
794 </translation>
795 </message>
796 <message>
797 <source>linkTextFrames("fromname", "toname")
798
799 Link two text frames. The frame named "fromname" is linked to the
800 frame named "toname". The target frame must be an empty text frame
801 and must not link to or be linked from any other frames already.
802
803 May throw ScribusException if linking rules are violated.
804 </source>
805 <translation>linkTextFrames("desdenom","anom")
806
807 Enllaça dos quadres de text. El quadre de text "desdenom" és enllaçat a
808 el quadre de text "anom". El quadre de text de destí ha de ser buit
809 i no es pot enllaçar o ser enllaçat per cap altre quadre de text.
810
811 Podem tenir ScribusException si es violen les normes d'enllaçat.
812 </translation>
813 </message>
814 <message>
815 <source>unlinkTextFrames("name")
816
817 Remove the specified (named) object from the text frame flow/linkage. If the
818 frame was in the middle of a chain, the previous and next frames will be
819 connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)'
820
821 May throw ScribusException if linking rules are violated.
822 </source>
823 <translation>unlinkTextFrames("nom")
824
825 Elimina l'objecte especificat del camí de quadre de text. Si el quadre
826 de text estava al mig d'una cadena, els anteriors i els següents seran
827 connectats, ex. 'a->b->c' esdevé 'a->c' quan fem unlinkTextFrames(b)'
828
829 Podem tenir ScribusException si violem les normes.
830 </translation>
831 </message>
832 <message>
833 <source>traceText(["name"])
834
835 Convert the text frame "name" to outlines. If "name" is not given the
836 currently selected item is used.</source>
837 <translation>traceText(["nom"])
838
839 Convertim el quadre de text "nom" a esquema. Si no especifiquem
840 "nom" es fa servir l'ítem seleccionat.</translation>
841 </message>
842 <message>
843 <source>getColor("name") -> tuple
844
845 Returns a tuple (C, M, Y, K) containing the four color components of the
846 color "name" from the current document. If no document is open, returns
847 the value of the named color from the default document colors.
848
849 May raise NotFoundError if the named color wasn't found.
850 May raise ValueError if an invalid color name is specified.
851 </source>
852 <translation>getColor("nom") -> tupla
853
854 Retorna una tupla (C, M, Y, K) que conté els quatre components de color
855 de "nom" del document actual. Si no hi ha cap document obert, torna
856 el valor del color anomenat dels colors per defecte.
857
858 Pot produir un NotFoundError si no es troba el color.
859 Pot produir ValueError si s'especifica un color invàl·lid.
860 </translation>
861 </message>
862 <message>
863 <source>changeColor("name", c, m, y, k)
864
865 Changes the color "name" to the specified CMYK value. The color value is
866 defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
867 Color components should be in the range from 0 to 255.
868
869 May raise NotFoundError if the named color wasn't found.
870 May raise ValueError if an invalid color name is specified.
871 </source>
872 <translation>changeColor("nom", c, m, y, k)
873
874 Canvia el color "nom" a els valors CMYK. El valor del color està
875 definit via els quatre components c=Cian, m=Magenta, y=Groc i k=Negre
876 Els colors del component han d'estar dins del rang 0 a 255.
877
878 Pot produir un NotFoundError si no es troba el color.
879 Pot produir ValueError si s'especifica un color erròni.</translation>
880 </message>
881 <message>
882 <source>deleteColor("name", "replace")
883
884 Deletes the color "name". Every occurence of that color is replaced by the
885 color "replace". If not specified, "replace" defaults to the color
886 "None" - transparent.
887
888 deleteColor works on the default document colors if there is no document open.
889 In that case, "replace", if specified, has no effect.
890
891 May raise NotFoundError if a named color wasn't found.
892 May raise ValueError if an invalid color name is specified.
893 </source>
894 <translation>deleteColor("nom", "canvi")
895
896 Esborra el color "nom". Cada ocurrència d'aquest color es canvia pel
897 color "canvi". Si no s'especifica, "canvi" es canvia pel color "cap"
898 - transparent.
899
900 deleteColor treballa en els colors per defecte del document si no n'hi
901 ha cap d'obert, encara que s'especifiqui, no fa res.
902
903 Pot generar NotFoundError si no existeix el color.
904 Pot generar ValueError si s'especifica un color invàlid.
905 </translation>
906 </message>
907 <message>
908 <source>replaceColor("name", "replace")
909
910 Every occurence of the color "name" is replaced by the color "replace".
911
912 May raise NotFoundError if a named color wasn't found.
913 May raise ValueError if an invalid color name is specified.
914 </source>
915 <translation>replaceColor("nom", "canvi")
916
917 Cada ocurrència del color "name" es canvia pel color "canvi".
918
919 Pot generar un NotFoundError si no existeix el color.
920 Pot generar un ValueError si el color especificat és invalid.
921 </translation>
922 </message>
923 <message>
924 <source>fileDialog("caption", ["filter", "defaultname" ,haspreview, issave]) -> string with filename
925
926 Shows a File Open dialog box with the caption "caption". Files are filtered
927 with the filter string "filter". A default filename or file path can also
928 supplied, leave this string empty when you don't want to use it. A value of
929 True for haspreview enables a small preview widget in the FileSelect box. When
930 the issave parameter is set to True the dialog acts like a "Save As" dialog
931 otherwise it acts like a "File Open Dialog". The default for both of the
932 opional parameters is False.
933
934 The filter, if specified, takes the form 'comment (*.type *.type2 ...)'.
935 For example 'Images (*.png *.xpm *.jpg)'.
936
937 Refer to the Qt-Documentation for QFileDialog for details on filters.
938
939 Example: fileDialog('Open input', 'CSV files (*.csv)')
940 Example: fileDialog('Save report', defaultname='report.txt', issave=True)
941 </source>
942 <translation type="obsolete">fileDialog("caption", ["filtre", "nomdefecte", haspreview, issave])->string
943
944 Mostra el diàleg d'obrir fitxer amb el text "caption". Els fitxers seran filtrats
945 amb la cadena de filtre "filter". També es podrà donar un nom de fitxer,
946 deixa aquesta cadena buida si no el vols fer servir. Quan el paràmetre
947 "issave" està com a Cert el diàleg actua com un diàleg "Desa com"
948 altrament actual com un diàleg "Obrir". Per defecte els paràmetres
949 opcionals són falsos.
950
951 El filtre, si s'especifica, agafa la forma 'comentari (*.tipus, *.tipus2 ...)'
952 Per exemple 'Imatges (*.png *.xpm *.jpg)'.
953
954 Per més detalls aneu a la Documentació Qt en el QFileDialog pels filtres.
955
956 Exemple: fileDialog('Obrir entrades', 'CSV files (*.csv)')
957 Exemple: fileDialog('Gravar resultat', defaultname='report.txt', issave=True)
958 </translation>
959 </message>
960 <message>
961 <source>messageBox("caption", "message",
962 icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
963 button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer
964
965 Displays a message box with the title "caption", the message "message", and
966 an icon "icon" and up to 3 buttons. By default no icon is used and a single
967 button, OK, is displayed. Only the caption and message arguments are required,
968 though setting an icon and appropriate button(s) is strongly
969 recommended. The message text may contain simple HTML-like markup.
970
971 Returns the number of the button the user pressed. Button numbers start
972 at 1.
973
974 For the icon and the button parameters there are predefined constants available
975 with the same names as in the Qt Documentation. These are the BUTTON_* and
976 ICON_* constants defined in the module. There are also two extra constants that
977 can be binary-ORed with button constants:
978 BUTTONOPT_DEFAULT Pressing enter presses this button.
979 BUTTONOPT_ESCAPE Pressing escape presses this button.
980
981 Usage examples:
982 result = messageBox('Script failed',
983 'This script only works when you have a text frame selected.',
984 ICON_ERROR)
985 result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',
986 ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
987 BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
988
989 Defined button and icon constants:
990 BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
991 BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
992 ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
993 </source>
994 <translation>messageBox("caption", "missatge",
995 icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
996 button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer
997
998 Mostra un diàleg amb el títol de finestra "caption", el missatge "missatge", i
999 una icona "icon" amb fins a 3 botons. Per defecte no es fa servir cap icona i
1000 només un sol botó, OK. Només calen els textos de "caption" i de "missatge",
1001 per tant afegir una icona i els botons apropiats és molt
1002 recomanat. El missatge de text pot contenir tags HTML.
1003
1004 Retorna el número del botó que l'usuari a premit. El número de botos comença
1005 a 1.
1006
1007 Per la icona i pels paràmetres dels botons hi ha diverses constants predeterminades
1008 amb els mateixos noms que a la documentació de Qt. Són constants BUTTON_* i
1009 ICON_* definides al mòdul. També hi ha constants extres a les que poden fer
1010 un OR binari amb constants de botó:
1011 BUTTONOPT_DEFAULT Prement enter tria aquest botó.
1012 BUTTONOPT_ESCAPE Prement escape tria aquest botó.
1013
1014 Exemples d'ús:
1015 result = messageBox('Script failed',
1016 messageBox("caption", "message",(new line)
1017 (sp)(sp)(sp)(sp)icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,(new line)
1018 (sp)(sp)(sp)(sp)button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer(new line)
1019 (new line)
1020 Displays a message box with the title "caption", the message "message", and(new line)
1021 an icon "icon" and up to 3 buttons. By default no icon is used and a single(new line)
1022 button, OK, is displayed. Only the caption and message arguments are required,(new line)
1023 though setting an icon and appropriate button(s) is strongly(new line)
1024 recommended. The message text may contain simple HTML-like markup.(new line)
1025 (new line)
1026 Returns the number of the button the user pressed. Button numbers start(new line)
1027 at 1.(new line)
1028 (new line)
1029 For the icon and the button parameters there are predefined constants available(new line)
1030 with the same names as in the Qt Documentation. These are the BUTTON_* and(new line)
1031 ICON_* constants defined in the module. There are also two extra constants that(new line)
1032 can be binary-ORed with button constants:(new line)
1033 (sp)(sp)(sp)(sp)BUTTONOPT_DEFAULT(sp)(sp)(sp)Pressing enter presses this button.(new line)
1034 (sp)(sp)(sp)(sp)BUTTONOPT_ESCAPE(sp)(sp)(sp)(sp)Pressing escape presses this button.(new line)
1035 (new line)
1036 Usage examples:(new line)
1037 result = messageBox('Script failed',(new line)
1038 'This script only works when you have a text frame selected.',
1039 ICON_ERROR)
1040 result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',
1041 ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
1042 BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
1043
1044 Les constants de botó són:
1045 BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
1046 BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
1047 ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
1048 </translation>
1049 </message>
1050 <message>
1051 <source>valueDialog(caption, message [,defaultvalue]) -> string
1052
1053 Shows the common 'Ask for string' dialog and returns its value as a string
1054 Parameters: window title, text in the window and optional 'default' value.
1055
1056 Example: valueDialog('title', 'text in the window', 'optional')
1057 </source>
1058 <translation>valueDialog(caption, missatge, [,valorperdefecte]) -> string
1059
1060 Mostra el diàleg comú "Demana per cadena" i retorna el seu valor.
1061 Paràmetres: títol de finestra, text en la finestra i un valor per defecte opcional.
1062
1063 Exemple: valueDialog('titol', 'text en la finestra', 'opcional')
1064 </translation>
1065 </message>
1066 <message>
1067 <source>closeDoc()
1068
1069 Closes the current document without prompting to save.
1070
1071 May throw NoDocOpenError if there is no document to close
1072 </source>
1073 <translation>closeDoc()
1074
1075 Tanca el document actual sense preguntar per desar.
1076
1077 Pot generar un NoDocOpenError si no hi ha cap document per tancar
1078 </translation>
1079 </message>
1080 <message>
1081 <source>haveDoc() -> bool
1082
1083 Returns true if there is a document open.
1084 </source>
1085 <translation>haveDoc() -> bool
1086
1087 Retorna cert si hi ha un document obert.
1088 </translation>
1089 </message>
1090 <message>
1091 <source>openDoc("name")
1092
1093 Opens the document "name".
1094
1095 May raise ScribusError if the document could not be opened.
1096 </source>
1097 <translation>openDoc("nom")
1098
1099 Obre el document "nom".
1100
1101 Pot generar ScribusError si el document no es pot obrir.</translation>
1102 </message>
1103 <message>
1104 <source>saveDoc()
1105
1106 Saves the current document with its current name, returns true if successful.
1107 If the document has not already been saved, this may bring up an interactive
1108 save file dialog.
1109
1110 If the save fails, there is currently no way to tell.
1111 </source>
1112 <translation>saveDoc()
1113
1114 Desa el document actual amb el seu nom actual, retorna cert si ha funcionat.
1115 Si el document no ha estat gravat previament, ens sortirà un diàleg interactiu
1116 per guardar.
1117
1118 Si no es pot desar, no hi ha cap forma de saber-ho.
1119 </translation>
1120 </message>
1121 <message>
1122 <source>saveDocAs("name")
1123
1124 Saves the current document under the new name "name" (which may be a full or
1125 relative path).
1126
1127 May raise ScribusError if the save fails.
1128 </source>
1129 <translation>saveDocAs("nom")
1130
1131 Desa el document actual sota el nou nom "nom" (que pot ser amb camí absolut
1132 o camí relatiu).
1133
1134 Pot generar un ScribusError si falla el desat.
1135 </translation>
1136 </message>
1137 <message>
1138 <source>saveDocAs("author", "info", "description") -> bool
1139
1140 Sets the document information. "Author", "Info", "Description" are
1141 strings.
1142 </source>
1143 <translation type="obsolete">saveDocAs("autor", "info", "descripcio") -> bool
1144
1145 Posa la informació al document. "Autor", "Informació", "Descripció" són
1146 cadenes.
1147 </translation>
1148 </message>
1149 <message>
1150 <source>setMargins(lr, rr, tr, br)
1151
1152 Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
1153 margins are given in the measurement units of the document - see UNIT_<type>
1154 constants.
1155 </source>
1156 <translation>setMargins(lr, rr, tr, br)
1157
1158 Posa els marges del document, Esquerra (lr), Dreta (rr), Dalt (tr) i Baix (br)
1159 Els marges s'han de posar en unitats de mesura del document - veure les constants
1160 UNIT_<tipus>.
1161 </translation>
1162 </message>
1163 <message>
1164 <source>setUnit(type)
1165
1166 Changes the measurement unit of the document. Possible values for "unit" are
1167 defined as constants UNIT_<type>.
1168
1169 May raise ValueError if an invalid unit is passed.
1170 </source>
1171 <translation>setUnit(unitats)
1172
1173 Canvia les unitats de mesura del document. Possible valors de les unitats estan
1174 definides com a constants UNIT_<tipus>.
1175 </translation>
1176 </message>
1177 <message>
1178 <source>getUnit() -> integer (Scribus unit constant)
1179
1180 Returns the measurement units of the document. The returned value will be one
1181 of the UNIT_* constants:
1182 UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
1183 </source>
1184 <translation>getUnit() -> integer (unitats de constants Scribus)
1185
1186 Retorna les unitats des mesura del document. El valor retornat serà una de
1187 les constants UNIT_*:
1188 UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
1189 </translation>
1190 </message>
1191 <message>
1192 <source>loadStylesFromFile("filename")
1193
1194 Loads paragraph styles from the Scribus document at "filename" into the
1195 current document.
1196 </source>
1197 <translation>loadStylesFromFile("nomfitxer")
1198
1199 Carregar els estils de paràgraf des d'un document Scribus especificat a "nomfitxer"
1200 en el document actual.
1201 </translation>
1202 </message>
1203 <message>
1204 <source>setDocType(facingPages, firstPageLeft)
1205
1206 Sets the document type. To get facing pages set the first parameter to
1207 FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want
1208 to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
1209 a right page use FIRSTPAGERIGHT.
1210 </source>
1211 <translation>setDocType(facingPages, firstPageLeft)
1212
1213 Estableix el tipus de document. Per tenir pàgines acarades cal establir primer
1214 paràmetre a FACINPAGES, i per no tenir-ne NOFACINPAGES. Si vols que la primera
1215 pàgina sigui a l'esquerra cal posar al segon paràmetre FIRSTPAGELEFT, i perquè
1216 sigui la dreta FIRSTPAGERIGHT.
1217 </translation>
1218 </message>
1219 <message>
1220 <source>getLineColor(["name"]) -> string
1221
1222 Returns the name of the line color of the object "name".
1223 If "name" is not given the currently selected item is used.
1224 </source>
1225 <translation>getLineColor(["nom"]) -> string
1226
1227 Retorna el nom del color de línia de l'objecte "nom".
1228 Si no especifiquem "nom" es fa servir l'ítem seleccionat.
1229 </translation>
1230 </message>
1231 <message>
1232 <source>getLineWidth(["name"]) -> integer
1233
1234 Returns the line width of the object "name". If "name"
1235 is not given the currently selected Item is used.
1236 </source>
1237 <translation>getLineWidth(["nom"]) -> integer
1238
1239 Retorna l'amplada de la línia de l'objecte "nom". Si no
1240 especifiquem "nom" es fa servir l'ítem seleccionat.
1241 </translation>
1242 </message>
1243 <message>
1244 <source>getLineShade(["name"]) -> integer
1245
1246 Returns the shading value of the line color of the object "name".
1247 If "name" is not given the currently selected item is used.
1248 </source>
1249 <translation>getLineShade(["nom"]) -> integer
1250
1251 Retorna el valor de la intensitat del color de la línia de l'objecte "nom".
1252 Si no especifiquem "nom" es fa servir l'ítem seleccionat.
1253 </translation>
1254 </message>
1255 <message>
1256 <source>getLineJoin(["name"]) -> integer (see contants)
1257
1258 Returns the line join style of the object "name". If "name" is not given
1259 the currently selected item is used. The join types are:
1260 JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
1261 </source>
1262 <translation>getLineJoin(["nom"]) -> integer (mirar constants)
1263
1264 Retorna l'estil d'unió de línia de l'objecte "nom". Si no especifiquem
1265 "nom" es fa servir l'ítem seleccionat. Els tipus d'unió són:
1266 JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
1267 </translation>
1268 </message>
1269 <message>
1270 <source>getLineEnd(["name"]) -> integer (see constants)
1271
1272 Returns the line cap style of the object "name". If "name" is not given the
1273 currently selected item is used. The cap types are:
1274 CAP_FLAT, CAP_ROUND, CAP_SQUARE
1275 </source>
1276 <translation>getLineEnd(["nom"]) -> integer (mirar constants)
1277
1278 Retorna el tap de línia de l'objecte "nom". Si no especifiquem "nom" es fa
1279 servir l'ítem seleccionat. Els tipus de tap són:
1280 CAP_FLAT, CAP_ROUND, CAP_SQUARE
1281 </translation>
1282 </message>
1283 <message>
1284 <source>getLineStyle(["name"]) -> integer (see constants)
1285
1286 Returns the line style of the object "name". If "name" is not given the
1287 currently selected item is used. Line style constants are:
1288 LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
1289 </source>
1290 <translation>getLineStyle(["nom"]) -> integer (mirar constants)
1291
1292 Retorna l'estil de línia de l'objecte "nom". Si no especifiquem "nom" es
1293 fa servir l'ítem seleccionat.. Les constants de línia són:
1294 LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
1295 </translation>
1296 </message>
1297 <message>
1298 <source>getFillShade(["name"]) -> integer
1299
1300 Returns the shading value of the fill color of the object "name".
1301 If "name" is not given the currently selected item is used.
1302 </source>
1303 <translation>getFillShade(["nom"]) -> integer
1304
1305 Retorna el valor de la intensitat del color d'emplenament de l'objecte "nom".
1306 Si no especifiquem "nom" es fa servir l'ítem seleccionat.
1307 </translation>
1308 </message>
1309 <message>
1310 <source>getImageScale(["name"]) -> (x,y)
1311
1312 Returns a (x, y) tuple containing the scaling values of the image frame
1313 "name". If "name" is not given the currently selected item is used.
1314 </source>
1315 <translation>getImageScale(["name"]) -> (x,y)
1316
1317 Retorna una parella (x,y) contenint els valors d'escalat de la imatge
1318 "nom". Si no especifiquem "nom" es fa servir l'ítem seleccionat.
1319 </translation>
1320 </message>
1321 <message>
1322 <source>getImageName(["name"]) -> string
1323
1324 Returns the filename for the image in the image frame. If "name" is not
1325 given the currently selected item is used.
1326 </source>
1327 <translation>getImageName(["nom"]) -> string
1328
1329 Retorna el nom del fitxer de la imatge que tenim. Si no especifiquem "nom"
1330 es fa servir l'ítem seleccionat.</translation>
1331 </message>
1332 <message>
1333 <source>getSize(["name"]) -> (width,height)
1334
1335 Returns a (width, height) tuple with the size of the object "name".
1336 If "name" is not given the currently selected item is used. The size is
1337 expressed in the current measurement unit of the document - see UNIT_<type>
1338 for reference.
1339 </source>
1340 <translation>getSize(["nom"]) -> (amplada,alçada)
1341
1342 Retorna un parell (amplada, alçada) amb la mida de l'objecte "nom".
1343 Si no especifiquem "nom" es fa servir l'ítem seleccionat. La mida està
1344 expressada en les unitats de mesura del document - mireu UNIT_<tipus>
1345 per referència.</translation>
1346 </message>
1347 <message>
1348 <source>getRotation(["name"]) -> integer
1349
1350 Returns the rotation of the object "name". The value is expressed in degrees,
1351 and clockwise is positive. If "name" is not given the currently selected item
1352 is used.
1353 </source>
1354 <translation>getRotation(["name"]) -> integer
1355
1356 Retorna la rotació de l'objecte "nom". El valor està expressat en graus,
1357 en sentit horari és positiu. Si no especifiquem "nom" es fa servir l'ítem
1358 seleccionat.
1359 </translation>
1360 </message>
1361 <message>
1362 <source>getAllObjects() -> list
1363
1364 Returns a list containing the names of all objects on the current page.
1365 </source>
1366 <translation>getAllObjects() -> list
1367
1368 Retorna una llista que conté els noms de tots els objectes de la pàgina actual.
1369 </translation>
1370 </message>
1371 <message>
1372 <source>moveObjectAbs(x, y [, "name"])
1373
1374 Moves the object "name" to a new location. The coordinates are expressed in
1375 the current measurement unit of the document (see UNIT constants). If "name"
1376 is not given the currently selected item is used. If the object "name"
1377 belongs to a group, the whole group is moved.
1378 </source>
1379 <translation>moveObjectAbs(x, y [, "nom"])
1380
1381 Mou l'objecte "nom" a una nova posició. Les coordenades estan expressades en
1382 les unitats de mesura del document (veure constants UNIT). Si no especifiquem "nom"
1383 es fa servir l'ítem seleccionat. Si l'objecte "nom" pertany a un grup,
1384 es mou tot el grup.
1385 </translation>
1386 </message>
1387 <message>
1388 <source>rotateObject(rot [, "name"])
1389
1390 Rotates the object "name" by "rot" degrees relatively. The object is
1391 rotated by the vertex that is currently selected as the rotation point - by
1392 default, the top left vertext at zero rotation. Positive values mean counter
1393 clockwise rotation when the default rotation point is used. If "name" is not
1394 given the currently selected item is used.
1395 </source>
1396 <translation>rotateObject(rot, [, "nom"])
1397
1398 Rota l'objecte "nom" "rot" graus respecte el punt actual. L'objecte és
1399 rotat pel vertex seleccionat com a punt de rotació - per defecte, el
1400 punt superior esquerre a rotació zero. Valors positius representen rodar
1401 en sentit horari quan es fa servir el punt de rotació per defecte. Si no
1402 especifiquem "nom" es fa servir l'ítem seleccionat.
1403 </translation>
1404 </message>
1405 <message>
1406 <source>sizeObject(width, height [, "name"])
1407
1408 Resizes the object "name" to the given width and height. If "name"
1409 is not given the currently selected item is used.
1410 </source>
1411 <translation>sizeObject(amplada, alçada [, "nom"])
1412
1413 Canvia la mida de l'objecte "nom" a la mida especificada. Si no
1414 especifiquem "nom" es fa servir l'ítem seleccionat.
1415 </translation>
1416 </message>
1417 <message>
1418 <source>getSelectedObject([nr]) -> string
1419
1420 Returns the name of the selected object. "nr" if given indicates the number
1421 of the selected object, e.g. 0 means the first selected object, 1 means the
1422 second selected Object and so on.
1423 </source>
1424 <translation>getSelectedObject([nr]) -> string
1425
1426 Retorna el nom de l'objecte seleccionat. "nr" si es dóna especifica el número
1427 de l'objecte seleccionat, ex. 0 significa el primer objecte seleccionat, 1 el
1428 segon i així.
1429 </translation>
1430 </message>
1431 <message>
1432 <source>selectionCount() -> integer
1433
1434 Returns the number of selected objects.
1435 </source>
1436 <translation>seleccionCount() -> integer
1437
1438 Retorna el número d'objectes seleccionats.
1439 </translation>
1440 </message>
1441 <message>
1442 <source>selectObject("name")
1443
1444 Selects the object with the given "name".
1445 </source>
1446 <translation>selectObject("nom")
1447
1448 Selecciona l'objecte amb el nom "nom".
1449 </translation>
1450 </message>
1451 <message>
1452 <source>deselectAll()
1453
1454 Deselects all objects in the whole document.
1455 </source>
1456 <translation>deselectAll()
1457
1458 Deselecciona tots els objectes de tot el document.
1459 </translation>
1460 </message>
1461 <message>
1462 <source>groupObjects(list)
1463
1464 Groups the objects named in "list" together. "list" must contain the names
1465 of the objects to be grouped. If "list" is not given the currently selected
1466 items are used.
1467 </source>
1468 <translation>groupObjects(llista)
1469
1470 Agrupa els objectes que especifiquem a la llista "llista". La llista ha de contenir
1471 els noms dels objectes a agrupar. Si no s'especifica llista es fan servir els
1472 objectes que estiguin seleccionats.
1473 </translation>
1474 </message>
1475 <message>
1476 <source>unGroupObjects("name")
1477
1478 Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source>
1479 <translation>unGroupObjects("nom")
1480
1481 Destrueix el grup al qual pertany l'objecte "nom". Si no especifiquem "nom" es fa servir l'ítem seleccionat.</translation>
1482 </message>
1483 <message>
1484 <source>scaleGroup(factor [,"name"])
1485
1486 Scales the group the object "name" belongs to. Values greater than 1 enlarge
1487 the group, values smaller than 1 make the group smaller e.g a value of 0.5
1488 scales the group to 50 % of its original size, a value of 1.5 scales the group
1489 to 150 % of its original size. The value for "factor" must be greater than
1490 0. If "name" is not given the currently selected item is used.
1491
1492 May raise ValueError if an invalid scale factor is passed.
1493 </source>
1494 <translation>scaleGroup(factor [,"nom"])
1495
1496 Escala el grup al qual pertany l'objecte "nom". Valors més grans que 1 incrementen
1497 el grup, i valors més petits que 1 decrementen el grup. ex. Un valor de 0.5 escala
1498 el grup al 50% del valor original, un valor de 1.5 escala el grup a un
1499 150% del valor original. El valor de "factor" ha de ser més gran que
1500 0. Si no especifiquem "nom" es fa servir l'ítem seleccionat.
1501
1502 Pot provocar un ValueError si s'especifica un factor invàlid.
1503 </translation>
1504 </message>
1505 <message>
1506 <source>loadImage("filename" [, "name"])
1507
1508 Loads the picture "picture" into the image frame "name". If "name" is
1509 not given the currently selected item is used.
1510
1511 May raise WrongFrameTypeError if the target frame is not an image frame
1512 </source>
1513 <translation>loadImage("nomFitxer", [,"nom"])
1514
1515 Carrega la imatge "nomFitxer" en el marc d'imatge "nom". Si no especifiquem
1516 "nom" es fa servir l'ítem seleccionat.
1517
1518 Pot provocar WrongFrameTypeError si el marc no és d'imatge
1519 </translation>
1520 </message>
1521 <message>
1522 <source>scaleImage(x, y [, "name"])
1523
1524 Sets the scaling factors of the picture in the image frame "name".
1525 If "name" is not given the currently selected item is used. A number of 1
1526 means 100 %.
1527
1528 May raise WrongFrameTypeError if the target frame is not an image frame
1529 </source>
1530 <translation>scaleImage(x, y [, "nom"])
1531
1532 Estableix els factors d'escalat de la imatge del marc d'imatge "nom".
1533 Si no especifiquem "nom" es fa servir l'ítem seleccionat. Un valor de 1
1534 significa 100 %.
1535
1536 Pot provocar WrongFrameTypeError si el marc no és d'imatge
1537 </translation>
1538 </message>
1539 <message>
1540 <source>lockObject(["name"]) -> bool
1541
1542 Locks the object "name" if it's unlocked or unlock it if it's locked.
1543 If "name" is not given the currently selected item is used. Returns true
1544 if locked.
1545 </source>
1546 <translation>lockObject(["nom"]) -> bool
1547
1548 Bloqueja l'objecte "nom" si està desbloquejat o el desbloqueja si està bloquejat.
1549 Si no especifiquem "nom" es fa servir l'ítem seleccionat. Retorna cert
1550 si bloqueja.
1551 </translation>
1552 </message>
1553 <message>
1554 <source>isLocked(["name"]) -> bool
1555
1556 Returns true if is the object "name" locked. If "name" is not given the
1557 currently selected item is used.
1558 </source>
1559 <translation&g