Rev 11903 | Rev 11941 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11652 | cbradney | 1 | <?xml version="1.0" encoding="utf-8"?> |
11890 | christoph | 2 | <!DOCTYPE TS><TS version="1.1" language="de_DE"> |
11928 | christoph | 3 | <defaultcodec></defaultcodec> |
11652 | cbradney | 4 | <context> |
7586 | cbradney | 5 | <name></name> |
6 | <message> |
||
11652 | cbradney | 7 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="21"/> |
8 | <source>getColorNames() -> list |
||
7586 | cbradney | 9 | |
10 | Returns a list containing the names of all defined colors in the document. |
||
11 | If no document is open, returns a list of the default document colors. |
||
12 | </source> |
||
11652 | cbradney | 13 | <translation>getColorNames() -> list |
7586 | cbradney | 14 | |
15 | Gibt eine Liste zurück, die alle vorhandenen Farben des aktuellen Dokuments enthält. |
||
16 | Wenn kein Dokument geöffnet ist, werden die Standardfarben zurückgegeben.</translation> |
||
17 | </message> |
||
18 | <message> |
||
11652 | cbradney | 19 | <location filename="../plugins/scriptplugin/cmddialog.h" line="22"/> |
20 | <source>newDocDialog() -> bool |
||
7586 | cbradney | 21 | |
22 | Displays the "New Document" dialog box. Creates a new document if the user |
||
23 | accepts the settings. Does not create a document if the user presses cancel. |
||
24 | Returns true if a new document was created. |
||
25 | </source> |
||
11652 | cbradney | 26 | <translation>newDocDialog() -> bool |
7586 | cbradney | 27 | |
28 | Zeigt den Dialog \"Neues Dokument\" an. Damit können Sie ein neues Dokument erstellen, wenn der Benutzer die standardmässigen Einstellung aktzeptiert. Erzeugt kein neues Dokument, wenn der Benutzer auf \"Abbrechen\" klickt. |
||
29 | Gibt den Wert \"true\" zurück, wenn ein neues Dokument erstellt wurde.</translation> |
||
30 | </message> |
||
31 | <message> |
||
11652 | cbradney | 32 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="21"/> |
33 | <source>getFillColor(["name"]) -> string |
||
7586 | cbradney | 34 | |
35 | Returns the name of the fill color of the object "name". |
||
36 | If "name" is not given the currently selected item is used. |
||
37 | </source> |
||
11652 | cbradney | 38 | <translation>getFillColor(["name"]) -> string |
7586 | cbradney | 39 | |
40 | Gibt den Wert der Füllfarbe des Objekts "name" zurück. |
||
41 | Wenn "name" nicht angegeben ist, wird das aktuell ausgewählt Objekt verwendet.</translation> |
||
42 | </message> |
||
43 | <message> |
||
11652 | cbradney | 44 | <location filename="../plugins/scriptplugin/cmdmani.h" line="23"/> |
45 | <source>moveObject(dx, dy [, "name"]) |
||
7586 | cbradney | 46 | |
47 | Moves the object "name" by dx and dy relative to its current position. The |
||
48 | distances are expressed in the current measurement unit of the document (see |
||
49 | UNIT constants). If "name" is not given the currently selected item is used. |
||
50 | If the object "name" belongs to a group, the whole group is moved. |
||
51 | </source> |
||
11652 | cbradney | 52 | <translation>moveObject(dx, dy [, "name"]) |
7586 | cbradney | 53 | |
54 | Verschiebt das Objekt "name" um dx und dy relativ zur Position. Die |
||
55 | Entfernungsangaben werden in der Masseinheit des Dokuments |
||
56 | angegeben (siehe Konstanten UNIT*). Wenn "name" nicht vorhanden ist, |
||
57 | wird das ausgewählte Objekt verschoben und wenn "name" zu einer Gruppe |
||
58 | gehört, wird die gesamte Gruppe verschoben.</translation> |
||
59 | </message> |
||
60 | <message> |
||
11652 | cbradney | 61 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="24"/> |
62 | <source>setRedraw(bool) |
||
7586 | cbradney | 63 | |
64 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
65 | This change will persist even after the script exits, so make sure to call |
||
66 | setRedraw(True) in a finally: clause at the top level of your script. |
||
67 | </source> |
||
11652 | cbradney | 68 | <translation>setRedraw(bool) |
7586 | cbradney | 69 | |
70 | Wenn bool=False, dann wird die Seite nicht neu neu aufgebaut (redraw ist deaktiviert). |
||
71 | Standard ist bool=True. Diese Einstellung bleibt bestehen, auch wenn das Script beendet ist. |
||
72 | Stellen Sie also sicher, dass setRedraw(True) aufgerufen wird, bevor das Script beendet wird.</translation> |
||
73 | </message> |
||
74 | <message> |
||
11652 | cbradney | 75 | <location filename="../plugins/scriptplugin/cmdobj.h" line="26"/> |
76 | <source>createRect(x, y, width, height, ["name"]) -> string |
||
7586 | cbradney | 77 | |
78 | Creates a new rectangle on the current page and returns its name. The |
||
79 | coordinates are given in the current measurement units of the document |
||
80 | (see UNIT constants). "name" should be a unique identifier for the object |
||
81 | because you need this name to reference that object in future. If "name" |
||
82 | is not given Scribus will create one for you. |
||
83 | |||
11652 | cbradney | 84 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 85 | </source> |
11652 | cbradney | 86 | <translation>createRect(x, y, width, height, ["name"]) -> string |
7586 | cbradney | 87 | |
88 | Erzeugt ein neues Rechteck auf der aktuellen Seite und gibt seinen Namen zurück. Die |
||
89 | Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe UNIT-Konstanten). |
||
90 | "name" sollte eine eindeutige Identifikation des Rechtecks ermöglichen, weil Sie den Objekt- |
||
91 | namen immer wieder benötigen. Ist "name" nicht vorhanden, wählt Scribus einen Namen für Sie. |
||
92 | |||
93 | Wenn Sie einen schon verwendeten Namen benutzen, tritt der Fehler NameExistsError auf.</translation> |
||
94 | </message> |
||
95 | <message> |
||
11652 | cbradney | 96 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="22"/> |
97 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
||
7586 | cbradney | 98 | |
99 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
100 | the same as for setFillColor() and setFillShade(). See the constants for |
||
11652 | cbradney | 101 | available types (FILL_<type>). |
7586 | cbradney | 102 | </source> |
11652 | cbradney | 103 | <translation>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
7586 | cbradney | 104 | |
105 | Füllt das Objekt "name" mit einem Farbverlauf. Farbbezeichnungen sind die |
||
106 | gleichen wie für setFillColor() und setFillShade(). Siehe Konstanten |
||
11652 | cbradney | 107 | für mögliche Typen (FILL_<type>).</translation> |
7586 | cbradney | 108 | </message> |
109 | <message> |
||
11652 | cbradney | 110 | <location filename="../plugins/scriptplugin/cmdtext.h" line="23"/> |
111 | <source>getFontSize(["name"]) -> float |
||
7586 | cbradney | 112 | |
113 | Returns the font size in points for the text frame "name". If this text |
||
114 | frame has some text selected the value assigned to the first character of |
||
115 | the selection is returned. |
||
116 | If "name" is not given the currently selected item is used. |
||
117 | </source> |
||
11652 | cbradney | 118 | <translation>getFontSize(["name"]) -> float |
7586 | cbradney | 119 | |
120 | Gibt die Schriftgrösse in Punkten für den Textrahmen "name" zurück. Wenn innerhalb |
||
121 | des Rahmens Text markiert ist, wird die Schriftgrösse des ersten Zeichens verwendet. |
||
122 | Wenn "name" nicht vergeben ist, wird der selektierte Textrahmen verwendet.</translation> |
||
123 | </message> |
||
124 | <message> |
||
11652 | cbradney | 125 | <location filename="../plugins/scriptplugin/guiapp.h" line="21"/> |
126 | <source>messagebarText("string") |
||
7586 | cbradney | 127 | |
128 | Writes the "string" into the Scribus message bar (status line). The text |
||
11652 | cbradney | 129 | must be UTF8 encoded or 'unicode' string(recommended). |
7586 | cbradney | 130 | </source> |
11652 | cbradney | 131 | <translation>messagebarText("string") |
7586 | cbradney | 132 | |
133 | Schreibt "string" in die Statuszeile von Scribus. Der Text muss |
||
11652 | cbradney | 134 | UTF8-kodiert oder ein 'unicode'-String sein (empfohlen).</translation> |
7586 | cbradney | 135 | </message> |
136 | <message> |
||
11652 | cbradney | 137 | <location filename="../plugins/scriptplugin/cmdpage.h" line="26"/> |
138 | <source>newPage(where [,"masterpage"]) |
||
7586 | cbradney | 139 | |
140 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
141 | document, otherwise the new page is inserted before "where". Page numbers are |
||
142 | counted from 1 upwards, no matter what the displayed first page number of your |
||
143 | document is. The optional parameter "masterpage" specifies the name of the |
||
144 | master page for the new page. |
||
145 | |||
146 | May raise IndexError if the page number is out of range |
||
147 | </source> |
||
11652 | cbradney | 148 | <translation>newPage(where [,"masterpage"]) |
7586 | cbradney | 149 | |
150 | Erzeugt eine neue Seite. Falls "where" -1 ist, wird die neue Seite an das Dokument angefügt, |
||
151 | ansonsten wird die neue Seite vor "where" eingefügt. Seitennummern werden von 1 ab hoch- |
||
152 | gezählt, egal welches die angezeigte erste Seitennummer Ihres Dokumentes ist. Der optionale |
||
153 | Parameter "masterpage" legt den Namen der Musterseite für die neue Seite fest</translation> |
||
154 | </message> |
||
155 | <message> |
||
11890 | christoph | 156 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
157 | <source>importSVG("string") |
||
158 | |||
159 | The "string" must be a valid filename for a SVG image. The text |
||
160 | must be UTF8 encoded or 'unicode' string(recommended). |
||
161 | </source> |
||
162 | <translation type="obsolete">"string" muss ein gültiger Dateiname einer SVG-Datei sein. Der Text |
||
163 | muss UTF8-kodiert oder ein Unicode-String (empfohlen) sein.</translation> |
||
164 | </message> |
||
165 | <message> |
||
11652 | cbradney | 166 | <location filename="../plugins/scriptplugin/cmddoc.h" line="55"/> |
167 | <source>newDocument(size, margins, orientation, firstPageNumber, |
||
168 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
7586 | cbradney | 169 | |
170 | Creates a new document and returns true if successful. The parameters have the |
||
171 | following meaning: |
||
172 | |||
173 | size = A tuple (width, height) describing the size of the document. You can |
||
11652 | cbradney | 174 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
7586 | cbradney | 175 | |
176 | margins = A tuple (left, right, top, bottom) describing the document |
||
177 | margins |
||
178 | |||
179 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
180 | |||
181 | firstPageNumer = is the number of the first page in the document used for |
||
11652 | cbradney | 182 | pagenumbering. While you'll usually want 1, it's useful to have higher |
183 | numbers if you're creating a document in several parts. |
||
7586 | cbradney | 184 | |
185 | unit: this value sets the measurement units used by the document. Use a |
||
186 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
187 | UNIT_PICAS, UNIT_POINTS. |
||
188 | |||
189 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
190 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
191 | PAGE_4 is 4-fold. |
||
192 | |||
193 | firstPageOrder = What is position of first page in the document. |
||
194 | Indexed from 0 (0 = first). |
||
195 | |||
196 | numPage = Number of pages to be created. |
||
197 | |||
198 | The values for width, height and the margins are expressed in the given unit |
||
199 | for the document. PAPER_* constants are expressed in points. If your document |
||
200 | is not in points, make sure to account for this. |
||
201 | |||
202 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
203 | PAGE_4, 3, 1) |
||
204 | |||
205 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
206 | </source> |
||
11652 | cbradney | 207 | <translation>firstPageOrder = What is position of first page in the document.(new line) |
7586 | cbradney | 208 | Indexed from 0 (0 = first). |
209 | numPage = Number of pages to be created. |
||
210 | The values for width, height and the margins are expressed in the given unit |
||
211 | for the document. PAPER_* constants are expressed in points. If your document |
||
212 | is not in points, make sure to account for this. |
||
213 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
214 | PAGE_4, 3, 1) |
||
215 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.</translation> |
||
216 | </message> |
||
9195 | cbradney | 217 | <message> |
11652 | cbradney | 218 | <location filename="../plugins/scriptplugin/svgimport.h" line="21"/> |
219 | <source>placeSVG("filename", x, y) |
||
9195 | cbradney | 220 | |
221 | Places the SVG "filename" onto the current page, |
||
222 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
223 | |||
224 | If loading was successful, the selection contains the imported SVG |
||
225 | </source> |
||
11890 | christoph | 226 | <translation></translation> |
9195 | cbradney | 227 | </message> |
11411 | mrdocs | 228 | <message> |
11652 | cbradney | 229 | <location filename="../plugins/scriptplugin/cmdstyle.h" line="43"/> |
230 | <source>createParagraphStyle(...) |
||
11411 | mrdocs | 231 | |
232 | Creates a paragraph style. This function takes the following keyword parameters: |
||
233 | |||
11652 | cbradney | 234 | "name" [required] -> specifies the name of the paragraphstyle to create |
11411 | mrdocs | 235 | |
11652 | cbradney | 236 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
11411 | mrdocs | 237 | |
238 | fixed linespacing: 0 |
||
239 | |||
240 | automatic linespacing: 1 |
||
241 | |||
242 | baseline grid linespacing: 2 |
||
243 | |||
11652 | cbradney | 244 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
11411 | mrdocs | 245 | |
11652 | cbradney | 246 | alignment [optional] -> specifies the alignment of the paragraph |
11411 | mrdocs | 247 | |
11652 | cbradney | 248 | -> left: 0 |
11411 | mrdocs | 249 | |
11652 | cbradney | 250 | -> center: 1 |
11411 | mrdocs | 251 | |
11652 | cbradney | 252 | -> right: 2 |
11411 | mrdocs | 253 | |
11652 | cbradney | 254 | -> justify: 3 |
11411 | mrdocs | 255 | |
11652 | cbradney | 256 | -> extend: 4 |
11411 | mrdocs | 257 | |
11652 | cbradney | 258 | leftmargin [optional], rightmargin [optional] -> specify the margin |
11411 | mrdocs | 259 | |
11652 | cbradney | 260 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
11411 | mrdocs | 261 | |
11652 | cbradney | 262 | firstindent [optional] -> the indent of the first line |
11411 | mrdocs | 263 | |
11652 | cbradney | 264 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
11411 | mrdocs | 265 | |
11652 | cbradney | 266 | dropcaplines [optional] -> height (in lines) of the caps if used |
11411 | mrdocs | 267 | |
11652 | cbradney | 268 | dropcapoffset [optional] -> offset of the caps if used |
11411 | mrdocs | 269 | |
11652 | cbradney | 270 | "charstyle" [optional] -> char style to use |
11411 | mrdocs | 271 | |
272 | </source> |
||
11928 | christoph | 273 | <translation>createParagraphStyle(...) |
274 | |||
275 | Creates a paragraph style. This function takes the following keyword parameters: |
||
276 | |||
277 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
278 | |||
279 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
280 | |||
281 | fixed linespacing: 0 |
||
282 | |||
283 | automatic linespacing: 1 |
||
284 | |||
285 | baseline grid linespacing: 2 |
||
286 | |||
287 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
288 | |||
289 | alignment [optional] -> specifies the alignment of the paragraph |
||
290 | |||
291 | -> left: 0 |
||
292 | |||
293 | -> center: 1 |
||
294 | |||
295 | -> right: 2 |
||
296 | |||
297 | -> justify: 3 |
||
298 | |||
299 | -> extend: 4 |
||
300 | |||
301 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
302 | |||
303 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
304 | |||
305 | firstindent [optional] -> the indent of the first line |
||
306 | |||
307 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
308 | |||
309 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
310 | |||
311 | dropcapoffset [optional] -> offset of the caps if used |
||
312 | |||
313 | "charstyle" [optional] -> char style to use</translation> |
||
11411 | mrdocs | 314 | </message> |
11652 | cbradney | 315 | </context> |
316 | <context> |
||
7586 | cbradney | 317 | <name>@default</name> |
318 | <message> |
||
11652 | cbradney | 319 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="35"/> |
320 | <source>getColor("name") -> tuple |
||
7586 | cbradney | 321 | |
322 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
323 | color "name" from the current document. If no document is open, returns |
||
324 | the value of the named color from the default document colors. |
||
325 | |||
11652 | cbradney | 326 | May raise NotFoundError if the named color wasn't found. |
7586 | cbradney | 327 | May raise ValueError if an invalid color name is specified. |
328 | </source> |
||
11652 | cbradney | 329 | <translation>getColor("name") -> tuple |
7586 | cbradney | 330 | |
331 | Gibt eine Liste mit den vier Farbkomponenten der Farbe "name" im aktuellen |
||
332 | Dokument wieder. Wenn kein Dokument geöffnet ist, werden die Werte der |
||
333 | angegebenen Standardfarbe zurückgegeben. |
||
334 | |||
335 | Wenn die Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf. |
||
336 | Wenn der Name der Farbe ungültig ist, tritt der Fehler ValueError auf.</translation> |
||
337 | </message> |
||
338 | <message> |
||
11652 | cbradney | 339 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="64"/> |
340 | <source>changeColor("name", c, m, y, k) |
||
7586 | cbradney | 341 | |
342 | Changes the color "name" to the specified CMYK value. The color value is |
||
343 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
344 | Color components should be in the range from 0 to 255. |
||
345 | |||
11652 | cbradney | 346 | May raise NotFoundError if the named color wasn't found. |
7586 | cbradney | 347 | May raise ValueError if an invalid color name is specified. |
348 | </source> |
||
11652 | cbradney | 349 | <translation>changeColor("name", c, m, y, k) |
7586 | cbradney | 350 | |
351 | Ändert die Farbe "name" auf die angegeben CMYK-Werte. Die Abkürzungen |
||
352 | stehen für die vier Farben c=Cyan, m=Magenta, y=Yellow, b=Black. |
||
353 | Die Werte müssen zwischen 0 und 255 liegen. |
||
354 | |||
355 | Wenn die Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf. |
||
356 | Wenn ein ungültiger Farbname angegeben wird, tritt der Fehler ValueError auf.</translation> |
||
357 | </message> |
||
358 | <message> |
||
11652 | cbradney | 359 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="94"/> |
360 | <source>deleteColor("name", "replace") |
||
7586 | cbradney | 361 | |
362 | Deletes the color "name". Every occurence of that color is replaced by the |
||
363 | color "replace". If not specified, "replace" defaults to the color |
||
364 | "None" - transparent. |
||
365 | |||
366 | deleteColor works on the default document colors if there is no document open. |
||
367 | In that case, "replace", if specified, has no effect. |
||
368 | |||
11652 | cbradney | 369 | May raise NotFoundError if a named color wasn't found. |
7586 | cbradney | 370 | May raise ValueError if an invalid color name is specified. |
371 | </source> |
||
11652 | cbradney | 372 | <translation>deleteColor("name", "replace") |
7586 | cbradney | 373 | |
374 | Löscht die Farbe "name". An allen Stellen, wo "name" im Dokument auftritt, |
||
375 | wird sie durch "replace" ersetzt. Standardmässig ist "replace" gar keine Farbe - |
||
376 | Transparenz. |
||
377 | |||
378 | Sie können deleteColor auch verwenden, wenn kein Dokument geöffnet ist, dann |
||
379 | bleibt die Angabe von "replace" aber ohne Auswirkung. |
||
380 | |||
381 | Wenn die angegebene Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf. |
||
382 | Wenn der Farbname ungültig ist, tritt der Fehler ValueError auf.</translation> |
||
383 | </message> |
||
384 | <message> |
||
11652 | cbradney | 385 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="106"/> |
386 | <source>replaceColor("name", "replace") |
||
7586 | cbradney | 387 | |
388 | Every occurence of the color "name" is replaced by the color "replace". |
||
389 | |||
11652 | cbradney | 390 | May raise NotFoundError if a named color wasn't found. |
7586 | cbradney | 391 | May raise ValueError if an invalid color name is specified. |
392 | </source> |
||
11652 | cbradney | 393 | <translation>replaceColor("name", "replace") |
7586 | cbradney | 394 | |
395 | An allen Stellen, wo die Farbe "name" vorkommt, wird sie duch die Farbe |
||
396 | "replace" ersetzt. |
||
397 | |||
398 | Wenn eine der Farben nicht vorhanden ist, tritt der Fehler NotFoundError auf. |
||
399 | Wenn der Name der Farbe ungültig ist, tritt der Fehler ValueError auf.</translation> |
||
400 | </message> |
||
401 | <message> |
||
11652 | cbradney | 402 | <location filename="../plugins/scriptplugin/cmddialog.h" line="88"/> |
403 | <source>messageBox("caption", "message", |
||
7586 | cbradney | 404 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
11652 | cbradney | 405 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
7586 | cbradney | 406 | |
407 | Displays a message box with the title "caption", the message "message", and |
||
408 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
409 | button, OK, is displayed. Only the caption and message arguments are required, |
||
410 | though setting an icon and appropriate button(s) is strongly |
||
411 | recommended. The message text may contain simple HTML-like markup. |
||
412 | |||
413 | Returns the number of the button the user pressed. Button numbers start |
||
414 | at 1. |
||
415 | |||
416 | For the icon and the button parameters there are predefined constants available |
||
417 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
418 | ICON_* constants defined in the module. There are also two extra constants that |
||
419 | can be binary-ORed with button constants: |
||
420 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
421 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
422 | |||
423 | Usage examples: |
||
11652 | cbradney | 424 | result = messageBox('Script failed', |
425 | 'This script only works when you have a text frame selected.', |
||
7586 | cbradney | 426 | ICON_ERROR) |
11652 | cbradney | 427 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
7586 | cbradney | 428 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
429 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
430 | |||
431 | Defined button and icon constants: |
||
432 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
433 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
434 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
435 | </source> |
||
11652 | cbradney | 436 | <translation>messageBox("caption", "message",icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
437 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
7586 | cbradney | 438 | Zeigt einen Dialog mit dem Titel "caption", der Botschaft "message" und dem Symbol "icon" sowie |
439 | bis zu 3 Buttons an. Standard ist kein Symbol und ein OK-Button. Nur Titel und Botschaft sind |
||
440 | erforderliche Felder, aber Symbol und Buttons werden empfohlen. |
||
441 | Der Text der Botschaft kann auch einfachen HTML-Code enthalten. |
||
442 | Gibt die Nummer des Buttons wieder, der gedrückt wurde, beginnend mit 1. |
||
443 | Für Buttons und Symbole gibt es vordefinierte Konstanten, die gleichen wie in |
||
444 | der Qt-Dokumentation. |
||
445 | Die sind im Modul definiert und heissen BUTTON_* und ICON_* . Es gibt auch zwei |
||
446 | spezielle Konstanten, die auch den Wert 0 annehmen können: BUTTONOPT_DEFAULT aktiviert den |
||
447 | jeweiligen Button per Druck auf Enter. |
||
448 | BUTTONOPT_ESCAPE drückt die Escape-Taste falls dieser Button gedrückt wird. |
||
449 | Beispiel |
||
11652 | cbradney | 450 | result = messageBox('Script failed','This script only works when you have a text frame selected.', |
7586 | cbradney | 451 | ICON_ERROR) |
11652 | cbradney | 452 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',ICON_WARNING, |
7586 | cbradney | 453 | BUTTON_YES|BUTTONOPT_DEFAULT, BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
454 | Konstanten für Buttons und Symbole: |
||
455 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
456 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
457 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation> |
||
458 | </message> |
||
459 | <message> |
||
11652 | cbradney | 460 | <location filename="../plugins/scriptplugin/cmddialog.h" line="101"/> |
461 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
||
7586 | cbradney | 462 | |
11652 | cbradney | 463 | Shows the common 'Ask for string' dialog and returns its value as a string |
464 | Parameters: window title, text in the window and optional 'default' value. |
||
7586 | cbradney | 465 | |
11652 | cbradney | 466 | Example: valueDialog('title', 'text in the window', 'optional') |
7586 | cbradney | 467 | </source> |
11652 | cbradney | 468 | <translation>valueDialog(caption, message [,defaultvalue]) -> string |
7586 | cbradney | 469 | |
470 | Zeigt einen Dialog an, der einen String verlangt und zurückgibt. |
||
11652 | cbradney | 471 | Parameter: Fenstertitel, Text im Fenster und optionaler 'default'-Text. |
7586 | cbradney | 472 | |
11652 | cbradney | 473 | Beispiel: valueDialog('TItel', 'Text im Fenster', 'optional')</translation> |
7586 | cbradney | 474 | </message> |
475 | <message> |
||
11652 | cbradney | 476 | <location filename="../plugins/scriptplugin/cmddoc.h" line="108"/> |
477 | <source>closeDoc() |
||
7586 | cbradney | 478 | |
479 | Closes the current document without prompting to save. |
||
480 | |||
481 | May throw NoDocOpenError if there is no document to close |
||
482 | </source> |
||
11652 | cbradney | 483 | <translation>closeDoc() |
7586 | cbradney | 484 | |
485 | Schliesst das aktuelle Dokument, ohne Änderungen zu sichern. |
||
486 | |||
487 | Wenn kein Dokument offen ist, tritt der Fehler NoDocOpenError auf</translation> |
||
488 | </message> |
||
489 | <message> |
||
11652 | cbradney | 490 | <location filename="../plugins/scriptplugin/cmddoc.h" line="117"/> |
491 | <source>haveDoc() -> bool |
||
7586 | cbradney | 492 | |
493 | Returns true if there is a document open. |
||
494 | </source> |
||
11652 | cbradney | 495 | <translation>haveDoc() -> bool |
7586 | cbradney | 496 | |
497 | Gibt True zurück, wenn ein Dokument geöffnet ist.</translation> |
||
498 | </message> |
||
499 | <message> |
||
11652 | cbradney | 500 | <location filename="../plugins/scriptplugin/cmddoc.h" line="128"/> |
501 | <source>openDoc("name") |
||
7586 | cbradney | 502 | |
503 | Opens the document "name". |
||
504 | |||
505 | May raise ScribusError if the document could not be opened. |
||
506 | </source> |
||
11652 | cbradney | 507 | <translation>openDoc("name") |
7586 | cbradney | 508 | |
509 | Öffnet das Dokument "name". |
||
510 | |||
511 | Schlägt das fehl, tritt der Fehler ScribusError auf.</translation> |
||
512 | </message> |
||
513 | <message> |
||
11652 | cbradney | 514 | <location filename="../plugins/scriptplugin/cmddoc.h" line="141"/> |
515 | <source>saveDoc() |
||
7586 | cbradney | 516 | |
517 | Saves the current document with its current name, returns true if successful. |
||
518 | If the document has not already been saved, this may bring up an interactive |
||
519 | save file dialog. |
||
520 | |||
521 | If the save fails, there is currently no way to tell. |
||
522 | </source> |
||
11652 | cbradney | 523 | <translation>saveDoc() |
7586 | cbradney | 524 | |
525 | Speichert das Dokument unter dem aktuellen Namen und gibt True zurück, wenn das |
||
526 | erfolgreich war. Wurde das Dokument noch nicht gesichert, öffnet sich der "Speichern"- |
||
527 | Dialog. |
||
528 | |||
529 | Wenn das Sichern fehlschlägt, erscheint derzeit keine Fehlermeldung.</translation> |
||
530 | </message> |
||
531 | <message> |
||
11652 | cbradney | 532 | <location filename="../plugins/scriptplugin/cmddoc.h" line="152"/> |
533 | <source>saveDocAs("name") |
||
7586 | cbradney | 534 | |
535 | Saves the current document under the new name "name" (which may be a full or |
||
536 | relative path). |
||
537 | |||
538 | May raise ScribusError if the save fails. |
||
539 | </source> |
||
11652 | cbradney | 540 | <translation>saveDocAs("name") |
7586 | cbradney | 541 | |
542 | Speichert das aktuelle Dokument unter dem neuen Namen "name". Die Pfadangabe kann dabei |
||
543 | relativ oder absolut sein. |
||
544 | |||
545 | Schlägt das Sichern fehl, tritt der Fehler ScribusError auf.</translation> |
||
546 | </message> |
||
547 | <message> |
||
11890 | christoph | 548 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
549 | <source>setMargins(lr, rr, tr, br) |
||
550 | |||
551 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
||
552 | margins are given in the measurement units of the document - see UNIT_<type> |
||
553 | constants. |
||
554 | </source> |
||
555 | <translation type="obsolete">setMargins(lr, rr, tr, br) |
||
556 | |||
557 | Verändert die Ränder des Dokuments. Links=lr, Rechts=rr, Oben=tr, Unten=br. |
||
558 | Die Einheit wird durch die Masseinheit des Dokuments vorgegeben, siehe die |
||
559 | Konstanten UNIT_<type>.</translation> |
||
560 | </message> |
||
561 | <message> |
||
11652 | cbradney | 562 | <location filename="../plugins/scriptplugin/cmddoc.h" line="185"/> |
563 | <source>setUnit(type) |
||
7586 | cbradney | 564 | |
565 | Changes the measurement unit of the document. Possible values for "unit" are |
||
11652 | cbradney | 566 | defined as constants UNIT_<type>. |
7586 | cbradney | 567 | |
568 | May raise ValueError if an invalid unit is passed. |
||
569 | </source> |
||
11652 | cbradney | 570 | <translation>setUnit(type) |
7586 | cbradney | 571 | |
572 | Ändert die Masseinheit des Dokuments auf "type". Mögliche Einheiten geben Sie durch die |
||
11652 | cbradney | 573 | Konstanten UNIT_<type> an. |
7586 | cbradney | 574 | |
575 | Ist die Einheit ungültig, tritt der Fehler ValueError auf.</translation> |
||
576 | </message> |
||
577 | <message> |
||
11652 | cbradney | 578 | <location filename="../plugins/scriptplugin/cmddoc.h" line="196"/> |
579 | <source>getUnit() -> integer (Scribus unit constant) |
||
7586 | cbradney | 580 | |
581 | Returns the measurement units of the document. The returned value will be one |
||
582 | of the UNIT_* constants: |
||
583 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
584 | </source> |
||
11652 | cbradney | 585 | <translation>getUnit() -> integer (Scribus unit constant) |
7586 | cbradney | 586 | |
587 | Gibt die Masseinheit des Dokuments zurück. Der Rückgabewert ist eine |
||
588 | der möglichen UNIT_*-Konstanten: |
||
589 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation> |
||
590 | </message> |
||
591 | <message> |
||
11652 | cbradney | 592 | <location filename="../plugins/scriptplugin/cmddoc.h" line="206"/> |
593 | <source>loadStylesFromFile("filename") |
||
7586 | cbradney | 594 | |
595 | Loads paragraph styles from the Scribus document at "filename" into the |
||
596 | current document. |
||
597 | </source> |
||
11652 | cbradney | 598 | <translation>loadStylesFromFile("filename") |
7586 | cbradney | 599 | |
600 | Lädt die Absatzstile aus der Datei "filename" in das aktuelle Dokument.</translation> |
||
601 | </message> |
||
602 | <message> |
||
11652 | cbradney | 603 | <location filename="../plugins/scriptplugin/cmddoc.h" line="218"/> |
604 | <source>setDocType(facingPages, firstPageLeft) |
||
7586 | cbradney | 605 | |
606 | Sets the document type. To get facing pages set the first parameter to |
||
607 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
608 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
609 | a right page use FIRSTPAGERIGHT. |
||
610 | </source> |
||
11652 | cbradney | 611 | <translation>setDocType(facingPages, firstPageLeft) |
7586 | cbradney | 612 | |
613 | Setzt den Dokumenttyp. Gegenüberliegende Seiten erreichen Sie mit FACINGPAGES, normale |
||
614 | Seiten mit NOFACINGPAGES. Wenn die erste Seite links sein soll, schreiben Sie FIRSTPAGELEFT, |
||
615 | ansonsten FIRSTPAGERIGHT.</translation> |
||
616 | </message> |
||
617 | <message> |
||
11652 | cbradney | 618 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="51"/> |
619 | <source>getLineColor(["name"]) -> string |
||
7586 | cbradney | 620 | |
621 | Returns the name of the line color of the object "name". |
||
622 | If "name" is not given the currently selected item is used. |
||
623 | </source> |
||
11652 | cbradney | 624 | <translation>getLineColor(["name"]) -> string |
7586 | cbradney | 625 | |
626 | Gibt den Namen der Linienfarbe des Objekts "name" zurück. |
||
627 | Wenn "name" nicht angegeben ist, wird das aktuelle Objekt benutzt.</translation> |
||
628 | </message> |
||
629 | <message> |
||
11652 | cbradney | 630 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="81"/> |
631 | <source>getLineWidth(["name"]) -> integer |
||
7586 | cbradney | 632 | |
633 | Returns the line width of the object "name". If "name" |
||
634 | is not given the currently selected Item is used. |
||
635 | </source> |
||
11652 | cbradney | 636 | <translation>getLineWidth(["name"]) -> integer |
7586 | cbradney | 637 | |
638 | Gibt die Linienbreite des Objekts "name" zurück. |
||
639 | Wenn "name" nicht angegeben ist, wird das aktuelle Objekt benutzt.</translation> |
||
640 | </message> |
||
641 | <message> |
||
11652 | cbradney | 642 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="91"/> |
643 | <source>getLineShade(["name"]) -> integer |
||
7586 | cbradney | 644 | |
645 | Returns the shading value of the line color of the object "name". |
||
646 | If "name" is not given the currently selected item is used. |
||
647 | </source> |
||
11652 | cbradney | 648 | <translation>getLineShade(["name"]) -> integer |
7586 | cbradney | 649 | |
650 | Gibt den Tonwert des Objekts "name" zurück. |
||
651 | Wenn "name" nicht angegeben ist, wird das aktuelle Objekt benutzt.</translation> |
||
652 | </message> |
||
653 | <message> |
||
11890 | christoph | 654 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmdgetprop.h" line="102"/> |
655 | <source>getLineJoin(["name"]) -> integer (see contants) |
||
656 | |||
657 | Returns the line join style of the object "name". If "name" is not given |
||
658 | the currently selected item is used. The join types are: |
||
659 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
660 | </source> |
||
661 | <translation type="obsolete">getLineJoin(["name"]) -> integer (siehe Konstanten) |
||
662 | |||
663 | Gibt den Stil der Ecken des Objekts "name" zurück. Ist kein "name" angegeben, wird |
||
664 | das aktuelle Objekt benutzt. Die Linientypen sind JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND</translation> |
||
665 | </message> |
||
666 | <message> |
||
11652 | cbradney | 667 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="113"/> |
668 | <source>getLineEnd(["name"]) -> integer (see constants) |
||
7586 | cbradney | 669 | |
670 | Returns the line cap style of the object "name". If "name" is not given the |
||
671 | currently selected item is used. The cap types are: |
||
672 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
673 | </source> |
||
11652 | cbradney | 674 | <translation>getLineEnd(["name"]) -> integer (siehe Konstanten) |
7586 | cbradney | 675 | |
676 | Gibt den Stil der Linienrundungen des Objekts "name" an. Ist "name" nicht angegeben, wird das aktuelle Objekt benutzt. |
||
677 | Die unterstützten Stile sind CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation> |
||
678 | </message> |
||
679 | <message> |
||
11652 | cbradney | 680 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="124"/> |
681 | <source>getLineStyle(["name"]) -> integer (see constants) |
||
7586 | cbradney | 682 | |
683 | Returns the line style of the object "name". If "name" is not given the |
||
684 | currently selected item is used. Line style constants are: |
||
685 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
686 | </source> |
||
11652 | cbradney | 687 | <translation>getLineStyle(["name"]) -> integer (siehe Konstanten) |
7586 | cbradney | 688 | |
689 | Gibt den Linienstil des Objekts "name" wieder. Ist "name" nicht angegeben, |
||
690 | wird das aktuelle Objekt benutzt. Linienstile sind LINE_DASH, LINE_DASHDOT, |
||
691 | LINE_DASHDOTDOT, LINE_SOLID</translation> |
||
692 | </message> |
||
693 | <message> |
||
11652 | cbradney | 694 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="134"/> |
695 | <source>getFillShade(["name"]) -> integer |
||
7586 | cbradney | 696 | |
697 | Returns the shading value of the fill color of the object "name". |
||
698 | If "name" is not given the currently selected item is used. |
||
699 | </source> |
||
11652 | cbradney | 700 | <translation>getFillShade(["name"]) -> integer |
7586 | cbradney | 701 | |
702 | Gibt den Tonwert der Füllfarbe von "name" zurück. Ist "name" nicht angegeben, wird |
||
703 | das aktuelle Objekt verwendet.</translation> |
||
704 | </message> |
||
705 | <message> |
||
11652 | cbradney | 706 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="155"/> |
707 | <source>getImageScale(["name"]) -> (x,y) |
||
7586 | cbradney | 708 | |
709 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
710 | "name". If "name" is not given the currently selected item is used. |
||
711 | </source> |
||
11652 | cbradney | 712 | <translation>getImageScale(["name"]) -> (x,y)( |
7586 | cbradney | 713 | |
714 | Gibt ein Zahlenpaar (x,y) zurück mit den Skalierungswerten des Bildes im Rahmen |
||
715 | "name". Ist "name" nicht angegeben, wird der aktuelle Rahmen verwendet.</translation> |
||
716 | </message> |
||
717 | <message> |
||
11652 | cbradney | 718 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="165"/> |
719 | <source>getImageName(["name"]) -> string |
||
7586 | cbradney | 720 | |
721 | Returns the filename for the image in the image frame. If "name" is not |
||
722 | given the currently selected item is used. |
||
723 | </source> |
||
11652 | cbradney | 724 | <translation>getImageName(["name"]) -> string |
7586 | cbradney | 725 | |
726 | Gibt den Dateinamen des Bildes im Rahmen "name" zurück. Ist "name" nicht |
||
727 | angegeben, wird das aktuelle Objekt benutzt.</translation> |
||
728 | </message> |
||
729 | <message> |
||
11652 | cbradney | 730 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="189"/> |
731 | <source>getSize(["name"]) -> (width,height) |
||
7586 | cbradney | 732 | |
733 | Returns a (width, height) tuple with the size of the object "name". |
||
734 | If "name" is not given the currently selected item is used. The size is |
||
11652 | cbradney | 735 | expressed in the current measurement unit of the document - see UNIT_<type> |
7586 | cbradney | 736 | for reference. |
737 | </source> |
||
11652 | cbradney | 738 | <translation>getSize(["name"]) -> (Breite,Höhe) |
7586 | cbradney | 739 | |
740 | Gibt das Zahlenpaar (Breite,Höhe) des Objekts "name" zurück. Ist "name" nicht |
||
741 | angegeben, wird das aktuelle Objekt verwendet. Die Grösse wird in der Masseinheit |
||
742 | des Dokuments angegeben - siehe die UNIT_*-Konstanten.</translation> |
||
743 | </message> |
||
744 | <message> |
||
11652 | cbradney | 745 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="200"/> |
746 | <source>getRotation(["name"]) -> integer |
||
7586 | cbradney | 747 | |
748 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
749 | and clockwise is positive. If "name" is not given the currently selected item |
||
750 | is used. |
||
751 | </source> |
||
11652 | cbradney | 752 | <translation>getRotation(["name"]) -> integer |
7586 | cbradney | 753 | |
754 | Gibt die Drehung des Objekts "name" in Grad zurück und im Uhrzeigersinn zurück. |
||
755 | Ist "name" nicht angegeben, wird das aktuelle Objekt benutzt.</translation> |
||
756 | </message> |
||
757 | <message> |
||
11652 | cbradney | 758 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="209"/> |
759 | <source>getAllObjects() -> list |
||
7586 | cbradney | 760 | |
761 | Returns a list containing the names of all objects on the current page. |
||
762 | </source> |
||
11652 | cbradney | 763 | <translation>getAllObjects() -> list |
7586 | cbradney | 764 | |
765 | Gibt eine Liste zurück mit allen auf der aktuellen Seite verwendeten Objekte.</translation> |
||
766 | </message> |
||
767 | <message> |
||
11652 | cbradney | 768 | <location filename="../plugins/scriptplugin/cmdmani.h" line="35"/> |
769 | <source>moveObjectAbs(x, y [, "name"]) |
||
7586 | cbradney | 770 | |
771 | Moves the object "name" to a new location. The coordinates are expressed in |
||
772 | the current measurement unit of the document (see UNIT constants). If "name" |
||
773 | is not given the currently selected item is used. If the object "name" |
||
774 | belongs to a group, the whole group is moved. |
||
775 | </source> |
||
11652 | cbradney | 776 | <translation>moveObjectAbs(x, y [, "name"]) |
7586 | cbradney | 777 | |
778 | Bewegt das Objekt "name" an die neue Stelle. Die Koordinaten werden in der Masseinheit |
||
779 | des Dokuments angegeben (siehe UNIT_*-Konstanten). Ist "name" nicht angegeben, wird das |
||
780 | aktuelle Objekt benutzt. Gehört "name" zu einer Gruppe, wird die Gruppe verschoben.</translation> |
||
781 | </message> |
||
782 | <message> |
||
11890 | christoph | 783 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmdmani.h" line="48"/> |
784 | <source>rotateObject(rot [, "name"]) |
||
785 | |||
786 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
787 | rotated by the vertex that is currently selected as the rotation point - by |
||
788 | default, the top left vertext at zero rotation. Positive values mean counter |
||
789 | clockwise rotation when the default rotation point is used. If "name" is not |
||
790 | given the currently selected item is used. |
||
791 | </source> |
||
792 | <translation type="obsolete">rotateObject(rot [, "name"]) |
||
793 | |||
794 | Dreht das Objekt "name" relativ um "rot" Grad. Beim Drehen wird der Ursprung verwendet, |
||
795 | der gerade aktiv ist - normalerweise der Punkt links oben. Positive Werte für "rot" bedeuten |
||
796 | Drehung in Uhrzeigersinn, negative Werte Drehung gegen den Uhrzeigersinn. Ist "name" nicht |
||
797 | angegeben, wird das aktuelle Objekt benutzt.</translation> |
||
798 | </message> |
||
799 | <message> |
||
11652 | cbradney | 800 | <location filename="../plugins/scriptplugin/cmdmani.h" line="69"/> |
801 | <source>sizeObject(width, height [, "name"]) |
||
7586 | cbradney | 802 | |
803 | Resizes the object "name" to the given width and height. If "name" |
||
804 | is not given the currently selected item is used. |
||
805 | </source> |
||
11652 | cbradney | 806 | <translation>sizeObject(width, height [, "name"]) |
7586 | cbradney | 807 | |
808 | Ändert die Grösse von "name" auf die Breite width und die Höhe height. |
||
809 | ist "name" nicht angegeben, wird das aktuelle Objekt benutzt.</translation> |
||
810 | </message> |
||
811 | <message> |
||
11652 | cbradney | 812 | <location filename="../plugins/scriptplugin/cmdmani.h" line="80"/> |
813 | <source>getSelectedObject([nr]) -> string |
||
7586 | cbradney | 814 | |
815 | Returns the name of the selected object. "nr" if given indicates the number |
||
816 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
817 | second selected Object and so on. |
||
818 | </source> |
||
11652 | cbradney | 819 | <translation>getSelectedObject([nr]) -> string |
7586 | cbradney | 820 | |
821 | Gibt den Namen des ausgewählten Objekts zurück. "nr" gibt die Zahl des gewählten |
||
822 | Objekts an. 0 bedeutet das erste ausgewählte Objekt, 1 das zweite usw.</translation> |
||
823 | </message> |
||
824 | <message> |
||
11652 | cbradney | 825 | <location filename="../plugins/scriptplugin/cmdmani.h" line="89"/> |
826 | <source>selectionCount() -> integer |
||
7586 | cbradney | 827 | |
828 | Returns the number of selected objects. |
||
829 | </source> |
||
11652 | cbradney | 830 | <translation>selectionCount() -> integer |
7586 | cbradney | 831 | |
832 | Gibt die Anzahl der ausgewählten Objekte zurück.</translation> |
||
833 | </message> |
||
834 | <message> |
||
11652 | cbradney | 835 | <location filename="../plugins/scriptplugin/cmdmani.h" line="98"/> |
836 | <source>selectObject("name") |
||
7586 | cbradney | 837 | |
838 | Selects the object with the given "name". |
||
839 | </source> |
||
11652 | cbradney | 840 | <translation>selectObject("name") |
7586 | cbradney | 841 | |
842 | Wählt das Objekt "name" aus.</translation> |
||
843 | </message> |
||
844 | <message> |
||
11652 | cbradney | 845 | <location filename="../plugins/scriptplugin/cmdmani.h" line="107"/> |
846 | <source>deselectAll() |
||
7586 | cbradney | 847 | |
848 | Deselects all objects in the whole document. |
||
849 | </source> |
||
11652 | cbradney | 850 | <translation>deselectAll() |
7586 | cbradney | 851 | |
852 | Setzt alle Objekte im Dokument auf nicht ausgewählt.</translation> |
||
853 | </message> |
||
854 | <message> |
||
11652 | cbradney | 855 | <location filename="../plugins/scriptplugin/cmdmani.h" line="118"/> |
856 | <source>groupObjects(list) |
||
7586 | cbradney | 857 | |
858 | Groups the objects named in "list" together. "list" must contain the names |
||
859 | of the objects to be grouped. If "list" is not given the currently selected |
||
860 | items are used. |
||
861 | </source> |
||
11652 | cbradney | 862 | <translation>groupObjects(list) |
7586 | cbradney | 863 | |
864 | Gruppiert die Elemente in "list". "list" muss die Namen der zu gruppierenden |
||
865 | Objekte enthalten. Ist "list" nicht angegeben, werden die aktuell gewählten |
||
866 | Objekte verwendet.</translation> |
||
867 | </message> |
||
868 | <message> |
||
11652 | cbradney | 869 | <location filename="../plugins/scriptplugin/cmdmani.h" line="126"/> |
870 | <source>unGroupObjects("name") |
||
7586 | cbradney | 871 | |
872 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
11652 | cbradney | 873 | <translation>unGroupObjects("name") |
7586 | cbradney | 874 | |
875 | Zerstört die Gruppe "name". Ist "name" nicht angegeben, wird die aktuelle Gruppe verwendet.</translation> |
||
876 | </message> |
||
877 | <message> |
||
11652 | cbradney | 878 | <location filename="../plugins/scriptplugin/cmdmani.h" line="141"/> |
879 | <source>scaleGroup(factor [,"name"]) |
||
7586 | cbradney | 880 | |
881 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
882 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
883 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
884 | to 150 % of its original size. The value for "factor" must be greater than |
||
885 | 0. If "name" is not given the currently selected item is used. |
||
886 | |||
887 | May raise ValueError if an invalid scale factor is passed. |
||
888 | </source> |
||
11652 | cbradney | 889 | <translation>scaleGroup(factor [,"name"]) |
7586 | cbradney | 890 | |
891 | Skaliert die Gruppe, zu dem das Objekt "name" gehört. Werte grösser als 1 vergrössern das Objekt, |
||
892 | Werte kleiner als 1 verkleinert das Objekt. Zum Beispiel bedeutet 0.5 = 50 % oder 1.5=150% der |
||
893 | Originalgrösse. "factor" muss grösser als 0 sein. Ist "name" nicht angegeben, wird das aktuelle Objekt |
||
894 | benutzt.</translation> |
||
895 | </message> |
||
896 | <message> |
||
11652 | cbradney | 897 | <location filename="../plugins/scriptplugin/cmdmani.h" line="153"/> |
898 | <source>loadImage("filename" [, "name"]) |
||
7586 | cbradney | 899 | |
900 | Loads the picture "picture" into the image frame "name". If "name" is |
||
901 | not given the currently selected item is used. |
||
902 | |||
903 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
904 | </source> |
||
11652 | cbradney | 905 | <translation>loadImage("filename" [, "name"]) |
7586 | cbradney | 906 | |
907 | Lädt das Bild "picture" in den Bildrahmen "name". Ist "name" nicht angegeben, |
||
908 | wird der aktuelle Rahmen benutzt. |
||
909 | |||
910 | Ist das Ziel kein Bildrahmen, tritt der Fehler WrongFrameTypeError auf</translation> |
||
911 | </message> |
||
912 | <message> |
||
11652 | cbradney | 913 | <location filename="../plugins/scriptplugin/cmdmani.h" line="166"/> |
914 | <source>scaleImage(x, y [, "name"]) |
||
7586 | cbradney | 915 | |
916 | Sets the scaling factors of the picture in the image frame "name". |
||
917 | If "name" is not given the currently selected item is used. A number of 1 |
||
918 | means 100 %. |
||
919 | |||
920 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
921 | </source> |
||
11652 | cbradney | 922 | <translation>scaleImage(x, y [, "name"]) |
7586 | cbradney | 923 | |
924 | Skaliert das Bild "name" auf die angegeben Werte. 1 bedeutet 100 %. Ist "name" |
||
925 | nicht angegeben, wird der aktuelle Bildrahmen verwendet. |
||
926 | |||
927 | Ist das Ziel kein Bildrahmen, tritt der Fehler WrongFrameTypeError auf,</translation> |
||
928 | </message> |
||
929 | <message> |
||
11652 | cbradney | 930 | <location filename="../plugins/scriptplugin/cmdmani.h" line="177"/> |
931 | <source>lockObject(["name"]) -> bool |
||
7586 | cbradney | 932 | |
11652 | cbradney | 933 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
7586 | cbradney | 934 | If "name" is not given the currently selected item is used. Returns true |
935 | if locked. |
||
936 | </source> |
||
11652 | cbradney | 937 | <translation>lockObject(["name"]) -> bool |
7586 | cbradney | 938 | |
939 | Sperrt das Objekt "name", wenn es freigegeben ist und entsperrt es, wenn es |
||
940 | gesperrt ist. Ist "name" nicht angegeben, wird das aktuelle Objekt verwendet. |
||
941 | Gibt True zurück, wenn das Objekt gesperrt ist.</translation> |
||
942 | </message> |
||
943 | <message> |
||
11652 | cbradney | 944 | <location filename="../plugins/scriptplugin/cmdmani.h" line="187"/> |
945 | <source>isLocked(["name"]) -> bool |
||
7586 | cbradney | 946 | |
947 | Returns true if is the object "name" locked. If "name" is not given the |
||
948 | currently selected item is used. |
||
949 | </source> |
||
11652 | cbradney | 950 | <translation>isLocked(["name"]) -> bool |
7586 | cbradney | 951 | |
952 | Gibt True zurück, wenn "name" gesperrt ist. Ist "name" nicht angegeben, wird das aktuelle |
||
953 | Objekt verwendet.</translation> |
||
954 | </message> |
||
955 | <message> |
||
11652 | cbradney | 956 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="33"/> |
957 | <source>getFontNames() -> list |
||
7586 | cbradney | 958 | |
959 | Returns a list with the names of all available fonts. |
||
960 | </source> |
||
11652 | cbradney | 961 | <translation>getFontNames() -> list |
7586 | cbradney | 962 | |
963 | Gibt eine Liste mit allen verfügbaren Schriften zurück.</translation> |
||
964 | </message> |
||
965 | <message> |
||
11652 | cbradney | 966 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="43"/> |
967 | <source>getXFontNames() -> list of tuples |
||
7586 | cbradney | 968 | |
11652 | cbradney | 969 | Returns a larger font info. It's a list of the tuples with: |
7586 | cbradney | 970 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
971 | </source> |
||
11652 | cbradney | 972 | <translation>getXFontNames() -> list |
7586 | cbradney | 973 | |
974 | Gibt genaue Informationen zu einer Schrift zurück mit den Werten: |
||
975 | [ (Name in Scribus, Familie, wirklicher Name, Subset (1|0), embed PS (1|0), Fontdatei), (...), ... ]</translation> |
||
976 | </message> |
||
977 | <message> |
||
11652 | cbradney | 978 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="71"/> |
979 | <source>getLayers() -> list |
||
7586 | cbradney | 980 | |
981 | Returns a list with the names of all defined layers. |
||
982 | </source> |
||
11652 | cbradney | 983 | <translation>getLayers() -> list |
7586 | cbradney | 984 | |
985 | Gibt eine Liste mit allen Ebenen zurück.</translation> |
||
986 | </message> |
||
987 | <message> |
||
11652 | cbradney | 988 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="83"/> |
989 | <source>setActiveLayer("name") |
||
7586 | cbradney | 990 | |
991 | Sets the active layer to the layer named "name". |
||
992 | |||
11652 | cbradney | 993 | May raise NotFoundError if the layer can't be found. |
994 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 995 | </source> |
11652 | cbradney | 996 | <translation>setActiveLayer("name") |
7586 | cbradney | 997 | |
998 | Macht die Ebene "name" zur aktiven Ebene. |
||
999 | |||
1000 | Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf. |
||
1001 | Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation> |
||
1002 | </message> |
||
1003 | <message> |
||
11652 | cbradney | 1004 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="92"/> |
1005 | <source>getActiveLayer() -> string |
||
7586 | cbradney | 1006 | |
1007 | Returns the name of the current active layer. |
||
1008 | </source> |
||
11652 | cbradney | 1009 | <translation>getActiveLayer() -> string |
7586 | cbradney | 1010 | |
1011 | Gibt die aktive Ebene zurück.</translation> |
||
1012 | </message> |
||
1013 | <message> |
||
11652 | cbradney | 1014 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="105"/> |
1015 | <source>sentToLayer("layer" [, "name"]) |
||
7586 | cbradney | 1016 | |
1017 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1018 | If "name" is not given the currently selected item is used. |
||
1019 | |||
11652 | cbradney | 1020 | May raise NotFoundError if the layer can't be found. |
1021 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 1022 | </source> |
11652 | cbradney | 1023 | <translation>sentToLayer("layer" [, "name"]) |
7586 | cbradney | 1024 | |
1025 | Verschiebt das Objekt "name" auf die Ebene "layer". Die Ebene muss |
||
1026 | vorhanden sein. Ist "name" nicht angegeben, wird das aktive Objekt benutzt. |
||
1027 | |||
1028 | Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf. |
||
1029 | Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation> |
||
1030 | </message> |
||
1031 | <message> |
||
11652 | cbradney | 1032 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="118"/> |
1033 | <source>setLayerVisible("layer", visible) |
||
7586 | cbradney | 1034 | |
1035 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1036 | the layer is invisible. |
||
1037 | |||
11652 | cbradney | 1038 | May raise NotFoundError if the layer can't be found. |
1039 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 1040 | </source> |
11652 | cbradney | 1041 | <translation>setLayerVisible("layer", visible) |
7586 | cbradney | 1042 | |
1043 | Zeigt die Ebene "layer" an oder versteckt sie. Ist "visible" auf False gesetzt, |
||
1044 | ist die Ebene unsichtbar. |
||
1045 | |||
1046 | Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf. |
||
1047 | Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation> |
||
1048 | </message> |
||
1049 | <message> |
||
11652 | cbradney | 1050 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="300"/> |
1051 | <source>deleteLayer("layer") |
||
7586 | cbradney | 1052 | |
11652 | cbradney | 1053 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
1054 | exists or if it's the only layer in the document. |
||
7586 | cbradney | 1055 | |
11652 | cbradney | 1056 | May raise NotFoundError if the layer can't be found. |
1057 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 1058 | </source> |
11652 | cbradney | 1059 | <translation>deleteLayer("layer") |
7586 | cbradney | 1060 | |
1061 | Löscht die Ebene "layer". Ist die Ebene nicht vorhanden oder ist nur eine |
||
1062 | Ebene vorhanden, passiert gar nichts. |
||
1063 | |||
1064 | Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf, |
||
1065 | Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation> |
||
1066 | </message> |
||
1067 | <message> |
||
11652 | cbradney | 1068 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="311"/> |
1069 | <source>createLayer(layer) |
||
7586 | cbradney | 1070 | |
1071 | Creates a new layer with the name "name". |
||
1072 | |||
11652 | cbradney | 1073 | May raise ValueError if the layer name isn't acceptable. |
7586 | cbradney | 1074 | </source> |
11652 | cbradney | 1075 | <translation>createLayer(layer) |
7586 | cbradney | 1076 | |
1077 | Erzeugt einen Ebene mit dem Namen "layer". |
||
1078 | |||
1079 | Ist der Name ungültig, tritt der Fehler ValueError auf.</translation> |
||
1080 | </message> |
||
1081 | <message> |
||
11652 | cbradney | 1082 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="320"/> |
1083 | <source>getGuiLanguage() -> string |
||
7586 | cbradney | 1084 | |
1085 | Returns a string with the -lang value. |
||
1086 | </source> |
||
11652 | cbradney | 1087 | <translation>getGuiLanguage() -> string |
7586 | cbradney | 1088 | |
1089 | Gibt den Wert der Variable -lang zurück.</translation> |
||
1090 | </message> |
||
1091 | <message> |
||
11652 | cbradney | 1092 | <location filename="../plugins/scriptplugin/cmdobj.h" line="43"/> |
1093 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
||
7586 | cbradney | 1094 | |
1095 | Creates a new ellipse on the current page and returns its name. |
||
1096 | The coordinates are given in the current measurement units of the document |
||
1097 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1098 | because you need this name for further referencing of that object. If "name" |
||
1099 | is not given Scribus will create one for you. |
||
1100 | |||
11652 | cbradney | 1101 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1102 | </source> |
11652 | cbradney | 1103 | <translation>createEllipse(x, y, width, height, ["name"]) -> string |
7586 | cbradney | 1104 | |
1105 | Erzeugt eine Ellipse auf der aktuellen Seite und gibt ihren Namen zurück. Die Koordinaten |
||
1106 | werden in der Masseinheit des Dokuments angegeben (siehe UNIT-Konstanten). "name" sollte |
||
1107 | das Objekt eindeutig identifizieren, weil Sie den Namen für spätere Zwecke brauchen. Ist "name" |
||
1108 | nicht angegeben, erzeugt Scribus einen Namen für das Objekt. |
||
1109 | |||
1110 | Ist der Name schon vorhanden, tritt der Fehler NameExistsError auf.</translation> |
||
1111 | </message> |
||
1112 | <message> |
||
11652 | cbradney | 1113 | <location filename="../plugins/scriptplugin/cmdobj.h" line="60"/> |
1114 | <source>createImage(x, y, width, height, ["name"]) -> string |
||
7586 | cbradney | 1115 | |
1116 | Creates a new picture frame on the current page and returns its name. The |
||
1117 | coordinates are given in the current measurement units of the document. |
||
1118 | "name" should be a unique identifier for the object because you need this |
||
1119 | name for further access to that object. If "name" is not given Scribus will |
||
1120 | create one for you. |
||
1121 | |||
11652 | cbradney | 1122 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1123 | </source> |
11652 | cbradney | 1124 | <translation>createImage(x, y, width, height, ["name"]) -> string |
7586 | cbradney | 1125 | |
1126 | Erzeugt einen Bildrahmen auf der aktuellen Seite und gibt seinen Namen zurück. |
||
1127 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1128 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1129 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1130 | einen Namen für das Objekt fest. |
||
1131 | |||
1132 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.</translation> |
||
1133 | </message> |
||
1134 | <message> |
||
11652 | cbradney | 1135 | <location filename="../plugins/scriptplugin/cmdobj.h" line="75"/> |
1136 | <source>createText(x, y, width, height, ["name"]) -> string |
||
7586 | cbradney | 1137 | |
1138 | Creates a new text frame on the actual page and returns its name. |
||
1139 | The coordinates are given in the actual measurement unit of the document (see |
||
1140 | UNIT constants). "name" should be a unique identifier for the object because |
||
1141 | you need this name for further referencing of that object. If "name" is not |
||
1142 | given Scribus will create one for you. |
||
1143 | |||
11652 | cbradney | 1144 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1145 | </source> |
11652 | cbradney | 1146 | <translation>createText(x, y, width, height, ["name"]) -> string |
7586 | cbradney | 1147 | |
1148 | Erzeugt einen neuen Textrahmen auf der aktuellen Seite und gibt seinen Namen zurück. |
||
1149 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1150 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1151 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1152 | einen Namen für das Objekt fest. |
||
1153 | |||
1154 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.</translation> |
||
1155 | </message> |
||
1156 | <message> |
||
11652 | cbradney | 1157 | <location filename="../plugins/scriptplugin/cmdobj.h" line="90"/> |
1158 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
||
7586 | cbradney | 1159 | |
1160 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1161 | its name. The coordinates are given in the current measurement unit of the |
||
1162 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1163 | object because you need this name for further access to that object. If |
||
1164 | "name" is not given Scribus will create one for you. |
||
1165 | |||
11652 | cbradney | 1166 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1167 | </source> |
11652 | cbradney | 1168 | <translation>createLine(x1, y1, x2, y2, ["name"]) -> string |
7586 | cbradney | 1169 | |
1170 | Erzeugt eine Linie von P(x1,y1) zu P(x2,y2) und gibt ihren Namen zurück. |
||
1171 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1172 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1173 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1174 | einen Namen für das Objekt fest. |
||
1175 | |||
1176 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.</translation> |
||
1177 | </message> |
||
1178 | <message> |
||
11652 | cbradney | 1179 | <location filename="../plugins/scriptplugin/cmdobj.h" line="108"/> |
1180 | <source>createPolyLine(list, ["name"]) -> string |
||
7586 | cbradney | 1181 | |
1182 | Creates a new polyline and returns its name. The points for the polyline are |
||
1183 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1184 | The coordinates are given in the current measurement units of the document (see |
||
1185 | UNIT constants). "name" should be a unique identifier for the object because |
||
1186 | you need this name for further access to that object. If "name" is not given |
||
1187 | Scribus will create one for you. |
||
1188 | |||
11652 | cbradney | 1189 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1190 | May raise ValueError if an insufficient number of points is passed or if |
11652 | cbradney | 1191 | the number of values passed don't group into points without leftovers. |
7586 | cbradney | 1192 | </source> |
11652 | cbradney | 1193 | <translation>createPolyLine(list, ["name"]) -> string |
7586 | cbradney | 1194 | |
1195 | Erzeugt eine Mehrfachlinie und und gibt ihren Namen zurück. Die Punkte werden in |
||
1196 | der folgenden Reihenfolge gespeichert: [x1, y1, x2,...xn, yn]. |
||
1197 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1198 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1199 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1200 | einen Namen für das Objekt fest. |
||
1201 | |||
1202 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf. |
||
1203 | Ist die Anzahl der Punkte nicht genügend, tritt der Fehler ValueError auf.</translation> |
||
1204 | </message> |
||
1205 | <message> |
||
11652 | cbradney | 1206 | <location filename="../plugins/scriptplugin/cmdobj.h" line="128"/> |
1207 | <source>createPolygon(list, ["name"]) -> string |
||
7586 | cbradney | 1208 | |
1209 | Creates a new polygon and returns its name. The points for the polygon are |
||
1210 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1211 | At least three points are required. There is no need to repeat the first point |
||
1212 | to close the polygon. The polygon is automatically closed by connecting the |
||
1213 | first and the last point. The coordinates are given in the current measurement |
||
1214 | units of the document (see UNIT constants). "name" should be a unique |
||
1215 | identifier for the object because you need this name for further access to that |
||
1216 | object. If "name" is not given Scribus will create one for you. |
||
1217 | |||
11652 | cbradney | 1218 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1219 | May raise ValueError if an insufficient number of points is passed or if |
11652 | cbradney | 1220 | the number of values passed don't group into points without leftovers. |
7586 | cbradney | 1221 | </source> |
11652 | cbradney | 1222 | <translation>createPolygon(list, ["name"]) -> string |
7586 | cbradney | 1223 | |
1224 | Erzeugt ein Vieleck und gibt seinen Namen zurück. Die Punkte werden in |
||
1225 | der folgenden Reihenfolge gespeichert: [x1, y1, x2,...xn, yn]. Sie müssen |
||
1226 | mindestens 3 Punkte angeben, aber Sie müssen den ersten Punkt nicht zum |
||
1227 | Schliessen des Polygons erneut angeben - das geschieht automatisch. |
||
1228 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1229 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1230 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1231 | einen Namen für das Objekt fest. |
||
1232 | |||
1233 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf. |
||
1234 | Ist die Anzahl der Punkte nicht ausreichend, tritt der Fehler ValueError auf.</translation> |
||
1235 | </message> |
||
1236 | <message> |
||
11652 | cbradney | 1237 | <location filename="../plugins/scriptplugin/cmdobj.h" line="149"/> |
1238 | <source>createBezierLine(list, ["name"]) -> string |
||
7586 | cbradney | 1239 | |
1240 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1241 | curve are stored in the list "list" in the following order: |
||
1242 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1243 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1244 | and ky meaning the control point for the curve. The coordinates are given in |
||
1245 | the current measurement units of the document (see UNIT constants). "name" |
||
1246 | should be a unique identifier for the object because you need this name for |
||
1247 | further access to that object. If "name" is not given Scribus will create one |
||
1248 | for you. |
||
1249 | |||
11652 | cbradney | 1250 | May raise NameExistsError if you explicitly pass a name that's already used. |
7586 | cbradney | 1251 | May raise ValueError if an insufficient number of points is passed or if |
11652 | cbradney | 1252 | the number of values passed don't group into points without leftovers. |
7586 | cbradney | 1253 | </source> |
11652 | cbradney | 1254 | <translation>createBezierLine(list, ["name"]) -> string |
7586 | cbradney | 1255 | |
1256 | Erzeugt eine Bézierkurve und gibt ihren Namen zurück. Die Punkte werden in |
||
1257 | der folgenden Reihenfolge gespeichert: |
||
1258 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]. |
||
1259 | x und y steht dabei für die X- und Y-Koordinaten und kx und ky steht für den |
||
1260 | Kontrollpunkt der Kurve. |
||
1261 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1262 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1263 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1264 | einen Namen für das Objekt fest. |
||
1265 | |||
1266 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf. |
||
1267 | Ist die Anzahl der Punkte nicht ausreichend, tritt der Fehler ValueError auf.</translation> |
||
1268 | </message> |
||
1269 | <message> |
||
11652 | cbradney | 1270 | <location filename="../plugins/scriptplugin/cmdobj.h" line="165"/> |
1271 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
||
7586 | cbradney | 1272 | |
1273 | Creates a new pathText by merging the two objects "textbox" and |
||
1274 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1275 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1276 | unique identifier for the object because you need this name for further access |
||
1277 | to that object. If "name" is not given Scribus will create one for you. |
||
1278 | |||
11652 | cbradney | 1279 | May raise NameExistsError if you explicitly pass a name that's already used. |
1280 | May raise NotFoundError if one or both of the named base object don't exist. |
||
7586 | cbradney | 1281 | </source> |
11652 | cbradney | 1282 | <translation>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
7586 | cbradney | 1283 | |
1284 | Erzeugt Text auf einem Pfad, indem die Objekte "textbox" und "beziercurve" |
||
1285 | zusammengefügt werden. |
||
1286 | Die Koordinaten werden in der Masseinheit des Dokuments angegeben (siehe |
||
1287 | UNIT-Konstanten). "name" sollte das Objekt eindeutig identifizieren, weil Sie den |
||
1288 | Namen für spätere Zwecke benötigen. Wenn Sie "name" nicht angeben, legt Scribus |
||
1289 | einen Namen für das Objekt fest. |
||
1290 | |||
1291 | Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf. |
||
1292 | Sind ein oder beide Objekte nicht vorhanden, tritt der Fehler NotFoundError auf.</translation> |
||
1293 | </message> |
||
1294 | <message> |
||
11652 | cbradney | 1295 | <location filename="../plugins/scriptplugin/cmdobj.h" line="177"/> |
1296 | <source>deleteObject(["name"]) |
||
7586 | cbradney | 1297 | |
1298 | Deletes the item with the name "name". If "name" is not given the currently |
||
1299 | selected item is deleted. |
||
1300 | </source> |
||
11652 | cbradney | 1301 | <translation>deleteObject(["name"]) |
7586 | cbradney | 1302 | |
1303 | Löscht das Objekt "name". Ist "name" nicht angegeben, wird das aktuelle |
||
1304 | Objekt gelöscht.</translation> |
||
1305 | </message> |
||
1306 | <message> |
||
11652 | cbradney | 1307 | <location filename="../plugins/scriptplugin/cmdobj.h" line="211"/> |
1308 | <source>objectExists(["name"]) -> bool |
||
7586 | cbradney | 1309 | |
1310 | Test if an object with specified name really exists in the document. |
||
1311 | The optional parameter is the object name. When no object name is given, |
||
1312 | returns True if there is something selected. |
||
1313 | </source> |
||
11652 | cbradney | 1314 | <translation>objectExists(["name"]) -> bool |
7586 | cbradney | 1315 | |
1316 | Gibt an, ob das Objekt mit dem Name "name" auch wirklich im aktuellen Dokument |
||
1317 | existiert. "name" ist optional, ist "name" nicht angegeben, wird True ausgegeben, wenn |
||
1318 | gerade ein Objekt selektiert ist.</translation> |
||
1319 | </message> |
||
1320 | <message> |
||
11652 | cbradney | 1321 | <location filename="../plugins/scriptplugin/cmdobj.h" line="227"/> |
1322 | <source>setStyle("style" [, "name"]) |
||
7586 | cbradney | 1323 | |
1324 | Apply the named "style" to the object named "name". If is no object name |
||
11652 | cbradney | 1325 | given, it's applied on the selected object. |
7586 | cbradney | 1326 | </source> |
11652 | cbradney | 1327 | <translation>setStyle("style" [, "name"]) |
7586 | cbradney | 1328 | |
1329 | Setzt den Absatzstil "style" für das Objekt "name". Ist kein Objekt angegeben, |
||
1330 | wird der Stil auf das aktuelle Objekt angewendet.</translation> |
||
1331 | </message> |
||
1332 | <message> |
||
11652 | cbradney | 1333 | <location filename="../plugins/scriptplugin/cmdobj.h" line="240"/> |
1334 | <source>getAllStyles() -> list |
||
7586 | cbradney | 1335 | |
1336 | Return a list of the names of all paragraph styles in the current document. |
||
1337 | </source> |
||
11652 | cbradney | 1338 | <translation>getAllStyles() -> list |
7586 | cbradney | 1339 | |
1340 | Gibt eine Listen mit allen Absatzstilen im aktuellen Dokument zurück.</translation> |
||
1341 | </message> |
||
1342 | <message> |
||
11652 | cbradney | 1343 | <location filename="../plugins/scriptplugin/cmdpage.h" line="36"/> |
1344 | <source>currentPage() -> integer |
||
7586 | cbradney | 1345 | |
1346 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1347 | upwards, no matter what the displayed first page number of your document is. |
||
1348 | </source> |
||
11652 | cbradney | 1349 | <translation>currentPage() -> integer |
7586 | cbradney | 1350 | |
1351 | Gibt die Nummer der aktuellen Seite zurück. Seitenzahlen werden ab 1 gezählt, egal welche |
||
1352 | Seitenzahl auf der aktuellen Seite angezeigt wird.</translation> |
||
1353 | </message> |
||
1354 | <message> |
||
11652 | cbradney | 1355 | <location filename="../plugins/scriptplugin/cmdpage.h" line="45"/> |
1356 | <source>redrawAll() |
||
7586 | cbradney | 1357 | |
1358 | Redraws all pages. |
||
1359 | </source> |
||
11652 | cbradney | 1360 | <translation>redrawAll() |
7586 | cbradney | 1361 | |
1362 | Baut alle Seiten neu auf.</translation> |
||
1363 | </message> |
||
1364 | <message> |
||
11652 | cbradney | 1365 | <location filename="../plugins/scriptplugin/cmdpage.h" line="65"/> |
1366 | <source>savePageAsEPS("name") |
||
7586 | cbradney | 1367 | |
1368 | Saves the current page as an EPS to the file "name". |
||
1369 | |||
1370 | May raise ScribusError if the save failed. |
||
1371 | </source> |
||
11652 | cbradney | 1372 | <translation>savePageAsEPS("name") |
7586 | cbradney | 1373 | |
1374 | Speichert die aktuelle Seite als EPS-Datei mit dem Namen "name". |
||
1375 | |||
1376 | Schlägt das Speichern fehl, tritt der Fehler ScribusError auf.</translation> |
||
1377 | </message> |
||
1378 | <message> |
||
11652 | cbradney | 1379 | <location filename="../plugins/scriptplugin/cmdpage.h" line="78"/> |
1380 | <source>deletePage(nr) |
||
7586 | cbradney | 1381 | |
1382 | Deletes the given page. Does nothing if the document contains only one page. |
||
1383 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1384 | page number is. |
||
1385 | |||
1386 | May raise IndexError if the page number is out of range |
||
1387 | </source> |
||
11652 | cbradney | 1388 | <translation>deletePage(nr) |
7586 | cbradney | 1389 | |
1390 | Löscht die Seite mit der Nummer "nr". Besteht das Dokument nur aus einer Seite, passiert nichts. |
||
1391 | Seitenzahlen werden von 1 aufwärts gezählt, egal, welche Seitenzahl Sie auf der aktuellen Seite |
||
1392 | im Dokument sehen. |
||
1393 | |||
1394 | Ist die Seitenzahl ungültig, tritt der Fehler IndexError auf</translation> |
||
1395 | </message> |
||
1396 | <message> |
||
11890 | christoph | 1397 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.h" line="91"/> |
1398 | <source>gotoPage(nr) |
||
1399 | |||
1400 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
1401 | gotoPage doesn't (curently) change the page the user's view is displaying, it |
||
1402 | just sets the page that script commands will operates on. |
||
1403 | |||
1404 | May raise IndexError if the page number is out of range. |
||
1405 | </source> |
||
1406 | <translation type="obsolete">gotoPage(nr) |
||
1407 | |||
1408 | Geht zur Seite "nr", das heisst, die Seite "nr" wird zur aktuellen Seite. Zur Zeit ändert |
||
1409 | sich allerdings nicht die Seite, die der User sieht, es wird nur intern die aktuelle |
||
1410 | Seite geändert. |
||
1411 | |||
1412 | Ist die Seitenzahl ungültig, tritt der Fehler IndexError auf.</translation> |
||
1413 | </message> |
||
1414 | <message> |
||
11652 | cbradney | 1415 | <location filename="../plugins/scriptplugin/cmdpage.h" line="100"/> |
1416 | <source>pageCount() -> integer |
||
7586 | cbradney | 1417 | |
1418 | Returns the number of pages in the document. |
||
1419 | </source> |
||
11652 | cbradney | 1420 | <translation>pageCount() -> integer |
7586 | cbradney | 1421 | |
1422 | Gibt die Anzahl der Seiten im Dokument zurück.</translation> |
||
1423 | </message> |
||
1424 | <message> |
||
11652 | cbradney | 1425 | <location filename="../plugins/scriptplugin/cmdpage.h" line="110"/> |
1426 | <source>getHGuides() -> list |
||
7586 | cbradney | 1427 | |
1428 | Returns a list containing positions of the horizontal guides. Values are in the |
||
11652 | cbradney | 1429 | document's current units - see UNIT_<type> constants. |
7586 | cbradney | 1430 | </source> |
11652 | cbradney | 1431 | <translation>getHGuides() -> list |
7586 | cbradney | 1432 | |
1433 | Gibt eine Liste zurück, die die Position der horizontalen Hilfslinien enthält. Die Werte |
||
1434 | werden in der Masseinheit des Dokuments angegeben, siehe UNIT-Konstanten.</translation> |
||
1435 | </message> |
||
1436 | <message> |
||
11652 | cbradney | 1437 | <location filename="../plugins/scriptplugin/cmdpage.h" line="123"/> |
1438 | <source>setHGuides(list) |
||
7586 | cbradney | 1439 | |
1440 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
11652 | cbradney | 1441 | measured in the current document units - see UNIT_<type> constants. |
7586 | cbradney | 1442 | |
1443 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1444 | setHGuides([90,250]) # replace current guides entirely |
||
1445 | </source> |
||
11652 | cbradney | 1446 | <translation>setHGuides(list) |
7586 | cbradney | 1447 | |
1448 | Legt horizontale Hilfslinien fest, list muss eine Liste der Linien sein, angegeben in der Masseinheit |
||
1449 | des Dokuments, siehe UNIT-Konstanten. |
||
1450 | |||
1451 | Beispiel: |
||
1452 | setHGuides(getHGuides() + [200.0, 210.0] # fügt eine neue Hilfslinie hinzu |
||
1453 | </translation> |
||
1454 | </message> |
||
1455 | <message> |
||
11652 | cbradney | 1456 | <location filename="../plugins/scriptplugin/cmdpage.h" line="132"/> |
1457 | <source>getVGuides() |
||
7586 | cbradney | 1458 | |
1459 | See getHGuides. |
||
1460 | </source> |
||
11652 | cbradney | 1461 | <translation>getVGuides() |
7586 | cbradney | 1462 | |
1463 | Siehe getHGuides.</translation> |
||
1464 | </message> |
||
1465 | <message> |
||
11652 | cbradney | 1466 | <location filename="../plugins/scriptplugin/cmdpage.h" line="141"/> |
1467 | <source>setVGuides() |
||
7586 | cbradney | 1468 | |
1469 | See setHGuides. |
||
1470 | </source> |
||
11652 | cbradney | 1471 | <translation>setVGuides() |
7586 | cbradney | 1472 | |
1473 | Siehe setHGuides.</translation> |
||
1474 | </message> |
||
1475 | <message> |
||
11652 | cbradney | 1476 | <location filename="../plugins/scriptplugin/cmdpage.h" line="151"/> |
1477 | <source>getPageSize() -> tuple |
||
7586 | cbradney | 1478 | |
11652 | cbradney | 1479 | Returns a tuple with page dimensions measured in the document's current units. |
1480 | See UNIT_<type> constants and getPageMargins() |
||
7586 | cbradney | 1481 | </source> |
11652 | cbradney | 1482 | <translation>getPageSize() -> tuple |
7586 | cbradney | 1483 | |
1484 | Gibt eine Liste mit der Seitengrösse in der aktuellen Masseinheit zurück, siehe |
||
1485 | UNIT-Konstanten und getPageMargins()</translation> |
||
1486 | </message> |
||
1487 | <message> |
||
11652 | cbradney | 1488 | <location filename="../plugins/scriptplugin/cmdpage.h" line="167"/> |
1489 | <source>getPageItems() -> list |
||
7586 | cbradney | 1490 | |
1491 | Returns a list of tuples with items on the current page. The tuple is: |
||
11652 | cbradney | 1492 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
1493 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
7586 | cbradney | 1494 | the page... |
1495 | </source> |
||
11652 | cbradney | 1496 | <translation>getPageItems() -> list |
7586 | cbradney | 1497 | |
1498 | Gibt eine Liste zurück mit den Objekten auf der aktuelle Seite. Die Reihenfolge |
||
1499 | der Werte ist: (Name, Typ des Objekts, Anordnung). |
||
1500 | |||
11652 | cbradney | 1501 | Beispiel: [('Text1', 4, 0), ('Image1', 2, 1)] bedeutet, dass das Objekt Text1 heisst, |
7586 | cbradney | 1502 | ein Textrahmen ist (type 4) und sich auf der ersten Seite befindet...</translation> |
1503 | </message> |
||
1504 | <message> |
||
11652 | cbradney | 1505 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="33"/> |
1506 | <source>setFillColor("color", ["name"]) |
||
7586 | cbradney | 1507 | |
1508 | Sets the fill color of the object "name" to the color "color". "color" |
||
1509 | is the name of one of the defined colors. If "name" is not given the |
||
1510 | currently selected item is used. |
||
1511 | </source> |
||
11652 | cbradney | 1512 | <translation>setFillColor("color", ["name"]) |
7586 | cbradney | 1513 | |
1514 | Setzt die Füllfarbe "color" für das Objekt "name". "color" ist der Name einer |
||
1515 | vorhandenen Farbe. Ist "name" nicht angegeben, wird das aktuelle Objekt |
||
1516 | verwendet.</translation> |
||
1517 | </message> |
||
1518 | <message> |
||
11652 | cbradney | 1519 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="63"/> |
1520 | <source>setLineColor("color", ["name"]) |
||
7586 | cbradney | 1521 | |
1522 | Sets the line color of the object "name" to the color "color". If "name" |
||
1523 | is not given the currently selected item is used. |
||
1524 | </source> |
||
11652 | cbradney | 1525 | <translation>setLineColor("color", ["name"]) |
7586 | cbradney | 1526 | |
1527 | Setzt die Linienfarbe "color" für das Objekt "name". Ist "name" nicht angegeben, |
||
1528 | wird das aktuelle Objekt verwendet.</translation> |
||
1529 | </message> |
||
1530 | <message> |
||
11652 | cbradney | 1531 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="96"/> |
1532 | <source>setLineWidth(width, ["name"]) |
||
7586 | cbradney | 1533 | |
1534 | Sets line width of the object "name" to "width". "width" must be in the |
||
1535 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
1536 | given the currently selected item is used. |
||
1537 | |||
1538 | May raise ValueError if the line width is out of bounds. |
||
1539 | </source> |
||
11652 | cbradney | 1540 | <translation>setLineWidth(width, ["name"]) |
7586 | cbradney | 1541 | |
1542 | Setzt die Linienbreite für das Objekt "name" auf "width". "width" muss zwischen |
||
1543 | 0.0 und 12.0 gross sein und wird in Punkt angegeben. Ist "name" nicht angegeben, |
||
1544 | wird das aktuelle Objekt verwendet. |
||
1545 | |||
1546 | Ist die Linienbreite ungültig, tritt der Fehler ValueError auf.</translation> |
||
1547 | </message> |
||
1548 | <message> |
||
11652 | cbradney | 1549 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="110"/> |
1550 | <source>setLineShade(shade, ["name"]) |
||
7586 | cbradney | 1551 | |
1552 | Sets the shading of the line color of the object "name" to "shade". |
||
1553 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1554 | (full color intensity). If "name" is not given the currently selected item |
||
1555 | is used. |
||
1556 | |||
1557 | May raise ValueError if the line shade is out of bounds. |
||
1558 | </source> |
||
11652 | cbradney | 1559 | <translation>setLineShade(shade, ["name"]) |
7586 | cbradney | 1560 | |
1561 | Setzt den Tonwert der Linie des Objekts "name" auf "shade". "shade" ist eine |
||
1562 | ganze Zahl zwischen 0 und 100. Ist "name" nicht angegeben, wird das aktuelle |
||
1563 | Objekt verwendet. |
||
1564 | |||
1565 | Ist der Tonwert ungültig, tritt der Fehler ValueError auf.</translation> |
||
1566 | </message> |
||
1567 | <message> |
||
11652 | cbradney | 1568 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="121"/> |
1569 | <source>setLineJoin(join, ["name"]) |
||
7586 | cbradney | 1570 | |
1571 | Sets the line join style of the object "name" to the style "join". |
||
1572 | If "name" is not given the currently selected item is used. There are |
||
11652 | cbradney | 1573 | predefined constants for join - JOIN_<type>. |
7586 | cbradney | 1574 | </source> |
11652 | cbradney | 1575 | <translation>setLineJoin(join, ["name"]) |
7586 | cbradney | 1576 | |
1577 | Setzt die Ecken der Linien des Objekts "name" auf den Stil join. |
||
1578 | Ist "name" nicht angegeben, wird das aktuelle Obekt verwendet. |
||
1579 | Benutzen Sie die vorgegeben Konstaten des Typs JOIN_*.</translation> |
||
1580 | </message> |
||
1581 | <message> |
||
11652 | cbradney | 1582 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="132"/> |
1583 | <source>setLineEnd(endtype, ["name"]) |
||
7586 | cbradney | 1584 | |
1585 | Sets the line cap style of the object "name" to the style "cap". |
||
1586 | If "name" is not given the currently selected item is used. There are |
||
11652 | cbradney | 1587 | predefined constants for "cap" - CAP_<type>. |
7586 | cbradney | 1588 | </source> |
11652 | cbradney | 1589 | <translation>SetLineEnd(endtype, ["name"]) |
7586 | cbradney | 1590 | |
1591 | Setzt die Linienenden des Objekts "name" auf den Stil "endtype". |
||
1592 | Ist "name" nicht angegeben, wird das aktuelle Objekt verwendet. |
||
1593 | Benutzen Sie die vorgegebenen Konstanten des Typs CAP_*.</translation> |
||
1594 | </message> |
||
1595 | <message> |
||
11652 | cbradney | 1596 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="143"/> |
1597 | <source>setLineStyle(style, ["name"]) |
||
7586 | cbradney | 1598 | |
1599 | Sets the line style of the object "name" to the style "style". If "name" |
||
1600 | is not given the currently selected item is used. There are predefined |
||
11652 | cbradney | 1601 | constants for "style" - LINE_<style>. |
7586 | cbradney | 1602 | </source> |
11652 | cbradney | 1603 | <translation>setLineStyle(style, ["name"]) |
7586 | cbradney | 1604 | |
1605 | Setzt den Linienstil des Objekts "name" auf den Stil "style". Ist "name" nicht |
||
1606 | angegeben, wird das aktuelle Objekt verwendet. Benutzen Sie die |
||
1607 | vorgegebenen Konstanten des Typs LINE_*.</translation> |
||
1608 | </message> |
||
1609 | <message> |
||
11652 | cbradney | 1610 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="157"/> |
1611 | <source>setFillShade(shade, ["name"]) |
||
7586 | cbradney | 1612 | |
1613 | Sets the shading of the fill color of the object "name" to "shade". |
||
1614 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1615 | (full Color intensity). If "name" is not given the currently selected |
||
1616 | Item is used. |
||
1617 | |||
1618 | May raise ValueError if the fill shade is out of bounds. |
||
1619 | </source> |
||
11652 | cbradney | 1620 | <translation>setFillShade(shade, ["name"]) |
7586 | cbradney | 1621 | |
1622 | Setzt den Tonwert der Füllfarbe für das Objekt "name" auf "shade". |
||
1623 | "shade" muss eine ganze Zahl zwischen 0 und 100 sein. Ist "name" |
||
1624 | nicht angegeben, wird das aktuelle Objekt benutzt. |
||
1625 | |||
1626 | Ist der Tonwert ungültig, tritt der Fehler ValueError auf.</translation> |
||
1627 | </message> |
||
1628 | <message> |
||
11652 | cbradney | 1629 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="169"/> |
1630 | <source>setCornerRadius(radius, ["name"]) |
||
7586 | cbradney | 1631 | |
1632 | Sets the corner radius of the object "name". The radius is expressed |
||
1633 | in points. If "name" is not given the currently selected item is used. |
||
1634 | |||
1635 | May raise ValueError if the corner radius is negative. |
||
1636 | </source> |
||
11652 | cbradney | 1637 | <translation>setCornerRadius(radius, ["name"]) |
7586 | cbradney | 1638 | |
1639 | Setzt den Eckradius für das Objekt "name" auf radius. Der Radius wird |
||
1640 | in Punkt angegeben. Ist "name" nicht angegeben, wird das aktuelle |
||
1641 | Objekt verwendet. |
||
1642 | |||
1643 | Ist der Eckradius negativ, tritt der Fehler ValueError auf.</translation> |
||
1644 | </message> |
||
1645 | <message> |
||
11652 | cbradney | 1646 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="181"/> |
1647 | <source>setMultiLine("namedStyle", ["name"]) |
||
7586 | cbradney | 1648 | |
1649 | Sets the line style of the object "name" to the named style "namedStyle". |
||
1650 | If "name" is not given the currently selected item is used. |
||
1651 | |||
11652 | cbradney | 1652 | May raise NotFoundError if the line style doesn't exist. |
7586 | cbradney | 1653 | </source> |
11652 | cbradney | 1654 | <translation>setMultiLine("namedStyle", ["name"]) |
7586 | cbradney | 1655 | |
1656 | Setzt den Linienstil für das Objekt "name" auf den angegebenen Stil. |
||
1657 | Ist "name" nicht angegeben, wird der aktuelle Stil benutzt. |
||
1658 | |||
1659 | Ist der Stil nicht vorhanden, tritt der Fehler NotFoundError auf.</translation> |
||
1660 | </message> |
||
1661 | <message> |
||
11652 | cbradney | 1662 | <location filename="../plugins/scriptplugin/cmdtext.h" line="35"/> |
1663 | <source>getFont(["name"]) -> string |
||
7586 | cbradney | 1664 | |
1665 | Returns the font name for the text frame "name". If this text frame |
||
1666 | has some text selected the value assigned to the first character |
||
1667 | of the selection is returned. If "name" is not given the currently |
||
1668 | selected item is used. |
||
1669 | </source> |
||
11652 | cbradney | 1670 | <translation>getFont(["name"]) -> string |
7586 | cbradney | 1671 | |
1672 | Gibt den Namen der Schrift für den Textrahmen "name" zurück. Ist in |
||
1673 | dem Textfeld Text ausgewählt, wird die Schrift des ersten gewählten |
||
1674 | Zeichens angegeben. Ist "name" nicht angegeben, wird das aktuelle Objekt |
||
1675 | verwendet.</translation> |
||
1676 | </message> |
||
1677 | <message> |
||
11652 | cbradney | 1678 | <location filename="../plugins/scriptplugin/cmdtext.h" line="45"/> |
1679 | <source>getTextLength(["name"]) -> integer |
||
7586 | cbradney | 1680 | |
1681 | Returns the length of the text in the text frame "name". |
||
1682 | If "name" is not given the currently selected item is used. |
||
1683 | </source> |
||
11652 | cbradney | 1684 | <translation>getTextLength(["name"]) -> integer |
7586 | cbradney | 1685 | |
1686 | Gibt die Länge des Textes im Textrahmen "name" zurück. |
||
1687 | Ist "name" nicht angegeben, wird das aktuelle Objekt verwendet.</translation> |
||
1688 | </message> |
||
1689 | <message> |
||
11652 | cbradney | 1690 | <location filename="../plugins/scriptplugin/cmdtext.h" line="67"/> |
1691 | <source>getText(["name"]) -> string |
||
7586 | cbradney | 1692 | |
1693 | Returns the text of the text frame "name". If this text frame has some text |
||
1694 | selected, the selected text is returned. All text in the frame, not just |
||
1695 | currently visible text, is returned. If "name" is not given the currently |
||
1696 | selected item is used. |
||
1697 | </source> |
||
11652 | cbradney | 1698 | <translation>getText(["name"]) -> string |
7586 | cbradney | 1699 | |
1700 | Gibt den Text aus dem Textrahmen "name" zurück. Ist in dem Textfeld Text markiert, |
||
1701 | wird der selektierte Text zurückgegeben. Der gesamte Text wird zurückgegeben, nicht |
||
1702 | nur der sichtbare Teil des Textes, Ist "name" nicht angegeben, wird das aktuelle |
||
1703 | Objekt verwendet.</translation> |
||
1704 | </message> |
||
1705 | <message> |
||
11652 | cbradney | 1706 | <location filename="../plugins/scriptplugin/cmdtext.h" line="79"/> |
1707 | <source>getAllText(["name"]) -> string |
||
7586 | cbradney | 1708 | |
1709 | Returns the text of the text frame "name" and of all text frames which are |
||
1710 | linked with this frame. If this textframe has some text selected, the selected |
||
1711 | text is returned. If "name" is not given the currently selected item is |
||
1712 | used. |
||
1713 | </source> |
||
11652 | cbradney | 1714 | <translation>getAllText(["name"]) -> string |
7586 | cbradney | 1715 | |
1716 | Gibt den Text aus dem Textrahmen "name" zurück und aus allen Rahmen, die mit |
||
1717 | dem Rahmen "name" verbunden sind. Ist in dem Textfeld Text markiert, |
||
1718 | wird der selektierte Text zurückgegeben. Ist "name" nicht angegeben, wird das aktuelle |
||
1719 | Objekt verwendet.</translation> |
||
1720 | </message> |
||
1721 | <message> |
||
11652 | cbradney | 1722 | <location filename="../plugins/scriptplugin/cmdtext.h" line="89"/> |
1723 | <source>getLineSpacing(["name"]) -> float |
||
7586 | cbradney | 1724 | |
1725 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
1726 | points. If "name" is not given the currently selected item is used. |
||
1727 | </source> |
||
11652 | cbradney | 1728 | <translation>getLineSpacing(["name"]) -> float |
7586 | cbradney | 1729 | |
1730 | Gibt den Zeilenabstand für den Textrahmen "name" in Punkten zurück. |
||
1731 | Ist "name" nicht angegeben, wird das aktuelle Objekt verwendet.</translation> |
||
1732 | </message> |
||
1733 | <message> |
||
11652 | cbradney | 1734 | <location filename="../plugins/scriptplugin/cmdtext.h" line="99"/> |
1735 | <source>getColumnGap(["name"]) -> float |
||
7586 | cbradney | 1736 | |
1737 | Returns the column gap size of the text frame "name" expressed in points. If |
||
1738 | "name" is not given the currently selected item is used. |
||
1739 | </source> |
||
11652 | cbradney | 1740 | <translation>getColumnGap(["name"]) -> float |
7586 | cbradney | 1741 | |
1742 | Gibt den Zeilenabstand für den Text im Rahmen "name" in Punkten zurück. Ist |
||
1743 | "name" nicht angegeben, wird das aktuelle Objekt verwendet.</translation> |
||
1744 | </message> |
||
1745 | <message> |
||
11652 | cbradney | 1746 | <location filename="../plugins/scriptplugin/cmdtext.h" line="109"/> |
1747 | <source>getColumns(["name"]) -> integer |
||
7586 | cbradney | 1748 | |
1749 | Gets the number of columns of the text frame "name". If "name" is not |
||
1750 | given the currently selected item is used. |
||
1751 | </source> |
||
11652 | cbradney | 1752 | <translation>getColumns(["name"]) -> integer |
7586 | cbradney | 1753 | |
1754 | Gibt die Anzahl der Spalten im Textrahmen "name" zurück. Ist "name" nicht |
||
1755 | angegeben, wird das aktuelle Objekt verwendet.</translation> |
||
1756 | </message> |
||
1757 | <message> |
||
11652 | cbradney | 1758 | <location filename="../plugins/scriptplugin/cmdtext.h" line="121"/> |
1759 | <source>setText("text", ["name"]) |
||
7586 | cbradney | 1760 | |
1761 | Sets the text of the text frame "name" to the text of the string "text". |
||
11652 | cbradney | 1762 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
7586 | cbradney | 1763 | for more details. If "name" is not given the currently selected item is |
1764 | used. |
||
1765 | </source> |
||
11652 | cbradney | 1766 | <translation>setText("text", ["name"]) |
7586 | cbradney | 1767 | |
1768 | Ändert den Text im Rahmen "name" auf den String "text". |
||
11652 | cbradney | 1769 | Der Text muss URF8-kodiert sein - verwenden Sie z.B. unicode(text, 'iso-8859-2'). |
7586 | cbradney | 1770 | Lesen Sie in der FAQ nach für weitere Informationen. Ist "name" nicht angegeben, |
1771 | wird der aktuelle Textrahmen verwendet.</translation> |
||
1772 | </message> |
||
1773 | <message> |
||
11652 | cbradney | 1774 | <location filename="../plugins/scriptplugin/cmdtext.h" line="148"/> |
1775 | <source>setFont("font", ["name"]) |
||
7586 | cbradney | 1776 | |
1777 | Sets the font of the text frame "name" to "font". If there is some text |
||
1778 | selected only the selected text is changed. If "name" is not given the |
||
1779 | currently selected item is used. |
||
1780 | |||
1781 | May throw ValueError if the font cannot be found. |
||
1782 | </source> |
||
11652 | cbradney | 1783 | <translation>setFont("font", ["name"]) |
7586 | cbradney | 1784 | |
1785 | Setzt die Schrift für den Rahmen "name" auf "font". Ist Text ausgewählt, |
||
1786 | wird nur die Markierung verändert. Ist "name" nicht angegeben, wird der |
||
1787 | aktuelle Textrahmen verwendet. |
||
1788 | |||
1789 | Ist die Schrift ungültig, wird der Fehler ValueError ausgegeben.</translation> |
||
1790 | </message> |
||
1791 | <message> |
||
11652 | cbradney | 1792 | <location filename="../plugins/scriptplugin/cmdtext.h" line="162"/> |
1793 | <source>setFontSize(size, ["name"]) |
||
7586 | cbradney | 1794 | |
1795 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
1796 | as a value in points. If there is some text selected only the selected text is |
||
1797 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
1798 | currently selected item is used. |
||
1799 | |||
11652 | cbradney | 1800 | May throw ValueError for a font size that's out of bounds. |
7586 | cbradney | 1801 | </source> |
11652 | cbradney | 1802 | <translation>setFontSize(size, ["name"]) |
7586 | cbradney | 1803 | |
1804 | Setzt die Schriftgrösse im Textrahmen "name" auf den Wert "size". "size" ist |
||
1805 | ein Wert in Punkten zwischen 1 und 512. Ist eine Markierung vorhanden, wird |
||
1806 | nur die die Markiertung verändert. Ist "name" nicht angegeben, wird der aktuelle |
||
1807 | Textrahmen verwendet. |
||
1808 | |||
1809 | Ist die Schriftgrösse ungültig, wird der Fehler ValueError ausgegeben.</translation> |
||
1810 | </message> |
||
1811 | <message> |
||
11652 | cbradney | 1812 | <location filename="../plugins/scriptplugin/cmdtext.h" line="175"/> |
1813 | <source>setLineSpacing(size, ["name"]) |
||
7586 | cbradney | 1814 | |
1815 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
1816 | "size" is a value in points. If "name" is not given the currently selected |
||
1817 | item is used. |
||
1818 | |||
1819 | May throw ValueError if the line spacing is out of bounds. |
||
1820 | </source> |
||
11652 | cbradney | 1821 | <translation>setLineSpacing(size, ["name"]) |
7586 | cbradney | 1822 | |
1823 | Setzt den Zeilenabstand im Rahmen "name" auf den Wert "size". |
||
1824 | "size" ist ein Wert in Punkten. Ist "name" nicht angegeben, wird der |
||
1825 | aktuelle Textrahmen verwendet. |
||
1826 | |||
1827 | Ist der Wert für Zeilenabstand ungültig, wird der Fehler ValueError |
||
1828 | ausgegeben.</translation> |
||
1829 | </message> |
||
1830 | <message> |
||
11652 | cbradney | 1831 | <location filename="../plugins/scriptplugin/cmdtext.h" line="187"/> |
1832 | <source>setColumnGap(size, ["name"]) |
||
7586 | cbradney | 1833 | |
1834 | Sets the column gap of the text frame "name" to the value "size". If |
||
1835 | "name" is not given the currently selected item is used. |
||
1836 | |||
1837 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
1838 | </source> |
||
11652 | cbradney | 1839 | <translation>setColumnGap(size, ["name"]) |
7586 | cbradney | 1840 | |
1841 | Setzt den Spaltenabstand im Rahmen "name" auf den Wert "size". |
||
1842 | Ist "name" nicht angegeben, wird der aktuelle Textrahmen verwendet. |
||
1843 | |||
1844 | Ist der Abstand nicht positiv, wird der Fehler ValueError ausgegeben.</translation> |
||
1845 | </message> |
||
1846 | <message> |
||
11652 | cbradney | 1847 | <location filename="../plugins/scriptplugin/cmdtext.h" line="199"/> |
1848 | <source>setColumns(nr, ["name"]) |
||
7586 | cbradney | 1849 | |
1850 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
1851 | If "name" is not given the currently selected item is used. |
||
1852 | |||
1853 | May throw ValueError if number of columns is not at least one. |
||
1854 | </source> |
||
11652 | cbradney | 1855 | <translation>setColumns(nr, ["name"]) |
7586 | cbradney | 1856 | |
1857 | Legt die Anzahl der Spalten im Textrahmen "name" fest auf "nr" fest. |
||
1858 | Wenn "name" nicht angegeben ist, wird der aktuelle Textrahmen verwendet. |
||
1859 | |||
1860 | Ist die Anzahl der Spalten kleiner als 1, wird der Fehler ValueError ausgegeben.</translation> |
||
1861 | </message> |
||
1862 | <message> |
||
11652 | cbradney | 1863 | <location filename="../plugins/scriptplugin/cmdtext.h" line="212"/> |
1864 | <source>setTextAlignment(align, ["name"]) |
||
7586 | cbradney | 1865 | |
1866 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
1867 | If "name" is not given the currently selected item is used. "align" should |
||
1868 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
1869 | |||
1870 | May throw ValueError for an invalid alignment constant. |
||
1871 | </source> |
||
11652 | cbradney | 1872 | <translation>setTextAlignment(align, ["name"]) |
7586 | cbradney | 1873 | |
1874 | Richtet den Text in dem Objekt "name" nach der Art "align" aus. Ist "name" |
||
1875 | nicht angegeben, wird der aktuelle Textrahmen verwendet. "align" ist eine der |
||
1876 | ALIGN_*-Konstanten. Siehe dir(scribus). |
||
1877 | |||
1878 | Bei einem falschen Argument wird der Fehler ValueError ausgegeben.</translation> |
||
1879 | </message> |
||
1880 | <message> |
||
11652 | cbradney | 1881 | <location filename="../plugins/scriptplugin/cmdtext.h" line="226"/> |
1882 | <source>selectText(start, count, ["name"]) |
||
7586 | cbradney | 1883 | |
1884 | Selects "count" characters of text in the text frame "name" starting from the |
||
1885 | character "start". Character counting starts at 0. If "count" is zero, any |
||
1886 | text selection will be cleared. If "name" is not given the currently |
||
1887 | selected item is used. |
||
1888 | |||
1889 | May throw IndexError if the selection is outside the bounds of the text. |
||
1890 | </source> |
||
11652 | cbradney | 1891 | <translation>selectText(start, count, ["name"]) |
7586 | cbradney | 1892 | |
1893 | Markiert "count" Zeichen des Textrahmens "name" beginnend mit dem Zeichen "start". |
||
1894 | Die Zählung beginnt bei 0. Wenn "count"=0 ist, wird die Markierung gelöscht. Wenn "name" |
||
1895 | nicht angegeben ist, wird der aktuelle Textrahmen verwendet. |
||
1896 | |||
1897 | Wenn die Werte ungültig sind, wird der Fehler IndexError ausgegeben.</translation> |
||
1898 | </message> |
||
1899 | <message> |
||
11652 | cbradney | 1900 | <location filename="../plugins/scriptplugin/cmdtext.h" line="237"/> |
1901 | <source>deleteText(["name"]) |
||
7586 | cbradney | 1902 | |
1903 | Deletes any text in the text frame "name". If there is some text selected, |
||
1904 | only the selected text will be deleted. If "name" is not given the currently |
||
1905 | selected item is used. |
||
1906 | </source> |
||
11652 | cbradney | 1907 | <translation>deleteText(["name"]) |
7586 | cbradney | 1908 | |
1909 | Löscht den Textrahmen "name". Wenn Text ausgewählt ist, wird nur die Markierung |
||
1910 | gelöscht. Ist "name" nicht angegeben, wird der aktuelle Textrahmen gelöscht.</translation> |
||
1911 | </message> |
||
1912 | <message> |
||
11652 | cbradney | 1913 | <location filename="../plugins/scriptplugin/cmdtext.h" line="248"/> |
1914 | <source>setTextColor("color", ["name"]) |
||
7586 | cbradney | 1915 | |
1916 | Sets the text color of the text frame "name" to the color "color". If there |
||
1917 | is some text selected only the selected text is changed. If "name" is not |
||
1918 | given the currently selected item is used. |
||
1919 | </source> |
||
11652 | cbradney | 1920 | <translation>setTextColor("color", ["name"]) |
7586 | cbradney | 1921 | |
1922 | Ändert die Farbe des Textes auf "color". Wenn Text ausgewählt ist, wird die |
||
1923 | Markierung auf "color" geändert. Ist "name" nicht angegeben, wird der aktuelle |
||
1924 | Textrahmen verwendet.</translation> |
||
1925 | </message> |
||
1926 | <message> |
||
11652 | cbradney | 1927 | <location filename="../plugins/scriptplugin/cmdtext.h" line="258"/> |
1928 | <source>setTextStroke("color", ["name"]) |
||
7586 | cbradney | 1929 | |
1930 | Set "color" of the text stroke. If "name" is not given the currently |
||
1931 | selected item is used. |
||
1932 | </source> |
||
11652 | cbradney | 1933 | <translation>setTextStroke("color", ["name"]) |
7586 | cbradney | 1934 | |
1935 | Setzt die Farbe "color" für die Umrandung des Textes. Ist "name" nicht angegeben, wird der aktuelle |
||
1936 | Textrahmen verwendet.</translation> |
||
1937 | </message> |
||
1938 | <message> |
||
11652 | cbradney | 1939 | <location filename="../plugins/scriptplugin/cmdtext.h" line="271"/> |
1940 | <source>setTextShade(shade, ["name"]) |
||
7586 | cbradney | 1941 | |
1942 | Sets the shading of the text color of the object "name" to "shade". If |
||
1943 | there is some text selected only the selected text is changed. "shade" must |
||
1944 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
1945 | intensity). If "name" is not given the currently selected item is |
||
1946 | used. |
||
1947 | </source> |
||
11652 | cbradney | 1948 | <translation>setTextShade(shade, ["name"]) |
7586 | cbradney | 1949 | |
1950 | Setzt den Tonwert für den Textrahmen "name" auf "shade". |
||
1951 | Ist Text in dem Rahmen ausgewählt, wird nur der ausgewählt Text |
||
1952 | verändert. "shade" muss eine ganze Zahl zwischen 0 und 100 sein. |
||
1953 | Ist "name" nicht vorhanden oder angegeben, wird der aktuelle Rahmen verwendet.</translation> |
||
1954 | </message> |
||
1955 | <message> |
||
11652 | cbradney | 1956 | <location filename="../plugins/scriptplugin/cmdtext.h" line="284"/> |
1957 | <source>linkTextFrames("fromname", "toname") |
||
7586 | cbradney | 1958 | |
1959 | Link two text frames. The frame named "fromname" is linked to the |
||
1960 | frame named "toname". The target frame must be an empty text frame |
||
1961 | and must not link to or be linked from any other frames already. |
||
1962 | |||
1963 | May throw ScribusException if linking rules are violated. |
||
1964 | </source> |
||
11652 | cbradney | 1965 | <translation>linkTextFrames("fromname", "toname") |
7586 | cbradney | 1966 | |
1967 | Zwei Textrahmen verketten. "Fromname" wird mit "Toname" verkettet. Der Zielrahmen |
||
1968 | muss leer sein und darf nicht mit anderen Rahmen verkettet sein. |
||
1969 | |||
1970 | Werden die Regeln verletzt, erscheint der Fehler ScribusException.</translation> |
||
1971 | </message> |
||
1972 | <message> |
||
11652 | cbradney | 1973 | <location filename="../plugins/scriptplugin/cmdtext.h" line="301"/> |
1974 | <source>unlinkTextFrames("name") |
||
7586 | cbradney | 1975 | |
1976 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
1977 | frame was in the middle of a chain, the previous and next frames will be |
||
11652 | cbradney | 1978 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
7586 | cbradney | 1979 | |
1980 | May throw ScribusException if linking rules are violated. |
||
1981 | </source> |
||
11652 | cbradney | 1982 | <translation>unlinkTextFrames("name") |
7586 | cbradney | 1983 | |
1984 | Entfernt den Textrahmen "name" aus der Reihe der verketteten Rahmen. Ist der |
||
1985 | zu entfernende Rahmen einer aus der Mitte der Reihe, wird der vorherige und nächste |
||
11652 | cbradney | 1986 | Rahmen miteinander verkettet, z.B. wird aus a->b->c dann a->c, wenn Sie Rahmen b |
7586 | cbradney | 1987 | entfernen. |
1988 | |||
1989 | Wenn die Verkettungsregeln gebrochen werden, erscheint der Fehler ScribusException.</translation> |
||
1990 | </message> |
||
1991 | <message> |
||
11652 | cbradney | 1992 | <location filename="../plugins/scriptplugin/cmdtext.h" line="314"/> |
1993 | <source>traceText(["name"]) |
||
7586 | cbradney | 1994 | |
1995 | Convert the text frame "name" to outlines. If "name" is not given the |
||
1996 | currently selected item is used.</source> |
||
11652 | cbradney | 1997 | <translation>traceText(["name"]) |
7586 | cbradney | 1998 | |
1999 | Konvertiert den Textrahmen "name" in Umrisse. Ist "name" nicht vorhanden oder |
||
2000 | vorgegeben, wird der aktuelle Textrahmen verwendet.</translation> |
||
2001 | </message> |
||
2002 | <message> |
||
11652 | cbradney | 2003 | <location filename="../plugins/scriptplugin/guiapp.h" line="34"/> |
2004 | <source>progressReset() |
||
7586 | cbradney | 2005 | |
2006 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
2007 | new progress bar use. See progressSet. |
||
2008 | </source> |
||
11652 | cbradney | 2009 | <translation>progressReset() |
7586 | cbradney | 2010 | |
2011 | Löscht die Fortschrittsanzeige. Wird aufgerufen, bevor eine neue Verlaufsanzeige benutzt wird. |
||
7919 | mrdocs | 2012 | Siehe progressSet.</translation> |
7586 | cbradney | 2013 | </message> |
2014 | <message> |
||
11652 | cbradney | 2015 | <location filename="../plugins/scriptplugin/guiapp.h" line="47"/> |
2016 | <source>progressTotal(max) |
||
7586 | cbradney | 2017 | |
11652 | cbradney | 2018 | Sets the progress bar's maximum steps value to the specified number. |
7586 | cbradney | 2019 | See progressSet. |
2020 | </source> |
||
11652 | cbradney | 2021 | <translation>progressTotal(max) |
7586 | cbradney | 2022 | |
2023 | Setzt die Gesamtzahl der Schritte für die Fortschrittsanzeige. Siehe progressSet.</translation> |
||
2024 | </message> |
||
2025 | <message> |
||
11652 | cbradney | 2026 | <location filename="../plugins/scriptplugin/guiapp.h" line="61"/> |
2027 | <source>progressSet(nr) |
||
7586 | cbradney | 2028 | |
2029 | Set the progress bar position to "nr", a value relative to the previously set |
||
2030 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
2031 | total number of steps and the number of steps completed so far and it will |
||
2032 | display the percentage of steps that have been completed. You can specify the |
||
2033 | total number of steps with progressTotal(). The current number of steps is set |
||
2034 | with progressSet(). The progress bar can be rewound to the beginning with |
||
11652 | cbradney | 2035 | progressReset(). [based on info taken from Trolltech's Qt docs] |
7586 | cbradney | 2036 | </source> |
11652 | cbradney | 2037 | <translation>progressSet(nr) |
7586 | cbradney | 2038 | |
2039 | Die Fortschrittsanzeigen auf "nr" setzen, ein Wert relativ zum vorher festgelegten Wert |
||
2040 | für progressTotal. Die Fortschrittsanzeige verwendet Schritte zum Anzeigen des Verlaufs: |
||
2041 | Sie geben die Gesamtzahl der Schritte an und dann immer die fertigen Schritte - die Verlaufs- |
||
2042 | anzeige zeigt immer den Prozentsatz der fertigen Schritte an. Die Gesamtzahl der Schritte können |
||
2043 | Sie mit progressTotal() festlegen, die aktuelle Zahl der Schritte mit progressSet(). |
||
2044 | Die Fortschrittsanzeige kann mit progressReset() zurückgesetzt werden. [Infos sind aus den |
||
2045 | Dokumenten von Trolltech Qt]</translation> |
||
2046 | </message> |
||
2047 | <message> |
||
11652 | cbradney | 2048 | <location filename="../plugins/scriptplugin/guiapp.h" line="69"/> |
2049 | <source>setCursor() |
||
7586 | cbradney | 2050 | |
2051 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
2052 | </source> |
||
11652 | cbradney | 2053 | <translation>setCursor() |
7586 | cbradney | 2054 | |
2055 | [nicht unterstützt!] Bitte verwenden Sie diese Funktion zur Zeit noch nicht.</translation> |
||
2056 | </message> |
||
2057 | <message> |
||
11652 | cbradney | 2058 | <location filename="../plugins/scriptplugin/guiapp.h" line="83"/> |
2059 | <source>docChanged(bool) |
||
7586 | cbradney | 2060 | |
11652 | cbradney | 2061 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
2062 | useful to call this procedure when you're changing the document, because Scribus |
||
2063 | won't automatically notice when you change the document using a script. |
||
7586 | cbradney | 2064 | </source> |
11652 | cbradney | 2065 | <translation>docChanged(bool) |
7586 | cbradney | 2066 | |
2067 | Aktiviert/Deaktivert das Icon zum Speichern und den entsprechenden Eintrag im Datei-Menü. |
||
2068 | Wenn Sie ein Dokument verändert ist es hilfreich, diese Funktion aufzurufen, weil Scribus im Script- |
||
2069 | Modus nicht automatisch erkennt, wann ein Dokument verändert wurde.</translation> |
||
2070 | </message> |
||
2071 | <message> |
||
11652 | cbradney | 2072 | <location filename="../plugins/scriptplugin/cmdmani.h" line="199"/> |
2073 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
||
7586 | cbradney | 2074 | |
11652 | cbradney | 2075 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
2076 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
2077 | Both `scaletoframe' and `proportional' are boolean. |
||
7586 | cbradney | 2078 | |
2079 | May raise WrongFrameTypeError. |
||
2080 | </source> |
||
11652 | cbradney | 2081 | <translation>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
7586 | cbradney | 2082 | |
2083 | Setzt die Eigenschaft An Rahmen anpassen für den gewählten Bildrahmen oder angegebenen |
||
2084 | Bildrahmen. |
||
11652 | cbradney | 2085 | 'proportional' verkleinert das Bild proportional zur ursprünglichen Grösse. |
2086 | Sowohl 'scaletoframe' als auch 'proportional' sind boolsche Werte. |
||
7586 | cbradney | 2087 | |
2088 | Kann den Fehler WrongFrameTypeError verursachen.</translation> |
||
2089 | </message> |
||
2090 | <message> |
||
11652 | cbradney | 2091 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="222"/> |
2092 | <source>isLayerPrintable("layer") -> bool |
||
7586 | cbradney | 2093 | |
2094 | Returns whether the layer "layer" is printable or not, a value of True means |
||
2095 | that the layer "layer" can be printed, a value of False means that printing |
||
2096 | the layer "layer" is disabled. |
||
2097 | |||
11652 | cbradney | 2098 | May raise NotFoundError if the layer can't be found. |
2099 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2100 | </source> |
11652 | cbradney | 2101 | <translation>isLayerPrintable("layer") -> bool |
7586 | cbradney | 2102 | |
2103 | Gibt zurück, ob die Ebene gedruckt wird oder nicht. True bedeutet, dass die Ebene |
||
2104 | gedruckt wird, False bedeutet, dass das Drucken deaktiviert ist. |
||
2105 | |||
2106 | Der Fehler NotFoundError tritt auf, wenn die Ebene nicht existiert. |
||
2107 | Der Fehler ValueError tritt auf, wenn der Ebenenname ungültig ist.</translation> |
||
2108 | </message> |
||
2109 | <message> |
||
11652 | cbradney | 2110 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="62"/> |
2111 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
||
7586 | cbradney | 2112 | |
2113 | Creates an image preview of font "name" with given text "sample" and size. |
||
2114 | If "filename" is not "", image is saved into "filename". Otherwise |
||
2115 | image data is returned as a string. The optional "format" argument |
||
2116 | specifies the image format to generate, and supports any format allowed |
||
2117 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
2118 | |||
11652 | cbradney | 2119 | May raise NotFoundError if the specified font can't be found. |
7586 | cbradney | 2120 | May raise ValueError if an empty sample or filename is passed. |
2121 | </source> |
||
11652 | cbradney | 2122 | <translation>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
7586 | cbradney | 2123 | |
2124 | Erzeugt ein Bild mit dem Text "sample" in der Schrift "font" und der Grösse "size". |
||
2125 | Ist "filename" angegeben, wird das Bild unter "filename" abgespeichert. Ansonsten |
||
2126 | werden die Bilddaten als String zurückgegeben. Das optionale Argument "format" gibt |
||
2127 | an, welches Bildformat generiert werden soll. Unterstützt werden die Formate, die auch |
||
2128 | QPixmap.save() kennt, zum Beispiel PPM, JPEG, PNG und XPM. |
||
2129 | |||
2130 | Der Fehler NotFoundError tritt auf, wenn die Schrift nicht gefunden wird. |
||
2131 | Der Fehler ValueError tritt auf, wenn "sample" leer ist oder der Dateiname ungültig ist.</translation> |
||
2132 | </message> |
||
2133 | <message> |
||
11890 | christoph | 2134 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmdtext.h" line="342"/> |
2135 | <source>setPDFBookmark("toggle", ["name"]) |
||
2136 | |||
2137 | Sets wether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
2138 | If "name" is not given the currently selected item is used. |
||
2139 | |||
2140 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2141 | </source> |
||
2142 | <translation type="obsolete">setPDFBookmark("toggle", ["name"]) |
||
2143 | |||
2144 | Legt fest (toggle=1), ob der Textrahmen "name" ein Lesezeichen ist oder nicht. |
||
2145 | Ist "name" nicht angegeben, wird der aktuelle Textrahmen verwendet. |
||
2146 | |||
2147 | Der Fehler WrongFrameTypeError tritt auf, wenn der Zielrahmen kein Textrahmen ist</translation> |
||
2148 | </message> |
||
2149 | <message> |
||
11652 | cbradney | 2150 | <location filename="../plugins/scriptplugin/cmdtext.h" line="382"/> |
2151 | <source>isPDFBookmark(["name"]) -> bool |
||
7586 | cbradney | 2152 | |
2153 | Returns true if the text frame "name" is a PDF bookmark. |
||
2154 | If "name" is not given the currently selected item is used. |
||
2155 | |||
2156 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2157 | </source> |
||
11652 | cbradney | 2158 | <translation>isPDFBookmark(["name"]) -> bool |
7586 | cbradney | 2159 | |
2160 | Gibt zurück, ob der Textrahmen "name" ein PDF-Lesezeichen ist. |
||
2161 | Ist "name" nicht angegeben, wird der aktuelle Textrahmen verwendet. |
||
2162 | |||
2163 | Der Fehler WrongFrameTypeError tritt auf, wenn der Zielrahmen kein Textrahmen ist</translation> |
||
2164 | </message> |
||
2165 | <message> |
||
11652 | cbradney | 2166 | <location filename="../plugins/scriptplugin/cmdpage.h" line="181"/> |
2167 | <source>getPageMargins() |
||
7586 | cbradney | 2168 | |
2169 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
11652 | cbradney | 2170 | units. See UNIT_<type> constants and getPageSize(). |
7586 | cbradney | 2171 | </source> |
11652 | cbradney | 2172 | <translation>getPageMargins() |
7586 | cbradney | 2173 | |
2174 | Gibt die Seitenränder als ein Tupel in der gerade aktiven Einheit zurück (oben, unten, links, rechts). |
||
11652 | cbradney | 2175 | Mögliche Einheiten finden Sie bei UNIT_<tye> und getPageSize(). |
7586 | cbradney | 2176 | </translation> |
2177 | </message> |
||
2178 | <message> |
||
11652 | cbradney | 2179 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="50"/> |
2180 | <source>getColorAsRGB("name") -> tuple |
||
7586 | cbradney | 2181 | |
2182 | Returns a tuple (R,G,B) containing the three color components of the |
||
2183 | color "name" from the current document, converted to the RGB color |
||
2184 | space. If no document is open, returns the value of the named color |
||
2185 | from the default document colors. |
||
2186 | |||
11652 | cbradney | 2187 | May raise NotFoundError if the named color wasn't found. |
7586 | cbradney | 2188 | May raise ValueError if an invalid color name is specified. |
2189 | </source> |
||
11652 | cbradney | 2190 | <translation>getColorAsRGB("name") -> tuple |
7586 | cbradney | 2191 | |
2192 | Returns a tuple (R,G,B) containing the three color components of the |
||
2193 | color "name" from the current document, converted to the RGB color |
||
2194 | space. If no document is open, returns the value of the named color |
||
2195 | from the default document colors. |
||
2196 | |||
11652 | cbradney | 2197 | May raise NotFoundError if the named color wasn't found. |
7586 | cbradney | 2198 | May raise ValueError if an invalid color name is specified.</translation> |
2199 | </message> |
||
2200 | <message> |
||
11890 | christoph | 2201 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmddialog.h" line="46"/> |
2202 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
||
2203 | |||
2204 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
2205 | with the filter string "filter". A default filename or file path can also |
||
2206 | supplied, leave this string empty when you don't want to use it. A value of |
||
2207 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
2208 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
2209 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
2210 | the dialog shows and returns only directories. The default for all of the |
||
2211 | opional parameters is False. |
||
2212 | |||
2213 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
||
2214 | For example 'Images (*.png *.xpm *.jpg)'. |
||
2215 | |||
2216 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
2217 | |||
2218 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
||
2219 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
2220 | </source> |
||
2221 | <translation type="obsolete">fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
||
2222 | |||
2223 | Zeigt einen Datei öffnen-Dialog mit der Beschriftung "caption". Dateien werden |
||
2224 | gefiltert mit dem String "filter". Ein Standard-Dateiname oder -pfad kann auch |
||
2225 | angegeben werden. Lassen Sie diesen String leer, wenn Sie ihn nicht verwenden |
||
2226 | möchten. Der Wert "True" für "haspreview" aktiviert die Dateivorschau im FileSelect- |
||
2227 | Dialog. Wenn der "issave"-Parameter den Wert "True" hat, verhält sich der Dialog wie |
||
2228 | der "Speichern unter"-Dialog, ansonsten wie der "Date öffnen"-Dialog. Wenn der "isdir"- |
||
2229 | Parameter den Wert "True" hat, zeigt der Dialog lediglich Verzeichnisse an. Der Standard- |
||
2230 | wert aller optionalen Parameter ist "False"</translation> |
||
2231 | </message> |
||
2232 | <message> |
||
11652 | cbradney | 2233 | <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="83"/> |
2234 | <source>getPropertyCType(object, property, includesuper=True) |
||
7586 | cbradney | 2235 | |
11652 | cbradney | 2236 | Returns the name of the C type of `property' of `object'. See getProperty() |
7586 | cbradney | 2237 | for details of arguments. |
2238 | |||
11652 | cbradney | 2239 | If `includesuper' is true, search inherited properties too. |
7586 | cbradney | 2240 | </source> |
11652 | cbradney | 2241 | <translation>getPropertyCType(object, property, includesuper=True) |
7586 | cbradney | 2242 | |
11652 | cbradney | 2243 | Returns the name of the C type of `property' of `object'. See getProperty() |
7586 | cbradney | 2244 | for details of arguments. |
2245 | |||
11652 | cbradney | 2246 | If `includesuper' is true, search inherited properties too.</translation> |
7586 | cbradney | 2247 | </message> |
2248 | <message> |
||
11652 | cbradney | 2249 | <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="101"/> |
2250 | <source>getPropertyNames(object, includesuper=True) |
||
7586 | cbradney | 2251 | |
11652 | cbradney | 2252 | Return a list of property names supported by `object'. |
2253 | If `includesuper' is true, return properties supported |
||
7586 | cbradney | 2254 | by parent classes as well. |
2255 | </source> |
||
11652 | cbradney | 2256 | <translation>getPropertyNames(object, includesuper=True) |
7586 | cbradney | 2257 | |
11652 | cbradney | 2258 | Return a list of property names supported by `object'. |
2259 | If `includesuper' is true, return properties supported |
||
7586 | cbradney | 2260 | by parent classes as well.</translation> |
2261 | </message> |
||
2262 | <message> |
||
11652 | cbradney | 2263 | <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="135"/> |
2264 | <source>getProperty(object, property) |
||
7586 | cbradney | 2265 | |
11652 | cbradney | 2266 | Return the value of the property `property' of the passed `object'. |
7586 | cbradney | 2267 | |
11652 | cbradney | 2268 | The `object' argument may be a string, in which case the named PageItem |
7586 | cbradney | 2269 | is searched for. It may also be a PyCObject, which may point to any |
2270 | C++ QObject instance. |
||
2271 | |||
11652 | cbradney | 2272 | The `property' argument must be a string, and is the name of the property |
2273 | to look up on `object'. |
||
7586 | cbradney | 2274 | |
2275 | The return value varies depending on the type of the property. |
||
2276 | </source> |
||
11652 | cbradney | 2277 | <translation>getProperty(object, property) |
7586 | cbradney | 2278 | |
11652 | cbradney | 2279 | Return the value of the property `property' of the passed `object'. |
7586 | cbradney | 2280 | |
11652 | cbradney | 2281 | The `object' argument may be a string, in which case the named PageItem |
7586 | cbradney | 2282 | is searched for. It may also be a PyCObject, which may point to any |
2283 | C++ QObject instance. |
||
2284 | |||
11652 | cbradney | 2285 | The `property' argument must be a string, and is the name of the property |
2286 | to look up on `object'. |
||
7586 | cbradney | 2287 | |
2288 | The return value varies depending on the type of the property.</translation> |
||
2289 | </message> |
||
2290 | <message> |
||
11652 | cbradney | 2291 | <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="165"/> |
2292 | <source>setProperty(object, property, value) |
||
7586 | cbradney | 2293 | |
11652 | cbradney | 2294 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
2295 | compatible with the type of `property', an exception is raised. An exception may |
||
7586 | cbradney | 2296 | also be raised if the underlying setter fails. |
2297 | |||
2298 | See getProperty() for more information. |
||
2299 | </source> |
||
11652 | cbradney | 2300 | <translation>setProperty(object, property, value) |
7586 | cbradney | 2301 | |
11652 | cbradney | 2302 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
2303 | compatible with the type of `property', an exception is raised. An exception may |
||
7586 | cbradney | 2304 | also be raised if the underlying setter fails. |
2305 | |||
2306 | See getProperty() for more information.</translation> |
||
2307 | </message> |
||
2308 | <message> |
||
11890 | christoph | 2309 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmdgetsetprop.h" line="184"/> |
2310 | <source>getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
||
2311 | |||
2312 | Return a list of children of `object', possibly restricted to children |
||
2313 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
2314 | search recursively through children, grandchildren, etc. |
||
2315 | |||
2316 | See QObject::children() in the Qt docs for more information. |
||
2317 | </source> |
||
2318 | <translation type="obsolete">getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
||
2319 | |||
2320 | Return a list of children of `object', possibly restricted to children |
||
2321 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
2322 | search recursively through children, grandchildren, etc. |
||
2323 | |||
2324 | See QObject::children() in the Qt docs for more information.</translation> |
||
2325 | </message> |
||
2326 | <message> |
||
2327 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/scriptplugin/cmdgetsetprop.h" line="201"/> |
||
2328 | <source>getChild(object, childname, ofclass=None, recursive=True) |
||
2329 | |||
2330 | Return the first child of `object' named `childname', possibly restricting |
||
2331 | the search to children of type name `ofclass'. If `recursive' is true, |
||
2332 | search recursively through children, grandchildren, etc. |
||
2333 | </source> |
||
2334 | <translation type="obsolete">getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
||
2335 | |||
2336 | Return a list of children of `object', possibly restricted to children |
||
2337 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
2338 | search recursively through children, grandchildren, etc. |
||
2339 | |||
2340 | See QObject::children() in the Qt docs for more information.</translation> |
||
2341 | </message> |
||
2342 | <message> |
||
11652 | cbradney | 2343 | <location filename="../plugins/scriptplugin/cmdtext.h" line="328"/> |
2344 | <source>textOverflows(["name", nolinks]) -> integer |
||
7586 | cbradney | 2345 | |
2346 | Returns the actual number of overflowing characters in text frame "name". |
||
11652 | cbradney | 2347 | If is nolinks set to non zero value it takes only one frame - it doesn't |
7586 | cbradney | 2348 | use text frame linking. Without this parameter it search all linking chain. |
2349 | |||
2350 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2351 | </source> |
||
11652 | cbradney | 2352 | <translation>isLayerPrintable("layer") -> bool |
7586 | cbradney | 2353 | |
2354 | Returns whether the layer "layer" is visible or not, a value of True means |
||
2355 | that the layer "layer" is visible, a value of False means that the layer |
||
2356 | "layer" is invisible. |
||
2357 | |||
11652 | cbradney | 2358 | May raise NotFoundError if the layer can't be found. |
2359 | May raise ValueError if the layer name isn't acceptable</translation> |
||
7586 | cbradney | 2360 | </message> |
2361 | <message> |
||
11652 | cbradney | 2362 | <location filename="../plugins/scriptplugin/cmddialog.h" line="111"/> |
2363 | <source>newStyleDialog() -> string |
||
7586 | cbradney | 2364 | |
11652 | cbradney | 2365 | Shows 'Create new paragraph style' dialog. Function returns real |
7586 | cbradney | 2366 | style name or None when user cancels the dialog. |
2367 | </source> |
||
11652 | cbradney | 2368 | <translation>isLayerPrintable("layer") -> bool |
7586 | cbradney | 2369 | |
2370 | Returns whether the layer "layer" is visible or not, a value of True means |
||
2371 | that the layer "layer" is visible, a value of False means that the layer |
||
2372 | "layer" is invisible. |
||
2373 | |||
11652 | cbradney | 2374 | May raise NotFoundError if the layer can't be found. |
2375 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2376 | </message> |
2377 | <message> |
||
11652 | cbradney | 2378 | <location filename="../plugins/scriptplugin/cmddoc.h" line="96"/> |
2379 | <source>newDoc(size, margins, orientation, firstPageNumber, |
||
2380 | unit, facingPages, firstSideLeft) -> bool |
||
7586 | cbradney | 2381 | |
2382 | WARNING: Obsolete procedure! Use newDocument instead. |
||
2383 | |||
2384 | Creates a new document and returns true if successful. The parameters have the |
||
2385 | following meaning: |
||
2386 | |||
2387 | size = A tuple (width, height) describing the size of the document. You can |
||
11652 | cbradney | 2388 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
7586 | cbradney | 2389 | |
2390 | margins = A tuple (left, right, top, bottom) describing the document |
||
2391 | margins |
||
2392 | |||
2393 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
2394 | |||
2395 | firstPageNumer = is the number of the first page in the document used for |
||
11652 | cbradney | 2396 | pagenumbering. While you'll usually want 1, it's useful to have higher |
2397 | numbers if you're creating a document in several parts. |
||
7586 | cbradney | 2398 | |
2399 | unit: this value sets the measurement units used by the document. Use a |
||
2400 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
2401 | UNIT_PICAS, UNIT_POINTS. |
||
2402 | |||
2403 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
2404 | |||
2405 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
2406 | |||
2407 | The values for width, height and the margins are expressed in the given unit |
||
2408 | for the document. PAPER_* constants are expressed in points. If your document |
||
2409 | is not in points, make sure to account for this. |
||
2410 | |||
2411 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
2412 | FACINGPAGES, FIRSTPAGERIGHT) |
||
2413 | </source> |
||
11652 | cbradney | 2414 | <translation>newDoc(size, margins, orientation, firstPageNumber, |
2415 | unit, facingPages, firstSideLeft) -> bool |
||
7586 | cbradney | 2416 | |
2417 | WARNING: Obsolete procedure! Use newDocument instead. |
||
2418 | |||
2419 | Creates a new document and returns true if successful. The parameters have the |
||
2420 | following meaning: |
||
2421 | |||
2422 | size = A tuple (width, height) describing the size of the document. You can |
||
11652 | cbradney | 2423 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
7586 | cbradney | 2424 | |
2425 | margins = A tuple (left, right, top, bottom) describing the document |
||
2426 | margins |
||
2427 | |||
2428 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
2429 | |||
2430 | firstPageNumer = is the number of the first page in the document used for |
||
11652 | cbradney | 2431 | pagenumbering. While you'll usually want 1, it's useful to have higher |
2432 | numbers if you're creating a document in several parts. |
||
7586 | cbradney | 2433 | |
2434 | unit: this value sets the measurement units used by the document. Use a |
||
2435 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
2436 | UNIT_PICAS, UNIT_POINTS. |
||
2437 | |||
2438 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
2439 | |||
2440 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
2441 | |||
2442 | The values for width, height and the margins are expressed in the given unit |
||
2443 | for the document. PAPER_* constants are expressed in points. If your document |
||
2444 | is not in points, make sure to account for this. |
||
2445 | |||
2446 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
2447 | FACINGPAGES, FIRSTPAGERIGHT) |
||
2448 | </translation> |
||
2449 | </message> |
||
2450 | <message> |
||
11652 | cbradney | 2451 | <location filename="../plugins/scriptplugin/cmddoc.h" line="226"/> |
2452 | <source>closeMasterPage() |
||
7586 | cbradney | 2453 | |
2454 | Closes the currently active master page, if any, and returns editing |
||
2455 | to normal. Begin editing with editMasterPage(). |
||
2456 | </source> |
||
11652 | cbradney | 2457 | <translation>closeMasterPage() |
7586 | cbradney | 2458 | |
2459 | Closes the currently active master page, if any, and returns editing |
||
2460 | to normal. Begin editing with editMasterPage().</translation> |
||
2461 | </message> |
||
2462 | <message> |
||
11652 | cbradney | 2463 | <location filename="../plugins/scriptplugin/cmddoc.h" line="233"/> |
2464 | <source>masterPageNames() |
||
7586 | cbradney | 2465 | |
2466 | Returns a list of the names of all master pages in the document. |
||
2467 | </source> |
||
11652 | cbradney | 2468 | <translation>masterPageNames()(new line) |
7586 | cbradney | 2469 | (new line) |
2470 | Returns a list of the names of all master pages in the document.</translation> |
||
2471 | </message> |
||
2472 | <message> |
||
11652 | cbradney | 2473 | <location filename="../plugins/scriptplugin/cmddoc.h" line="241"/> |
2474 | <source>editMasterPage(pageName) |
||
7586 | cbradney | 2475 | |
2476 | Enables master page editing and opens the named master page |
||
2477 | for editing. Finish editing with closeMasterPage(). |
||
2478 | </source> |
||
11652 | cbradney | 2479 | <translation>editMasterPage(pageName)(new line) |
7586 | cbradney | 2480 | (new line) |
2481 | Enables master page editing and opens the named master page(new line) |
||
2482 | for editing. Finish editing with closeMasterPage().</translation> |
||
2483 | </message> |
||
2484 | <message> |
||
11652 | cbradney | 2485 | <location filename="../plugins/scriptplugin/cmddoc.h" line="249"/> |
2486 | <source>createMasterPage(pageName) |
||
7586 | cbradney | 2487 | |
2488 | Creates a new master page named pageName and opens it for |
||
2489 | editing. |
||
2490 | </source> |
||
11652 | cbradney | 2491 | <translation>createMasterPage(pageName)(new line) |
7586 | cbradney | 2492 | (new line) |
2493 | Creates a new master page named pageName and opens it for(new line) |
||
2494 | editing.</translation> |
||
2495 | </message> |
||
2496 | <message> |
||
11652 | cbradney | 2497 | <location filename="../plugins/scriptplugin/cmddoc.h" line="256"/> |
2498 | <source>deleteMasterPage(pageName) |
||
7586 | cbradney | 2499 | |
2500 | Delete the named master page. |
||
2501 | </source> |
||
11652 | cbradney | 2502 | <translation>deleteMasterPage(pageName)(new line) |
7586 | cbradney | 2503 | (new line) |
2504 | Delete the named master page.</translation> |
||
2505 | </message> |
||
2506 | <message> |
||
11652 | cbradney | 2507 | <location filename="../plugins/scriptplugin/guiapp.h" line="95"/> |
2508 | <source>zoomDocument(double) |
||
7586 | cbradney | 2509 | |
2510 | Zoom the document in main GUI window. Actions have whole number |
||
2511 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
2512 | </source> |
||
11652 | cbradney | 2513 | <translation>zoomDocument(double)(new line) |
7586 | cbradney | 2514 | (new line) |
2515 | Zoom the document in main GUI window. Actions have whole number(new line) |
||
2516 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.</translation> |
||
2517 | </message> |
||
2518 | <message> |
||
11652 | cbradney | 2519 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="31"/> |
2520 | <source>getFillTransparency(["name"]) -> float |
||
7586 | cbradney | 2521 | |
2522 | Returns the fill transparency of the object "name". If "name" |
||
2523 | is not given the currently selected Item is used. |
||
2524 | </source> |
||
11652 | cbradney | 2525 | <translation>getFillTransparency(["name"]) -> float |
7586 | cbradney | 2526 | Returns the fill transparency of the object "name". If "name" |
2527 | is not given the currently selected Item is used.</translation> |
||
2528 | </message> |
||
2529 | <message> |
||
11652 | cbradney | 2530 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="41"/> |
2531 | <source>getFillBlendmode(["name"]) -> integer |
||
7586 | cbradney | 2532 | |
2533 | Returns the fill blendmode of the object "name". If "name" |
||
2534 | is not given the currently selected Item is used. |
||
2535 | </source> |
||
11652 | cbradney | 2536 | <translation>getFillBlendmode(["name"]) -> integer |
7586 | cbradney | 2537 | Returns the fill blendmode of the object "name". If "name" |
2538 | is not given the currently selected Item is used.</translation> |
||
2539 | </message> |
||
2540 | <message> |
||
11652 | cbradney | 2541 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="61"/> |
2542 | <source>getLineTransparency(["name"]) -> float |
||
7586 | cbradney | 2543 | |
2544 | Returns the line transparency of the object "name". If "name" |
||
2545 | is not given the currently selected Item is used. |
||
2546 | </source> |
||
11652 | cbradney | 2547 | <translation>getLineTransparency(["name"]) -> float |
7586 | cbradney | 2548 | Returns the line transparency of the object "name". If "name" |
2549 | is not given the currently selected Item is used.</translation> |
||
2550 | </message> |
||
2551 | <message> |
||
11652 | cbradney | 2552 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="71"/> |
2553 | <source>getLineBlendmode(["name"]) -> integer |
||
7586 | cbradney | 2554 | |
2555 | Returns the line blendmode of the object "name". If "name" |
||
2556 | is not given the currently selected Item is used. |
||
2557 | </source> |
||
11652 | cbradney | 2558 | <translation>getLineBlendmode(["name"]) -> integer |
7586 | cbradney | 2559 | Returns the line blendmode of the object "name". If "name" |
2560 | is not given the currently selected Item is used.</translation> |
||
2561 | </message> |
||
2562 | <message> |
||
11652 | cbradney | 2563 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="144"/> |
2564 | <source>setLayerLocked("layer", locked) |
||
7586 | cbradney | 2565 | |
2566 | Sets the layer "layer" to be locked or not. If locked is set to |
||
2567 | true the layer will be locked. |
||
2568 | |||
11652 | cbradney | 2569 | May raise NotFoundError if the layer can't be found. |
2570 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2571 | </source> |
11652 | cbradney | 2572 | <translation>setLayerLocked("layer", locked) |
7586 | cbradney | 2573 | Sets the layer "layer" to be locked or not. If locked is set to |
2574 | true the layer will be locked. |
||
11652 | cbradney | 2575 | May raise NotFoundError if the layer can't be found. |
2576 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2577 | </message> |
2578 | <message> |
||
11890 | christoph | 2579 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
2580 | <source>setLayerOutlined"layer", outline) |
||
2581 | |||
2582 | Sets the layer "layer" to be locked or not. If outline is set to |
||
2583 | true the layer will be displayed outlined. |
||
2584 | |||
2585 | May raise NotFoundError if the layer can't be found. |
||
2586 | May raise ValueError if the layer name isn't acceptable. |
||
2587 | </source> |
||
2588 | <translation type="obsolete">setLayerOutlined"layer", outline) |
||
2589 | Sets the layer "layer" to be locked or not. If outline is set to |
||
2590 | true the layer will be displayed outlined. |
||
2591 | May raise NotFoundError if the layer can't be found. |
||
2592 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
2593 | </message> |
||
2594 | <message> |
||
2595 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
||
2596 | <source>setLayerFlow"layer", flow) |
||
2597 | |||
2598 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
2599 | true text in layers above this one will flow around objects on this layer. |
||
2600 | |||
2601 | May raise NotFoundError if the layer can't be found. |
||
2602 | May raise ValueError if the layer name isn't acceptable. |
||
2603 | </source> |
||
2604 | <translation type="obsolete">setLayerFlow"layer", flow) |
||
2605 | Sets the layers "layer"(sp)(sp)flowcontrol to flow. If flow is set to |
||
2606 | true text in layers above this one will flow around objects on this layer. |
||
2607 | May raise NotFoundError if the layer can't be found. |
||
2608 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
2609 | </message> |
||
2610 | <message> |
||
2611 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
||
2612 | <source>setLayerBlendmode"layer", blend) |
||
2613 | |||
2614 | Sets the layers "layer" blendmode to blend. |
||
2615 | |||
2616 | May raise NotFoundError if the layer can't be found. |
||
2617 | May raise ValueError if the layer name isn't acceptable. |
||
2618 | </source> |
||
2619 | <translation type="obsolete">setLayerBlendmode"layer", blend) |
||
2620 | Sets the layers "layer"(sp)(sp)blendmode to blend. |
||
2621 | May raise NotFoundError if the layer can't be found. |
||
2622 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
2623 | </message> |
||
2624 | <message> |
||
2625 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
||
2626 | <source>setLayerTransparency"layer", trans) |
||
2627 | |||
2628 | Sets the layers "layer" transparency to trans. |
||
2629 | |||
2630 | May raise NotFoundError if the layer can't be found. |
||
2631 | May raise ValueError if the layer name isn't acceptable. |
||
2632 | </source> |
||
2633 | <translation type="obsolete">setLayerTransparency"layer", trans) |
||
2634 | Sets the layers "layer"(sp)(sp)transparency to trans. |
||
2635 | May raise NotFoundError if the layer can't be found. |
||
2636 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
2637 | </message> |
||
2638 | <message> |
||
11652 | cbradney | 2639 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="236"/> |
2640 | <source>isLayerLocked("layer") -> bool |
||
7586 | cbradney | 2641 | |
2642 | Returns whether the layer "layer" is locked or not, a value of True means |
||
2643 | that the layer "layer" is editable, a value of False means that the layer |
||
2644 | "layer" is locked. |
||
2645 | |||
11652 | cbradney | 2646 | May raise NotFoundError if the layer can't be found. |
2647 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2648 | </source> |
11652 | cbradney | 2649 | <translation>isLayerLocked("layer") -> bool |
7586 | cbradney | 2650 | Returns whether the layer "layer" is locked or not, a value of True means |
2651 | that the layer "layer" is editable, a value of False means that the layer |
||
2652 | "layer" is locked. |
||
11652 | cbradney | 2653 | May raise NotFoundError if the layer can't be found. |
2654 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2655 | </message> |
2656 | <message> |
||
11652 | cbradney | 2657 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="250"/> |
2658 | <source>isLayerOutlined("layer") -> bool |
||
7586 | cbradney | 2659 | |
2660 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
2661 | that the layer "layer" is outlined, a value of False means that the layer |
||
2662 | "layer" is normal. |
||
2663 | |||
11652 | cbradney | 2664 | May raise NotFoundError if the layer can't be found. |
2665 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2666 | </source> |
11652 | cbradney | 2667 | <translation>isLayerOutlined("layer") -> bool |
7586 | cbradney | 2668 | Returns whether the layer "layer" is outlined or not, a value of True means |
2669 | that the layer "layer" is outlined, a value of False means that the layer |
||
2670 | "layer" is normal. |
||
11652 | cbradney | 2671 | May raise NotFoundError if the layer can't be found. |
2672 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2673 | </message> |
2674 | <message> |
||
11652 | cbradney | 2675 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="263"/> |
2676 | <source>isLayerFlow("layer") -> bool |
||
7586 | cbradney | 2677 | |
2678 | Returns whether text flows around objects on layer "layer", a value of True means |
||
2679 | that text flows around, a value of False means that the text does not flow around. |
||
2680 | |||
11652 | cbradney | 2681 | May raise NotFoundError if the layer can't be found. |
2682 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2683 | </source> |
11652 | cbradney | 2684 | <translation>isLayerFlow("layer") -> bool |
7586 | cbradney | 2685 | Returns whether text flows around objects on layer "layer", a value of True means |
2686 | that text flows around, a value of False means that the text does not flow around. |
||
11652 | cbradney | 2687 | May raise NotFoundError if the layer can't be found. |
2688 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2689 | </message> |
2690 | <message> |
||
11652 | cbradney | 2691 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="275"/> |
2692 | <source>getLayerBlendmode("layer") -> int |
||
7586 | cbradney | 2693 | |
2694 | Returns the "layer" layer blendmode, |
||
2695 | |||
11652 | cbradney | 2696 | May raise NotFoundError if the layer can't be found. |
2697 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2698 | </source> |
11652 | cbradney | 2699 | <translation>getLayerBlendmode("layer") -> int |
7586 | cbradney | 2700 | Returns the "layer" layer blendmode, |
11652 | cbradney | 2701 | May raise NotFoundError if the layer can't be found. |
2702 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2703 | </message> |
2704 | <message> |
||
11652 | cbradney | 2705 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="287"/> |
2706 | <source>getLayerTransparency("layer") -> float |
||
7586 | cbradney | 2707 | |
2708 | Returns the "layer" layer transparency, |
||
2709 | |||
11652 | cbradney | 2710 | May raise NotFoundError if the layer can't be found. |
2711 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2712 | </source> |
11652 | cbradney | 2713 | <translation>getLayerTransparency("layer") -> float |
7586 | cbradney | 2714 | Returns the "layer" layer transparency, |
11652 | cbradney | 2715 | May raise NotFoundError if the layer can't be found. |
2716 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2717 | </message> |
2718 | <message> |
||
11652 | cbradney | 2719 | <location filename="../plugins/scriptplugin/cmdobj.h" line="193"/> |
2720 | <source>textFlowMode("name" [, state]) |
||
7586 | cbradney | 2721 | |
2722 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
2723 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
2724 | Setting "state" to 0 will disable text flow. |
||
2725 | Setting "state" to 1 will make text flow around object frame. |
||
2726 | Setting "state" to 2 will make text flow around bounding box. |
||
2727 | Setting "state" to 3 will make text flow around contour line. |
||
2728 | If "state" is not passed, text flow is toggled. |
||
2729 | </source> |
||
11652 | cbradney | 2730 | <translation>textFlowMode("name" [, state]) |
7586 | cbradney | 2731 | Enables/disables "Text Flows Around Frame" feature for object "name". |
2732 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
2733 | Setting "state" to 0 will disable text flow. |
||
2734 | Setting "state" to 1 will make text flow around object frame. |
||
2735 | Setting "state" to 2 will make text flow around bounding box. |
||
2736 | Setting "state" to 3 will make text flow around contour line. |
||
2737 | If "state" is not passed, text flow is toggled.</translation> |
||
2738 | </message> |
||
2739 | <message> |
||
11652 | cbradney | 2740 | <location filename="../plugins/scriptplugin/cmdobj.h" line="252"/> |
2741 | <source>duplicateObject(["name"]) -> string |
||
7586 | cbradney | 2742 | |
2743 | creates a Duplicate of the selected Object (or Selection Group). |
||
2744 | </source> |
||
11652 | cbradney | 2745 | <translation>duplicateObject(["name"]) -> string |
7586 | cbradney | 2746 | creates a Duplicate of the selected Object (or Selection Group).</translation> |
2747 | </message> |
||
2748 | <message> |
||
11890 | christoph | 2749 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
2750 | <source>setFillTransparency(transparency, ["name"]) |
||
2751 | |||
2752 | Sets the fill transparency of the object "name" to transparency |
||
2753 | is the name of one of the defined colors. If "name" is not given the |
||
2754 | currently selected item is used. |
||
2755 | </source> |
||
2756 | <translation type="obsolete">setFillTransparency(transparency, ["name"]) |
||
2757 | Sets the fill transparency of the object "name" to transparency |
||
2758 | is the name of one of the defined colors. If "name" is not given the |
||
2759 | currently selected item is used.</translation> |
||
2760 | </message> |
||
2761 | <message> |
||
2762 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
||
2763 | <source>setFillBlendmode(blendmode, ["name"]) |
||
2764 | |||
2765 | Sets the fill blendmode of the object "name" to blendmode |
||
2766 | is the name of one of the defined colors. If "name" is not given the |
||
2767 | currently selected item is used. |
||
2768 | </source> |
||
2769 | <translation type="obsolete">setFillBlendmode(blendmode, ["name"]) |
||
2770 | Sets the fill blendmode of the object "name" to blendmode |
||
2771 | is the name of one of the defined colors. If "name" is not given the |
||
2772 | currently selected item is used.</translation> |
||
2773 | </message> |
||
2774 | <message> |
||
2775 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
||
2776 | <source>setLineTransparency(transparency, ["name"]) |
||
2777 | |||
2778 | Sets the line transparency of the object "name" to transparency |
||
2779 | is the name of one of the defined colors. If "name" is not given the |
||
2780 | currently selected item is used. |
||
2781 | </source> |
||
2782 | <translation type="obsolete">setLineTransparency(transparency, ["name"]) |
||
2783 | |||
2784 | Sets the line transparency of the object "name" to transparency |
||
2785 | is the name of one of the defined colors. If "name" is not given the |
||
2786 | currently selected item is used. |
||
2787 | </translation> |
||
2788 | </message> |
||
2789 | <message> |
||
2790 | <location filename="../../scribus135/trunk/Scribus/scribus/po" line="136965632"/> |
||
2791 | <source>setLineBlendmode(blendmode, ["name"]) |
||
2792 | |||
2793 | Sets the line blendmode of the object "name" to blendmode |
||
2794 | is the name of one of the defined colors. If "name" is not given the |
||
2795 | currently selected item is used. |
||
2796 | </source> |
||
2797 | <translation type="obsolete">setLineBlendmode(blendmode, ["name"]) |
||
2798 | Sets the line blendmode of the object "name" to blendmode |
||
2799 | is the name of one of the defined colors. If "name" is not given the |
||
2800 | currently selected item is used.</translation> |
||
2801 | </message> |
||
2802 | <message> |
||
11652 | cbradney | 2803 | <location filename="../plugins/scriptplugin/cmddoc.h" line="162"/> |
2804 | <source>setInfo("author", "info", "description") -> bool |
||
7586 | cbradney | 2805 | |
2806 | Sets the document information. "Author", "Info", "Description" are |
||
2807 | strings. |
||
2808 | </source> |
||
11652 | cbradney | 2809 | <translation>setInfo("author", "info", "description") -> bool |
7586 | cbradney | 2810 | Sets the document information. "Author", "Info", "Description" are |
2811 | strings.</translation> |
||
2812 | </message> |
||
2813 | <message> |
||
11652 | cbradney | 2814 | <location filename="../plugins/scriptplugin/cmdpage.h" line="54"/> |
2815 | <source>getPageType() -> integer |
||
7586 | cbradney | 2816 | |
2817 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
2818 | </source> |
||
11652 | cbradney | 2819 | <translation>getPageType() -> integer |
7586 | cbradney | 2820 | |
2821 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page</translation> |
||
2822 | </message> |
||
2823 | <message> |
||
11652 | cbradney | 2824 | <location filename="../plugins/scriptplugin/cmdtext.h" line="55"/> |
2825 | <source>getTextLines(["name"]) -> integer |
||
7586 | cbradney | 2826 | |
2827 | Returns the number of lines of the text in the text frame "name". |
||
2828 | If "name" is not given the currently selected item is used. |
||
2829 | </source> |
||
11652 | cbradney | 2830 | <translation>getTextLines(["name"]) -> integer |
7586 | cbradney | 2831 | |
2832 | Returns the number of lines of the text in the text frame "name". |
||
2833 | If "name" is not given the currently selected item is used.</translation> |
||
2834 | </message> |
||
2835 | <message> |
||
11652 | cbradney | 2836 | <location filename="../plugins/scriptplugin/cmdcolor.h" line="77"/> |
2837 | <source>defineColor("name", c, m, y, k) |
||
7586 | cbradney | 2838 | |
2839 | Defines a new color "name". The color Value is defined via four components: |
||
2840 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
2841 | the range from 0 to 255. |
||
2842 | |||
2843 | May raise ValueError if an invalid color name is specified. |
||
2844 | </source> |
||
11652 | cbradney | 2845 | <translation>defineColor("name", c, m, y, k) |
7586 | cbradney | 2846 | |
2847 | Defines a new color "name". The color Value is defined via four components: |
||
2848 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
2849 | the range from 0 to 255. |
||
2850 | |||
2851 | May raise ValueError if an invalid color name is specified.</translation> |
||
2852 | </message> |
||
2853 | <message> |
||
11652 | cbradney | 2854 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="145"/> |
2855 | <source>getCornerRadius(["name"]) -> integer |
||
7586 | cbradney | 2856 | |
2857 | Returns the corner radius of the object "name". The radius is |
||
2858 | expressed in points. If "name" is not given the currently |
||
2859 | selected item is used. |
||
2860 | </source> |
||
11652 | cbradney | 2861 | <translation>getCornerRadius(["name"]) -> integer |
7586 | cbradney | 2862 | |
2863 | Returns the corner radius of the object "name". The radius is |
||
2864 | expressed in points. If "name" is not given the currently |
||
2865 | selected item is used.</translation> |
||
2866 | </message> |
||
2867 | <message> |
||
11652 | cbradney | 2868 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="177"/> |
2869 | <source>getPosition(["name"]) -> (x,y) |
||
7586 | cbradney | 2870 | |
2871 | Returns a (x, y) tuple with the position of the object "name". |
||
2872 | If "name" is not given the currently selected item is used. |
||
2873 | The position is expressed in the actual measurement unit of the document |
||
11652 | cbradney | 2874 | - see UNIT_<type> for reference. |
7586 | cbradney | 2875 | </source> |
11652 | cbradney | 2876 | <translation>getPosition(["name"]) -> (x,y) |
7586 | cbradney | 2877 | |
2878 | Returns a (x, y) tuple with the position of the object "name". |
||
2879 | If "name" is not given the currently selected item is used. |
||
2880 | The position is expressed in the actual measurement unit of the document |
||
11652 | cbradney | 2881 | - see UNIT_<type> for reference.</translation> |
7586 | cbradney | 2882 | </message> |
2883 | <message> |
||
11652 | cbradney | 2884 | <location filename="../plugins/scriptplugin/cmdmani.h" line="59"/> |
2885 | <source>rotateObjectAbs(rot [, "name"]) |
||
7586 | cbradney | 2886 | |
2887 | Sets the rotation of the object "name" to "rot". Positive values |
||
2888 | mean counter clockwise rotation. If "name" is not given the currently |
||
2889 | selected item is used. |
||
2890 | </source> |
||
11652 | cbradney | 2891 | <translation>rotateObjectAbs(rot [, "name"]) |
7586 | cbradney | 2892 | |
2893 | Sets the rotation of the object "name" to "rot". Positive values |
||
2894 | mean counter clockwise rotation. If "name" is not given the currently |
||
2895 | selected item is used.</translation> |
||
2896 | </message> |
||
2897 | <message> |
||
11652 | cbradney | 2898 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="131"/> |
2899 | <source>setLayerPrintable("layer", printable) |
||
7586 | cbradney | 2900 | |
2901 | Sets the layer "layer" to be printable or not. If is the |
||
11652 | cbradney | 2902 | printable set to false the layer won't be printed. |
7586 | cbradney | 2903 | |
11652 | cbradney | 2904 | May raise NotFoundError if the layer can't be found. |
2905 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2906 | </source> |
11652 | cbradney | 2907 | <translation>setLayerPrintable("layer", printable) |
7586 | cbradney | 2908 | |
2909 | Sets the layer "layer" to be printable or not. If is the |
||
11652 | cbradney | 2910 | printable set to false the layer won't be printed. |
7586 | cbradney | 2911 | |
11652 | cbradney | 2912 | May raise NotFoundError if the layer can't be found. |
2913 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2914 | </message> |
2915 | <message> |
||
11652 | cbradney | 2916 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="208"/> |
2917 | <source>isLayerVisible("layer") -> bool |
||
7586 | cbradney | 2918 | |
2919 | Returns whether the layer "layer" is visible or not, a value of True means |
||
2920 | that the layer "layer" is visible, a value of False means that the layer |
||
2921 | "layer" is invisible. |
||
2922 | |||
11652 | cbradney | 2923 | May raise NotFoundError if the layer can't be found. |
2924 | May raise ValueError if the layer name isn't acceptable. |
||
7586 | cbradney | 2925 | </source> |
11652 | cbradney | 2926 | <translation>isLayerVisible("layer") -> bool |
7586 | cbradney | 2927 | |
2928 | Returns whether the layer "layer" is visible or not, a value of True means |
||
2929 | that the layer "layer" is visible, a value of False means that the layer |
||
2930 | "layer" is invisible. |
||
2931 | |||
11652 | cbradney | 2932 | May raise NotFoundError if the layer can't be found. |
2933 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
7586 | cbradney | 2934 | </message> |
2935 | <message> |
||
11652 | cbradney | 2936 | <location filename="../plugins/scriptplugin/cmdtext.h" line="135"/> |
2937 | <source>insertText("text", pos, ["name"]) |
||
7586 | cbradney | 2938 | |
2939 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2940 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2941 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2942 | not given the currently selected Item is used. |
||
2943 | |||
2944 | May throw IndexError for an insertion out of bounds. |
||
2945 | </source> |
||
11652 | cbradney | 2946 | <translation>insertText("text", pos, ["name"]) |
7586 | cbradney | 2947 | |
2948 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2949 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2950 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2951 | not given the currently selected Item is used. |
||
2952 | |||
2953 | May throw IndexError for an insertion out of bounds.</translation> |
||
2954 | </message> |
||
9195 | cbradney | 2955 | <message> |
11652 | cbradney | 2956 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="157"/> |
2957 | <source>setLayerOutlined("layer", outline) |
||
9195 | cbradney | 2958 | |
2959 | Sets the layer "layer" to be locked or not. If outline is set to |
||
2960 | true the layer will be displayed outlined. |
||
2961 | |||
11652 | cbradney | 2962 | May raise NotFoundError if the layer can't be found. |
2963 | May raise ValueError if the layer name isn't acceptable. |
||
9195 | cbradney | 2964 | </source> |
11652 | cbradney | 2965 | <translation>placeSVG("filename", x, y) |
9195 | cbradney | 2966 | (new line) |
2967 | Places the SVG "filename" onto the current page, |
||
2968 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
2969 | If loading was successful, the selection contains the imported SVG.</translation> |
||
2970 | </message> |
||
2971 | <message> |
||
11652 | cbradney | 2972 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="170"/> |
2973 | <source>setLayerFlow("layer", flow) |
||
9195 | cbradney | 2974 | |
2975 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
2976 | true text in layers above this one will flow around objects on this layer. |
||
2977 | |||
11652 | cbradney | 2978 | May raise NotFoundError if the layer can't be found. |
2979 | May raise ValueError if the layer name isn't acceptable. |
||
9195 | cbradney | 2980 | </source> |
11652 | cbradney | 2981 | <translation>setLayerFlow("layer", flow) |
9195 | cbradney | 2982 | Sets the layers "layer"(sp)(sp)flowcontrol to flow. If flow is set to |
2983 | true text in layers above this one will flow around objects on this layer. |
||
11652 | cbradney | 2984 | May raise NotFoundError if the layer can't be found. |
2985 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
9195 | cbradney | 2986 | </message> |
2987 | <message> |
||
11652 | cbradney | 2988 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="182"/> |
2989 | <source>setLayerBlendmode("layer", blend) |
||
9195 | cbradney | 2990 | |
2991 | Sets the layers "layer" blendmode to blend. |
||
2992 | |||
11652 | cbradney | 2993 | May raise NotFoundError if the layer can't be found. |
2994 | May raise ValueError if the layer name isn't acceptable. |
||
9195 | cbradney | 2995 | </source> |
11652 | cbradney | 2996 | <translation>setLayerBlendmode("layer", blend) |
9195 | cbradney | 2997 | Sets the layers "layer"(sp)(sp)blendmode to blend. |
11652 | cbradney | 2998 | May raise NotFoundError if the layer can't be found. |
2999 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
9195 | cbradney | 3000 | </message> |
3001 | <message> |
||
11652 | cbradney | 3002 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="194"/> |
3003 | <source>setLayerTransparency("layer", trans) |
||
9195 | cbradney | 3004 | |
3005 | Sets the layers "layer" transparency to trans. |
||
3006 | |||
11652 | cbradney | 3007 | May raise NotFoundError if the layer can't be found. |
3008 | May raise ValueError if the layer name isn't acceptable. |
||
9195 | cbradney | 3009 | </source> |
11652 | cbradney | 3010 | <translation>setLayerTransparency("layer", trans) |
9195 | cbradney | 3011 | Sets the layers "layer"(sp)(sp)transparency to trans. |
11652 | cbradney | 3012 | May raise NotFoundError if the layer can't be found. |
3013 | May raise ValueError if the layer name isn't acceptable.</translation> |
||
9195 | cbradney | 3014 | </message> |
3015 | <message> |
||
11652 | cbradney | 3016 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="43"/> |
3017 | <source>setFillTransparency(transparency, ["name"]) |
||
9195 | cbradney | 3018 | |
3019 | Sets the fill transparency of the object "name" to transparency |
||
3020 | If "name" is not given the currently selected item is used. |
||
3021 | </source> |
||
11652 | cbradney | 3022 | <translation>setFillTransparency(transparency, ["name"]) |
9195 | cbradney | 3023 | Sets the fill transparency of the object "name" to transparency |
3024 | If "name" is not given the currently selected item is used.</translation> |
||
3025 | </message> |
||
3026 | <message> |
||
11652 | cbradney | 3027 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="53"/> |
3028 | <source>setFillBlendmode(blendmode, ["name"]) |
||
9195 | cbradney | 3029 | |
3030 | Sets the fill blendmode of the object "name" to blendmode |
||
3031 | If "name" is not given the currently selected item is used. |
||
3032 | </source> |
||
11652 | cbradney | 3033 | <translation>setFillBlendmode(blendmode, ["name"]) |
9195 | cbradney | 3034 | Sets the fill blendmode of the object "name" to blendmode |
3035 | If "name" is not given the currently selected item is used.</translation> |
||
3036 | </message> |
||
3037 | <message> |
||
11652 | cbradney | 3038 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="73"/> |
3039 | <source>setLineTransparency(transparency, ["name"]) |
||
9195 | cbradney | 3040 | |
3041 | Sets the line transparency of the object "name" to transparency |
||
3042 | If "name" is not given the currently selected item is used. |
||
3043 | </source> |
||
11652 | cbradney | 3044 | <translation>setLineTransparency(transparency, ["name"]) |
9195 | cbradney | 3045 | Sets the line transparency of the object "name" to transparency |
3046 | If "name" is not given the currently selected item is used.</translation> |
||
3047 | </message> |
||
3048 | <message> |
||
11652 | cbradney | 3049 | <location filename="../plugins/scriptplugin/cmdsetprop.h" line="83"/> |
3050 | <source>setLineBlendmode(blendmode, ["name"]) |
||
9195 | cbradney | 3051 | |
3052 | Sets the line blendmode of the object "name" to blendmode |
||
3053 | If "name" is not given the currently selected item is used. |
||
3054 | </source> |
||
11652 | cbradney | 3055 | <translation>setLineBlendmode(blendmode, ["name"]) |
9195 | cbradney | 3056 | Sets the line blendmode of the object "name" to blendmode |
3057 | If "name" is not given the currently selected item is used.</translation> |
||
3058 | </message> |
||
3059 | <message> |
||
11652 | cbradney | 3060 | <location filename="../plugins/scriptplugin/svgimport.h" line="33"/> |
3061 | <source>placeEPS("filename", x, y) |
||
9195 | cbradney | 3062 | |
3063 | Places the EPS "filename" onto the current page, |
||
3064 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
3065 | |||
3066 | If loading was successful, the selection contains the imported EPS |
||
3067 | </source> |
||
11652 | cbradney | 3068 | <translation>placeEPS("filename", x, y) |
9195 | cbradney | 3069 | Places the EPS "filename" onto the current page, |
3070 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
3071 | If loading was successful, the selection contains the imported EPS</translation> |
||
3072 | </message> |
||
3073 | <message> |
||
11652 | cbradney | 3074 | <location filename="../plugins/scriptplugin/svgimport.h" line="45"/> |
3075 | <source>placeSXD("filename", x, y) |
||
9195 | cbradney | 3076 | |
3077 | Places the SXD "filename" onto the current page, |
||
3078 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
3079 | |||
3080 | If loading was successful, the selection contains the imported SXD |
||
3081 | </source> |
||
11652 | cbradney | 3082 | <translation>placeSXD("filename", x, y) |
9195 | cbradney | 3083 | Places the SXD "filename" onto the current page, |
3084 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
3085 | If loading was successful, the selection contains the imported SXD</translation> |
||
3086 | </message> |
||
3087 | <message> |
||
11652 | cbradney | 3088 | <location filename="../plugins/scriptplugin/svgimport.h" line="57"/> |
3089 | <source>placeODG("filename", x, y) |
||
9195 | cbradney | 3090 | |
3091 | Places the ODG "filename" onto the current page, |
||
3092 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
3093 | |||
3094 | If loading was successful, the selection contains the imported ODG |
||
3095 | </source> |
||
11652 | cbradney | 3096 | <translation>placeODG("filename", x, y) |
9195 | cbradney | 3097 | Places the ODG "filename" onto the current page, |
3098 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
3099 | If loading was successful, the selection contains the imported ODG</translation> |
||
3100 | </message> |
||
3101 | <message> |
||
11890 | christoph | 3102 | <location filename="../../scribus135/trunk/Scribus/scribus/plugins/fileloader/scribus12format/scribus12format.cpp" line="1593"/> |
3103 | <source>Copy #%1 of </source> |
||
3104 | <translation type="obsolete">Kopie #%1 von</translation> |
||
3105 | </message> |
||
3106 | <message> |
||
11652 | cbradney | 3107 | <location filename="../plugins/scriptplugin/cmddoc.h" line="173"/> |
3108 | <source>setMargins(lr, rr, tr, br) |
||
9729 | cbradney | 3109 | |
3110 | Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br) |
||
11652 | cbradney | 3111 | margins are given in the measurement units of the document - see UNIT_<type> |
9729 | cbradney | 3112 | constants. |
3113 | </source> |
||
11928 | christoph | 3114 | <translation>setMargins(lr, rr, tr, br) |
3115 | |||
3116 | Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br) |
||
3117 | margins are given in the measurement units of the document - see UNIT_<type> |
||
3118 | constants.</translation> |
||
9729 | cbradney | 3119 | </message> |
10842 | cbradney | 3120 | <message> |
11652 | cbradney | 3121 | <location filename="../plugins/scriptplugin/cmddialog.h" line="46"/> |
3122 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
||
10842 | cbradney | 3123 | |
3124 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
3125 | with the filter string "filter". A default filename or file path can also |
||
11652 | cbradney | 3126 | supplied, leave this string empty when you don't want to use it. A value of |
10842 | cbradney | 3127 | True for haspreview enables a small preview widget in the FileSelect box. When |
3128 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
3129 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
3130 | the dialog shows and returns only directories. The default for all of the |
||
3131 | optional parameters is False. |
||
3132 | |||
11652 | cbradney | 3133 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
3134 | For example 'Images (*.png *.xpm *.jpg)'. |
||
10842 | cbradney | 3135 | |
3136 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
3137 | |||
11652 | cbradney | 3138 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
3139 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
10842 | cbradney | 3140 | </source> |
11928 | christoph | 3141 | <translation>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
3142 | |||
3143 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
3144 | with the filter string "filter". A default filename or file path can also |
||
3145 | supplied, leave this string empty when you don't want to use it. A value of |
||
3146 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
3147 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
3148 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
3149 | the dialog shows and returns only directories. The default for all of the |
||
3150 | optional parameters is False. |
||
3151 | |||
3152 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
||
3153 | |||
3154 | For example 'Images (*.png *.xpm *.jpg)'. |
||
3155 | |||
3156 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
3157 | |||
3158 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
||
3159 | Example: fileDialog('Save report', defaultname='report.txt', issave=True)</translation> |
||
10842 | cbradney | 3160 | </message> |
3161 | <message> |
||
11652 | cbradney | 3162 | <location filename="../plugins/scriptplugin/cmdgetprop.h" line="102"/> |
3163 | <source>getLineJoin(["name"]) -> integer (see constants) |
||
10842 | cbradney | 3164 | |
3165 | Returns the line join style of the object "name". If "name" is not given |
||
3166 | the currently selected item is used. The join types are: |
||
3167 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
3168 | </source> |
||
11928 | christoph | 3169 | <translation>getLineJoin(["name"]) -> integer (see constants) |
3170 | |||
3171 | Returns the line join style of the object "name". If "name" is not given |
||
3172 | the currently selected item is used. The join types are: |
||
3173 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND</translation> |
||
10842 | cbradney | 3174 | </message> |
3175 | <message> |
||
11652 | cbradney | 3176 | <location filename="../plugins/scriptplugin/cmdmani.h" line="48"/> |
3177 | <source>rotateObject(rot [, "name"]) |
||
10842 | cbradney | 3178 | |
3179 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
3180 | rotated by the vertex that is currently selected as the rotation point - by |
||
3181 | default, the top left vertex at zero rotation. Positive values mean counter |
||
3182 | clockwise rotation when the default rotation point is used. If "name" is not |
||
3183 | given the currently selected item is used. |
||
3184 | </source> |
||
11928 | christoph | 3185 | <translation>rotateObject(rot [, "name"]) |
3186 | |||
3187 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
3188 | rotated by the vertex that is currently selected as the rotation point - by |
||
3189 | default, the top left vertex at zero rotation. Positive values mean counter |
||
3190 | clockwise rotation when the default rotation point is used. If "name" is not |
||
3191 | given the currently selected item is used.</translation> |
||
10842 | cbradney | 3192 | </message> |
3193 | <message> |
||
11652 | cbradney | 3194 | <location filename="../plugins/scriptplugin/cmdpage.h" line="91"/> |
3195 | <source>gotoPage(nr) |
||
10842 | cbradney | 3196 | |
3197 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
11652 | cbradney | 3198 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
10842 | cbradney | 3199 | just sets the page that script commands will operates on. |
3200 | |||
3201 | May raise IndexError if the page number is out of range. |
||
3202 | </source> |
||
11928 | christoph | 3203 | <translation>gotoPage(nr) |
3204 | |||
3205 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
3206 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
3207 | just sets the page that script commands will operates on. |
||
3208 | |||
3209 | May raise IndexError if the page number is out of range.</translation> |
||
10842 | cbradney | 3210 | </message> |
3211 | <message> |
||
11652 | cbradney | 3212 | <location filename="../plugins/scriptplugin/cmdtext.h" line="370"/> |
3213 | <source>setPDFBookmark("toggle", ["name"]) |
||
10842 | cbradney | 3214 | |
3215 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
3216 | If "name" is not given the currently selected item is used. |
||
3217 | |||
3218 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3219 | </source> |
||
11928 | christoph | 3220 | <translation>setPDFBookmark("toggle", ["name"]) |
3221 | |||
3222 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
3223 | If "name" is not given the currently selected item is used. |
||
3224 | |||
3225 | May raise WrongFrameTypeError if the target frame is not a text frame</translation> |
||
10842 | cbradney | 3226 | </message> |
3227 | <message> |
||
11652 | cbradney | 3228 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="329"/> |
3229 | <source>moveSelectionToFront() |
||
11411 | mrdocs | 3230 | |
3231 | Moves current selection to front. |
||
3232 | </source> |
||
11928 | christoph | 3233 | <translation>moveSelectionToFront() |
3234 | |||
3235 | Moves current selection to front.</translation> |
||
10842 | cbradney | 3236 | </message> |
3237 | <message> |
||
11652 | cbradney | 3238 | <location filename="../plugins/scriptplugin/cmdmisc.h" line="338"/> |
3239 | <source>moveSelectionToFront() |
||
11411 | mrdocs | 3240 | |
3241 | Moves current selection to back. |
||
3242 | </source> |
||
11890 | christoph | 3243 | <translation>moveSelectionToFront() |
11928 | christoph | 3244 | |
11890 | christoph | 3245 | Moves current selection to back.</translation> |
10842 | cbradney | 3246 | </message> |
3247 | <message> |
||
11652 | cbradney | 3248 | <location filename="../plugins/scriptplugin/cmdpage.h" line="198"/> |
3249 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
||
11411 | mrdocs | 3250 | |
11652 | cbradney | 3251 | Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the "Page->Import" dropdown menu function. |
11411 | mrdocs | 3252 | fromDoc: string; the filename of the document to import pages from |
3253 | pageList: tuple with page numbers of pages to import |
||
3254 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
3255 | importWhere: number; the page number (of the current document) at which import the pages |
||
3256 | importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document |
||
3257 | </source> |
||
11890 | christoph | 3258 | <translation>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
3259 | |||
3260 | Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the "Page->Import" dropdown menu function. |
||
3261 | fromDoc: string; the filename of the document to import pages from |
||
3262 | pageList: tuple with page numbers of pages to import |
||
3263 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
3264 | importWhere: number; the page number (of the current document) at which import the pages |
||
11928 | christoph | 3265 | importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document |
3266 | </translation> |
||
10842 | cbradney | 3267 | </message> |
3268 | <message> |
||
11652 | cbradney | 3269 | <location filename="../plugins/scriptplugin/cmdstyle.h" line="80"/> |
3270 | <source>createCharStyle(...) |
||
11411 | mrdocs | 3271 | |
3272 | Creates a character style. This function takes the following keyword parameters: |
||
3273 | |||
11652 | cbradney | 3274 | "name" [required] -> name of the char style to create |
11411 | mrdocs | 3275 | |
11652 | cbradney | 3276 | "font" [optional] -> name of the font to use |
11411 | mrdocs | 3277 | |
11652 | cbradney | 3278 | fontsize [optional] -> font size to set (double) |
11411 | mrdocs | 3279 | |
11652 | cbradney | 3280 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
11411 | mrdocs | 3281 | |
11652 | cbradney | 3282 | -> inherit |
11411 | mrdocs | 3283 | |
11652 | cbradney | 3284 | -> bold |
11411 | mrdocs | 3285 | |
11652 | cbradney | 3286 | -> italic |
11411 | mrdocs | 3287 | |
11652 | cbradney | 3288 | -> underline |
11411 | mrdocs | 3289 | |
11652 | cbradney | 3290 | -> underlinewords |
11411 | mrdocs | 3291 | |
11652 | cbradney | 3292 | -> strike |
11411 | mrdocs | 3293 | |
11652 | cbradney | 3294 | -> superscript |
11411 | mrdocs | 3295 | |
11652 | cbradney | 3296 | -> subscript |
11411 | mrdocs | 3297 | |
11652 | cbradney | 3298 | -> outline |
11411 | mrdocs | 3299 | |
11652 | cbradney | 3300 | -> shadowed |
11411 | mrdocs | 3301 | |
11652 | cbradney | 3302 | -> allcaps |
11411 | mrdocs | 3303 | |
11652 | cbradney | 3304 | -> smallcaps |
11411 | mrdocs | 3305 | |
11652 | cbradney | 3306 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
11411 | mrdocs | 3307 | |
11652 | cbradney | 3308 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
11411 | mrdocs | 3309 | |
11652 | cbradney | 3310 | baselineoffset [optional] -> offset of the baseline |
11411 | mrdocs | 3311 | |
11652 | cbradney | 3312 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
11411 | mrdocs | 3313 | |
11652 | cbradney | 3314 | outlinewidth [optional] -> width of the outline if used |
11411 | mrdocs | 3315 | |
11652 | cbradney | 3316 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
11411 | mrdocs | 3317 | |
11652 | cbradney | 3318 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
11411 | mrdocs | 3319 | |
11652 | cbradney | 3320 | scaleh [optional], scalev [optional] -> scale of the chars |
11411 | mrdocs | 3321 | |
11652 | cbradney | 3322 | tracking [optional] -> tracking of the text |
11411 | mrdocs | 3323 | |
11652 | cbradney | 3324 | "language" [optional] -> language code |
11411 | mrdocs | 3325 | |
3326 | </source> |
||
11890 | christoph | 3327 | <translation>createCharStyle(...) |
3328 | |||
3329 | Creates a character style. This function takes the following keyword parameters: |
||
3330 | |||
3331 | "name" [required] -> name of the char style to create |
||
3332 | |||
3333 | "font" [optional] -> name of the font to use |
||
3334 | |||
3335 | fontsize [optional] -> font size to set (double) |
||
3336 | |||
3337 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
3338 | |||
3339 | -> inherit |
||
3340 | |||
3341 | -> bold |
||
3342 | |||
3343 | -> italic |
||
3344 | |||
3345 | -> underline |
||
3346 | |||
3347 | -> underlinewords |
||
3348 | |||
3349 | -> strike |
||
3350 | |||
3351 | -> superscript |
||
3352 | |||
3353 | -> subscript |
||
3354 | |||
3355 | -> outline |
||
3356 | |||
3357 | -> shadowed |
||
3358 | |||
3359 | -> allcaps |
||
3360 | |||
3361 | -> smallcaps |
||
3362 | |||
3363 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
3364 | |||
3365 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
3366 | |||
3367 | baselineoffset [optional] -> offset of the baseline |
||
3368 | |||
3369 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
3370 | |||
3371 | outlinewidth [optional] -> width of the outline if used |
||
3372 | |||
3373 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
3374 | |||
3375 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
3376 | |||
3377 | scaleh [optional], scalev [optional] -> scale of the chars |
||
3378 | |||
3379 | tracking [optional] -> tracking of the text |
||
3380 | |||
11928 | christoph | 3381 | "language" [optional] -> language code |
3382 | |||
3383 | </translation> |
||
10842 | cbradney | 3384 | </message> |
7586 | cbradney | 3385 | <message> |
11652 | cbradney | 3386 | <location filename="../plugins/scriptplugin/cmdtext.h" line="341"/> |
3387 | <source>hyphenateText(["name"]) -> bool |
||
11411 | mrdocs | 3388 | |
3389 | Does hyphenation on text frame "name". |
||
3390 | If "name" is not given the currently selected item is used. |
||
3391 | |||
3392 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3393 | </source> |
||
11890 | christoph | 3394 | <translation>hyphenateText(["name"]) -> bool |
3395 | |||
3396 | Does hyphenation on text frame "name". |
||
11928 | christoph | 3397 | |
11890 | christoph | 3398 | If "name" is not given the currently selected item is used. |
3399 | |||
11928 | christoph | 3400 | May raise WrongFrameTypeError if the target frame is not a text frame |
3401 | </translation> |
||
7586 | cbradney | 3402 | </message> |
3403 | <message> |
||
11652 | cbradney | 3404 | <location filename="../plugins/scriptplugin/cmdtext.h" line="355"/> |
3405 | <source>dehyphenateText(["name"]) -> bool |
||
11411 | mrdocs | 3406 | |
3407 | Does dehyphenation on text frame "name". |
||
3408 | If "name" is not given the currently selected item is used. |
||
3409 | |||
3410 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3411 | </source> |
||
11890 | christoph | 3412 | <translation>dehyphenateText(["name"]) -> bool |
3413 | |||
3414 | Does dehyphenation on text frame "name". |
||
3415 | If "name" is not given the currently selected item is used. |
||
3416 | |||
11928 | christoph | 3417 | May raise WrongFrameTypeError if the target frame is not a text frame |
3418 | </translation> |
||
7586 | cbradney | 3419 | </message> |
3420 | <message> |
||
11652 | cbradney | 3421 | <location filename="../plugins/scriptplugin/guiapp.h" line="106"/> |
3422 | <source>scrollDocument(x,y) |
||
11411 | mrdocs | 3423 | |
3424 | Scroll the document in main GUI window by x and y. |
||
3425 | </source> |
||
11890 | christoph | 3426 | <translation>scrollDocument(x,y) |
3427 | |||
3428 | Scroll the document in main GUI window by x and y. |
||
3429 | </translation> |
||
7586 | cbradney | 3430 | </message> |
11652 | cbradney | 3431 | </context> |
3432 | <context> |
||
11411 | mrdocs | 3433 | <name>AIPlug</name> |
7586 | cbradney | 3434 | <message> |
11890 | christoph | 3435 | <location filename="../plugins/aiimplugin/importai.cpp" line="121"/> |
11652 | cbradney | 3436 | <source>Importing: %1</source> |
3437 | <translation>Importiere: %1</translation> |
||
7586 | cbradney | 3438 | </message> |
3439 | <message> |
||
11890 | christoph | 3440 | <location filename="../plugins/aiimplugin/importai.cpp" line="124"/> |
11652 | cbradney | 3441 | <source>Analyzing File:</source> |
3442 | <translation>Analysieren der Datei:</translation> |
||
7586 | cbradney | 3443 | </message> |
3444 | <message> |
||
11890 | christoph | 3445 | <location filename="../plugins/aiimplugin/importai.cpp" line="285"/> |
11652 | cbradney | 3446 | <source>Group%1</source> |
3447 | <translation>Gruppe%1</translation> |
||
7586 | cbradney | 3448 | </message> |
3449 | <message> |
||
11928 | christoph | 3450 | <location filename="../plugins/aiimplugin/importai.cpp" line="2264"/> |
11652 | cbradney | 3451 | <source>Generating Items</source> |
3452 | <translation>Objekte werden erstellt</translation> |
||
7586 | cbradney | 3453 | </message> |
11652 | cbradney | 3454 | </context> |
3455 | <context> |
||
11411 | mrdocs | 3456 | <name>About</name> |
7586 | cbradney | 3457 | <message> |
11890 | christoph | 3458 | <location filename="../about.cpp" line="162"/> |
11652 | cbradney | 3459 | <source>Contributions from:</source> |
3460 | <translation>Beiträge von:</translation> |
||
7586 | cbradney | 3461 | </message> |
3462 | <message> |
||
11890 | christoph | 3463 | <location filename="../about.cpp" line="142"/> |
11652 | cbradney | 3464 | <source>&About</source> |
3465 | <translation>Ü&ber</translation> |
||
7586 | cbradney | 3466 | </message> |
3467 | <message> |
||
11890 | christoph | 3468 | <location filename="../about.cpp" line="216"/> |
11652 | cbradney | 3469 | <source>A&uthors</source> |
3470 | <translation>A&utoren</translation> |
||
7586 | cbradney | 3471 | </message> |
3472 | <message> |
||
11890 | christoph | 3473 | <location filename="../about.cpp" line="399"/> |
11652 | cbradney | 3474 | <source>&Translations</source> |
3475 | <translation>Über&setzungen</translation> |
||
7586 | cbradney | 3476 | </message> |
3477 | <message> |
||
11890 | christoph | 3478 | <location filename="../about.cpp" line="422"/> |
11652 | cbradney | 3479 | <source>&Online</source> |
3480 | <translation>&Online</translation> |
||
7586 | cbradney | 3481 | </message> |
3482 | <message> |
||
11890 | christoph | 3483 | <location filename="../about.cpp" line="461"/> |
11652 | cbradney | 3484 | <source>&Close</source> |
3485 | <translation>Sch&liessen</translation> |
||
7586 | cbradney | 3486 | </message> |
3487 | <message> |
||
11890 | christoph | 3488 | <location filename="../about.cpp" line="148"/> |
11652 | cbradney | 3489 | <source>Development Team:</source> |
3490 | <translation>Entwicklerteam:</translation> |
||
7586 | cbradney | 3491 | </message> |
3492 | <message> |
||
11890 | christoph | 3493 | <location filename="../about.cpp" line="194"/> |
11652 | cbradney | 3494 | <source>Official Documentation:</source> |
3495 | <translation>Offizielle Dokumentation:</translation> |
||
7586 | cbradney | 3496 | </message> |
3497 | <message> |
||
11890 | christoph | 3498 | <location filename="../about.cpp" line="202"/> |
11652 | cbradney | 3499 | <source>Other Documentation:</source> |
3500 | <translation>Andere Dokumentationen:</translation> |
||
7586 | cbradney | 3501 | </message> |
3502 | <message> |
||
11890 | christoph | 3503 | <location filename="../about.cpp" line="405"/> |
11652 | cbradney | 3504 | <source>Homepage</source> |
3505 | <translation>Homepage</translation> |
||
7586 | cbradney | 3506 | </message> |
3507 | <message> |
||
11890 | christoph | 3508 | <location filename="../about.cpp" line="407"/> |
11652 | cbradney | 3509 | <source>Online Reference</source> |
3510 | <translation>Onlinereferenz</translation> |
||
7586 | cbradney | 3511 | </message> |
3512 | <message> |
||
11890 | christoph | 3513 | <location filename="../about.cpp" line="411"/> |
11652 | cbradney | 3514 | <source>Bugs and Feature Requests</source> |
3515 | <translation>Fehler und Featurewünsche</translation> |
||
7586 | cbradney | 3516 | </message> |
3517 | <message> |
||
11890 | christoph | 3518 | <location filename="../about.cpp" line="415"/> |
11652 | cbradney | 3519 | <source>Mailing List</source> |
3520 | <translation>Mailingliste</translation> |
||
7586 | cbradney | 3521 | </message> |
3522 | <message> |
||
11890 | christoph | 3523 | <location filename="../about.cpp" line="224"/> |
11652 | cbradney | 3524 | <source>Official Translations and Translators:</source> |
3525 | <translation>Offizielle Übersetzungen und Übersetzer:</translation> |
||
7586 | cbradney | 3526 | </message> |
3527 | <message> |
||
11890 | christoph | 3528 | <location filename="../about.cpp" line="356"/> |
11652 | cbradney | 3529 | <source>Previous Translation Contributors:</source> |
3530 | <translation>Ehemalige Übersetzer:</translation> |
||
7586 | cbradney | 3531 | </message> |
3532 | <message> |
||
11890 | christoph | 3533 | <location filename="../about.cpp" line="52"/> |
11652 | cbradney | 3534 | <source>About Scribus %1</source> |
3535 | <translation>Über Scribus %1</translation> |
||
7586 | cbradney | 3536 | </message> |
3537 | <message> |
||
11890 | christoph | 3538 | <location filename="../about.cpp" line="409"/> |
11652 | cbradney | 3539 | <source>Wiki</source> |
3540 | <translation>Wiki</translation> |
||
7586 | cbradney | 3541 | </message> |
3542 | <message> |
||
11890 | christoph | 3543 | <location filename="../about.cpp" line="79"/> |
11652 | cbradney | 3544 | <source>%1 %2 %3</source> |
3545 | <translation>%1 %2 %3</translation> |
||
7586 | cbradney | 3546 | </message> |
3547 | <message> |
||
11890 | christoph | 3548 | <location filename="../about.cpp" line="87"/> |
11652 | cbradney | 3549 | <source>%3-%2-%1 %4 %5</source> |
3550 | <translation>%3-%2-%1 %4 %5</translation> |
||
7586 | cbradney | 3551 | </message> |
3552 | <message> |
||
11890 | christoph | 3553 | <location filename="../about.cpp" line="137"/> |
11652 | cbradney | 3554 | <source>Using Ghostscript version %1</source> |
3555 | <translation>Ghostscript-Version: %1</translation> |
||
7586 | cbradney | 3556 | </message> |
3557 | <message> |
||
11890 | christoph | 3558 | <location filename="../about.cpp" line="139"/> |
11652 | cbradney | 3559 | <source>No Ghostscript version available</source> |
3560 | <translation>Ghostscript ist nicht vorhanden</translation> |
||
7586 | cbradney | 3561 | </message> |
3562 | <message> |
||
11890 | christoph | 3563 | <location filename="../../scribus135/trunk/Scribus/scribus/about.cpp" line="132"/> |
3564 | <source><b>Scribus Version %1</b><p>%2<br/>%3 %4<br/>%5</p></source> |
||
3565 | <translation type="obsolete"><b>Scribus Version %1</b><p>%2<br/>%3 %4<br/>%5</p></translation> |
||
3566 | </message> |
||
3567 | <message> |
||
3568 | <location filename="../about.cpp" line="140"/> |
||
11652 | cbradney | 3569 | <source>Build ID:</source> |
3570 | <translation>Build ID:</translation> |
||
7586 | cbradney | 3571 | </message> |
3572 | <message> |
||
11890 | christoph | 3573 | <location filename="../about.cpp" line="182"/> |
11652 | cbradney | 3574 | <source>Mac OS&#174; X Aqua Port:</source> |
3575 | <translation>Mac OS&#174; X Aqua-Portierung:</translation> |
||
7586 | cbradney | 3576 | </message> |
7716 |