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