Rev 14888 | Rev 15243 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9729 | cbradney | 1 | <?xml version="1.0" encoding="utf-8"?> |
15099 | cbradney | 2 | <!DOCTYPE TS> |
3 | <TS version="2.0" language="pl_PL"> |
||
2202 | mrdocs | 4 | <context> |
12882 | cbradney | 5 | <name></name> |
6 | <message> |
||
15099 | cbradney | 7 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/> |
12882 | cbradney | 8 | <source>getColorNames() -> list |
9 | |||
10 | Returns a list containing the names of all defined colors in the document. |
||
11 | If no document is open, returns a list of the default document colors. |
||
12 | </source> |
||
14888 | jghali | 13 | <translation>getColorNames() -> list |
12882 | cbradney | 14 | |
15 | Zwraca listę zawierającą nazwy wszystkich zdefiniowanych kolorów w danym dokumencie. |
||
16 | Jeśli nie jest aktualnie otwarty żaden dokument, zwrócona zostanie lista wszystkich domyślnych kolorów.</translation> |
||
17 | </message> |
||
18 | <message> |
||
15099 | cbradney | 19 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/> |
12882 | cbradney | 20 | <source>getColor("name") -> tuple |
21 | |||
22 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
23 | color "name" from the current document. If no document is open, returns |
||
24 | the value of the named color from the default document colors. |
||
25 | |||
26 | May raise NotFoundError if the named color wasn't found. |
||
27 | May raise ValueError if an invalid color name is specified. |
||
28 | </source> |
||
14888 | jghali | 29 | <translation>getColor("nazwa") -> tuple |
12882 | cbradney | 30 | |
31 | Zwraca krotkę (C, M, Y, K) zawierającą cztery składowe koloru "nazwa" w aktualnym dokumencie. |
||
32 | Jeśli nie jest otwarty żaden dokument, zwraca wartość koloru o tej nazwie z domyślnych kolorów. |
||
33 | |||
34 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
35 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
36 | </message> |
||
37 | <message> |
||
15099 | cbradney | 38 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/> |
12882 | cbradney | 39 | <source>getColorAsRGB("name") -> tuple |
40 | |||
41 | Returns a tuple (R,G,B) containing the three color components of the |
||
42 | color "name" from the current document, converted to the RGB color |
||
43 | space. If no document is open, returns the value of the named color |
||
44 | from the default document colors. |
||
45 | |||
46 | May raise NotFoundError if the named color wasn't found. |
||
47 | May raise ValueError if an invalid color name is specified. |
||
48 | </source> |
||
49 | <translation type="unfinished"></translation> |
||
50 | </message> |
||
51 | <message> |
||
15099 | cbradney | 52 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/> |
12882 | cbradney | 53 | <source>changeColor("name", c, m, y, k) |
54 | |||
55 | Changes the color "name" to the specified CMYK value. The color value is |
||
56 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
57 | Color components should be in the range from 0 to 255. |
||
15099 | cbradney | 58 | Note : deprecated, use changeColorCMYK() instead. |
12882 | cbradney | 59 | |
60 | May raise NotFoundError if the named color wasn't found. |
||
61 | May raise ValueError if an invalid color name is specified. |
||
62 | </source> |
||
15099 | cbradney | 63 | <translation type="unfinished"></translation> |
64 | </message> |
||
65 | <message> |
||
66 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="71"/> |
||
67 | <source>changeColorCMYK("name", c, m, y, k) |
||
12882 | cbradney | 68 | |
15099 | cbradney | 69 | Changes the color "name" to the specified CMYK value. The color value is |
70 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
71 | Color components should be in the range from 0 to 255. |
||
12882 | cbradney | 72 | |
15099 | cbradney | 73 | May raise NotFoundError if the named color wasn't found. |
74 | May raise ValueError if an invalid color name is specified. |
||
75 | </source> |
||
76 | <translation type="unfinished"></translation> |
||
12882 | cbradney | 77 | </message> |
78 | <message> |
||
15099 | cbradney | 79 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="85"/> |
80 | <source>changeColorRGB("name", r, g, b) |
||
81 | |||
82 | Changes the color "name" to the specified RGB value. The color value is |
||
83 | defined via three components r = red, g = green, b = blue. |
||
84 | Color components should be in the range from 0 to 255. |
||
85 | |||
86 | May raise NotFoundError if the named color wasn't found. |
||
87 | May raise ValueError if an invalid color name is specified. |
||
88 | </source> |
||
89 | <translation type="unfinished"></translation> |
||
90 | </message> |
||
91 | <message> |
||
92 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="99"/> |
||
12882 | cbradney | 93 | <source>defineColor("name", c, m, y, k) |
94 | |||
95 | Defines a new color "name". The color Value is defined via four components: |
||
96 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
97 | the range from 0 to 255. |
||
15099 | cbradney | 98 | Note : deprecated, use defineColorCMYK() instead. |
12882 | cbradney | 99 | |
100 | May raise ValueError if an invalid color name is specified. |
||
101 | </source> |
||
102 | <translation type="unfinished"></translation> |
||
103 | </message> |
||
104 | <message> |
||
15099 | cbradney | 105 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/> |
106 | <source>defineColorCMYK("name", c, m, y, k) |
||
107 | |||
108 | Defines a new color "name". The color Value is defined via four components: |
||
109 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
110 | the range from 0 to 255. |
||
111 | |||
112 | May raise ValueError if an invalid color name is specified. |
||
113 | </source> |
||
114 | <translation type="unfinished"></translation> |
||
115 | </message> |
||
116 | <message> |
||
117 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="126"/> |
||
118 | <source>defineColorRGB("name", r, g, b) |
||
119 | |||
120 | Defines a new color "name". The color Value is defined via three components: |
||
121 | r = red, g = green, b = blue. Color components should be in |
||
122 | the range from 0 to 255. |
||
123 | |||
124 | May raise ValueError if an invalid color name is specified. |
||
125 | </source> |
||
126 | <translation type="unfinished"></translation> |
||
127 | </message> |
||
128 | <message> |
||
129 | <source>changeColor("name", c, m, y, k) |
||
130 | |||
131 | Changes the color "name" to the specified CMYK value. The color value is |
||
132 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
133 | Color components should be in the range from 0 to 255. |
||
134 | |||
135 | May raise NotFoundError if the named color wasn't found. |
||
136 | May raise ValueError if an invalid color name is specified. |
||
137 | </source> |
||
138 | <translation type="obsolete">changeColor("nazwa", c, m, y, k) |
||
139 | |||
140 | Zmienia kolor "nazwa" na podaną wartość CMYK. Wartość koloru definiuje się |
||
141 | za pomocą czterech komponentów c = Cyjan, m = Madżenta, y = Żółty i k = Czarny. |
||
142 | Komponetu koloru powinny mieścić się w zakresie od 0 do 255. |
||
143 | |||
144 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
145 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
146 | </message> |
||
147 | <message> |
||
148 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="139"/> |
||
12882 | cbradney | 149 | <source>deleteColor("name", "replace") |
150 | |||
151 | Deletes the color "name". Every occurence of that color is replaced by the |
||
152 | color "replace". If not specified, "replace" defaults to the color |
||
153 | "None" - transparent. |
||
154 | |||
155 | deleteColor works on the default document colors if there is no document open. |
||
156 | In that case, "replace", if specified, has no effect. |
||
157 | |||
158 | May raise NotFoundError if a named color wasn't found. |
||
159 | May raise ValueError if an invalid color name is specified. |
||
160 | </source> |
||
14888 | jghali | 161 | <translation>deleteColor("nazwa", "nowy") |
12882 | cbradney | 162 | |
163 | Usuwa kolor "nazwa". Każde wystąpienie tego koloru zastąpione zostanie |
||
164 | kolorem "nowy". Jeśli kolor "nowy" nie zostanie podany, użyty zostanie |
||
165 | kolor "None" czyli przezroczystość. |
||
166 | |||
167 | deleteColor zastępuje domyślne kolory, jeśli nie jest otwarty żaden dokument. |
||
168 | W takim przypadku, kolor "nowy" nie zostanie uwzględniony. |
||
169 | |||
170 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
171 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
172 | </message> |
||
173 | <message> |
||
15099 | cbradney | 174 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="156"/> |
12882 | cbradney | 175 | <source>replaceColor("name", "replace") |
176 | |||
177 | Every occurence of the color "name" is replaced by the color "replace". |
||
178 | |||
179 | May raise NotFoundError if a named color wasn't found. |
||
180 | May raise ValueError if an invalid color name is specified. |
||
181 | </source> |
||
14888 | jghali | 182 | <translation>replaceColor("nazwa", "nowy") |
12882 | cbradney | 183 | |
184 | Każde wystąpienie koloru "nazwa" zastąpione zostanie kolorem "nowy". |
||
185 | |||
186 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
187 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
188 | </message> |
||
189 | <message> |
||
15099 | cbradney | 190 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/> |
12882 | cbradney | 191 | <source>newDocDialog() -> bool |
192 | |||
193 | Displays the "New Document" dialog box. Creates a new document if the user |
||
194 | accepts the settings. Does not create a document if the user presses cancel. |
||
195 | Returns true if a new document was created. |
||
196 | </source> |
||
14888 | jghali | 197 | <translation>newDocDialog() -> bool |
12882 | cbradney | 198 | |
199 | Wyświetla okno dialogowe "Nowy dokument". Tworzy nowy dokument, jeśli użytkownik zaakceptuje ustawienia. Nie tworzy dokumentu, jeśli użytkownik naciśnie na przycisk |
||
200 | "Anuluj". Zwraca true, jeśli dokument zostanie utworzony.</translation> |
||
201 | </message> |
||
202 | <message> |
||
15099 | cbradney | 203 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/> |
12882 | cbradney | 204 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
205 | |||
206 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
207 | with the filter string "filter". A default filename or file path can also |
||
208 | supplied, leave this string empty when you don't want to use it. A value of |
||
209 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
210 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
211 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
212 | the dialog shows and returns only directories. The default for all of the |
||
213 | optional parameters is False. |
||
214 | |||
215 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
||
216 | For example 'Images (*.png *.xpm *.jpg)'. |
||
217 | |||
218 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
219 | |||
220 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
||
221 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
222 | </source> |
||
223 | <translation type="unfinished"></translation> |
||
224 | </message> |
||
225 | <message> |
||
15099 | cbradney | 226 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/> |
12882 | cbradney | 227 | <source>messageBox("caption", "message", |
228 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
229 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
230 | |||
231 | Displays a message box with the title "caption", the message "message", and |
||
232 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
233 | button, OK, is displayed. Only the caption and message arguments are required, |
||
234 | though setting an icon and appropriate button(s) is strongly |
||
235 | recommended. The message text may contain simple HTML-like markup. |
||
236 | |||
237 | Returns the number of the button the user pressed. Button numbers start |
||
238 | at 1. |
||
239 | |||
240 | For the icon and the button parameters there are predefined constants available |
||
241 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
242 | ICON_* constants defined in the module. There are also two extra constants that |
||
243 | can be binary-ORed with button constants: |
||
244 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
245 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
246 | |||
247 | Usage examples: |
||
248 | result = messageBox('Script failed', |
||
249 | 'This script only works when you have a text frame selected.', |
||
250 | ICON_ERROR) |
||
251 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
||
252 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
253 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
254 | |||
255 | Defined button and icon constants: |
||
256 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
257 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
258 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
259 | </source> |
||
14888 | jghali | 260 | <translation>messageBox("caption", "message", |
12882 | cbradney | 261 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
262 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
263 | |||
264 | Wyświetla okienko z tytułem "caption", z informacją "message", ikoną "icon" |
||
265 | oraz maksymalnie 3 przyciskami. Domyślnie okienko wyświetla się bez ikony i jednym |
||
266 | przyciskiem OK. Wymagane są jedynie argumenty "caption" i "message", chociaż |
||
267 | podanie ikony i odpowiedniego przycisku jest bardzo zalecane. Argument "message" |
||
268 | może zawierać proste formatowanie HTML. |
||
269 | |||
270 | Zwraca numer przycisku naciśniętego przez użytkownika. Numery przycisków |
||
271 | zaczynają się od 1. |
||
272 | |||
273 | Parametry ikony i przycisku są predefiniowanymi stałymi opisanymi pod tymi samymi |
||
274 | nazwami w dokumentacji QT. Są to stałe BUTTON_* i ICON_* zdefiniowane w tym module. |
||
275 | Są również dwie specjalne stałe które mogą być binary-ORed ze stałymi przycisków: |
||
276 | BUTTONOPT_DEFAULT Wciśnięcie enter wciska ten przycisk. |
||
277 | BUTTONOPT_ESCAPE Wciśnięcie escape wciska ten przycisk. |
||
278 | |||
279 | Przykłady użycia: |
||
280 | wynik = messageBox('Skrypt przerwał działanie', |
||
281 | 'Ten skrypt działa tylko wtedy, kiedy zostanie zaznaczona ramka tekstowa.', |
||
282 | ICON_ERROR) |
||
283 | wynik = messageBox('Małpy!', 'Coś poszło nie tak! <i>Czy to była małpa?</i>', |
||
284 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
285 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
286 | |||
287 | Zdefiniowane stałe przycisków i ikon: |
||
288 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
289 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
290 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
291 | </translation> |
||
292 | </message> |
||
293 | <message> |
||
15099 | cbradney | 294 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/> |
12882 | cbradney | 295 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
296 | |||
297 | Shows the common 'Ask for string' dialog and returns its value as a string |
||
298 | Parameters: window title, text in the window and optional 'default' value. |
||
299 | |||
300 | Example: valueDialog('title', 'text in the window', 'optional') |
||
301 | </source> |
||
14888 | jghali | 302 | <translation>valueDialog(caption, message [,defaultvalue]) -> string |
12882 | cbradney | 303 | |
304 | Wyświetla zwykły dialog zapytania o łańcuch znaków i zwraca jego wartość jako łańcuch. |
||
305 | Parametry: tytuł okna, tekst w oknie i 'opcjonalna' domyślna wartość. |
||
306 | |||
307 | Przykład: valueDialog('tytuł', 'tekst w oknie', 'opcjonalna')</translation> |
||
308 | </message> |
||
309 | <message> |
||
15099 | cbradney | 310 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/> |
12882 | cbradney | 311 | <source>newStyleDialog() -> string |
312 | |||
313 | Shows 'Create new paragraph style' dialog. Function returns real |
||
314 | style name or None when user cancels the dialog. |
||
315 | </source> |
||
316 | <translation type="unfinished"></translation> |
||
317 | </message> |
||
318 | <message> |
||
15099 | cbradney | 319 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/> |
12882 | cbradney | 320 | <source>newDocument(size, margins, orientation, firstPageNumber, |
321 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
322 | |||
323 | Creates a new document and returns true if successful. The parameters have the |
||
324 | following meaning: |
||
325 | |||
326 | size = A tuple (width, height) describing the size of the document. You can |
||
327 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
328 | |||
329 | margins = A tuple (left, right, top, bottom) describing the document |
||
330 | margins |
||
331 | |||
332 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
333 | |||
334 | firstPageNumer = is the number of the first page in the document used for |
||
335 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
336 | numbers if you're creating a document in several parts. |
||
337 | |||
338 | unit: this value sets the measurement units used by the document. Use a |
||
339 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
340 | UNIT_PICAS, UNIT_POINTS. |
||
341 | |||
342 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
343 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
344 | PAGE_4 is 4-fold. |
||
345 | |||
346 | firstPageOrder = What is position of first page in the document. |
||
347 | Indexed from 0 (0 = first). |
||
348 | |||
349 | numPage = Number of pages to be created. |
||
350 | |||
351 | The values for width, height and the margins are expressed in the given unit |
||
352 | for the document. PAPER_* constants are expressed in points. If your document |
||
353 | is not in points, make sure to account for this. |
||
354 | |||
355 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
356 | PAGE_4, 3, 1) |
||
357 | |||
358 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
359 | </source> |
||
360 | <translation type="unfinished"></translation> |
||
361 | </message> |
||
362 | <message> |
||
15099 | cbradney | 363 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/> |
12882 | cbradney | 364 | <source>newDoc(size, margins, orientation, firstPageNumber, |
365 | unit, facingPages, firstSideLeft) -> bool |
||
366 | |||
367 | WARNING: Obsolete procedure! Use newDocument instead. |
||
368 | |||
369 | Creates a new document and returns true if successful. The parameters have the |
||
370 | following meaning: |
||
371 | |||
372 | size = A tuple (width, height) describing the size of the document. You can |
||
373 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
374 | |||
375 | margins = A tuple (left, right, top, bottom) describing the document |
||
376 | margins |
||
377 | |||
378 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
379 | |||
380 | firstPageNumer = is the number of the first page in the document used for |
||
381 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
382 | numbers if you're creating a document in several parts. |
||
383 | |||
384 | unit: this value sets the measurement units used by the document. Use a |
||
385 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
386 | UNIT_PICAS, UNIT_POINTS. |
||
387 | |||
388 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
389 | |||
390 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
391 | |||
392 | The values for width, height and the margins are expressed in the given unit |
||
393 | for the document. PAPER_* constants are expressed in points. If your document |
||
394 | is not in points, make sure to account for this. |
||
395 | |||
396 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
397 | FACINGPAGES, FIRSTPAGERIGHT) |
||
398 | </source> |
||
399 | <translation type="unfinished"></translation> |
||
400 | </message> |
||
401 | <message> |
||
15099 | cbradney | 402 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/> |
12882 | cbradney | 403 | <source>closeDoc() |
404 | |||
405 | Closes the current document without prompting to save. |
||
406 | |||
407 | May throw NoDocOpenError if there is no document to close |
||
408 | </source> |
||
14888 | jghali | 409 | <translation>closeDoc() |
12882 | cbradney | 410 | |
411 | Zamyka aktualny dokument bez zapytania o potwierdzenie. |
||
412 | |||
413 | Może zwrócić błąd NoDocOpenError, jeśli żaden dokument nie będzie otwarty</translation> |
||
414 | </message> |
||
415 | <message> |
||
15099 | cbradney | 416 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/> |
12882 | cbradney | 417 | <source>haveDoc() -> bool |
418 | |||
419 | Returns true if there is a document open. |
||
420 | </source> |
||
14888 | jghali | 421 | <translation>haveDoc() -> bool |
12882 | cbradney | 422 | |
423 | Zwraca true, jeśli znajdzie otwarty dokument.</translation> |
||
424 | </message> |
||
425 | <message> |
||
15099 | cbradney | 426 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/> |
12882 | cbradney | 427 | <source>openDoc("name") |
428 | |||
429 | Opens the document "name". |
||
430 | |||
431 | May raise ScribusError if the document could not be opened. |
||
432 | </source> |
||
14888 | jghali | 433 | <translation>openDoc("nazwa") |
12882 | cbradney | 434 | |
435 | Otwiera dokument "nazwa". |
||
436 | |||
437 | Może zwrócić błąd ScribusError, jeśli nie będzie mógł otworzyć dokumentu.</translation> |
||
438 | </message> |
||
439 | <message> |
||
15099 | cbradney | 440 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/> |
12882 | cbradney | 441 | <source>saveDoc() |
442 | |||
443 | Saves the current document with its current name, returns true if successful. |
||
444 | If the document has not already been saved, this may bring up an interactive |
||
445 | save file dialog. |
||
446 | |||
447 | If the save fails, there is currently no way to tell. |
||
448 | </source> |
||
14888 | jghali | 449 | <translation>saveDoc() |
12882 | cbradney | 450 | |
451 | Zapisuje aktualny dokument pod jego aktualną nazwą, zwraca true jeśli zapis się powiedzie. |
||
452 | Jeśli dokument jeszcze nie został zapisany, może wyświetlić dialog zapisywania pliku. |
||
453 | |||
454 | Aktualnie nie ma możliwości pokazania, czy zapis się powiódł.</translation> |
||
455 | </message> |
||
456 | <message> |
||
15099 | cbradney | 457 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/> |
14474 | cbradney | 458 | <source>getDocName() -> string |
459 | |||
460 | Returns the name the document was saved under. |
||
461 | If the document was not saved before the name is empty. |
||
462 | </source> |
||
463 | <translation type="unfinished"></translation> |
||
464 | </message> |
||
465 | <message> |
||
15099 | cbradney | 466 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/> |
12882 | cbradney | 467 | <source>saveDocAs("name") |
468 | |||
469 | Saves the current document under the new name "name" (which may be a full or |
||
470 | relative path). |
||
471 | |||
472 | May raise ScribusError if the save fails. |
||
473 | </source> |
||
14888 | jghali | 474 | <translation>saveDocAs("nazwa") |
12882 | cbradney | 475 | |
476 | Zapisuje aktualny dokument pod nową nazwą "nazwa" |
||
477 | (która może być bezwględną lub względną ścieżką) |
||
478 | |||
479 | Może zwrócić błąd ScribusError, jeśli zapis się nie powiedzie.</translation> |
||
480 | </message> |
||
481 | <message> |
||
15099 | cbradney | 482 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/> |
12882 | cbradney | 483 | <source>setInfo("author", "info", "description") -> bool |
484 | |||
485 | Sets the document information. "Author", "Info", "Description" are |
||
486 | strings. |
||
487 | </source> |
||
488 | <translation type="unfinished"></translation> |
||
489 | </message> |
||
490 | <message> |
||
15099 | cbradney | 491 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/> |
12882 | cbradney | 492 | <source>setMargins(lr, rr, tr, br) |
493 | |||
15099 | cbradney | 494 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
12882 | cbradney | 495 | margins are given in the measurement units of the document - see UNIT_<type> |
496 | constants. |
||
497 | </source> |
||
15099 | cbradney | 498 | <translation type="unfinished">setMargins(lr, rr, tr, br) |
499 | |||
500 | Ustawia marginesy dokumentu: Lewy(lr), Prawy(rr), Górny(tr) i Dolny(br), |
||
501 | które podane są w jednostkach miar dokumentu - zobacz stałe UNIT_<type>.</translation> |
||
502 | </message> |
||
503 | <message> |
||
504 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/> |
||
505 | <source>setBaseLine(grid, offset) |
||
506 | |||
507 | Sets the base line settings of the document, grid spacing(grid), grid offset(offset). |
||
508 | Values are given in the measurement units of the document - see UNIT_<type> |
||
509 | constants. |
||
510 | </source> |
||
12882 | cbradney | 511 | <translation type="unfinished"></translation> |
512 | </message> |
||
513 | <message> |
||
15099 | cbradney | 514 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="200"/> |
12882 | cbradney | 515 | <source>setUnit(type) |
516 | |||
517 | Changes the measurement unit of the document. Possible values for "unit" are |
||
518 | defined as constants UNIT_<type>. |
||
519 | |||
520 | May raise ValueError if an invalid unit is passed. |
||
521 | </source> |
||
14888 | jghali | 522 | <translation>setUnit(typ) |
12882 | cbradney | 523 | |
524 | Zmienia jednostkę miary dokumentu. Możliwe wartości "typu" |
||
525 | są zdefiniowane jako stałe UNIT_<type>. |
||
526 | |||
527 | Może zwrócić błąd ValueError, jeśli podana zostanie błędna jednostka.</translation> |
||
528 | </message> |
||
529 | <message> |
||
15099 | cbradney | 530 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/> |
12882 | cbradney | 531 | <source>getUnit() -> integer (Scribus unit constant) |
532 | |||
533 | Returns the measurement units of the document. The returned value will be one |
||
534 | of the UNIT_* constants: |
||
535 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
536 | </source> |
||
14888 | jghali | 537 | <translation>getUnit() -> integer (stała jednostki Scribusa) |
12882 | cbradney | 538 | |
539 | Zwraca jednostki miar dokumentu. Zwrócona wartość będzie jedną |
||
540 | ze stałych UNIT_* : |
||
541 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation> |
||
542 | </message> |
||
543 | <message> |
||
15099 | cbradney | 544 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="223"/> |
12882 | cbradney | 545 | <source>loadStylesFromFile("filename") |
546 | |||
547 | Loads paragraph styles from the Scribus document at "filename" into the |
||
548 | current document. |
||
549 | </source> |
||
14888 | jghali | 550 | <translation>loadStylesFromFile("nazwa_pliku") |
12882 | cbradney | 551 | |
552 | Wczytuje style akapitów z dokumentu Scribusa "nazwa_pliku" do aktualnego dokumentu.</translation> |
||
553 | </message> |
||
554 | <message> |
||
15099 | cbradney | 555 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/> |
12882 | cbradney | 556 | <source>setDocType(facingPages, firstPageLeft) |
557 | |||
558 | Sets the document type. To get facing pages set the first parameter to |
||
559 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
560 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
561 | a right page use FIRSTPAGERIGHT. |
||
562 | </source> |
||
14888 | jghali | 563 | <translation>setDocType(strony_widzące_się, pierwsza_strona_po_lewej) |
12882 | cbradney | 564 | |
565 | Ustawia typ dokumentu. Aby uzyskać strony widzące się, podaj jako pierwszy parametr |
||
566 | FACINGPAGES, aby wyłączyć strony widzące się podaj NOFACINGPAGES. Jeśli chcesz, |
||
567 | aby pierwsza strona była po lewej stronie, jako drugi parametr podaj FIRSTPAGELEFT, |
||
568 | w innym przypadku podaj FIRSTPAGERIGHT.</translation> |
||
569 | </message> |
||
570 | <message> |
||
15099 | cbradney | 571 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="243"/> |
12882 | cbradney | 572 | <source>closeMasterPage() |
573 | |||
574 | Closes the currently active master page, if any, and returns editing |
||
575 | to normal. Begin editing with editMasterPage(). |
||
576 | </source> |
||
577 | <translation type="unfinished"></translation> |
||
578 | </message> |
||
579 | <message> |
||
15099 | cbradney | 580 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="251"/> |
12882 | cbradney | 581 | <source>masterPageNames() |
582 | |||
583 | Returns a list of the names of all master pages in the document. |
||
584 | </source> |
||
585 | <translation type="unfinished"></translation> |
||
586 | </message> |
||
587 | <message> |
||
15099 | cbradney | 588 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="258"/> |
12882 | cbradney | 589 | <source>editMasterPage(pageName) |
590 | |||
591 | Enables master page editing and opens the named master page |
||
592 | for editing. Finish editing with closeMasterPage(). |
||
593 | </source> |
||
594 | <translation type="unfinished"></translation> |
||
595 | </message> |
||
596 | <message> |
||
15099 | cbradney | 597 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="266"/> |
12882 | cbradney | 598 | <source>createMasterPage(pageName) |
599 | |||
600 | Creates a new master page named pageName and opens it for |
||
601 | editing. |
||
602 | </source> |
||
603 | <translation type="unfinished"></translation> |
||
604 | </message> |
||
605 | <message> |
||
15099 | cbradney | 606 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="274"/> |
12882 | cbradney | 607 | <source>deleteMasterPage(pageName) |
608 | |||
609 | Delete the named master page. |
||
610 | </source> |
||
611 | <translation type="unfinished"></translation> |
||
612 | </message> |
||
613 | <message> |
||
15099 | cbradney | 614 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/> |
615 | <source>getObjectType(["name"]) -> string |
||
616 | |||
617 | Get type of object "name" as a string. |
||
618 | </source> |
||
619 | <translation type="unfinished"></translation> |
||
620 | </message> |
||
621 | <message> |
||
622 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="26"/> |
||
12882 | cbradney | 623 | <source>getFillColor(["name"]) -> string |
624 | |||
625 | Returns the name of the fill color of the object "name". |
||
626 | If "name" is not given the currently selected item is used. |
||
627 | </source> |
||
14888 | jghali | 628 | <translation>getFillColor(["nazwa"]) -> string |
12882 | cbradney | 629 | |
630 | Zwraca nazwę koloru wypełnienia obiektu "nazwa". |
||
631 | Jeśli nie zostanie podana "nazwa", zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
632 | </message> |
||
633 | <message> |
||
15099 | cbradney | 634 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="36"/> |
12882 | cbradney | 635 | <source>getFillTransparency(["name"]) -> float |
636 | |||
637 | Returns the fill transparency of the object "name". If "name" |
||
638 | is not given the currently selected Item is used. |
||
639 | </source> |
||
640 | <translation type="unfinished"></translation> |
||
641 | </message> |
||
642 | <message> |
||
15099 | cbradney | 643 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="46"/> |
12882 | cbradney | 644 | <source>getFillBlendmode(["name"]) -> integer |
645 | |||
646 | Returns the fill blendmode of the object "name". If "name" |
||
647 | is not given the currently selected Item is used. |
||
648 | </source> |
||
649 | <translation type="unfinished"></translation> |
||
650 | </message> |
||
651 | <message> |
||
15099 | cbradney | 652 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="56"/> |
12882 | cbradney | 653 | <source>getLineColor(["name"]) -> string |
654 | |||
655 | Returns the name of the line color of the object "name". |
||
656 | If "name" is not given the currently selected item is used. |
||
657 | </source> |
||
14888 | jghali | 658 | <translation>getLineColor(["nazwa"]) -> string |
12882 | cbradney | 659 | |
660 | Zwraca nazwę koloru linii objektu "nazwa". Jeśli "nazwa" |
||
661 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
662 | </message> |
||
663 | <message> |
||
15099 | cbradney | 664 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="66"/> |
12882 | cbradney | 665 | <source>getLineTransparency(["name"]) -> float |
666 | |||
667 | Returns the line transparency of the object "name". If "name" |
||
668 | is not given the currently selected Item is used. |
||
669 | </source> |
||
670 | <translation type="unfinished"></translation> |
||
671 | </message> |
||
672 | <message> |
||
15099 | cbradney | 673 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="76"/> |
12882 | cbradney | 674 | <source>getLineBlendmode(["name"]) -> integer |
675 | |||
676 | Returns the line blendmode of the object "name". If "name" |
||
677 | is not given the currently selected Item is used. |
||
678 | </source> |
||
679 | <translation type="unfinished"></translation> |
||
680 | </message> |
||
681 | <message> |
||
15099 | cbradney | 682 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="86"/> |
12882 | cbradney | 683 | <source>getLineWidth(["name"]) -> integer |
684 | |||
685 | Returns the line width of the object "name". If "name" |
||
686 | is not given the currently selected Item is used. |
||
687 | </source> |
||
14888 | jghali | 688 | <translation>getLineWidth(["nazwa"]) -> integer |
12882 | cbradney | 689 | |
690 | Zwraca grubość linii obiektu "nazwa". Jeśli "nazwa" nie zostanie podana, |
||
691 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
692 | </message> |
||
693 | <message> |
||
15099 | cbradney | 694 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="96"/> |
12882 | cbradney | 695 | <source>getLineShade(["name"]) -> integer |
696 | |||
697 | Returns the shading value of the line color of the object "name". |
||
698 | If "name" is not given the currently selected item is used. |
||
699 | </source> |
||
14888 | jghali | 700 | <translation>getLineShade(["nazwa"]) -> integer |
12882 | cbradney | 701 | |
702 | Zwraca wartość cieniowania koloru linii obiektu "nazwa". Jeśli "nazwa" nie zostanie podana, |
||
703 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
704 | </message> |
||
705 | <message> |
||
15099 | cbradney | 706 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="106"/> |
12882 | cbradney | 707 | <source>getLineJoin(["name"]) -> integer (see constants) |
708 | |||
709 | Returns the line join style of the object "name". If "name" is not given |
||
710 | the currently selected item is used. The join types are: |
||
711 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
712 | </source> |
||
713 | <translation type="unfinished"></translation> |
||
714 | </message> |
||
715 | <message> |
||
15099 | cbradney | 716 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="117"/> |
12882 | cbradney | 717 | <source>getLineEnd(["name"]) -> integer (see constants) |
718 | |||
719 | Returns the line cap style of the object "name". If "name" is not given the |
||
720 | currently selected item is used. The cap types are: |
||
721 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
722 | </source> |
||
14888 | jghali | 723 | <translation>getLineEnd(["nazwa"]) -> integer (zobacz stałe) |
12882 | cbradney | 724 | |
725 | Zwraca styl zakończenia linii obiektu "nazwa". Jeśli "nazwa" nie zostanie podana, |
||
726 | zostanie użyty aktualnie zaznaczony obiekt. Są następujące typy zakończeń: |
||
727 | CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation> |
||
728 | </message> |
||
729 | <message> |
||
15099 | cbradney | 730 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="128"/> |
12882 | cbradney | 731 | <source>getLineStyle(["name"]) -> integer (see constants) |
732 | |||
733 | Returns the line style of the object "name". If "name" is not given the |
||
734 | currently selected item is used. Line style constants are: |
||
735 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
736 | </source> |
||
14888 | jghali | 737 | <translation>getLineStyle(["name"]) -> integer (zobacz stałe) |
12882 | cbradney | 738 | |
739 | Zwraca styl linii obiektu "nazwa". Jeśli "nazwa" nie zostanie podana, zostanie |
||
740 | użyty aktualnie zaznaczony obiekt. Stałe stylu linii to: |
||
741 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID</translation> |
||
742 | </message> |
||
743 | <message> |
||
15099 | cbradney | 744 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="139"/> |
12882 | cbradney | 745 | <source>getFillShade(["name"]) -> integer |
746 | |||
747 | Returns the shading value of the fill color of the object "name". |
||
748 | If "name" is not given the currently selected item is used. |
||
749 | </source> |
||
14888 | jghali | 750 | <translation>getFillShade(["nazwa"]) -> integer |
12882 | cbradney | 751 | |
752 | Zwraca wartość cieniowania koloru wypełnienia obiektu "nazwa". |
||
753 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
754 | </message> |
||
755 | <message> |
||
15099 | cbradney | 756 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="149"/> |
12882 | cbradney | 757 | <source>getCornerRadius(["name"]) -> integer |
758 | |||
759 | Returns the corner radius of the object "name". The radius is |
||
760 | expressed in points. If "name" is not given the currently |
||
761 | selected item is used. |
||
762 | </source> |
||
763 | <translation type="unfinished"></translation> |
||
764 | </message> |
||
765 | <message> |
||
15099 | cbradney | 766 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="160"/> |
12882 | cbradney | 767 | <source>getImageScale(["name"]) -> (x,y) |
768 | |||
769 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
770 | "name". If "name" is not given the currently selected item is used. |
||
771 | </source> |
||
14888 | jghali | 772 | <translation>getImageScale(["nazwa"]) -> (x,y) |
12882 | cbradney | 773 | |
774 | Zwraca krotkę (x, y) zawierającą wartości skalowania ramki graficznej "nazwa". |
||
775 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
776 | </message> |
||
777 | <message> |
||
15099 | cbradney | 778 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="170"/> |
12882 | cbradney | 779 | <source>getImageName(["name"]) -> string |
780 | |||
781 | Returns the filename for the image in the image frame. If "name" is not |
||
782 | given the currently selected item is used. |
||
783 | </source> |
||
14888 | jghali | 784 | <translation>getImageName(["nazwa"]) -> string |
12882 | cbradney | 785 | |
786 | Zwraca nazwę pliku dla obrazka w ramce graficznej "nazwa". Jeśli "nazwa" |
||
787 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
788 | </message> |
||
789 | <message> |
||
15099 | cbradney | 790 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="180"/> |
12882 | cbradney | 791 | <source>getPosition(["name"]) -> (x,y) |
792 | |||
793 | Returns a (x, y) tuple with the position of the object "name". |
||
794 | If "name" is not given the currently selected item is used. |
||
795 | The position is expressed in the actual measurement unit of the document |
||
796 | - see UNIT_<type> for reference. |
||
797 | </source> |
||
798 | <translation type="unfinished"></translation> |
||
799 | </message> |
||
800 | <message> |
||
15099 | cbradney | 801 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="192"/> |
12882 | cbradney | 802 | <source>getSize(["name"]) -> (width,height) |
803 | |||
804 | Returns a (width, height) tuple with the size of the object "name". |
||
805 | If "name" is not given the currently selected item is used. The size is |
||
806 | expressed in the current measurement unit of the document - see UNIT_<type> |
||
807 | for reference. |
||
808 | </source> |
||
14888 | jghali | 809 | <translation>getSize(["nazwa"]) -> (szerokość,wysokość) |
12882 | cbradney | 810 | |
811 | Zwraca krotkę (szerokość, wysokość) z rozmiarami obiektu "nazwa". |
||
812 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony |
||
813 | obiekt. Rozmiar podany jest w aktualnych jednostkach miary dokumentu. |
||
814 | Zobacz stałe UNIT_<type>.</translation> |
||
815 | </message> |
||
816 | <message> |
||
15099 | cbradney | 817 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="204"/> |
12882 | cbradney | 818 | <source>getRotation(["name"]) -> integer |
819 | |||
820 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
821 | and clockwise is positive. If "name" is not given the currently selected item |
||
822 | is used. |
||
823 | </source> |
||
14888 | jghali | 824 | <translation>getRotation(["nazwa"]) -> integer |
12882 | cbradney | 825 | |
826 | Zwraca obrót obiektu "nazwa". Wartość obrotu wyrażona jest w stopniach, obrót zgodny |
||
827 | z ruchem wskazówek zegara ma wartość dodatnią.Jeśli "nazwa" nie zostanie podana, |
||
828 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
829 | </message> |
||
830 | <message> |
||
15099 | cbradney | 831 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="215"/> |
12882 | cbradney | 832 | <source>getAllObjects() -> list |
833 | |||
834 | Returns a list containing the names of all objects on the current page. |
||
835 | </source> |
||
14888 | jghali | 836 | <translation>getAllObjects() -> list |
12882 | cbradney | 837 | |
838 | Zwraca listę zawierającą nazwy wszystkich obiektów na aktualnej stronie.</translation> |
||
839 | </message> |
||
840 | <message> |
||
15099 | cbradney | 841 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/> |
14888 | jghali | 842 | <source>getPropertyCType(object, property, includesuper=True) |
843 | |||
844 | Returns the name of the C type of `property' of `object'. See getProperty() |
||
845 | for details of arguments. |
||
846 | |||
847 | If `includesuper' is true, search inherited properties too. |
||
848 | </source> |
||
849 | <translation type="unfinished"></translation> |
||
850 | </message> |
||
851 | <message> |
||
15099 | cbradney | 852 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/> |
14888 | jghali | 853 | <source>getPropertyNames(object, includesuper=True) |
854 | |||
855 | Return a list of property names supported by `object'. |
||
856 | If `includesuper' is true, return properties supported |
||
857 | by parent classes as well. |
||
858 | </source> |
||
859 | <translation type="unfinished"></translation> |
||
860 | </message> |
||
861 | <message> |
||
15099 | cbradney | 862 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/> |
14888 | jghali | 863 | <source>getProperty(object, property) |
864 | |||
865 | Return the value of the property `property' of the passed `object'. |
||
866 | |||
867 | The `object' argument may be a string, in which case the named PageItem |
||
868 | is searched for. It may also be a PyCObject, which may point to any |
||
869 | C++ QObject instance. |
||
870 | |||
871 | The `property' argument must be a string, and is the name of the property |
||
872 | to look up on `object'. |
||
873 | |||
874 | The return value varies depending on the type of the property. |
||
875 | </source> |
||
876 | <translation type="unfinished"></translation> |
||
877 | </message> |
||
878 | <message> |
||
15099 | cbradney | 879 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/> |
14888 | jghali | 880 | <source>setProperty(object, property, value) |
881 | |||
882 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
||
883 | compatible with the type of `property', an exception is raised. An exception may |
||
884 | also be raised if the underlying setter fails. |
||
885 | |||
886 | See getProperty() for more information. |
||
887 | </source> |
||
888 | <translation type="unfinished"></translation> |
||
889 | </message> |
||
890 | <message> |
||
15099 | cbradney | 891 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/> |
12882 | cbradney | 892 | <source>moveObject(dx, dy [, "name"]) |
893 | |||
894 | Moves the object "name" by dx and dy relative to its current position. The |
||
895 | distances are expressed in the current measurement unit of the document (see |
||
896 | UNIT constants). If "name" is not given the currently selected item is used. |
||
897 | If the object "name" belongs to a group, the whole group is moved. |
||
898 | </source> |
||
14888 | jghali | 899 | <translation>moveObject(dx, dy [, "nazwa"]) |
12882 | cbradney | 900 | |
901 | Przesuwa obiekt "nazwa" o dx i dy w stosunku do aktualnej pozycji. |
||
902 | Odległości podawane są w aktualnych jednostkach miary dla danego dokumentu (zobacz |
||
903 | stałe UNIT). Jeśli "nazwa nie zostanie podana, użyty zostanie aktualnie wybrany obiekt. |
||
904 | Jeśli obiekt "nazwa" należy do grupy, zostanie przesunięta cała grupa.</translation> |
||
905 | </message> |
||
906 | <message> |
||
15099 | cbradney | 907 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/> |
12882 | cbradney | 908 | <source>moveObjectAbs(x, y [, "name"]) |
909 | |||
910 | Moves the object "name" to a new location. The coordinates are expressed in |
||
911 | the current measurement unit of the document (see UNIT constants). If "name" |
||
912 | is not given the currently selected item is used. If the object "name" |
||
913 | belongs to a group, the whole group is moved. |
||
914 | </source> |
||
14888 | jghali | 915 | <translation>moveObjectAbs(x, y [, "name"]) |
12882 | cbradney | 916 | |
917 | Przesuwa obiekt "nazwa" na nową pozycję. Współrzędne pozycji wyrażone są |
||
918 | w aktualnych jednostkach miary dokumentu (zobacz stałe UNIT). Jeśli "nazwa" |
||
919 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. Jeśli obiekt |
||
920 | "nazwa" należy do grupy, zostanie przesunięta cała grupa.</translation> |
||
921 | </message> |
||
922 | <message> |
||
15099 | cbradney | 923 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/> |
12882 | cbradney | 924 | <source>rotateObject(rot [, "name"]) |
925 | |||
926 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
927 | rotated by the vertex that is currently selected as the rotation point - by |
||
928 | default, the top left vertex at zero rotation. Positive values mean counter |
||
929 | clockwise rotation when the default rotation point is used. If "name" is not |
||
930 | given the currently selected item is used. |
||
931 | </source> |
||
932 | <translation type="unfinished"></translation> |
||
933 | </message> |
||
934 | <message> |
||
15099 | cbradney | 935 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/> |
12882 | cbradney | 936 | <source>rotateObjectAbs(rot [, "name"]) |
937 | |||
938 | Sets the rotation of the object "name" to "rot". Positive values |
||
939 | mean counter clockwise rotation. If "name" is not given the currently |
||
940 | selected item is used. |
||
941 | </source> |
||
942 | <translation type="unfinished"></translation> |
||
943 | </message> |
||
944 | <message> |
||
15099 | cbradney | 945 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/> |
12882 | cbradney | 946 | <source>sizeObject(width, height [, "name"]) |
947 | |||
948 | Resizes the object "name" to the given width and height. If "name" |
||
949 | is not given the currently selected item is used. |
||
950 | </source> |
||
14888 | jghali | 951 | <translation>sizeObject(szerokość, wysokość [, "nazwa"]) |
12882 | cbradney | 952 | |
953 | Zmienia rozmiar obiektu "nazwa" na podaną szerokość i wysokość. |
||
954 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
955 | </message> |
||
956 | <message> |
||
15099 | cbradney | 957 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/> |
12882 | cbradney | 958 | <source>getSelectedObject([nr]) -> string |
959 | |||
960 | Returns the name of the selected object. "nr" if given indicates the number |
||
961 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
962 | second selected Object and so on. |
||
963 | </source> |
||
14888 | jghali | 964 | <translation>getSelectedObject([nr]) -> string |
12882 | cbradney | 965 | |
966 | Zwraca nazwę zaznaczonego obiektu. Jeśli podany zostanie "nr", oznacza on numer |
||
967 | zaznaczonego obiektu, tzn. 0 oznacza pierwszy wybrany obiekt, 1 drugi obiekt itd.</translation> |
||
968 | </message> |
||
969 | <message> |
||
15099 | cbradney | 970 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/> |
12882 | cbradney | 971 | <source>selectionCount() -> integer |
972 | |||
973 | Returns the number of selected objects. |
||
974 | </source> |
||
14888 | jghali | 975 | <translation>selectionCount() -> integer |
12882 | cbradney | 976 | |
977 | Zwraca ilość zaznaczonych obiektów.</translation> |
||
978 | </message> |
||
979 | <message> |
||
15099 | cbradney | 980 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/> |
12882 | cbradney | 981 | <source>selectObject("name") |
982 | |||
983 | Selects the object with the given "name". |
||
984 | </source> |
||
14888 | jghali | 985 | <translation>selectObject("nazwa") |
12882 | cbradney | 986 | |
987 | Zaznacza obiekt "nazwa".</translation> |
||
988 | </message> |
||
989 | <message> |
||
15099 | cbradney | 990 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/> |
12882 | cbradney | 991 | <source>deselectAll() |
992 | |||
993 | Deselects all objects in the whole document. |
||
994 | </source> |
||
14888 | jghali | 995 | <translation>deselectAll() |
12882 | cbradney | 996 | |
997 | Usuwa zaznaczenie obiektu nazwa.</translation> |
||
998 | </message> |
||
999 | <message> |
||
15099 | cbradney | 1000 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/> |
1001 | <source>groupObjects(list) -> string |
||
1002 | |||
1003 | Groups the objects named in "list" together. "list" must contain the names |
||
1004 | of the objects to be grouped. If "list" is not given the currently selected |
||
1005 | items are used. Returns the group name for further referencing. |
||
1006 | </source> |
||
1007 | <translation type="unfinished"></translation> |
||
1008 | </message> |
||
1009 | <message> |
||
1010 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="200"/> |
||
1011 | <source>setImageBrightness(n [, "name"]) |
||
1012 | |||
1013 | Set image brightness effect of the picture in the image frame "name". |
||
1014 | If "name" is not given the currently selected item is used. A number of 1 |
||
1015 | means 100 %. Brightness factor is equal to the value shown on properties palette. |
||
1016 | |||
1017 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1018 | </source> |
||
1019 | <translation type="unfinished"></translation> |
||
1020 | </message> |
||
1021 | <message> |
||
1022 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="213"/> |
||
1023 | <source>setImageGrayscale(["name"]) |
||
1024 | |||
1025 | Set image grayscale effect of the picture in the image frame "name". |
||
1026 | If "name" is not given the currently selected item is used. |
||
1027 | |||
1028 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1029 | </source> |
||
1030 | <translation type="unfinished"></translation> |
||
1031 | </message> |
||
1032 | <message> |
||
12882 | cbradney | 1033 | <source>groupObjects(list) |
1034 | |||
1035 | Groups the objects named in "list" together. "list" must contain the names |
||
1036 | of the objects to be grouped. If "list" is not given the currently selected |
||
1037 | items are used. |
||
1038 | </source> |
||
15099 | cbradney | 1039 | <translation type="obsolete">groupObjects(list) |
12882 | cbradney | 1040 | |
1041 | Grupuje obiekty podane w liście "list". Parametr "list" musi zawierać nazwy |
||
1042 | obiektów, które mają być zgrupowane. Jeśli lista nie zostanie podana, zostaną |
||
1043 | użyte aktualnie zaznaczone obiekty.</translation> |
||
1044 | </message> |
||
1045 | <message> |
||
15099 | cbradney | 1046 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/> |
12882 | cbradney | 1047 | <source>unGroupObjects("name") |
1048 | |||
1049 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
14888 | jghali | 1050 | <translation>unGroupObjects("nazwa") |
12882 | cbradney | 1051 | |
1052 | Znosi grupę, do której należy obiekt "nazwa". Jeśli "nazwa" |
||
1053 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
1054 | </message> |
||
1055 | <message> |
||
15099 | cbradney | 1056 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/> |
12882 | cbradney | 1057 | <source>scaleGroup(factor [,"name"]) |
1058 | |||
1059 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
1060 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
1061 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
1062 | to 150 % of its original size. The value for "factor" must be greater than |
||
1063 | 0. If "name" is not given the currently selected item is used. |
||
1064 | |||
1065 | May raise ValueError if an invalid scale factor is passed. |
||
1066 | </source> |
||
14888 | jghali | 1067 | <translation>scaleGroup(wsp [,"nazwa"]) |
12882 | cbradney | 1068 | |
1069 | Skaluje grupę, do której należy obiekt "nazwa". Wartości większe niż 1 powiększają grupę, |
||
1070 | wartości mniejsze niż 1 zmniejszają ją, np. wartość 0,5 skaluje grupę do 50% jej oryginalnego |
||
1071 | rozmiaru, wartość 1,5 skaluje grupę do 150% oryginalnego rozmiaru. Wartość współczynnika |
||
1072 | "wsp" musi być większa niż 0. Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie |
||
1073 | zaznaczony obiekt. |
||
1074 | |||
1075 | Może zwrócić błąd ValueError, jeśli zostanie podany błędny współczynnik.</translation> |
||
1076 | </message> |
||
1077 | <message> |
||
15099 | cbradney | 1078 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/> |
12882 | cbradney | 1079 | <source>loadImage("filename" [, "name"]) |
1080 | |||
1081 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1082 | not given the currently selected item is used. |
||
1083 | |||
1084 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1085 | </source> |
||
14888 | jghali | 1086 | <translation>loadImage("nazwa_pliku" [, "nazwa"]) |
12882 | cbradney | 1087 | |
1088 | Wczytuje obrazek "nazwa_pliku" do ramki graficznej "nazwa". Jeśli "nazwa" nie |
||
1089 | zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
1090 | |||
1091 | Może zwrócić błąd May raise WrongFrameTypeError, jeśli ramka docelowa nie jest ramką graficzną</translation> |
||
1092 | </message> |
||
1093 | <message> |
||
1094 | <source>scaleImage(x, y [, "name"]) |
||
1095 | |||
1096 | Sets the scaling factors of the picture in the image frame "name". |
||
1097 | If "name" is not given the currently selected item is used. A number of 1 |
||
1098 | means 100 %. |
||
1099 | |||
1100 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1101 | </source> |
||
13279 | cbradney | 1102 | <translation type="obsolete">scaleImage(x, y [, "nazwa"]) |
12882 | cbradney | 1103 | |
1104 | Przypisuje współczynniki skalowania obrazkowi w ramce graficznej "nazwa". Jeśli "nazwa" |
||
1105 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. Liczba 1 oznacza 100%. |
||
1106 | |||
1107 | Może zwrócić błąd WrongFrameTypeError, jeśli ramka docelowa nie jest ramką graficzną</translation> |
||
1108 | </message> |
||
1109 | <message> |
||
15099 | cbradney | 1110 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="225"/> |
12882 | cbradney | 1111 | <source>lockObject(["name"]) -> bool |
1112 | |||
1113 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
1114 | If "name" is not given the currently selected item is used. Returns true |
||
1115 | if locked. |
||
1116 | </source> |
||
14888 | jghali | 1117 | <translation>lockObject(["nazwa"]) -> bool |
12882 | cbradney | 1118 | |
1119 | Zabezpiecza obiekt "nazwa", jeśli nie jest zabezpieczony bądź odbezpiecza go, |
||
1120 | jeśli jest zabezpieczony. Jeśli "nazwa" nie zostanie podana, zostanie |
||
1121 | użyty aktualnie zaznaczony obiekt. Zwraca true, jeśli obiekt jest zabezpieczony. </translation> |
||
1122 | </message> |
||
1123 | <message> |
||
15099 | cbradney | 1124 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="236"/> |
12882 | cbradney | 1125 | <source>isLocked(["name"]) -> bool |
1126 | |||
1127 | Returns true if is the object "name" locked. If "name" is not given the |
||
1128 | currently selected item is used. |
||
1129 | </source> |
||
14888 | jghali | 1130 | <translation>isLocked(["nazwa"]) -> bool |
12882 | cbradney | 1131 | |
1132 | Zwraca true, jeśli obiekt "nazwa" jest zabezpieczony. Jeśli "nazwa" |
||
1133 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
1134 | </message> |
||
1135 | <message> |
||
15099 | cbradney | 1136 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="245"/> |
12882 | cbradney | 1137 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1138 | |||
1139 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
||
1140 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1141 | Both `scaletoframe' and `proportional' are boolean. |
||
1142 | |||
1143 | May raise WrongFrameTypeError. |
||
1144 | </source> |
||
14888 | jghali | 1145 | <translation>setScaleImageToFrame(scaletoframe, proportional=None, name=<zaznaczenie> |
12882 | cbradney | 1146 | |
1147 | Przypisuje opcji skalowania do rozmiaru zaznaczonej lub podanej ramki graficznej wartość `scaletoframe'. |
||
1148 | Jeśli podany zostanie parametr `proportional', opcji zachowywania tej samej skali w poziomie i w pionie |
||
1149 | przypisana zostanie wartość 'proportional'. |
||
1150 | Oba parametry `scaletoframe' i `proportional' zawierają wartości logiczne. |
||
1151 | |||
1152 | Może zwrócić błąd WrongFrameTypeError.</translation> |
||
1153 | </message> |
||
1154 | <message> |
||
15099 | cbradney | 1155 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/> |
12882 | cbradney | 1156 | <source>setRedraw(bool) |
1157 | |||
1158 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
1159 | This change will persist even after the script exits, so make sure to call |
||
1160 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1161 | </source> |
||
14888 | jghali | 1162 | <translation>setRedraw(bool) |
12882 | cbradney | 1163 | |
1164 | Blokuje aktualizację widoku strony, kiedy bool = False, w innym przypadku aktualizowanie jest włączone. |
||
1165 | Ta zmiana zachowa ważność po zakończeniu pracy skryptu, pamiętaj więc, aby wykonać |
||
1166 | setRedraw(True) w finally: na samym dole skryptu.</translation> |
||
1167 | </message> |
||
1168 | <message> |
||
15099 | cbradney | 1169 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/> |
12882 | cbradney | 1170 | <source>getFontNames() -> list |
1171 | |||
1172 | Returns a list with the names of all available fonts. |
||
1173 | </source> |
||
14888 | jghali | 1174 | <translation>getFontNames() -> list |
12882 | cbradney | 1175 | |
1176 | Zwraca listę z nazwami wszystkich dostępnych fontów.</translation> |
||
1177 | </message> |
||
1178 | <message> |
||
15099 | cbradney | 1179 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/> |
12882 | cbradney | 1180 | <source>getXFontNames() -> list of tuples |
1181 | |||
1182 | Returns a larger font info. It's a list of the tuples with: |
||
1183 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
||
1184 | </source> |
||
14888 | jghali | 1185 | <translation>getXFontNames() -> list of tuples |
12882 | cbradney | 1186 | |
1187 | Zwraca obszerną informację o fontach. Jest to lista krotek zawierająca: |
||
1188 | [ (nazwę w Scribusie, rodzinę, prawdziwą nazwę, podzbiór (1|0), osadź w PS (1|0), plik fontu), (...), ... ]</translation> |
||
1189 | </message> |
||
1190 | <message> |
||
15099 | cbradney | 1191 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/> |
12882 | cbradney | 1192 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1193 | |||
1194 | Creates an image preview of font "name" with given text "sample" and size. |
||
1195 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1196 | image data is returned as a string. The optional "format" argument |
||
1197 | specifies the image format to generate, and supports any format allowed |
||
1198 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1199 | |||
1200 | May raise NotFoundError if the specified font can't be found. |
||
1201 | May raise ValueError if an empty sample or filename is passed. |
||
1202 | </source> |
||
14888 | jghali | 1203 | <translation>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
12882 | cbradney | 1204 | |
1205 | Tworzy obrazek z podglądem fontu "name" z podanym wzorem "sample" tekstu |
||
1206 | i w podanym rozmiarze "size". Jeśli "filename" nie wynosi "", obrazek zapisywany jest w pliku "filename". |
||
1207 | W innym przypadku dane obrazka zwracane są jako ciąg znaków. Opcjonalny argument "format" |
||
1208 | definiuje format obrazka, dozwolony przez QPixmap.save(). Najczęsciej używane formaty |
||
1209 | to PPM, JPEG, PNG i XPM. |
||
1210 | |||
1211 | Może zwrócić błąd NotFoundError, jeśli wymieniony font nie zostanie znaleziony. |
||
1212 | Może zwrócić błąd ValueError, jeśli zostanie przekazany pusty parametr "sample" lub "filename".</translation> |
||
1213 | </message> |
||
1214 | <message> |
||
15099 | cbradney | 1215 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/> |
12882 | cbradney | 1216 | <source>getLayers() -> list |
1217 | |||
1218 | Returns a list with the names of all defined layers. |
||
1219 | </source> |
||
14888 | jghali | 1220 | <translation>getLayers() -> list |
12882 | cbradney | 1221 | |
1222 | Zwraca listę nazw wszystkich zdefiniowanych warstw.</translation> |
||
1223 | </message> |
||
1224 | <message> |
||
15099 | cbradney | 1225 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/> |
12882 | cbradney | 1226 | <source>setActiveLayer("name") |
1227 | |||
1228 | Sets the active layer to the layer named "name". |
||
1229 | |||
1230 | May raise NotFoundError if the layer can't be found. |
||
1231 | May raise ValueError if the layer name isn't acceptable. |
||
1232 | </source> |
||
14888 | jghali | 1233 | <translation>setActiveLayer("nazwa") |
12882 | cbradney | 1234 | |
1235 | Ustawia warstę "nazwa" jako aktywną wartstwę. |
||
1236 | |||
1237 | Może zwrócić błąd NotFoundError, jeśli warstwa nie zostanie znaleziona. |
||
1238 | Może zwrócić błąd ValueError, jeśli nazwa wartwy jest niedopuszczalna.</translation> |
||
1239 | </message> |
||
1240 | <message> |
||
15099 | cbradney | 1241 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/> |
12882 | cbradney | 1242 | <source>getActiveLayer() -> string |
1243 | |||
1244 | Returns the name of the current active layer. |
||
1245 | </source> |
||
14888 | jghali | 1246 | <translation>getActiveLayer() -> string |
12882 | cbradney | 1247 | |
1248 | Zwraca nazwę aktualnej warstwy.</translation> |
||
1249 | </message> |
||
1250 | <message> |
||
15099 | cbradney | 1251 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/> |
12882 | cbradney | 1252 | <source>sentToLayer("layer" [, "name"]) |
1253 | |||
1254 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1255 | If "name" is not given the currently selected item is used. |
||
1256 | |||
1257 | May raise NotFoundError if the layer can't be found. |
||
1258 | May raise ValueError if the layer name isn't acceptable. |
||
1259 | </source> |
||
14888 | jghali | 1260 | <translation>sentToLayer("warstwa" [, "nazwa"]) |
12882 | cbradney | 1261 | |
1262 | Przenosi obiekt "nazwa" do warstwy "warstwa". Warstwa ta musi istnieć. |
||
1263 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
1264 | |||
1265 | Może zwrócić błąd NotFoundError, jeśli warsta nie zostanie znaleziona. |
||
1266 | Może zwrócić błąd ValueError, jeśli nazwa jest niedopuszczalna.</translation> |
||
1267 | </message> |
||
1268 | <message> |
||
15099 | cbradney | 1269 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/> |
12882 | cbradney | 1270 | <source>setLayerVisible("layer", visible) |
1271 | |||
1272 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1273 | the layer is invisible. |
||
1274 | |||
1275 | May raise NotFoundError if the layer can't be found. |
||
1276 | May raise ValueError if the layer name isn't acceptable. |
||
1277 | </source> |
||
14888 | jghali | 1278 | <translation>setLayerVisible("warstwa", widoczna) |
12882 | cbradney | 1279 | |
1280 | Zmienia widoczność warstwy "warstwa" na widoczną lub nie. |
||
1281 | Jeśli widoczność ma wartość false, warstwa będzie niewidoczna. |
||
1282 | |||
1283 | Może zwrócić błąd NotFoundError, jeśli warstwa nie zostanie znaleziona. |
||
1284 | Może zwrócić błąd ValueError, jeśli nazwa warstwy jest niedopuszczalna. </translation> |
||
1285 | </message> |
||
1286 | <message> |
||
15099 | cbradney | 1287 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/> |
12882 | cbradney | 1288 | <source>setLayerPrintable("layer", printable) |
1289 | |||
1290 | Sets the layer "layer" to be printable or not. If is the |
||
1291 | printable set to false the layer won't be printed. |
||
1292 | |||
1293 | May raise NotFoundError if the layer can't be found. |
||
1294 | May raise ValueError if the layer name isn't acceptable. |
||
1295 | </source> |
||
1296 | <translation type="unfinished"></translation> |
||
1297 | </message> |
||
1298 | <message> |
||
15099 | cbradney | 1299 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/> |
12882 | cbradney | 1300 | <source>setLayerLocked("layer", locked) |
1301 | |||
1302 | Sets the layer "layer" to be locked or not. If locked is set to |
||
1303 | true the layer will be locked. |
||
1304 | |||
1305 | May raise NotFoundError if the layer can't be found. |
||
1306 | May raise ValueError if the layer name isn't acceptable. |
||
1307 | </source> |
||
1308 | <translation type="unfinished"></translation> |
||
1309 | </message> |
||
1310 | <message> |
||
15099 | cbradney | 1311 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/> |
12882 | cbradney | 1312 | <source>setLayerOutlined("layer", outline) |
1313 | |||
1314 | Sets the layer "layer" to be locked or not. If outline is set to |
||
1315 | true the layer will be displayed outlined. |
||
1316 | |||
1317 | May raise NotFoundError if the layer can't be found. |
||
1318 | May raise ValueError if the layer name isn't acceptable. |
||
1319 | </source> |
||
1320 | <translation type="unfinished"></translation> |
||
1321 | </message> |
||
1322 | <message> |
||
15099 | cbradney | 1323 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/> |
12882 | cbradney | 1324 | <source>setLayerFlow("layer", flow) |
1325 | |||
1326 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
1327 | true text in layers above this one will flow around objects on this layer. |
||
1328 | |||
1329 | May raise NotFoundError if the layer can't be found. |
||
1330 | May raise ValueError if the layer name isn't acceptable. |
||
1331 | </source> |
||
1332 | <translation type="unfinished"></translation> |
||
1333 | </message> |
||
1334 | <message> |
||
15099 | cbradney | 1335 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/> |
12882 | cbradney | 1336 | <source>setLayerBlendmode("layer", blend) |
1337 | |||
1338 | Sets the layers "layer" blendmode to blend. |
||
1339 | |||
1340 | May raise NotFoundError if the layer can't be found. |
||
1341 | May raise ValueError if the layer name isn't acceptable. |
||
1342 | </source> |
||
1343 | <translation type="unfinished"></translation> |
||
1344 | </message> |
||
1345 | <message> |
||
15099 | cbradney | 1346 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/> |
12882 | cbradney | 1347 | <source>setLayerTransparency("layer", trans) |
1348 | |||
1349 | Sets the layers "layer" transparency to trans. |
||
1350 | |||
1351 | May raise NotFoundError if the layer can't be found. |
||
1352 | May raise ValueError if the layer name isn't acceptable. |
||
1353 | </source> |
||
1354 | <translation type="unfinished"></translation> |
||
1355 | </message> |
||
1356 | <message> |
||
15099 | cbradney | 1357 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/> |
12882 | cbradney | 1358 | <source>isLayerVisible("layer") -> bool |
1359 | |||
1360 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1361 | that the layer "layer" is visible, a value of False means that the layer |
||
1362 | "layer" is invisible. |
||
1363 | |||
1364 | May raise NotFoundError if the layer can't be found. |
||
1365 | May raise ValueError if the layer name isn't acceptable. |
||
1366 | </source> |
||
1367 | <translation type="unfinished"></translation> |
||
1368 | </message> |
||
1369 | <message> |
||
15099 | cbradney | 1370 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/> |
12882 | cbradney | 1371 | <source>isLayerPrintable("layer") -> bool |
1372 | |||
1373 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1374 | that the layer "layer" can be printed, a value of False means that printing |
||
1375 | the layer "layer" is disabled. |
||
1376 | |||
1377 | May raise NotFoundError if the layer can't be found. |
||
1378 | May raise ValueError if the layer name isn't acceptable. |
||
1379 | </source> |
||
14888 | jghali | 1380 | <translation>isLayerPrintable("warstwa") -> bool |
12882 | cbradney | 1381 | |
1382 | Zwraca informację, czy warstwa jest drukowalna. Wartość True oznacza, że warstwa |
||
1383 | może być drukowana, wartość False oznacza, że drukowanie warstwy jest wyłączone. |
||
1384 | |||
1385 | Może zwrócić błąd NotFoundError, jeśli warstwa nie zostanie znaleziona. |
||
1386 | Może zwrócić błąd ValueError, jeśli nazwa warstwy jest niedopuszczalna. </translation> |
||
1387 | </message> |
||
1388 | <message> |
||
15099 | cbradney | 1389 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/> |
12882 | cbradney | 1390 | <source>isLayerLocked("layer") -> bool |
1391 | |||
1392 | Returns whether the layer "layer" is locked or not, a value of True means |
||
1393 | that the layer "layer" is editable, a value of False means that the layer |
||
1394 | "layer" is locked. |
||
1395 | |||
1396 | May raise NotFoundError if the layer can't be found. |
||
1397 | May raise ValueError if the layer name isn't acceptable. |
||
1398 | </source> |
||
1399 | <translation type="unfinished"></translation> |
||
1400 | </message> |
||
1401 | <message> |
||
15099 | cbradney | 1402 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/> |
12882 | cbradney | 1403 | <source>isLayerOutlined("layer") -> bool |
1404 | |||
1405 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
1406 | that the layer "layer" is outlined, a value of False means that the layer |
||
1407 | "layer" is normal. |
||
1408 | |||
1409 | May raise NotFoundError if the layer can't be found. |
||
1410 | May raise ValueError if the layer name isn't acceptable. |
||
1411 | </source> |
||
1412 | <translation type="unfinished"></translation> |
||
1413 | </message> |
||
1414 | <message> |
||
15099 | cbradney | 1415 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/> |
12882 | cbradney | 1416 | <source>isLayerFlow("layer") -> bool |
1417 | |||
1418 | Returns whether text flows around objects on layer "layer", a value of True means |
||
1419 | that text flows around, a value of False means that the text does not flow around. |
||
1420 | |||
1421 | May raise NotFoundError if the layer can't be found. |
||
1422 | May raise ValueError if the layer name isn't acceptable. |
||
1423 | </source> |
||
1424 | <translation type="unfinished"></translation> |
||
1425 | </message> |
||
1426 | <message> |
||
15099 | cbradney | 1427 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/> |
12882 | cbradney | 1428 | <source>getLayerBlendmode("layer") -> int |
1429 | |||
1430 | Returns the "layer" layer blendmode, |
||
1431 | |||
1432 | May raise NotFoundError if the layer can't be found. |
||
1433 | May raise ValueError if the layer name isn't acceptable. |
||
1434 | </source> |
||
1435 | <translation type="unfinished"></translation> |
||
1436 | </message> |
||
1437 | <message> |
||
15099 | cbradney | 1438 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/> |
12882 | cbradney | 1439 | <source>getLayerTransparency("layer") -> float |
1440 | |||
1441 | Returns the "layer" layer transparency, |
||
1442 | |||
1443 | May raise NotFoundError if the layer can't be found. |
||
1444 | May raise ValueError if the layer name isn't acceptable. |
||
1445 | </source> |
||
1446 | <translation type="unfinished"></translation> |
||
1447 | </message> |
||
1448 | <message> |
||
15099 | cbradney | 1449 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/> |
12882 | cbradney | 1450 | <source>deleteLayer("layer") |
1451 | |||
1452 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
||
1453 | exists or if it's the only layer in the document. |
||
1454 | |||
1455 | May raise NotFoundError if the layer can't be found. |
||
1456 | May raise ValueError if the layer name isn't acceptable. |
||
1457 | </source> |
||
14888 | jghali | 1458 | <translation>deleteLayer("warstwa") |
12882 | cbradney | 1459 | |
1460 | Usuwa warstwę o nazwie "warstwa". Nie usuwa nic, jeśli taka warstwa |
||
1461 | nie istnieje albo jeśli warstwa ta jest jedyną warstwą dokumentu. |
||
1462 | |||
1463 | Może zwrócić błąd NotFoundError, jeśli warstwa nie zostanie znaleziona. |
||
1464 | Może zwrócić błąd ValueError, jeśli nazwa warstwy jest niedopuszczalna. </translation> |
||
1465 | </message> |
||
1466 | <message> |
||
15099 | cbradney | 1467 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/> |
12882 | cbradney | 1468 | <source>createLayer(layer) |
1469 | |||
1470 | Creates a new layer with the name "name". |
||
1471 | |||
1472 | May raise ValueError if the layer name isn't acceptable. |
||
1473 | </source> |
||
14888 | jghali | 1474 | <translation>createLayer(warstwa) |
12882 | cbradney | 1475 | |
1476 | Tworzy nową warstwę o nazwie "warstwa". |
||
1477 | |||
1478 | Może zwrócić błąd ValueError, jeśli nazwa warstwy jest niedopuszczalna. </translation> |
||
1479 | </message> |
||
1480 | <message> |
||
15099 | cbradney | 1481 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/> |
1482 | <source>fileQuit() |
||
1483 | |||
1484 | Quit Scribus. |
||
1485 | </source> |
||
1486 | <translation type="unfinished"></translation> |
||
1487 | </message> |
||
1488 | <message> |
||
1489 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/> |
||
12882 | cbradney | 1490 | <source>getGuiLanguage() -> string |
1491 | |||
1492 | Returns a string with the -lang value. |
||
1493 | </source> |
||
14888 | jghali | 1494 | <translation>getGuiLanguage() -> string |
12882 | cbradney | 1495 | |
1496 | Zwraca łańcuch z wartością języka interfejsu -lang.</translation> |
||
1497 | </message> |
||
1498 | <message> |
||
15099 | cbradney | 1499 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/> |
12882 | cbradney | 1500 | <source>moveSelectionToFront() |
1501 | |||
1502 | Moves current selection to front. |
||
1503 | </source> |
||
1504 | <translation type="unfinished"></translation> |
||
1505 | </message> |
||
1506 | <message> |
||
15099 | cbradney | 1507 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="344"/> |
12882 | cbradney | 1508 | <source>moveSelectionToFront() |
1509 | |||
1510 | Moves current selection to back. |
||
1511 | </source> |
||
1512 | <translation type="unfinished"></translation> |
||
1513 | </message> |
||
1514 | <message> |
||
15099 | cbradney | 1515 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/> |
12882 | cbradney | 1516 | <source>createRect(x, y, width, height, ["name"]) -> string |
1517 | |||
1518 | Creates a new rectangle on the current page and returns its name. The |
||
1519 | coordinates are given in the current measurement units of the document |
||
1520 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1521 | because you need this name to reference that object in future. If "name" |
||
1522 | is not given Scribus will create one for you. |
||
1523 | |||
1524 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1525 | </source> |
||
14888 | jghali | 1526 | <translation>createRect(x, y, width, height, ["nazwa"]) -> string |
12882 | cbradney | 1527 | |
1528 | Tworzy nowy prostokąt na aktualnej stronie i zwraca jego nazwę. |
||
1529 | Współrzędne podaje się w aktualnych jednostkach miar dla danego dokumentu. |
||
1530 | (zobacz stałe UNIT). "nazwa" powinna być jednoznacznym identyfikatorem obiektu, |
||
1531 | ponieważ będziesz potrzebował jej, aby przywoływać ten obiekt w przyszłości. |
||
1532 | Jeśli nie zostanie podana, Scribus utworzy ją za ciebie. |
||
1533 | |||
1534 | Może zwrócić błąd NameExistsError, jeśli podasz nazwę, która już jest w użyciu.</translation> |
||
1535 | </message> |
||
1536 | <message> |
||
15099 | cbradney | 1537 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/> |
12882 | cbradney | 1538 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1539 | |||
1540 | Creates a new ellipse on the current page and returns its name. |
||
1541 | The coordinates are given in the current measurement units of the document |
||
1542 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1543 | because you need this name for further referencing of that object. If "name" |
||
1544 | is not given Scribus will create one for you. |
||
1545 | |||
1546 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1547 | </source> |
||
14888 | jghali | 1548 | <translation>createEllipse(x, y, szerokość, wysokość, ["nazwa"]) -> string |
12882 | cbradney | 1549 | |
1550 | Tworzy nową elipsę na aktualnej stronie i zwraca jej nazwę. Współrzędne podaje się |
||
1551 | w aktualnych jednostkach miary dokumentu (zobacz stałe UNIT). "nazwa" powinna |
||
1552 | być jednoznacznym identyfikatorem obiektu, ponieważ będzie ona potrzebna przy |
||
1553 | późniejszym odnoszeniu się do obiektu. Jeśli "nazwa" nie zostanie podana, Scribus |
||
1554 | sam utworzy taką nazwę. |
||
1555 | |||
1556 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu.</translation> |
||
1557 | </message> |
||
1558 | <message> |
||
15099 | cbradney | 1559 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/> |
12882 | cbradney | 1560 | <source>createImage(x, y, width, height, ["name"]) -> string |
1561 | |||
1562 | Creates a new picture frame on the current page and returns its name. The |
||
1563 | coordinates are given in the current measurement units of the document. |
||
1564 | "name" should be a unique identifier for the object because you need this |
||
1565 | name for further access to that object. If "name" is not given Scribus will |
||
1566 | create one for you. |
||
1567 | |||
1568 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1569 | </source> |
||
14888 | jghali | 1570 | <translation>createImage(x, y, szerokość, wysokość, ["nazwa"]) -> string |
12882 | cbradney | 1571 | |
1572 | Tworzy nową ramkę graficzną na aktualnej stronie i zwraca jej nazwę. Współrzędne |
||
1573 | podaje się w aktualnych jednostkach miary dokumentu. "nazwa" powinna być |
||
1574 | jednoznacznym identyfikatorem obiektu, ponieważ będzie ona potrzebna aby |
||
1575 | odnosić się do tego obiektu. Jeśli nazwa nie zostanie podana, Scribus utworzy |
||
1576 | ją automatycznie. |
||
1577 | |||
1578 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu.</translation> |
||
1579 | </message> |
||
1580 | <message> |
||
15099 | cbradney | 1581 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/> |
12882 | cbradney | 1582 | <source>createText(x, y, width, height, ["name"]) -> string |
1583 | |||
1584 | Creates a new text frame on the actual page and returns its name. |
||
1585 | The coordinates are given in the actual measurement unit of the document (see |
||
1586 | UNIT constants). "name" should be a unique identifier for the object because |
||
1587 | you need this name for further referencing of that object. If "name" is not |
||
1588 | given Scribus will create one for you. |
||
1589 | |||
1590 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1591 | </source> |
||
14888 | jghali | 1592 | <translation>createText(x, y, szerokość, wysokość, ["nazwa"]) -> string |
12882 | cbradney | 1593 | |
1594 | Tworzy nową ramkę tekstową na aktualnej stronie i zwraca jej nazwę. Współrzędne |
||
1595 | podawane są w aktualnej jednostce miary dokumentu (zobacz stałe UNIT). "nazwa" |
||
1596 | powinna być jednoznacznym identyfikatorem obiektu, ponieważ będzie potrzebna w |
||
1597 | przyszłości, aby odnosić się do obiektu. Jeśli nazwa nie zostanie podana, Scribus |
||
1598 | utworzy ją automatycznie. |
||
1599 | |||
1600 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu.</translation> |
||
1601 | </message> |
||
1602 | <message> |
||
15099 | cbradney | 1603 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/> |
12882 | cbradney | 1604 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1605 | |||
1606 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1607 | its name. The coordinates are given in the current measurement unit of the |
||
1608 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1609 | object because you need this name for further access to that object. If |
||
1610 | "name" is not given Scribus will create one for you. |
||
1611 | |||
1612 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1613 | </source> |
||
14888 | jghali | 1614 | <translation>createLine(x1, y1, x2, y2, ["nazwa"]) -> string |
12882 | cbradney | 1615 | |
1616 | Tworzy nową linię od punktu(x1, y1) do punktu(x2, y2) i zwraca jej nazwę. |
||
1617 | Współrzędne podawane są w aktualnej jednostce miary dokumentu (zobacz stałe UNIT). |
||
1618 | "nazwa" powinna być jednoznacznym identyfikatorem obiektu, ponieważ będzie potrzebna |
||
1619 | w przyszłości, aby odnosić się do obiektu. Jeśli nazwa nie zostanie podana, Scribus |
||
1620 | utworzy ją automatycznie. |
||
1621 | |||
1622 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu.</translation> |
||
1623 | </message> |
||
1624 | <message> |
||
15099 | cbradney | 1625 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/> |
12882 | cbradney | 1626 | <source>createPolyLine(list, ["name"]) -> string |
1627 | |||
1628 | Creates a new polyline and returns its name. The points for the polyline are |
||
1629 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1630 | The coordinates are given in the current measurement units of the document (see |
||
1631 | UNIT constants). "name" should be a unique identifier for the object because |
||
1632 | you need this name for further access to that object. If "name" is not given |
||
1633 | Scribus will create one for you. |
||
1634 | |||
1635 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1636 | May raise ValueError if an insufficient number of points is passed or if |
||
1637 | the number of values passed don't group into points without leftovers. |
||
1638 | </source> |
||
14888 | jghali | 1639 | <translation>createPolyLine(lista, ["nazwa"]) -> string |
12882 | cbradney | 1640 | |
1641 | Tworzy nową linię łamaną i zwraca jej nazwę. Punkty linii łamanej zapisane |
||
1642 | są w liście "lista" w następującej kolejności: [x1, y1, x2, y2...xn. yn]. |
||
1643 | Współrzędne podawane są w aktualnej jednostce miary dokumentu (zobacz stałe UNIT). |
||
1644 | "nazwa" powinna być jednoznacznym identyfikatorem obiektu, ponieważ będzie potrzebna |
||
1645 | w przyszłości, aby odnosić się do obiektu. Jeśli nazwa nie zostanie podana, Scribus |
||
1646 | utworzy ją automatycznie. |
||
1647 | |||
1648 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu. |
||
1649 | Może zwrócić błąd ValueError, jeśli podana zostanie niewystarczająca ilość |
||
1650 | punktów lub ilość wartości nie da się zgrupować w punkty bez pozostawiania reszty.</translation> |
||
1651 | </message> |
||
1652 | <message> |
||
15099 | cbradney | 1653 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/> |
12882 | cbradney | 1654 | <source>createPolygon(list, ["name"]) -> string |
1655 | |||
1656 | Creates a new polygon and returns its name. The points for the polygon are |
||
1657 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1658 | At least three points are required. There is no need to repeat the first point |
||
1659 | to close the polygon. The polygon is automatically closed by connecting the |
||
1660 | first and the last point. The coordinates are given in the current measurement |
||
1661 | units of the document (see UNIT constants). "name" should be a unique |
||
1662 | identifier for the object because you need this name for further access to that |
||
1663 | object. If "name" is not given Scribus will create one for you. |
||
1664 | |||
1665 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1666 | May raise ValueError if an insufficient number of points is passed or if |
||
1667 | the number of values passed don't group into points without leftovers. |
||
1668 | </source> |
||
14888 | jghali | 1669 | <translation>createPolygon(lista, ["nazwa"]) -> string |
12882 | cbradney | 1670 | |
1671 | Tworzy nowy wielokąt i zwraca jego nazwę. Creates a new polygon and returns its name. |
||
1672 | Punkty wielokąta zapisane są w liście "lista" w następującej kolejności: [x1, y1, x2, y2...xn. yn]. |
||
1673 | Współrzędne podawane są w aktualnej jednostce miary dokumentu (zobacz stałe UNIT). |
||
1674 | Wymagane są co najmniej 3 punkty. Nie trzeba powtarzać punktu początkowego., aby zamknąć |
||
1675 | wielokąt. Wielokąt jest zamykany automatycznie przez połączenie pierwszego i ostatniego punktu. |
||
1676 | Współrzędne podawane są w aktualnej jednostce miary dokumentu (zobacz stałe UNIT). |
||
1677 | "nazwa" powinna być jednoznacznym identyfikatorem obiektu, ponieważ będzie potrzebna |
||
1678 | w przyszłości, aby odnosić się do obiektu. Jeśli nazwa nie zostanie podana, Scribus |
||
1679 | utworzy ją automatycznie. |
||
1680 | |||
1681 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu. |
||
1682 | Może zwrócić błąd ValueError, jeśli podana zostanie niewystarczająca ilość |
||
1683 | punktów lub ilość wartości nie da się zgrupować w punkty bez pozostawiania reszty.</translation> |
||
1684 | </message> |
||
1685 | <message> |
||
15099 | cbradney | 1686 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/> |
12882 | cbradney | 1687 | <source>createBezierLine(list, ["name"]) -> string |
1688 | |||
1689 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1690 | curve are stored in the list "list" in the following order: |
||
1691 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1692 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1693 | and ky meaning the control point for the curve. The coordinates are given in |
||
1694 | the current measurement units of the document (see UNIT constants). "name" |
||
1695 | should be a unique identifier for the object because you need this name for |
||
1696 | further access to that object. If "name" is not given Scribus will create one |
||
1697 | for you. |
||
1698 | |||
1699 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1700 | May raise ValueError if an insufficient number of points is passed or if |
||
1701 | the number of values passed don't group into points without leftovers. |
||
1702 | </source> |
||
14888 | jghali | 1703 | <translation>createBezierLine(lista, ["nazwa"]) -> string |
12882 | cbradney | 1704 | |
1705 | Tworzy nową krzywą Beziera i zwraca jej nazwę. Punkty krzywej Beziera |
||
1706 | zapisane są w liście "lista" w następującej kolejności: |
||
1707 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1708 | W liście punktów x i y oznaczają współrzędne x i y punktu, a kx i ky |
||
1709 | oznaczają punkt kontrolny krzywej. Współrzędne podawane są w aktualnej |
||
1710 | jednostce miary dokumentu (zobacz stałe UNIT). "nazwa" powinna być |
||
1711 | jednoznacznym identyfikatorem obiektu, ponieważ będzie potrzebna w |
||
1712 | przyszłości, aby odnosić się do obiektu. Jeśli nazwa nie zostanie podana, |
||
1713 | Scribus utworzy ją automatycznie. |
||
1714 | |||
1715 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu. |
||
1716 | Może zwrócić błąd ValueError, jeśli podana zostanie niewystarczająca ilość |
||
1717 | punktów lub ilość wartości nie da się zgrupować w punkty bez pozostawiania reszty.</translation> |
||
1718 | </message> |
||
1719 | <message> |
||
15099 | cbradney | 1720 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/> |
12882 | cbradney | 1721 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1722 | |||
1723 | Creates a new pathText by merging the two objects "textbox" and |
||
1724 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1725 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1726 | unique identifier for the object because you need this name for further access |
||
1727 | to that object. If "name" is not given Scribus will create one for you. |
||
1728 | |||
1729 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1730 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1731 | </source> |
||
14888 | jghali | 1732 | <translation>createPathText(x, y, "textbox", "beziercurve", ["nazwa"]) -> string |
12882 | cbradney | 1733 | |
1734 | Tworzy nową krzywą pathText przez połączenie ze sobą obiektu "textbox" i "beziercurve" |
||
1735 | i zwraca jej nazwę. and returns its name. Współrzędne podawane są w aktualnej |
||
1736 | jednostce miary dokumentu (zobacz stałe UNIT). "nazwa" powinna być |
||
1737 | jednoznacznym identyfikatorem obiektu, ponieważ będzie potrzebna w |
||
1738 | przyszłości, aby odnosić się do obiektu. Jeśli nazwa nie zostanie podana, |
||
1739 | Scribus utworzy ją automatycznie. |
||
1740 | |||
1741 | Może zwrócić błąd NameExistsError, jeśli podana nazwa jest już w użyciu. |
||
1742 | Może zwrócić błąd ValueError, jeśli podana zostanie niewystarczająca ilość |
||
1743 | punktów lub ilość wartości nie da się zgrupować w punkty bez pozostawiania reszty.</translation> |
||
1744 | </message> |
||
1745 | <message> |
||
15099 | cbradney | 1746 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/> |
12882 | cbradney | 1747 | <source>deleteObject(["name"]) |
1748 | |||
1749 | Deletes the item with the name "name". If "name" is not given the currently |
||
1750 | selected item is deleted. |
||
1751 | </source> |
||
14888 | jghali | 1752 | <translation>deleteObject(["nazwa"]) |
12882 | cbradney | 1753 | |
1754 | Usuwa obiekt o nazwie "nazwa". Jeśli nazwa nie zostanie podana, |
||
1755 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
1756 | </message> |
||
1757 | <message> |
||
15099 | cbradney | 1758 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/> |
12882 | cbradney | 1759 | <source>textFlowMode("name" [, state]) |
1760 | |||
1761 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1762 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
1763 | Setting "state" to 0 will disable text flow. |
||
1764 | Setting "state" to 1 will make text flow around object frame. |
||
1765 | Setting "state" to 2 will make text flow around bounding box. |
||
1766 | Setting "state" to 3 will make text flow around contour line. |
||
1767 | If "state" is not passed, text flow is toggled. |
||
1768 | </source> |
||
1769 | <translation type="unfinished"></translation> |
||
1770 | </message> |
||
1771 | <message> |
||
15099 | cbradney | 1772 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/> |
12882 | cbradney | 1773 | <source>objectExists(["name"]) -> bool |
1774 | |||
1775 | Test if an object with specified name really exists in the document. |
||
1776 | The optional parameter is the object name. When no object name is given, |
||
1777 | returns True if there is something selected. |
||
1778 | </source> |
||
14888 | jghali | 1779 | <translation>objectExists(["nazwa"]) -> bool |
12882 | cbradney | 1780 | |
1781 | Sprawdza, czy obiekt o nazwie "nazwa" istnieje w dokumencie. Parametr "nazwa" |
||
1782 | jest opcjonalny, jeśli nie zostanie podany, funkcja zwraca True, jeśli znajdzie jakiś |
||
1783 | zaznaczony obiekt.</translation> |
||
1784 | </message> |
||
1785 | <message> |
||
15099 | cbradney | 1786 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/> |
12882 | cbradney | 1787 | <source>setStyle("style" [, "name"]) |
1788 | |||
15099 | cbradney | 1789 | Apply the named "style" to the object named "name". If object name is |
1790 | given, style is applied to the current text selection in object "name". |
||
1791 | If no object name is given, style is applied on selected object. |
||
1792 | </source> |
||
1793 | <translation type="unfinished"></translation> |
||
1794 | </message> |
||
1795 | <message> |
||
1796 | <source>setStyle("style" [, "name"]) |
||
1797 | |||
12882 | cbradney | 1798 | Apply the named "style" to the object named "name". If is no object name |
1799 | given, it's applied on the selected object. |
||
1800 | </source> |
||
15099 | cbradney | 1801 | <translation type="obsolete">setStyle("styl" [, "nazwa"]) |
12882 | cbradney | 1802 | |
1803 | Przypisuje "styl" do obiektu "nazwa". Jeśli nazwa nie zostanie podana, |
||
1804 | styl zostanie przypisany do zaznaczonego obiektu.</translation> |
||
1805 | </message> |
||
1806 | <message> |
||
15099 | cbradney | 1807 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/> |
12882 | cbradney | 1808 | <source>getAllStyles() -> list |
1809 | |||
1810 | Return a list of the names of all paragraph styles in the current document. |
||
1811 | </source> |
||
14888 | jghali | 1812 | <translation>getAllStyles() -> list |
12882 | cbradney | 1813 | |
1814 | Zwraca listę nazw wszystkich stylów akapitu w aktualnym dokumencie.</translation> |
||
1815 | </message> |
||
1816 | <message> |
||
15099 | cbradney | 1817 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/> |
14888 | jghali | 1818 | <source>duplicateObject(["name"]) -> string |
1819 | |||
1820 | creates a Duplicate of the selected Object (or Selection Group). |
||
1821 | </source> |
||
1822 | <translation type="unfinished"></translation> |
||
1823 | </message> |
||
1824 | <message> |
||
15099 | cbradney | 1825 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/> |
12882 | cbradney | 1826 | <source>newPage(where [,"masterpage"]) |
1827 | |||
1828 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
1829 | document, otherwise the new page is inserted before "where". Page numbers are |
||
1830 | counted from 1 upwards, no matter what the displayed first page number of your |
||
1831 | document is. The optional parameter "masterpage" specifies the name of the |
||
1832 | master page for the new page. |
||
1833 | |||
1834 | May raise IndexError if the page number is out of range |
||
1835 | </source> |
||
1836 | <translation type="unfinished"></translation> |
||
1837 | </message> |
||
1838 | <message> |
||
15099 | cbradney | 1839 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/> |
12882 | cbradney | 1840 | <source>currentPage() -> integer |
1841 | |||
1842 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1843 | upwards, no matter what the displayed first page number of your document is. |
||
1844 | </source> |
||
14888 | jghali | 1845 | <translation>currentPage() -> integer |
12882 | cbradney | 1846 | |
1847 | Zwraca numer aktualnej strony. Numer stron liczone są od 1 w górę, |
||
1848 | niezależnie od tego, jaki pierwszy numer wyświetlany jest w dokumencie.</translation> |
||
1849 | </message> |
||
1850 | <message> |
||
15099 | cbradney | 1851 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/> |
12882 | cbradney | 1852 | <source>redrawAll() |
1853 | |||
1854 | Redraws all pages. |
||
1855 | </source> |
||
14888 | jghali | 1856 | <translation>redrawAll() |
12882 | cbradney | 1857 | |
1858 | Aktualizuje wszystkie strony.</translation> |
||
1859 | </message> |
||
1860 | <message> |
||
15099 | cbradney | 1861 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/> |
12882 | cbradney | 1862 | <source>getPageType() -> integer |
1863 | |||
1864 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
1865 | </source> |
||
1866 | <translation type="unfinished"></translation> |
||
1867 | </message> |
||
1868 | <message> |
||
15099 | cbradney | 1869 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/> |
12882 | cbradney | 1870 | <source>savePageAsEPS("name") |
1871 | |||
1872 | Saves the current page as an EPS to the file "name". |
||
1873 | |||
1874 | May raise ScribusError if the save failed. |
||
1875 | </source> |
||
14888 | jghali | 1876 | <translation>savePageAsEPS("nazwa") |
12882 | cbradney | 1877 | |
1878 | Zapisuje aktualną stronę jako EPS w pliku "nazwa". |
||
1879 | |||
1880 | Może zwrócić błąd ScribusError, jest zapis się nie powiedzie.</translation> |
||
1881 | </message> |
||
1882 | <message> |
||
15099 | cbradney | 1883 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/> |
12882 | cbradney | 1884 | <source>deletePage(nr) |
1885 | |||
1886 | Deletes the given page. Does nothing if the document contains only one page. |
||
1887 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1888 | page number is. |
||
1889 | |||
1890 | May raise IndexError if the page number is out of range |
||
1891 | </source> |
||
14888 | jghali | 1892 | <translation>deletePage(nr) |
12882 | cbradney | 1893 | |
1894 | Usuwa podaną stronę. Nie robi nic, jeśli dokument zawiera tylko jedną stronę. |
||
1895 | Numery stron zaczynają się od 1 niezależnie od tego, jaki pierszy numer jest |
||
1896 | wyświetlany w dokumencie. |
||
1897 | |||
1898 | Może zwrócić błąd IndexError, jeśli numer strony jest poza dopuszczalnym zakresem</translation> |
||
1899 | </message> |
||
1900 | <message> |
||
15099 | cbradney | 1901 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/> |
12882 | cbradney | 1902 | <source>gotoPage(nr) |
1903 | |||
1904 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
1905 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
1906 | just sets the page that script commands will operates on. |
||
1907 | |||
1908 | May raise IndexError if the page number is out of range. |
||
1909 | </source> |
||
1910 | <translation type="unfinished"></translation> |
||
1911 | </message> |
||
1912 | <message> |
||
15099 | cbradney | 1913 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/> |
12882 | cbradney | 1914 | <source>pageCount() -> integer |
1915 | |||
1916 | Returns the number of pages in the document. |
||
1917 | </source> |
||
14888 | jghali | 1918 | <translation>pageCount() -> integer |
12882 | cbradney | 1919 | |
1920 | Zwraca ilość stron w dokumencie.</translation> |
||
1921 | </message> |
||
1922 | <message> |
||
15099 | cbradney | 1923 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/> |
12882 | cbradney | 1924 | <source>getHGuides() -> list |
1925 | |||
1926 | Returns a list containing positions of the horizontal guides. Values are in the |
||
1927 | document's current units - see UNIT_<type> constants. |
||
1928 | </source> |
||
14888 | jghali | 1929 | <translation>getHGuides() -> list |
12882 | cbradney | 1930 | |
1931 | Zwraca listę zawierającą pozycje poziomych linii pomocniczych. Wartości |
||
1932 | podane są w aktualnych jednostkach dokumentu - zobacz stałe UNIT_<type>.</translation> |
||
1933 | </message> |
||
1934 | <message> |
||
15099 | cbradney | 1935 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/> |
12882 | cbradney | 1936 | <source>setHGuides(list) |
1937 | |||
1938 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
1939 | measured in the current document units - see UNIT_<type> constants. |
||
1940 | |||
1941 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1942 | setHGuides([90,250]) # replace current guides entirely |
||
1943 | </source> |
||
14888 | jghali | 1944 | <translation>setHGuides(list) |
12882 | cbradney | 1945 | |
1946 | Ustawia poziome linie pomocnicze. Podane parametry muszą być listą pozycji linii |
||
1947 | pomocniczych w aktualnych jednostkach dokumentu - zobacz stałe UNIT_<type>. |
||
1948 | |||
1949 | Przykład: setHGuides(getHGuides() + [200.0, 210.0] # dodaje nowe linie nie usuwając istniejących |
||
1950 | setHGuides([90,250]) # całkowicie zastępuje istniejące linie</translation> |
||
1951 | </message> |
||
1952 | <message> |
||
15099 | cbradney | 1953 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/> |
12882 | cbradney | 1954 | <source>getVGuides() |
1955 | |||
1956 | See getHGuides. |
||
1957 | </source> |
||
14888 | jghali | 1958 | <translation>getVGuides() |
12882 | cbradney | 1959 | |
1960 | Zobacz getHGuides.</translation> |
||
1961 | </message> |
||
1962 | <message> |
||
15099 | cbradney | 1963 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/> |
12882 | cbradney | 1964 | <source>setVGuides() |
1965 | |||
1966 | See setHGuides. |
||
1967 | </source> |
||
14888 | jghali | 1968 | <translation>setVGuides() |
12882 | cbradney | 1969 | |
1970 | Zobacz setHGuides.</translation> |
||
1971 | </message> |
||
1972 | <message> |
||
15099 | cbradney | 1973 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/> |
12882 | cbradney | 1974 | <source>getPageSize() -> tuple |
1975 | |||
1976 | Returns a tuple with page dimensions measured in the document's current units. |
||
1977 | See UNIT_<type> constants and getPageMargins() |
||
1978 | </source> |
||
14888 | jghali | 1979 | <translation>getPageSize() -> tuple |
12882 | cbradney | 1980 | |
1981 | Zwraca krotkę z wymiarami strony w aktualnych jednostkach dokumentu. |
||
1982 | Zobacz stałe UNIT_<type> i getPageMargins()</translation> |
||
1983 | </message> |
||
1984 | <message> |
||
15099 | cbradney | 1985 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/> |
14474 | cbradney | 1986 | <source>getPageNSize() -> tuple |
1987 | |||
1988 | Returns a tuple with a particular page's size measured in the document's current units. |
||
1989 | See UNIT_<type> constants and getPageMargins() |
||
1990 | </source> |
||
1991 | <translation type="unfinished"></translation> |
||
1992 | </message> |
||
1993 | <message> |
||
15099 | cbradney | 1994 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/> |
14474 | cbradney | 1995 | <source>getPageNMargins() -> tuple |
1996 | |||
1997 | Returns a tuple with a particular page's margins measured in the document's current units. |
||
1998 | See UNIT_<type> constants and getPageMargins() |
||
1999 | </source> |
||
2000 | <translation type="unfinished"></translation> |
||
2001 | </message> |
||
2002 | <message> |
||
15099 | cbradney | 2003 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/> |
12882 | cbradney | 2004 | <source>getPageItems() -> list |
2005 | |||
2006 | Returns a list of tuples with items on the current page. The tuple is: |
||
2007 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
||
2008 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
2009 | the page... |
||
2010 | </source> |
||
14888 | jghali | 2011 | <translation>getPageItems() -> list |
12882 | cbradney | 2012 | |
2013 | Zwraca listę krotek z obiektami na aktualnej stronie. Składowe krotki to: |
||
2014 | (nazwa, typ_obiektu, kolejność). Np. [('Tekst1', 4, 0), ('Obrazek1', 2, 1)] |
||
2015 | oznacza, że obiekt o nazwie 'Tekst1' jest ramką tekstową (typ 4) i jest |
||
2016 | pierwszy w kolejności na stronie...</translation> |
||
2017 | </message> |
||
2018 | <message> |
||
15099 | cbradney | 2019 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/> |
12882 | cbradney | 2020 | <source>getPageMargins() |
2021 | |||
2022 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
2023 | units. See UNIT_<type> constants and getPageSize(). |
||
2024 | </source> |
||
14888 | jghali | 2025 | <translation>getPageMargins() |
12882 | cbradney | 2026 | |
2027 | Zwraca marginesy strony jako krotkę (górny, lewy, prawy, dolny) w aktualnych |
||
2028 | jednostkach. Zobacz stałe UNIT_<type> i getPageSize().</translation> |
||
2029 | </message> |
||
2030 | <message> |
||
15099 | cbradney | 2031 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/> |
12882 | cbradney | 2032 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
2033 | |||
2034 | 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. |
||
2035 | fromDoc: string; the filename of the document to import pages from |
||
2036 | pageList: tuple with page numbers of pages to import |
||
2037 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
2038 | importWhere: number; the page number (of the current document) at which import the pages |
||
2039 | 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 |
||
2040 | </source> |
||
2041 | <translation type="unfinished"></translation> |
||
2042 | </message> |
||
2043 | <message> |
||
15099 | cbradney | 2044 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/> |
12882 | cbradney | 2045 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
2046 | |||
2047 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
2048 | the same as for setFillColor() and setFillShade(). See the constants for |
||
2049 | available types (FILL_<type>). |
||
2050 | </source> |
||
14888 | jghali | 2051 | <translation>setGradientFill(typ, "kolor1", cieniowanie1, "kolor2", cieniowanie2, ["nazwa"]) |
12882 | cbradney | 2052 | |
2053 | Przypisuje wypełnienie gradientem "typ" do obiektu "nazwa". Opisy kolorów są |
||
2054 | takie same jak dla setFillColor() i setFillShade(). Zobacz stałe dla |
||
2055 | istniejących typów (FILL_<type>).</translation> |
||
2056 | </message> |
||
2057 | <message> |
||
15099 | cbradney | 2058 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/> |
12882 | cbradney | 2059 | <source>setFillColor("color", ["name"]) |
2060 | |||
2061 | Sets the fill color of the object "name" to the color "color". "color" |
||
2062 | is the name of one of the defined colors. If "name" is not given the |
||
2063 | currently selected item is used. |
||
2064 | </source> |
||
14888 | jghali | 2065 | <translation>setFillColor("kolor", ["nazwa"]) |
12882 | cbradney | 2066 | |
2067 | Przypisuje kolorowi wypełnienia obiektu "nazwa" wartość "kolor". "kolor" jest |
||
2068 | nazwą jednego ze zdefiniowanych kolorów. Jesli "nazwa" nie zostanie podana, |
||
2069 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
2070 | </message> |
||
2071 | <message> |
||
15099 | cbradney | 2072 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/> |
12882 | cbradney | 2073 | <source>setFillTransparency(transparency, ["name"]) |
2074 | |||
2075 | Sets the fill transparency of the object "name" to transparency |
||
2076 | If "name" is not given the currently selected item is used. |
||
2077 | </source> |
||
2078 | <translation type="unfinished"></translation> |
||
2079 | </message> |
||
2080 | <message> |
||
15099 | cbradney | 2081 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/> |
12882 | cbradney | 2082 | <source>setFillBlendmode(blendmode, ["name"]) |
2083 | |||
2084 | Sets the fill blendmode of the object "name" to blendmode |
||
2085 | If "name" is not given the currently selected item is used. |
||
2086 | </source> |
||
2087 | <translation type="unfinished"></translation> |
||
2088 | </message> |
||
2089 | <message> |
||
15099 | cbradney | 2090 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/> |
12882 | cbradney | 2091 | <source>setLineColor("color", ["name"]) |
2092 | |||
2093 | Sets the line color of the object "name" to the color "color". If "name" |
||
2094 | is not given the currently selected item is used. |
||
2095 | </source> |
||
14888 | jghali | 2096 | <translation>setLineColor("kolor", ["nazwa"]) |
12882 | cbradney | 2097 | |
2098 | Przypisuje kolorowi obrysu obiektu "nazwa" wartość "kolor".Jesli "nazwa" |
||
2099 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. </translation> |
||
2100 | </message> |
||
2101 | <message> |
||
15099 | cbradney | 2102 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/> |
12882 | cbradney | 2103 | <source>setLineTransparency(transparency, ["name"]) |
2104 | |||
2105 | Sets the line transparency of the object "name" to transparency |
||
2106 | If "name" is not given the currently selected item is used. |
||
2107 | </source> |
||
2108 | <translation type="unfinished"></translation> |
||
2109 | </message> |
||
2110 | <message> |
||
15099 | cbradney | 2111 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/> |
12882 | cbradney | 2112 | <source>setLineBlendmode(blendmode, ["name"]) |
2113 | |||
2114 | Sets the line blendmode of the object "name" to blendmode |
||
2115 | If "name" is not given the currently selected item is used. |
||
2116 | </source> |
||
2117 | <translation type="unfinished"></translation> |
||
2118 | </message> |
||
2119 | <message> |
||
15099 | cbradney | 2120 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/> |
12882 | cbradney | 2121 | <source>setLineWidth(width, ["name"]) |
2122 | |||
2123 | Sets line width of the object "name" to "width". "width" must be in the |
||
2124 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
2125 | given the currently selected item is used. |
||
2126 | |||
2127 | May raise ValueError if the line width is out of bounds. |
||
2128 | </source> |
||
14888 | jghali | 2129 | <translation>setLineWidth(grubuść, ["nazwa"]) |
12882 | cbradney | 2130 | |
2131 | Przypisuje grubość linii obiektowi "nazwa". "grubość" musi mieścić się |
||
2132 | w zakresie od 0.0 do 12.0 włącznie i podawana jest w punktach. Jesli "nazwa" |
||
2133 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
2134 | |||
2135 | Może zwrócić błąd ValueError, jeśli grubość linii będzie poza dozwolonym zakresem.</translation> |
||
2136 | </message> |
||
2137 | <message> |
||
15099 | cbradney | 2138 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/> |
12882 | cbradney | 2139 | <source>setLineShade(shade, ["name"]) |
2140 | |||
2141 | Sets the shading of the line color of the object "name" to "shade". |
||
2142 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2143 | (full color intensity). If "name" is not given the currently selected item |
||
2144 | is used. |
||
2145 | |||
2146 | May raise ValueError if the line shade is out of bounds. |
||
2147 | </source> |
||
14888 | jghali | 2148 | <translation>setLineShade(cieniowanie, ["nazwa"]) |
12882 | cbradney | 2149 | |
2150 | Przypisuje cieniowaniu koloru linii obiektu "nazwa" wartość "cieniowanie". |
||
2151 | "cieniowanie" musi być liczbą całkowitą w zakresio od 0 (najjaśniejsze) |
||
2152 | do 100(pełna intensywność koloru). Jesli "nazwa" nie zostanie podana, |
||
2153 | zostanie użyty aktualnie zaznaczony obiekt. |
||
2154 | |||
2155 | Może zwrócić błąd ValueError, jeśli cieniowanie będzie poza dozwolonym zakresem.</translation> |
||
2156 | </message> |
||
2157 | <message> |
||
15099 | cbradney | 2158 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/> |
12882 | cbradney | 2159 | <source>setLineJoin(join, ["name"]) |
2160 | |||
2161 | Sets the line join style of the object "name" to the style "join". |
||
2162 | If "name" is not given the currently selected item is used. There are |
||
2163 | predefined constants for join - JOIN_<type>. |
||
2164 | </source> |
||
14888 | jghali | 2165 | <translation>setLineJoin(połączenie, ["nazwa"]) |
12882 | cbradney | 2166 | |
2167 | Przypisuje połączeniu linii obiektu "nazwa" styl "połączenie". Jesli "nazwa" |
||
2168 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. Istnieją |
||
2169 | predefiniowane stałe dla połączeń linii - zobacz stałe JOIN_<type>.</translation> |
||
2170 | </message> |
||
2171 | <message> |
||
15099 | cbradney | 2172 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/> |
12882 | cbradney | 2173 | <source>setLineEnd(endtype, ["name"]) |
2174 | |||
2175 | Sets the line cap style of the object "name" to the style "cap". |
||
2176 | If "name" is not given the currently selected item is used. There are |
||
2177 | predefined constants for "cap" - CAP_<type>. |
||
2178 | </source> |
||
14888 | jghali | 2179 | <translation>setLineEnd(koniec, ["nazwa"]) |
12882 | cbradney | 2180 | |
2181 | Przypisuje zakończeniu linii obiektu "nazwa" styl "koniec". Jesli "nazwa" |
||
2182 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. Istnieją |
||
2183 | predefiniowane stałe dla zakończeń linii - zobacz stałe CAP_<type>.</translation> |
||
2184 | </message> |
||
2185 | <message> |
||
15099 | cbradney | 2186 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/> |
12882 | cbradney | 2187 | <source>setLineStyle(style, ["name"]) |
2188 | |||
2189 | Sets the line style of the object "name" to the style "style". If "name" |
||
2190 | is not given the currently selected item is used. There are predefined |
||
2191 | constants for "style" - LINE_<style>. |
||
2192 | </source> |
||
14888 | jghali | 2193 | <translation>setLineStyle(styl, ["nazwa"]) |
12882 | cbradney | 2194 | |
2195 | Przypisuje stylowi linii obiektu "nazwa" wartość "styl".Jesli "nazwa" |
||
2196 | nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. Istnieją |
||
2197 | predefiniowane stałe dla stylu linii - zobacz stałe LINE_<type>.</translation> |
||
2198 | </message> |
||
2199 | <message> |
||
15099 | cbradney | 2200 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/> |
12882 | cbradney | 2201 | <source>setFillShade(shade, ["name"]) |
2202 | |||
2203 | Sets the shading of the fill color of the object "name" to "shade". |
||
2204 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2205 | (full Color intensity). If "name" is not given the currently selected |
||
2206 | Item is used. |
||
2207 | |||
2208 | May raise ValueError if the fill shade is out of bounds. |
||
2209 | </source> |
||
14888 | jghali | 2210 | <translation>setFillShade(cieniowanie, ["nazwa"]) |
12882 | cbradney | 2211 | |
2212 | Przypisuje cieniowaniu koloru wypełnienia obiektu "nazwa" wartość "cieniowanie". |
||
2213 | "cieniowanie" musi być liczbą całkowitą w zakresie od 0(najjaśniejsze) do 10(pełna |
||
2214 | intensywność koloru). Jesli "nazwa" nie zostanie podana, zostanie użyty aktualnie |
||
2215 | zaznaczony obiekt. |
||
2216 | |||
2217 | Może zwrócić błąd ValueError, jeśli cieniowanie będzie poza dozwolonym zakresem.</translation> |
||
2218 | </message> |
||
2219 | <message> |
||
15099 | cbradney | 2220 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/> |
12882 | cbradney | 2221 | <source>setCornerRadius(radius, ["name"]) |
2222 | |||
2223 | Sets the corner radius of the object "name". The radius is expressed |
||
2224 | in points. If "name" is not given the currently selected item is used. |
||
2225 | |||
2226 | May raise ValueError if the corner radius is negative. |
||
2227 | </source> |
||
14888 | jghali | 2228 | <translation>setCornerRadius(promień, ["nazwa"]) |
12882 | cbradney | 2229 | |
2230 | Przypisuje promieniowi zaokrąglenia rogów obiektu "nazwa" wartość "promień". |
||
2231 | Promień podawany jest w punktach. Jesli "nazwa" nie zostanie podana, zostanie |
||
2232 | użyty aktualnie zaznaczony obiekt. |
||
2233 | |||
2234 | Może zwrócić błąd ValueError, jeśli promień będzie ujemny.</translation> |
||
2235 | </message> |
||
2236 | <message> |
||
15099 | cbradney | 2237 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/> |
12882 | cbradney | 2238 | <source>setMultiLine("namedStyle", ["name"]) |
2239 | |||
2240 | Sets the line style of the object "name" to the named style "namedStyle". |
||
2241 | If "name" is not given the currently selected item is used. |
||
2242 | |||
2243 | May raise NotFoundError if the line style doesn't exist. |
||
2244 | </source> |
||
14888 | jghali | 2245 | <translation>setMultiLine("styl", ["nazwa"]) |
12882 | cbradney | 2246 | |
2247 | Przypisuje stylowi linii obiektu "nazwa" wartość "styl". Jesli "nazwa" nie zostanie podana, zostanie |
||
2248 | użyty aktualnie zaznaczony obiekt. |
||
2249 | |||
2250 | Może zwrócić błąd NotFoundError, jeśli styl linii nie istnieje.</translation> |
||
2251 | </message> |
||
2252 | <message> |
||
15099 | cbradney | 2253 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/> |
14888 | jghali | 2254 | <source>createParagraphStyle(...) |
2255 | |||
2256 | Creates a paragraph style. This function takes the following keyword parameters: |
||
2257 | |||
2258 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
2259 | |||
2260 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
2261 | |||
2262 | fixed linespacing: 0 |
||
2263 | |||
2264 | automatic linespacing: 1 |
||
2265 | |||
2266 | baseline grid linespacing: 2 |
||
2267 | |||
2268 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
2269 | |||
2270 | alignment [optional] -> specifies the alignment of the paragraph |
||
2271 | |||
2272 | -> left: 0 |
||
2273 | |||
2274 | -> center: 1 |
||
2275 | |||
2276 | -> right: 2 |
||
2277 | |||
2278 | -> justify: 3 |
||
2279 | |||
2280 | -> extend: 4 |
||
2281 | |||
2282 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
2283 | |||
2284 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
2285 | |||
2286 | firstindent [optional] -> the indent of the first line |
||
2287 | |||
2288 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
2289 | |||
2290 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
2291 | |||
2292 | dropcapoffset [optional] -> offset of the caps if used |
||
2293 | |||
2294 | "charstyle" [optional] -> char style to use |
||
2295 | |||
2296 | </source> |
||
2297 | <translation type="unfinished"></translation> |
||
2298 | </message> |
||
2299 | <message> |
||
15099 | cbradney | 2300 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/> |
14888 | jghali | 2301 | <source>createCharStyle(...) |
2302 | |||
2303 | Creates a character style. This function takes the following keyword parameters: |
||
2304 | |||
2305 | "name" [required] -> name of the char style to create |
||
2306 | |||
2307 | "font" [optional] -> name of the font to use |
||
2308 | |||
2309 | fontsize [optional] -> font size to set (double) |
||
2310 | |||
2311 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
2312 | |||
2313 | -> inherit |
||
2314 | |||
2315 | -> bold |
||
2316 | |||
2317 | -> italic |
||
2318 | |||
2319 | -> underline |
||
2320 | |||
2321 | -> underlinewords |
||
2322 | |||
2323 | -> strike |
||
2324 | |||
2325 | -> superscript |
||
2326 | |||
2327 | -> subscript |
||
2328 | |||
2329 | -> outline |
||
2330 | |||
2331 | -> shadowed |
||
2332 | |||
2333 | -> allcaps |
||
2334 | |||
2335 | -> smallcaps |
||
2336 | |||
2337 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
2338 | |||
2339 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
2340 | |||
2341 | baselineoffset [optional] -> offset of the baseline |
||
2342 | |||
2343 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
2344 | |||
2345 | outlinewidth [optional] -> width of the outline if used |
||
2346 | |||
2347 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
2348 | |||
2349 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
2350 | |||
2351 | scaleh [optional], scalev [optional] -> scale of the chars |
||
2352 | |||
2353 | tracking [optional] -> tracking of the text |
||
2354 | |||
2355 | "language" [optional] -> language code |
||
2356 | |||
2357 | </source> |
||
2358 | <translation type="unfinished"></translation> |
||
2359 | </message> |
||
2360 | <message> |
||
15099 | cbradney | 2361 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/> |
12882 | cbradney | 2362 | <source>getFontSize(["name"]) -> float |
2363 | |||
2364 | Returns the font size in points for the text frame "name". If this text |
||
2365 | frame has some text selected the value assigned to the first character of |
||
2366 | the selection is returned. |
||
2367 | If "name" is not given the currently selected item is used. |
||
2368 | </source> |
||
14888 | jghali | 2369 | <translation>getFontSize(["nazwa"]) -> float |
12882 | cbradney | 2370 | |
2371 | Zwraca stopień pisma w punktach dla ramki tekstowej "nazwa". Jeśli ta ramka |
||
2372 | tekstowa zawiera jakiś zaznaczony tekst, zwracana jest wartość przypisana do pierwszej litery zaznaczonego tekstu. |
||
2373 | Jeśli nie zostanie podana "nazwa", użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
2374 | </message> |
||
2375 | <message> |
||
15099 | cbradney | 2376 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/> |
12882 | cbradney | 2377 | <source>getFont(["name"]) -> string |
2378 | |||
2379 | Returns the font name for the text frame "name". If this text frame |
||
2380 | has some text selected the value assigned to the first character |
||
2381 | of the selection is returned. If "name" is not given the currently |
||
2382 | selected item is used. |
||
2383 | </source> |
||
14888 | jghali | 2384 | <translation>getFont(["nazwa"]) -> string |
12882 | cbradney | 2385 | |
2386 | Zwraca nazwę fontu dla ramki tekstowej "nazwa". Jeśli ta ramka tekstowa zawiera |
||
2387 | zaznaczony tekst, zwrócona zostanie wartość przypisana do pierwszej litery zaznaczonego |
||
2388 | tekstu. Jeśli "nazwa" nie zostanie podana, zostanie użyty zaznaczony aktualnie obiekt.</translation> |
||
2389 | </message> |
||
2390 | <message> |
||
15099 | cbradney | 2391 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/> |
12882 | cbradney | 2392 | <source>getTextLength(["name"]) -> integer |
2393 | |||
2394 | Returns the length of the text in the text frame "name". |
||
2395 | If "name" is not given the currently selected item is used. |
||
2396 | </source> |
||
14888 | jghali | 2397 | <translation>getTextLength(["nazwa"]) -> integer |
12882 | cbradney | 2398 | |
2399 | Zwraca długość tekstu w ramce tekstowej "nazwa". |
||
2400 | Jeśli nazwa nie zostanie podana, zostanie użyty aktualnie wybrany obiekt.</translation> |
||
2401 | </message> |
||
2402 | <message> |
||
15099 | cbradney | 2403 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/> |
12882 | cbradney | 2404 | <source>getTextLines(["name"]) -> integer |
2405 | |||
2406 | Returns the number of lines of the text in the text frame "name". |
||
2407 | If "name" is not given the currently selected item is used. |
||
2408 | </source> |
||
2409 | <translation type="unfinished"></translation> |
||
2410 | </message> |
||
2411 | <message> |
||
15099 | cbradney | 2412 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/> |
12882 | cbradney | 2413 | <source>getText(["name"]) -> string |
2414 | |||
2415 | Returns the text of the text frame "name". If this text frame has some text |
||
2416 | selected, the selected text is returned. All text in the frame, not just |
||
2417 | currently visible text, is returned. If "name" is not given the currently |
||
2418 | selected item is used. |
||
2419 | </source> |
||
14888 | jghali | 2420 | <translation>getText(["nazwa"]) -> string |
12882 | cbradney | 2421 | |
2422 | Zwraca tekst zawarty w ramce tekstowej "nazwa". Jeśli ramka ta zawiera |
||
2423 | zaznaczony tekst, zostanie zwrócony tylko ten tekst. Zwracany jest cały tekst ramki, |
||
2424 | a nie tylko jego widoczna część. Jeśli "nazwa' nie zostanie podana, |
||
2425 | zostanie użyty zaznaczony obiekt.</translation> |
||
2426 | </message> |
||
2427 | <message> |
||
15099 | cbradney | 2428 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/> |
12882 | cbradney | 2429 | <source>getAllText(["name"]) -> string |
2430 | |||
2431 | Returns the text of the text frame "name" and of all text frames which are |
||
2432 | linked with this frame. If this textframe has some text selected, the selected |
||
2433 | text is returned. If "name" is not given the currently selected item is |
||
2434 | used. |
||
2435 | </source> |
||
14888 | jghali | 2436 | <translation>getAllText(["nazwa"]) -> string |
12882 | cbradney | 2437 | |
2438 | Zwraca tekst zawarty w ramce "nazwa" i wszystkie teksty z ramek, |
||
2439 | które są połączone z tą ramką. Jeśli ramka zawiera zaznaczony tekst, |
||
2440 | zwrócony zostanie ten tekst. Jeśli "nazwa" nie zostanie podana, |
||
2441 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
2442 | </message> |
||
2443 | <message> |
||
15099 | cbradney | 2444 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/> |
12882 | cbradney | 2445 | <source>getLineSpacing(["name"]) -> float |
2446 | |||
2447 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
2448 | points. If "name" is not given the currently selected item is used. |
||
2449 | </source> |
||
14888 | jghali | 2450 | <translation>getLineSpacing(["nazwa"]) -> float |
12882 | cbradney | 2451 | |
2452 | Zwraca interlinię ("leading") z ramki tekstowej "nazwa" wyrażoną w punktach. |
||
2453 | Jeśli "nazwa" nie zostanie podana, użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
2454 | </message> |
||
2455 | <message> |
||
15099 | cbradney | 2456 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/> |
12882 | cbradney | 2457 | <source>getTextDistances(["name"]) -> tuple |
2458 | |||
2459 | Returns the text distances of the text frame "name" expressed in points. The |
||
2460 | distances are returned as a tuple like (left, right, top, bottom). If "name" |
||
2461 | is not given the currently selected item is used. |
||
2462 | </source> |
||
2463 | <translation type="unfinished"></translation> |
||
2464 | </message> |
||
2465 | <message> |
||
15099 | cbradney | 2466 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/> |
12882 | cbradney | 2467 | <source>getColumnGap(["name"]) -> float |
2468 | |||
2469 | Returns the column gap size of the text frame "name" expressed in points. If |
||
2470 | "name" is not given the currently selected item is used. |
||
2471 | </source> |
||
14888 | jghali | 2472 | <translation>getColumnGap(["nazwa"]) -> float |
12882 | cbradney | 2473 | |
2474 | Zwraca odstęp pomiędzy łamami w ramce tekstowej "nazwa" wyrażony w punktach. |
||
2475 | Jeśli "nazwa" nie zostanie podana, użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
2476 | </message> |
||
2477 | <message> |
||
15099 | cbradney | 2478 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/> |
12882 | cbradney | 2479 | <source>getColumns(["name"]) -> integer |
2480 | |||
2481 | Gets the number of columns of the text frame "name". If "name" is not |
||
2482 | given the currently selected item is used. |
||
2483 | </source> |
||
14888 | jghali | 2484 | <translation>getColumns(["nazwa"]) -> integer |
12882 | cbradney | 2485 | |
2486 | Zwraca ilość łamów ramce tekstowej "nazwa". |
||
2487 | Jeśli "nazwa" nie zostanie podana, użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
2488 | </message> |
||
2489 | <message> |
||
15099 | cbradney | 2490 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/> |
12882 | cbradney | 2491 | <source>setText("text", ["name"]) |
2492 | |||
2493 | Sets the text of the text frame "name" to the text of the string "text". |
||
2494 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
||
2495 | for more details. If "name" is not given the currently selected item is |
||
2496 | used. |
||
2497 | </source> |
||
14888 | jghali | 2498 | <translation>setText("teks", ["name"]) |
12882 | cbradney | 2499 | |
2500 | Przypisuje ramce tekstowej "nazwa" tekst łańcucha "tekst". |
||
2501 | Tekst musi być kodowany w UTF8, użyj np. unicode(text, 'iso-8859-2'). |
||
2502 | Zobacz FAQ, aby poznać dalsze szczegóły. Jeśli "nazwa" nie zostanie podana, |
||
2503 | użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
2504 | </message> |
||
2505 | <message> |
||
15099 | cbradney | 2506 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/> |
12882 | cbradney | 2507 | <source>insertText("text", pos, ["name"]) |
2508 | |||
2509 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2510 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2511 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2512 | not given the currently selected Item is used. |
||
2513 | |||
2514 | May throw IndexError for an insertion out of bounds. |
||
2515 | </source> |
||
2516 | <translation type="unfinished"></translation> |
||
2517 | </message> |
||
2518 | <message> |
||
15099 | cbradney | 2519 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/> |
12882 | cbradney | 2520 | <source>setFont("font", ["name"]) |
2521 | |||
2522 | Sets the font of the text frame "name" to "font". If there is some text |
||
2523 | selected only the selected text is changed. If "name" is not given the |
||
2524 | currently selected item is used. |
||
2525 | |||
2526 | May throw ValueError if the font cannot be found. |
||
2527 | </source> |
||
14888 | jghali | 2528 | <translation>setFont("font", ["nazwa"]) |
12882 | cbradney | 2529 | |
2530 | Przypisuje fontowi w ramce tekstowej "nazwa" font "font". Jeśli ramka zawiera |
||
2531 | zaznaczony tekst, zostanie zmieniony tylko ten tekst. Jeśli "nazwa" nie zostanie podana, |
||
2532 | zostanie użyty aktualnie zaznaczony obiekt. |
||
2533 | |||
2534 | Może zwrócić błąd ValueError, jeśli nie znajdzie fontu.</translation> |
||
2535 | </message> |
||
2536 | <message> |
||
15099 | cbradney | 2537 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/> |
12882 | cbradney | 2538 | <source>setFontSize(size, ["name"]) |
2539 | |||
2540 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
2541 | as a value in points. If there is some text selected only the selected text is |
||
2542 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
2543 | currently selected item is used. |
||
2544 | |||
2545 | May throw ValueError for a font size that's out of bounds. |
||
2546 | </source> |
||
14888 | jghali | 2547 | <translation>setFontSize(rozmiar, ["nazwa"]) |
12882 | cbradney | 2548 | |
2549 | Przypisuje nowy rozmiar fontowi w ramce tekstowej "nazwa". "rozmiar" traktowany jest |
||
2550 | jako wartość w punktach. Jeśli ramka zawiera zaznaczony tekst, zostanie zmieniony tylko |
||
2551 | ten tekst. "rozmiar" musi zawierać się w zakresie od 1 do 512. Jeśli "nazwa" nie zostanie |
||
2552 | podana, zostanie użyty aktualnie wybrany obiekt. |
||
2553 | |||
2554 | Może zwrócić błąd ValueError dla rozmiaru fontu poza dozwolonym zakresem.</translation> |
||
2555 | </message> |
||
2556 | <message> |
||
15099 | cbradney | 2557 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/> |
12882 | cbradney | 2558 | <source>setLineSpacing(size, ["name"]) |
2559 | |||
2560 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
2561 | "size" is a value in points. If "name" is not given the currently selected |
||
2562 | item is used. |
||
2563 | |||
2564 | May throw ValueError if the line spacing is out of bounds. |
||
2565 | </source> |
||
14888 | jghali | 2566 | <translation>setLineSpacing(rozmiar, ["nazwa"]) |
12882 | cbradney | 2567 | |
2568 | Przypisuje interlinię ("leading") wielkości "rozmiar" ramce tekstowej "nazwa". |
||
2569 | "rozmiar" jest wartością w punktach. Jeśli "nazwa" nie zostanie podana, |
||
2570 | zostanie użyty aktualnie zaznaczony obiekt. |
||
2571 | |||
2572 | Może zwrócić błąd ValueError, jeśli interlinia jest poza dozwolonym zakresem.</translation> |
||
2573 | </message> |
||
2574 | <message> |
||
15099 | cbradney | 2575 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/> |
2576 | <source>setLineSpacingMode(mode, ["name"]) |
||
2577 | |||
2578 | Sets the line spacing mode of the text frame "name" to "mode". |
||
2579 | If "name" is not given the currently selected |
||
2580 | item is used. |
||
2581 | Mode values are the same as in createParagraphStyle. |
||
2582 | |||
2583 | May throw ValueError if the mode is out of bounds. |
||
2584 | </source> |
||
2585 | <translation type="unfinished"></translation> |
||
2586 | </message> |
||
2587 | <message> |
||
2588 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/> |
||
12882 | cbradney | 2589 | <source>setTextDistances(left, right, top, bottom, ["name"]) |
2590 | |||
2591 | Sets the text distances of the text frame "name" to the values "left" |
||
2592 | "right", "top" and "bottom". If "name" is not given the currently |
||
2593 | selected item is used. |
||
2594 | |||
2595 | May throw ValueError if any of the distances are out of bounds (must be positive). |
||
2596 | </source> |
||
2597 | <translation type="unfinished"></translation> |
||
2598 | </message> |
||
2599 | <message> |
||
15099 | cbradney | 2600 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/> |
12882 | cbradney | 2601 | <source>setColumnGap(size, ["name"]) |
2602 | |||
2603 | Sets the column gap of the text frame "name" to the value "size". If |
||
2604 | "name" is not given the currently selected item is used. |
||
2605 | |||
2606 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
2607 | </source> |
||
14888 | jghali | 2608 | <translation>setColumnGap(rozmiar, ["nazwa"]) |
12882 | cbradney | 2609 | |
2610 | Przypisuje odstępowi między łamami w ramce "nazwa" wartość "rozmiar". |
||
2611 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
2612 | |||
2613 | Może zwrócić błąd ValueError, jeśli odstęp między szpaltami będzie poza dopuszczalnym zakresem.</translation> |
||
2614 | </message> |
||
2615 | <message> |
||
15099 | cbradney | 2616 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/> |
12882 | cbradney | 2617 | <source>setColumns(nr, ["name"]) |
2618 | |||
2619 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
2620 | If "name" is not given the currently selected item is used. |
||
2621 | |||
2622 | May throw ValueError if number of columns is not at least one. |
||
2623 | </source> |
||
14888 | jghali | 2624 | <translation>setColumns(nr, ["nazwa"]) |
12882 | cbradney | 2625 | |
2626 | Przypisuje ilość kolumn w ramce tekstowej "nazwa" wartości liczby całkowitej "nr". |
||
2627 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
2628 | |||
2629 | Może zwrócić błąd ValueError, jeśli ilość kolumn nie wynosi przynajmniej 1.</translation> |
||
2630 | </message> |
||
2631 | <message> |
||
15099 | cbradney | 2632 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/> |
12882 | cbradney | 2633 | <source>setTextAlignment(align, ["name"]) |
2634 | |||
2635 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
2636 | If "name" is not given the currently selected item is used. "align" should |
||
2637 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
2638 | |||
2639 | May throw ValueError for an invalid alignment constant. |
||
2640 | </source> |
||
14888 | jghali | 2641 | <translation>setTextAlignment(wyrównanie, ["nazwa"]) |
12882 | cbradney | 2642 | |
2643 | Przypisuje wyrównanie tekstu w ramce tekstowej "nazwa". |
||
2644 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
2645 | "wyrównanie" powinno być jedną ze stałych ALIGN_ zdefiniowanych |
||
2646 | w tym module - zobacz dir(scribus). |
||
2647 | |||
2648 | Może zwrócić błąd ValueError w przypadku podania błędnego wyrównania.</translation> |
||
2649 | </message> |
||
2650 | <message> |
||
15099 | cbradney | 2651 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/> |
12882 | cbradney | 2652 | <source>selectText(start, count, ["name"]) |
2653 | |||
2654 | Selects "count" characters of text in the text frame "name" starting from the |
||
2655 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2656 | text selection will be cleared. If "name" is not given the currently |
||
2657 | selected item is used. |
||
2658 | |||
2659 | May throw IndexError if the selection is outside the bounds of the text. |
||
2660 | </source> |
||
2661 | <translation type="unfinished"></translation> |
||
2662 | </message> |
||
2663 | <message> |
||
15099 | cbradney | 2664 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/> |
12882 | cbradney | 2665 | <source>deleteText(["name"]) |
2666 | |||
2667 | Deletes any text in the text frame "name". If there is some text selected, |
||
2668 | only the selected text will be deleted. If "name" is not given the currently |
||
2669 | selected item is used. |
||
2670 | </source> |
||
14888 | jghali | 2671 | <translation>deleteText(["nazwa"]) |
12882 | cbradney | 2672 | |
2673 | Usuwa cały tekst w ramce tekstowej "nazwa". Jeśli ramka zawiera zaznaczony tekst, |
||
2674 | zostanie usunięty tylko zaznaczony tekst. Jeśli "nazwa" nie zostanie podana, |
||
2675 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
2676 | </message> |
||
2677 | <message> |
||
15099 | cbradney | 2678 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/> |
12882 | cbradney | 2679 | <source>setTextColor("color", ["name"]) |
2680 | |||
2681 | Sets the text color of the text frame "name" to the color "color". If there |
||
2682 | is some text selected only the selected text is changed. If "name" is not |
||
2683 | given the currently selected item is used. |
||
2684 | </source> |
||
14888 | jghali | 2685 | <translation>setTextColor("kolor", ["nazwa"]) |
12882 | cbradney | 2686 | |
2687 | Przypisuje tekstowi w ramce tekstowej "nazwa" kolor "kolor". Jeśli ramka zawiera |
||
2688 | zaznaczony tekst, zostanie zmieniony tylko ten tekst. Jeśli "nazwa" nie zostanie |
||
2689 | podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
2690 | </message> |
||
2691 | <message> |
||
15099 | cbradney | 2692 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/> |
12882 | cbradney | 2693 | <source>setTextStroke("color", ["name"]) |
2694 | |||
2695 | Set "color" of the text stroke. If "name" is not given the currently |
||
2696 | selected item is used. |
||
2697 | </source> |
||
14888 | jghali | 2698 | <translation>setTextStroke("kolor", ["nazwa"]) |
12882 | cbradney | 2699 | |
2700 | Przypisuje "kolor" obrysu tekstu. Jeśli "nazwa" nie zostanie |
||
2701 | podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
2702 | </message> |
||
2703 | <message> |
||
15099 | cbradney | 2704 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/> |
12882 | cbradney | 2705 | <source>setTextShade(shade, ["name"]) |
2706 | |||
2707 | Sets the shading of the text color of the object "name" to "shade". If |
||
2708 | there is some text selected only the selected text is changed. "shade" must |
||
2709 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
2710 | intensity). If "name" is not given the currently selected item is |
||
2711 | used. |
||
2712 | </source> |
||
14888 | jghali | 2713 | <translation>setTextShade(cieniowanie, ["nazwa"]) |
12882 | cbradney | 2714 | |
2715 | Przypisuje cieniowanie koloru tekstu w ramce "nazwa" wartość "cieniowanie". |
||
2716 | Jeśli ramka zawiera zaznaczony tekst, zostanie zmieniony tylko ten tekst. |
||
2717 | "cieniowaie" musi być liczbą całkowitą w zakresio od 0 (najjaśniejsze) od 100 |
||
2718 | (pełna intensywność koloru). Jeśli "nazwa" nie zostanie podana, zostanie |
||
2719 | użyty aktualnie zaznaczony obiekt.</translation> |
||
2720 | </message> |
||
2721 | <message> |
||
15099 | cbradney | 2722 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/> |
12882 | cbradney | 2723 | <source>linkTextFrames("fromname", "toname") |
2724 | |||
2725 | Link two text frames. The frame named "fromname" is linked to the |
||
2726 | frame named "toname". The target frame must be an empty text frame |
||
2727 | and must not link to or be linked from any other frames already. |
||
2728 | |||
2729 | May throw ScribusException if linking rules are violated. |
||
2730 | </source> |
||
14888 | jghali | 2731 | <translation>linkTextFrames("nazwa_od", "nazwa_do") |
12882 | cbradney | 2732 | |
2733 | Łączy dwie ramki tekstowe. Ramka "nazwa_od" połączona zostanie z ramką |
||
2734 | "nazwa_do". Ramka docelowa musi być pustą ramką tekstową i nie może |
||
2735 | być połączona z żadną inną ramką tekstową. |
||
2736 | |||
2737 | Może zwrócić błąd ScribusException, jeśli ograniczenia dotyczące łączenia ramek nie zostaną dotrzymane.</translation> |
||
2738 | </message> |
||
2739 | <message> |
||
15099 | cbradney | 2740 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/> |
12882 | cbradney | 2741 | <source>unlinkTextFrames("name") |
2742 | |||
2743 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
2744 | frame was in the middle of a chain, the previous and next frames will be |
||
2745 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
||
2746 | |||
2747 | May throw ScribusException if linking rules are violated. |
||
2748 | </source> |
||
14888 | jghali | 2749 | <translation>unlinkTextFrames("nazwa") |
12882 | cbradney | 2750 | |
2751 | Usuń obiekt "nazwa" z połączonych ramek tekstowych. Jeśli ramka |
||
2752 | znajduje się w środku łańcucha połączonych ramek, poprzednia i następna ramka zostaną |
||
2753 | ze zobą połączone. tzn. 'a->b->c' zmieni się w 'a->c', jeśli wykonasz unlinkTextFrames(b)' |
||
2754 | |||
2755 | Może zwrócić błąd ScribusException, jeśli ograniczenia dotyczące łączenia ramek nie zostaną dotrzymane.</translation> |
||
2756 | </message> |
||
2757 | <message> |
||
15099 | cbradney | 2758 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/> |
12882 | cbradney | 2759 | <source>traceText(["name"]) |
2760 | |||
2761 | Convert the text frame "name" to outlines. If "name" is not given the |
||
2762 | currently selected item is used.</source> |
||
14888 | jghali | 2763 | <translation>traceText(["nazwa"]) |
12882 | cbradney | 2764 | |
2765 | Zamienia ramkę tekstową "nazwa" na krzywe. Jeśli "nazwa" nie |
||
2766 | zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
2767 | </message> |
||
2768 | <message> |
||
15099 | cbradney | 2769 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/> |
12882 | cbradney | 2770 | <source>textOverflows(["name", nolinks]) -> integer |
2771 | |||
2772 | Returns the actual number of overflowing characters in text frame "name". |
||
2773 | If is nolinks set to non zero value it takes only one frame - it doesn't |
||
2774 | use text frame linking. Without this parameter it search all linking chain. |
||
2775 | |||
2776 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2777 | </source> |
||
2778 | <translation type="unfinished"></translation> |
||
2779 | </message> |
||
2780 | <message> |
||
15099 | cbradney | 2781 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/> |
12882 | cbradney | 2782 | <source>hyphenateText(["name"]) -> bool |
2783 | |||
2784 | Does hyphenation on text frame "name". |
||
2785 | If "name" is not given the currently selected item is used. |
||
2786 | |||
2787 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2788 | </source> |
||
2789 | <translation type="unfinished"></translation> |
||
2790 | </message> |
||
2791 | <message> |
||
15099 | cbradney | 2792 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/> |
12882 | cbradney | 2793 | <source>dehyphenateText(["name"]) -> bool |
2794 | |||
2795 | Does dehyphenation on text frame "name". |
||
2796 | If "name" is not given the currently selected item is used. |
||
2797 | |||
2798 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2799 | </source> |
||
2800 | <translation type="unfinished"></translation> |
||
2801 | </message> |
||
2802 | <message> |
||
15099 | cbradney | 2803 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/> |
12882 | cbradney | 2804 | <source>setPDFBookmark("toggle", ["name"]) |
2805 | |||
2806 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
2807 | If "name" is not given the currently selected item is used. |
||
2808 | |||
2809 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2810 | </source> |
||
2811 | <translation type="unfinished"></translation> |
||
2812 | </message> |
||
2813 | <message> |
||
15099 | cbradney | 2814 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/> |
12882 | cbradney | 2815 | <source>isPDFBookmark(["name"]) -> bool |
2816 | |||
2817 | Returns true if the text frame "name" is a PDF bookmark. |
||
2818 | If "name" is not given the currently selected item is used. |
||
2819 | |||
2820 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2821 | </source> |
||
14888 | jghali | 2822 | <translation>isPDFBookmark(["name"]) -> bool |
12882 | cbradney | 2823 | |
2824 | Zwraca true jeśli ramka tekstowa "name" jest zakładką PDF. |
||
2825 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
2826 | |||
2827 | Może zwrócić błąd WrongFrameTypeError, jeśli ramka docelowa nie jest ramką tekstową</translation> |
||
2828 | </message> |
||
2829 | <message> |
||
15099 | cbradney | 2830 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/> |
12882 | cbradney | 2831 | <source>messagebarText("string") |
2832 | |||
2833 | Writes the "string" into the Scribus message bar (status line). The text |
||
2834 | must be UTF8 encoded or 'unicode' string(recommended). |
||
2835 | </source> |
||
14888 | jghali | 2836 | <translation>messagebarText("string") |
12882 | cbradney | 2837 | |
2838 | Pisze "string" w linijce statusu Scribusa. Tekst ten |
||
2839 | musi być łańcuchem znaków w kowoaniu UTF8 lub 'unicode' (zalecane).</translation> |
||
2840 | </message> |
||
2841 | <message> |
||
15099 | cbradney | 2842 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/> |
12882 | cbradney | 2843 | <source>progressReset() |
2844 | |||
2845 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
2846 | new progress bar use. See progressSet. |
||
2847 | </source> |
||
14888 | jghali | 2848 | <translation>progressReset() |
12882 | cbradney | 2849 | |
2850 | Wyzerowuje ustawienia linijki postępu Scribusa. Wywoływany przed użyciem |
||
2851 | nowej linijki postępu. Zobacz progressSet.</translation> |
||
2852 | </message> |
||
2853 | <message> |
||
15099 | cbradney | 2854 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/> |
12882 | cbradney | 2855 | <source>progressTotal(max) |
2856 | |||
2857 | Sets the progress bar's maximum steps value to the specified number. |
||
2858 | See progressSet. |
||
2859 | </source> |
||
14888 | jghali | 2860 | <translation>progressTotal(max) |
12882 | cbradney | 2861 | |
2862 | Przypisuje maksymalnej ilości kroków linijki postępu wartość "max". |
||
2863 | Zobacz progressSet.</translation> |
||
2864 | </message> |
||
2865 | <message> |
||
15099 | cbradney | 2866 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/> |
12882 | cbradney | 2867 | <source>progressSet(nr) |
2868 | |||
2869 | Set the progress bar position to "nr", a value relative to the previously set |
||
2870 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
2871 | total number of steps and the number of steps completed so far and it will |
||
2872 | display the percentage of steps that have been completed. You can specify the |
||
2873 | total number of steps with progressTotal(). The current number of steps is set |
||
2874 | with progressSet(). The progress bar can be rewound to the beginning with |
||
2875 | progressReset(). [based on info taken from Trolltech's Qt docs] |
||
2876 | </source> |
||
14888 | jghali | 2877 | <translation>progressSet(nr) |
12882 | cbradney | 2878 | |
2879 | Przypisuje pozycji linijki postępu wartość "nr", będącą wartością względna odnoszącą się |
||
2880 | do poprzednio przypisanej wartości progressTotal. Linijka postępu robi użytek z koncepcji |
||
2881 | kroków: podaje się jej całkowitą liczbę kroków i liczbę kroków zakończonych do tego momentu, |
||
2882 | a linijka postępu wyświetli procent zakończonych kroków. Można podać całkowitą liczbę kroków |
||
2883 | używając progressTotal(). Aktualna ilość kroków przypisywana jest za pomocą progressSet(). |
||
2884 | Linijka postępu może być przewinięta do początku za pomocą progressReset(). |
||
2885 | [w oparciu o dokumentację QT firmy Trolltech]</translation> |
||
2886 | </message> |
||
2887 | <message> |
||
15099 | cbradney | 2888 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/> |
12882 | cbradney | 2889 | <source>setCursor() |
2890 | |||
2891 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
2892 | </source> |
||
14888 | jghali | 2893 | <translation>setCursor() |
12882 | cbradney | 2894 | |
2895 | [BRAK WSPARCIA!] Ta funkcja może doprowadzić do niestabilności, na razie nie używaj jej.</translation> |
||
2896 | </message> |
||
2897 | <message> |
||
15099 | cbradney | 2898 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/> |
12882 | cbradney | 2899 | <source>docChanged(bool) |
2900 | |||
2901 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
||
2902 | useful to call this procedure when you're changing the document, because Scribus |
||
2903 | won't automatically notice when you change the document using a script. |
||
2904 | </source> |
||
14888 | jghali | 2905 | <translation>docChanged(bool) |
12882 | cbradney | 2906 | |
2907 | Włącza/wyłącza ikonę zapisu na pasku ikon Scribusa i punkt menu "Zapisz". Warto włączyć |
||
2908 | tę procedurę przy zmianie dokumentu, ponieważ Scribus nie zauważy automatycznie, kiedy |
||
2909 | dokument zostanie zmieniony za pomocą skryptu.</translation> |
||
2910 | </message> |
||
2911 | <message> |
||
15099 | cbradney | 2912 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/> |
12882 | cbradney | 2913 | <source>zoomDocument(double) |
2914 | |||
2915 | Zoom the document in main GUI window. Actions have whole number |
||
2916 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
2917 | </source> |
||
2918 | <translation type="unfinished"></translation> |
||
2919 | </message> |
||
2920 | <message> |
||
15099 | cbradney | 2921 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/> |
12882 | cbradney | 2922 | <source>scrollDocument(x,y) |
2923 | |||
2924 | Scroll the document in main GUI window by x and y. |
||
2925 | </source> |
||
2926 | <translation type="unfinished"></translation> |
||
2927 | </message> |
||
2928 | <message> |
||
15099 | cbradney | 2929 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/> |
2930 | <source>placeVectorFile("filename", x, y) |
||
2931 | |||
2932 | Places the Vectorgrapics "filename" onto the current page, |
||
2933 | x and y specify the coordinate of the topleft corner of the graphic placed on the page |
||
2934 | |||
2935 | If loading was successful, the selection contains the imported grapic |
||
2936 | </source> |
||
2937 | <translation type="unfinished"></translation> |
||
2938 | </message> |
||
2939 | <message> |
||
2940 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/> |
||
14888 | jghali | 2941 | <source>placeSVG("filename", x, y) |
12882 | cbradney | 2942 | |
14888 | jghali | 2943 | Places the SVG "filename" onto the current page, |
2944 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
12882 | cbradney | 2945 | |
14888 | jghali | 2946 | If loading was successful, the selection contains the imported SVG |
12882 | cbradney | 2947 | </source> |
2948 | <translation type="unfinished"></translation> |
||
2949 | </message> |
||
2950 | <message> |
||
15099 | cbradney | 2951 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/> |
14888 | jghali | 2952 | <source>placeEPS("filename", x, y) |
12882 | cbradney | 2953 | |
14888 | jghali | 2954 | Places the EPS "filename" onto the current page, |
2955 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
2956 | |||
2957 | If loading was successful, the selection contains the imported EPS |
||
12882 | cbradney | 2958 | </source> |
2959 | <translation type="unfinished"></translation> |
||
2960 | </message> |
||
2961 | <message> |
||
15099 | cbradney | 2962 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/> |
14888 | jghali | 2963 | <source>placeSXD("filename", x, y) |
12882 | cbradney | 2964 | |
14888 | jghali | 2965 | Places the SXD "filename" onto the current page, |
2966 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
12882 | cbradney | 2967 | |
14888 | jghali | 2968 | If loading was successful, the selection contains the imported SXD |
2969 | </source> |
||
2970 | <translation type="unfinished"></translation> |
||
2971 | </message> |
||
2972 | <message> |
||
15099 | cbradney | 2973 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="63"/> |
14888 | jghali | 2974 | <source>placeODG("filename", x, y) |
12882 | cbradney | 2975 | |
14888 | jghali | 2976 | Places the ODG "filename" onto the current page, |
2977 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
12882 | cbradney | 2978 | |
14888 | jghali | 2979 | If loading was successful, the selection contains the imported ODG |
12882 | cbradney | 2980 | </source> |
2981 | <translation type="unfinished"></translation> |
||
2982 | </message> |
||
13279 | cbradney | 2983 | <message> |
15099 | cbradney | 2984 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="169"/> |
14888 | jghali | 2985 | <source>isSpotColor("name") -> bool |
13279 | cbradney | 2986 | |
14888 | jghali | 2987 | Returns True if the color "name" is a spot color. |
2988 | See also setSpotColor() |
||
13279 | cbradney | 2989 | |
14888 | jghali | 2990 | May raise NotFoundError if a named color wasn't found. |
2991 | May raise ValueError if an invalid color name is specified. |
||
13279 | cbradney | 2992 | </source> |
2993 | <translation type="unfinished"></translation> |
||
2994 | </message> |
||
2995 | <message> |
||
15099 | cbradney | 2996 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="184"/> |
14888 | jghali | 2997 | <source>setSpotColor("name", spot) |
13279 | cbradney | 2998 | |
14888 | jghali | 2999 | Set the color "name" as a spot color if spot parameter is True. |
3000 | See also isSpotColor() |
||
13279 | cbradney | 3001 | |
14888 | jghali | 3002 | May raise NotFoundError if a named color wasn't found. |
3003 | May raise ValueError if an invalid color name is specified. |
||
13279 | cbradney | 3004 | </source> |
3005 | <translation type="unfinished"></translation> |
||
3006 | </message> |
||
3007 | <message> |
||
15099 | cbradney | 3008 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/> |
14888 | jghali | 3009 | <source>scaleImage(x, y [, "name"]) |
13279 | cbradney | 3010 | |
14888 | jghali | 3011 | Sets the internal scaling factors of the picture in the image frame "name". |
3012 | If "name" is not given the currently selected item is used. A number of 1 |
||
3013 | means 100 %. Internal scaling factors are different from the values shown on |
||
3014 | properties palette. Note : deprecated, use setImageScale() instead. |
||
13279 | cbradney | 3015 | |
14888 | jghali | 3016 | May raise WrongFrameTypeError if the target frame is not an image frame |
13279 | cbradney | 3017 | </source> |
3018 | <translation type="unfinished"></translation> |
||
3019 | </message> |
||
3020 | <message> |
||
15099 | cbradney | 3021 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/> |
3022 | <source>setImageOffset(x, y [, "name"]) |
||
3023 | |||
3024 | Sets the position of the picture in the image frame "name". |
||
3025 | If "name" is not given the currently selected item is used. |
||
3026 | The specified offset values are equal to the values shown on |
||
3027 | properties palette when point unit is used. |
||
3028 | |||
3029 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3030 | </source> |
||
3031 | <translation type="unfinished"></translation> |
||
3032 | </message> |
||
3033 | <message> |
||
3034 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/> |
||
14888 | jghali | 3035 | <source>setImageScale(x, y [, "name"]) |
13279 | cbradney | 3036 | |
14888 | jghali | 3037 | Sets the scaling factors of the picture in the image frame "name". |
3038 | If "name" is not given the currently selected item is used. A number of 1 |
||
3039 | means 100 %. Scaling factors are equal to the values shown on properties palette. |
||
13279 | cbradney | 3040 | |
14888 | jghali | 3041 | May raise WrongFrameTypeError if the target frame is not an image frame |
13279 | cbradney | 3042 | </source> |
3043 | <translation type="unfinished"></translation> |
||
3044 | </message> |
||
3045 | <message> |
||
15099 | cbradney | 3046 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/> |
14888 | jghali | 3047 | <source>setGradientStop("color", shade, opacity, ramppoint, ["name"]) |
13279 | cbradney | 3048 | |
14888 | jghali | 3049 | Set or add a gradient stop to the gradient fill of the object "name" at position ramppoint. |
3050 | Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill() |
||
3051 | must have been called previously for the gradient fill to be visible. |
||
13279 | cbradney | 3052 | </source> |
3053 | <translation type="unfinished"></translation> |
||
3054 | </message> |
||
3055 | <message> |
||
15099 | cbradney | 3056 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/> |
14888 | jghali | 3057 | <source>setTextScalingV(scale, ["name"]) |
13279 | cbradney | 3058 | |
14888 | jghali | 3059 | Sets the vertical character scaling of the object "name" to "scale" in percent. |
3060 | If "name" is not given the currently selected item is used. |
||
13279 | cbradney | 3061 | </source> |
3062 | <translation type="unfinished"></translation> |
||
3063 | </message> |
||
3064 | <message> |
||
15099 | cbradney | 3065 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/> |
14888 | jghali | 3066 | <source>setTextScalingH(scale, ["name"]) |
13279 | cbradney | 3067 | |
14888 | jghali | 3068 | Sets the horizontal character scaling of the object "name" to "scale" in percent. |
3069 | If "name" is not given the currently selected item is used. |
||
13279 | cbradney | 3070 | </source> |
3071 | <translation type="unfinished"></translation> |
||
3072 | </message> |
||
12882 | cbradney | 3073 | </context> |
3074 | <context> |
||
12281 | cbradney | 3075 | <name>@default</name> |
1135 | cbradney | 3076 | <message> |
2202 | mrdocs | 3077 | <source>getFontSize(["name"]) -> float |
1135 | cbradney | 3078 | |
3079 | Returns the font size in points for the text frame "name". If this text |
||
3080 | frame has some text selected the value assigned to the first character of |
||
3081 | the selection is returned. |
||
3082 | If "name" is not given the currently selected item is used. |
||
3083 | </source> |
||
12882 | cbradney | 3084 | <translation type="obsolete">getFontSize(["nazwa"]) -> float |
1135 | cbradney | 3085 | |
3366 | fschmid | 3086 | Zwraca stopień pisma w punktach dla ramki tekstowej "nazwa". Jeśli ta ramka |
1135 | cbradney | 3087 | tekstowa zawiera jakiś zaznaczony tekst, zwracana jest wartość przypisana do pierwszej litery zaznaczonego tekstu. |
3088 | Jeśli nie zostanie podana "nazwa", użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
3089 | </message> |
||
3090 | <message> |
||
2202 | mrdocs | 3091 | <source>getColorNames() -> list |
1135 | cbradney | 3092 | |
3093 | Returns a list containing the names of all defined colors in the document. |
||
3094 | If no document is open, returns a list of the default document colors. |
||
3095 | </source> |
||
12882 | cbradney | 3096 | <translation type="obsolete">getColorNames() -> list |
1135 | cbradney | 3097 | |
3098 | Zwraca listę zawierającą nazwy wszystkich zdefiniowanych kolorów w danym dokumencie. |
||
3099 | Jeśli nie jest aktualnie otwarty żaden dokument, zwrócona zostanie lista wszystkich domyślnych kolorów.</translation> |
||
3100 | </message> |
||
3101 | <message> |
||
2202 | mrdocs | 3102 | <source>newDocDialog() -> bool |
1135 | cbradney | 3103 | |
3104 | Displays the "New Document" dialog box. Creates a new document if the user |
||
3105 | accepts the settings. Does not create a document if the user presses cancel. |
||
3106 | Returns true if a new document was created. |
||
3107 | </source> |
||
12882 | cbradney | 3108 | <translation type="obsolete">newDocDialog() -> bool |
1135 | cbradney | 3109 | |
3110 | Wyświetla okno dialogowe "Nowy dokument". Tworzy nowy dokument, jeśli użytkownik zaakceptuje ustawienia. Nie tworzy dokumentu, jeśli użytkownik naciśnie na przycisk |
||
3111 | "Anuluj". Zwraca true, jeśli dokument zostanie utworzony.</translation> |
||
3112 | </message> |
||
3113 | <message> |
||
2202 | mrdocs | 3114 | <source>getFillColor(["name"]) -> string |
1135 | cbradney | 3115 | |
3116 | Returns the name of the fill color of the object "name". |
||
3117 | If "name" is not given the currently selected item is used. |
||
3118 | </source> |
||
12882 | cbradney | 3119 | <translation type="obsolete">getFillColor(["nazwa"]) -> string |
1135 | cbradney | 3120 | |
3121 | Zwraca nazwę koloru wypełnienia obiektu "nazwa". |
||
3122 | Jeśli nie zostanie podana "nazwa", zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
3123 | </message> |
||
3124 | <message> |
||
2202 | mrdocs | 3125 | <source>moveObject(dx, dy [, "name"]) |
1135 | cbradney | 3126 | |
3127 | Moves the object "name" by dx and dy relative to its current position. The |
||
3128 | distances are expressed in the current measurement unit of the document (see |
||
3129 | UNIT constants). If "name" is not given the currently selected item is used. |
||
3130 | If the object "name" belongs to a group, the whole group is moved. |
||
3131 | </source> |
||
12882 | cbradney | 3132 | <translation type="obsolete">moveObject(dx, dy [, "nazwa"]) |
1135 | cbradney | 3133 | |
3134 | Przesuwa obiekt "nazwa" o dx i dy w stosunku do aktualnej pozycji. |
||
3135 | Odległości podawane są w aktualnych jednostkach miary dla danego dokumentu (zobacz |
||
3136 | stałe UNIT). Jeśli "nazwa nie zostanie podana, użyty zostanie aktualnie wybrany obiekt. |
||
3137 | Jeśli obiekt "nazwa" należy do grupy, zostanie przesunięta cała grupa.</translation> |
||
3138 | </message> |
||
3139 | <message> |
||
2202 | mrdocs | 3140 | <source>setRedraw(bool) |
1135 | cbradney | 3141 | |
3142 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
3143 | This change will persist even after the script exits, so make sure to call |
||
3144 | setRedraw(True) in a finally: clause at the top level of your script. |
||
3145 | </source> |
||
12882 | cbradney | 3146 | <translation type="obsolete">setRedraw(bool) |
1135 | cbradney | 3147 | |
3148 | Blokuje aktualizację widoku strony, kiedy bool = False, w innym przypadku aktualizowanie jest włączone. |
||
3149 | Ta zmiana zachowa ważność po zakończeniu pracy skryptu, pamiętaj więc, aby wykonać |
||
3150 | setRedraw(True) w finally: na samym dole skryptu.</translation> |
||
3151 | </message> |
||
3152 | <message> |
||
2202 | mrdocs | 3153 | <source>createRect(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 3154 | |
3155 | Creates a new rectangle on the current page and returns its name. The |
||
3156 | coordinates are given in the current measurement units of the document |
||
3157 | (see UNIT constants). "name" should be a unique identifier for the object |
||
3158 | because you need this name to reference that object in future. If "name" |
||
3159 | is not given Scribus will create one for you. |
||
3160 | |||
2202 | mrdocs | 3161 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 3162 | </source> |
12882 | cbradney | 3163 | <translation type="obsolete">createRect(x, y, width, height, ["nazwa"]) -> string |
1135 | cbradney | 3164 | |
3165 | Tworzy nowy prostokąt na aktualnej stronie i zwraca jego nazwę. |
||
3166 | Współrzędne podaje się w aktualnych jednostkach miar dla danego dokumentu. |
||
3167 | (zobacz stałe UNIT). "nazwa" powinna być jednoznacznym identyfikatorem obiektu, |
||
3168 | ponieważ będziesz potrzebował jej, aby przywoływać ten obiekt w przyszłości. |
||
3169 | Jeśli nie zostanie podana, Scribus utworzy ją za ciebie. |
||
3170 | |||
3171 | Może zwrócić błąd NameExistsError, jeśli podasz nazwę, która już jest w użyciu.</translation> |
||
3172 | </message> |
||
3173 | <message> |
||
2202 | mrdocs | 3174 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1135 | cbradney | 3175 | |
3176 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
3177 | the same as for setFillColor() and setFillShade(). See the constants for |
||
2202 | mrdocs | 3178 | available types (FILL_<type>). |
1135 | cbradney | 3179 | </source> |
12882 | cbradney | 3180 | <translation type="obsolete">setGradientFill(typ, "kolor1", cieniowanie1, "kolor2", cieniowanie2, ["nazwa"]) |
1135 | cbradney | 3181 | |
3182 | Przypisuje wypełnienie gradientem "typ" do obiektu "nazwa". Opisy kolorów są |
||
3183 | takie same jak dla setFillColor() i setFillShade(). Zobacz stałe dla |
||
2202 | mrdocs | 3184 | istniejących typów (FILL_<type>).</translation> |
1135 | cbradney | 3185 | </message> |
3186 | <message> |
||
2202 | mrdocs | 3187 | <source>messagebarText("string") |
1135 | cbradney | 3188 | |
3189 | Writes the "string" into the Scribus message bar (status line). The text |
||
2202 | mrdocs | 3190 | must be UTF8 encoded or 'unicode' string(recommended). |
1135 | cbradney | 3191 | </source> |
12882 | cbradney | 3192 | <translation type="obsolete">messagebarText("string") |
1135 | cbradney | 3193 | |
3194 | Pisze "string" w linijce statusu Scribusa. Tekst ten |
||
2202 | mrdocs | 3195 | musi być łańcuchem znaków w kowoaniu UTF8 lub 'unicode' (zalecane).</translation> |
1135 | cbradney | 3196 | </message> |
3197 | <message> |
||
2202 | mrdocs | 3198 | <source>getFont(["name"]) -> string |
1135 | cbradney | 3199 | |
3200 | Returns the font name for the text frame "name". If this text frame |
||
3201 | has some text selected the value assigned to the first character |
||
3202 | of the selection is returned. If "name" is not given the currently |
||
3203 | selected item is used. |
||
3204 | </source> |
||
12882 | cbradney | 3205 | <translation type="obsolete">getFont(["nazwa"]) -> string |
1135 | cbradney | 3206 | |
3366 | fschmid | 3207 | Zwraca nazwę fontu dla ramki tekstowej "nazwa". Jeśli ta ramka tekstowa zawiera |
1135 | cbradney | 3208 | zaznaczony tekst, zwrócona zostanie wartość przypisana do pierwszej litery zaznaczonego |
3209 | tekstu. Jeśli "nazwa" nie zostanie podana, zostanie użyty zaznaczony aktualnie obiekt.</translation> |
||
3210 | </message> |
||
3211 | <message> |
||
2202 | mrdocs | 3212 | <source>getTextLength(["name"]) -> integer |
1135 | cbradney | 3213 | |
3214 | Returns the length of the text in the text frame "name". |
||
3215 | If "name" is not given the currently selected item is used. |
||
3216 | </source> |
||
12882 | cbradney | 3217 | <translation type="obsolete">getTextLength(["nazwa"]) -> integer |
1135 | cbradney | 3218 | |
3219 | Zwraca długość tekstu w ramce tekstowej "nazwa". |
||
3220 | Jeśli nazwa nie zostanie podana, zostanie użyty aktualnie wybrany obiekt.</translation> |
||
3221 | </message> |
||
3222 | <message> |
||
2202 | mrdocs | 3223 | <source>getText(["name"]) -> string |
1135 | cbradney | 3224 | |
3225 | Returns the text of the text frame "name". If this text frame has some text |
||
3226 | selected, the selected text is returned. All text in the frame, not just |
||
3227 | currently visible text, is returned. If "name" is not given the currently |
||
3228 | selected item is used. |
||
3229 | </source> |
||
12882 | cbradney | 3230 | <translation type="obsolete">getText(["nazwa"]) -> string |
1135 | cbradney | 3231 | |
3232 | Zwraca tekst zawarty w ramce tekstowej "nazwa". Jeśli ramka ta zawiera |
||
3233 | zaznaczony tekst, zostanie zwrócony tylko ten tekst. Zwracany jest cały tekst ramki, |
||
2202 | mrdocs | 3234 | a nie tylko jego widoczna część. Jeśli "nazwa' nie zostanie podana, |
1135 | cbradney | 3235 | zostanie użyty zaznaczony obiekt.</translation> |
3236 | </message> |
||
3237 | <message> |
||
2202 | mrdocs | 3238 | <source>getAllText(["name"]) -> string |
1135 | cbradney | 3239 | |
3240 | Returns the text of the text frame "name" and of all text frames which are |
||
3241 | linked with this frame. If this textframe has some text selected, the selected |
||
3242 | text is returned. If "name" is not given the currently selected item is |
||
3243 | used. |
||
3244 | </source> |
||
12882 | cbradney | 3245 | <translation type="obsolete">getAllText(["nazwa"]) -> string |
1135 | cbradney | 3246 | |
3247 | Zwraca tekst zawarty w ramce "nazwa" i wszystkie teksty z ramek, |
||
3248 | które są połączone z tą ramką. Jeśli ramka zawiera zaznaczony tekst, |
||
3249 | zwrócony zostanie ten tekst. Jeśli "nazwa" nie zostanie podana, |
||
3250 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
3251 | </message> |
||
3252 | <message> |
||
2202 | mrdocs | 3253 | <source>getLineSpacing(["name"]) -> float |
1135 | cbradney | 3254 | |
3255 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
3256 | points. If "name" is not given the currently selected item is used. |
||
3257 | </source> |
||
12882 | cbradney | 3258 | <translation type="obsolete">getLineSpacing(["nazwa"]) -> float |
1135 | cbradney | 3259 | |
3260 | Zwraca interlinię ("leading") z ramki tekstowej "nazwa" wyrażoną w punktach. |
||
3261 | Jeśli "nazwa" nie zostanie podana, użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
3262 | </message> |
||
3263 | <message> |
||
2202 | mrdocs | 3264 | <source>getColumnGap(["name"]) -> float |
1135 | cbradney | 3265 | |
3266 | Returns the column gap size of the text frame "name" expressed in points. If |
||
3267 | "name" is not given the currently selected item is used. |
||
3268 | </source> |
||
12882 | cbradney | 3269 | <translation type="obsolete">getColumnGap(["nazwa"]) -> float |
1135 | cbradney | 3270 | |
6052 | mrdocs | 3271 | Zwraca odstęp pomiędzy łamami w ramce tekstowej "nazwa" wyrażony w punktach. |
1135 | cbradney | 3272 | Jeśli "nazwa" nie zostanie podana, użyty zostanie aktualnie zaznaczony obiekt.</translation> |
3273 | </message> |
||
3274 | <message> |
||
2202 | mrdocs | 3275 | <source>getColumns(["name"]) -> integer |
1135 | cbradney | 3276 | |
3277 | Gets the number of columns of the text frame "name". If "name" is not |
||
3278 | given the currently selected item is used. |
||
3279 | </source> |
||
12882 | cbradney | 3280 | <translation type="obsolete">getColumns(["nazwa"]) -> integer |
1135 | cbradney | 3281 | |
6052 | mrdocs | 3282 | Zwraca ilość łamów ramce tekstowej "nazwa". |
1135 | cbradney | 3283 | Jeśli "nazwa" nie zostanie podana, użyty zostanie aktualnie zaznaczony obiekt.</translation> |
3284 | </message> |
||
3285 | <message> |
||
2202 | mrdocs | 3286 | <source>setText("text", ["name"]) |
1135 | cbradney | 3287 | |
3288 | Sets the text of the text frame "name" to the text of the string "text". |
||
2202 | mrdocs | 3289 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
1135 | cbradney | 3290 | for more details. If "name" is not given the currently selected item is |
3291 | used. |
||
3292 | </source> |
||
12882 | cbradney | 3293 | <translation type="obsolete">setText("teks", ["name"]) |
1135 | cbradney | 3294 | |
3295 | Przypisuje ramce tekstowej "nazwa" tekst łańcucha "tekst". |
||
2202 | mrdocs | 3296 | Tekst musi być kodowany w UTF8, użyj np. unicode(text, 'iso-8859-2'). |
1135 | cbradney | 3297 | Zobacz FAQ, aby poznać dalsze szczegóły. Jeśli "nazwa" nie zostanie podana, |
3298 | użyty zostanie aktualnie zaznaczony obiekt.</translation> |
||
3299 | </message> |
||
3300 | <message> |
||
2202 | mrdocs | 3301 | <source>setFont("font", ["name"]) |
1135 | cbradney | 3302 | |
3303 | Sets the font of the text frame "name" to "font". If there is some text |
||
3304 | selected only the selected text is changed. If "name" is not given the |
||
3305 | currently selected item is used. |
||
3306 | |||
3307 | May throw ValueError if the font cannot be found. |
||
3308 | </source> |
||
12882 | cbradney | 3309 | <translation type="obsolete">setFont("font", ["nazwa"]) |
1135 | cbradney | 3310 | |
3366 | fschmid | 3311 | Przypisuje fontowi w ramce tekstowej "nazwa" font "font". Jeśli ramka zawiera |
1135 | cbradney | 3312 | zaznaczony tekst, zostanie zmieniony tylko ten tekst. Jeśli "nazwa" nie zostanie podana, |
3313 | zostanie użyty aktualnie zaznaczony obiekt. |
||
3314 | |||
3366 | fschmid | 3315 | Może zwrócić błąd ValueError, jeśli nie znajdzie fontu.</translation> |
1135 | cbradney | 3316 | </message> |
3317 | <message> |
||
2202 | mrdocs | 3318 | <source>setFontSize(size, ["name"]) |
1135 | cbradney | 3319 | |
3320 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
3321 | as a value in points. If there is some text selected only the selected text is |
||
3322 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
3323 | currently selected item is used. |
||
3324 | |||
2202 | mrdocs | 3325 | May throw ValueError for a font size that's out of bounds. |
1135 | cbradney | 3326 | </source> |
12882 | cbradney | 3327 | <translation type="obsolete">setFontSize(rozmiar, ["nazwa"]) |
1135 | cbradney | 3328 | |
3366 | fschmid | 3329 | Przypisuje nowy rozmiar fontowi w ramce tekstowej "nazwa". "rozmiar" traktowany jest |
1135 | cbradney | 3330 | jako wartość w punktach. Jeśli ramka zawiera zaznaczony tekst, zostanie zmieniony tylko |
3331 | ten tekst. "rozmiar" musi zawierać się w zakresie od 1 do 512. Jeśli "nazwa" nie zostanie |
||
3332 | podana, zostanie użyty aktualnie wybrany obiekt. |
||
3333 | |||
3366 | fschmid | 3334 | Może zwrócić błąd ValueError dla rozmiaru fontu poza dozwolonym zakresem.</translation> |
1135 | cbradney | 3335 | </message> |
3336 | <message> |
||
2202 | mrdocs | 3337 | <source>setLineSpacing(size, ["name"]) |
1135 | cbradney | 3338 | |
3339 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
3340 | "size" is a value in points. If "name" is not given the currently selected |
||
3341 | item is used. |
||
3342 | |||
3343 | May throw ValueError if the line spacing is out of bounds. |
||
3344 | </source> |
||
12882 | cbradney | 3345 | <translation type="obsolete">setLineSpacing(rozmiar, ["nazwa"]) |
1135 | cbradney | 3346 | |
3347 | Przypisuje interlinię ("leading") wielkości "rozmiar" ramce tekstowej "nazwa". |
||
3348 | "rozmiar" jest wartością w punktach. Jeśli "nazwa" nie zostanie podana, |
||
3349 | zostanie użyty aktualnie zaznaczony obiekt. |
||
3350 | |||
3351 | Może zwrócić błąd ValueError, jeśli interlinia jest poza dozwolonym zakresem.</translation> |
||
3352 | </message> |
||
3353 | <message> |
||
2202 | mrdocs | 3354 | <source>setColumnGap(size, ["name"]) |
1135 | cbradney | 3355 | |
3356 | Sets the column gap of the text frame "name" to the value "size". If |
||
3357 | "name" is not given the currently selected item is used. |
||
3358 | |||
3359 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
3360 | </source> |
||
12882 | cbradney | 3361 | <translation type="obsolete">setColumnGap(rozmiar, ["nazwa"]) |
1135 | cbradney | 3362 | |
6052 | mrdocs | 3363 | Przypisuje odstępowi między łamami w ramce "nazwa" wartość "rozmiar". |
1135 | cbradney | 3364 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
3365 | |||
3366 | Może zwrócić błąd ValueError, jeśli odstęp między szpaltami będzie poza dopuszczalnym zakresem.</translation> |
||
3367 | </message> |
||
3368 | <message> |
||
2202 | mrdocs | 3369 | <source>setColumns(nr, ["name"]) |
1135 | cbradney | 3370 | |
3371 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
3372 | If "name" is not given the currently selected item is used. |
||
3373 | |||
3374 | May throw ValueError if number of columns is not at least one. |
||
3375 | </source> |
||
12882 | cbradney | 3376 | <translation type="obsolete">setColumns(nr, ["nazwa"]) |
1135 | cbradney | 3377 | |
3378 | Przypisuje ilość kolumn w ramce tekstowej "nazwa" wartości liczby całkowitej "nr". |
||
3379 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
3380 | |||
3381 | Może zwrócić błąd ValueError, jeśli ilość kolumn nie wynosi przynajmniej 1.</translation> |
||
3382 | </message> |
||
3383 | <message> |
||
2202 | mrdocs | 3384 | <source>setTextAlignment(align, ["name"]) |
1135 | cbradney | 3385 | |
3386 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
3387 | If "name" is not given the currently selected item is used. "align" should |
||
3388 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
3389 | |||
3390 | May throw ValueError for an invalid alignment constant. |
||
3391 | </source> |
||
12882 | cbradney | 3392 | <translation type="obsolete">setTextAlignment(wyrównanie, ["nazwa"]) |
1135 | cbradney | 3393 | |
3394 | Przypisuje wyrównanie tekstu w ramce tekstowej "nazwa". |
||
3395 | Jeśli "nazwa" nie zostanie podana, zostanie użyty aktualnie zaznaczony obiekt. |
||
3396 | "wyrównanie" powinno być jedną ze stałych ALIGN_ zdefiniowanych |
||
3397 | w tym module - zobacz dir(scribus). |
||
3398 | |||
3399 | Może zwrócić błąd ValueError w przypadku podania błędnego wyrównania.</translation> |
||
3400 | </message> |
||
3401 | <message> |
||
2202 | mrdocs | 3402 | <source>deleteText(["name"]) |
1135 | cbradney | 3403 | |
3404 | Deletes any text in the text frame "name". If there is some text selected, |
||
3405 | only the selected text will be deleted. If "name" is not given the currently |
||
3406 | selected item is used. |
||
3407 | </source> |
||
12882 | cbradney | 3408 | <translation type="obsolete">deleteText(["nazwa"]) |
1135 | cbradney | 3409 | |
3410 | Usuwa cały tekst w ramce tekstowej "nazwa". Jeśli ramka zawiera zaznaczony tekst, |
||
3411 | zostanie usunięty tylko zaznaczony tekst. Jeśli "nazwa" nie zostanie podana, |
||
3412 | zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
3413 | </message> |
||
3414 | <message> |
||
2202 | mrdocs | 3415 | <source>setTextColor("color", ["name"]) |
1135 | cbradney | 3416 | |
3417 | Sets the text color of the text frame "name" to the color "color". If there |
||
3418 | is some text selected only the selected text is changed. If "name" is not |
||
3419 | given the currently selected item is used. |
||
3420 | </source> |
||
12882 | cbradney | 3421 | <translation type="obsolete">setTextColor("kolor", ["nazwa"]) |
1135 | cbradney | 3422 | |
3423 | Przypisuje tekstowi w ramce tekstowej "nazwa" kolor "kolor". Jeśli ramka zawiera |
||
3424 | zaznaczony tekst, zostanie zmieniony tylko ten tekst. Jeśli "nazwa" nie zostanie |
||
3425 | podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
3426 | </message> |
||
3427 | <message> |
||
2202 | mrdocs | 3428 | <source>setTextStroke("color", ["name"]) |
1135 | cbradney | 3429 | |
3430 | Set "color" of the text stroke. If "name" is not given the currently |
||
3431 | selected item is used. |
||
3432 | </source> |
||
12882 | cbradney | 3433 | <translation type="obsolete">setTextStroke("kolor", ["nazwa"]) |
1135 | cbradney | 3434 | |
3435 | Przypisuje "kolor" obrysu tekstu. Jeśli "nazwa" nie zostanie |
||
3436 | podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
3437 | </message> |
||
3438 | <message> |
||
2202 | mrdocs | 3439 | <source>setTextShade(shade, ["name"]) |
1135 | cbradney | 3440 | |
3441 | Sets the shading of the text color of the object "name" to "shade". If |
||
3442 | there is some text selected only the selected text is changed. "shade" must |
||
3443 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
3444 | intensity). If "name" is not given the currently selected item is |
||
3445 | used. |
||
3446 | </source> |
||
12882 | cbradney | 3447 | <translation type="obsolete">setTextShade(cieniowanie, ["nazwa"]) |
1135 | cbradney | 3448 | |
3449 | Przypisuje cieniowanie koloru tekstu w ramce "nazwa" wartość "cieniowanie". |
||
3450 | Jeśli ramka zawiera zaznaczony tekst, zostanie zmieniony tylko ten tekst. |
||
3451 | "cieniowaie" musi być liczbą całkowitą w zakresio od 0 (najjaśniejsze) od 100 |
||
3452 | (pełna intensywność koloru). Jeśli "nazwa" nie zostanie podana, zostanie |
||
3453 | użyty aktualnie zaznaczony obiekt.</translation> |
||
3454 | </message> |
||
3455 | <message> |
||
2202 | mrdocs | 3456 | <source>linkTextFrames("fromname", "toname") |
1135 | cbradney | 3457 | |
3458 | Link two text frames. The frame named "fromname" is linked to the |
||
3459 | frame named "toname". The target frame must be an empty text frame |
||
3460 | and must not link to or be linked from any other frames already. |
||
3461 | |||
3462 | May throw ScribusException if linking rules are violated. |
||
3463 | </source> |
||
12882 | cbradney | 3464 | <translation type="obsolete">linkTextFrames("nazwa_od", "nazwa_do") |
1135 | cbradney | 3465 | |
3466 | Łączy dwie ramki tekstowe. Ramka "nazwa_od" połączona zostanie z ramką |
||
3467 | "nazwa_do". Ramka docelowa musi być pustą ramką tekstową i nie może |
||
3468 | być połączona z żadną inną ramką tekstową. |
||
3469 | |||
3470 | Może zwrócić błąd ScribusException, jeśli ograniczenia dotyczące łączenia ramek nie zostaną dotrzymane.</translation> |
||
3471 | </message> |
||
3472 | <message> |
||
2202 | mrdocs | 3473 | <source>unlinkTextFrames("name") |
1135 | cbradney | 3474 | |
3475 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
3476 | frame was in the middle of a chain, the previous and next frames will be |
||
2202 | mrdocs | 3477 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
1135 | cbradney | 3478 | |
3479 | May throw ScribusException if linking rules are violated. |
||
3480 | </source> |
||
12882 | cbradney | 3481 | <translation type="obsolete">unlinkTextFrames("nazwa") |
1135 | cbradney | 3482 | |
3483 | Usuń obiekt "nazwa" z połączonych ramek tekstowych. Jeśli ramka |
||
3484 | znajduje się w środku łańcucha połączonych ramek, poprzednia i następna ramka zostaną |
||
2202 | mrdocs | 3485 | ze zobą połączone. tzn. 'a->b->c' zmieni się w 'a->c', jeśli wykonasz unlinkTextFrames(b)' |
1135 | cbradney | 3486 | |
3487 | Może zwrócić błąd ScribusException, jeśli ograniczenia dotyczące łączenia ramek nie zostaną dotrzymane.</translation> |
||
3488 | </message> |
||
3489 | <message> |
||
2202 | mrdocs | 3490 | <source>traceText(["name"]) |
1135 | cbradney | 3491 | |
3492 | Convert the text frame "name" to outlines. If "name" is not given the |
||
3493 | currently selected item is used.</source> |
||
12882 | cbradney | 3494 | <translation type="obsolete">traceText(["nazwa"]) |
1135 | cbradney | 3495 | |
3496 | Zamienia ramkę tekstową "nazwa" na krzywe. Jeśli "nazwa" nie |
||
3497 | zostanie podana, zostanie użyty aktualnie zaznaczony obiekt.</translation> |
||
3498 | </message> |
||
3499 | <message> |
||
2202 | mrdocs | 3500 | <source>getColor("name") -> tuple |
1135 | cbradney | 3501 | |
3502 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
3503 | color "name" from the current document. If no document is open, returns |
||
3504 | the value of the named color from the default document colors. |
||
3505 | |||
2202 | mrdocs | 3506 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 3507 | May raise ValueError if an invalid color name is specified. |
3508 | </source> |
||
12882 | cbradney | 3509 | <translation type="obsolete">getColor("nazwa") -> tuple |
1135 | cbradney | 3510 | |
3511 | Zwraca krotkę (C, M, Y, K) zawierającą cztery składowe koloru "nazwa" w aktualnym dokumencie. |
||
3512 | Jeśli nie jest otwarty żaden dokument, zwraca wartość koloru o tej nazwie z domyślnych kolorów. |
||
3513 | |||
3514 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
3515 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
3516 | </message> |
||
3517 | <message> |
||
2202 | mrdocs | 3518 | <source>changeColor("name", c, m, y, k) |
1135 | cbradney | 3519 | |
3520 | Changes the color "name" to the specified CMYK value. The color value is |
||
3521 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
3522 | Color components should be in the range from 0 to 255. |
||
3523 | |||
2202 | mrdocs | 3524 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 3525 | May raise ValueError if an invalid color name is specified. |
3526 | </source> |
||
12882 | cbradney | 3527 | <translation type="obsolete">changeColor("nazwa", c, m, y, k) |
1135 | cbradney | 3528 | |
3529 | Zmienia kolor "nazwa" na podaną wartość CMYK. Wartość koloru definiuje się |
||
3530 | za pomocą czterech komponentów c = Cyjan, m = Madżenta, y = Żółty i k = Czarny. |
||
3531 | Komponetu koloru powinny mieścić się w zakresie od 0 do 255. |
||
3532 | |||
3533 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
3534 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
3535 | </message> |
||
3536 | <message> |
||
2202 | mrdocs | 3537 | <source>deleteColor("name", "replace") |
1135 | cbradney | 3538 | |
3539 | Deletes the color "name". Every occurence of that color is replaced by the |
||
3540 | color "replace". If not specified, "replace" defaults to the color |
||
3541 | "None" - transparent. |
||
3542 | |||
3543 | deleteColor works on the default document colors if there is no document open. |
||
3544 | In that case, "replace", if specified, has no effect. |
||
3545 | |||
2202 | mrdocs | 3546 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 3547 | May raise ValueError if an invalid color name is specified. |
3548 | </source> |
||
12882 | cbradney | 3549 | <translation type="obsolete">deleteColor("nazwa", "nowy") |
1135 | cbradney | 3550 | |
3551 | Usuwa kolor "nazwa". Każde wystąpienie tego koloru zastąpione zostanie |
||
3552 | kolorem "nowy". Jeśli kolor "nowy" nie zostanie podany, użyty zostanie |
||
3553 | kolor "None" czyli przezroczystość. |
||
3554 | |||
3555 | deleteColor zastępuje domyślne kolory, jeśli nie jest otwarty żaden dokument. |
||
3556 | W takim przypadku, kolor "nowy" nie zostanie uwzględniony. |
||
3557 | |||
3558 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
3559 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
3560 | </message> |
||
3561 | <message> |
||
2202 | mrdocs | 3562 | <source>replaceColor("name", "replace") |
1135 | cbradney | 3563 | |
3564 | Every occurence of the color "name" is replaced by the color "replace". |
||
3565 | |||
2202 | mrdocs | 3566 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 3567 | May raise ValueError if an invalid color name is specified. |
3568 | </source> |
||
12882 | cbradney | 3569 | <translation type="obsolete">replaceColor("nazwa", "nowy") |
1135 | cbradney | 3570 | |
3571 | Każde wystąpienie koloru "nazwa" zastąpione zostanie kolorem "nowy". |
||
3572 | |||
3573 | Może zwrócić błąd NotFoundError, jeśli nazwa koloru nie zostanie znaleziona. |
||
3574 | Może zwrócić błąd ValueError, jeśli zostanie podana błędna nazwa koloru.</translation> |
||
3575 | </message> |
||
3576 | <message> |
||
2202 | mrdocs | 3577 | <source>fileDialog("caption", ["filter", "defaultname" ,haspreview, issave]) -> string with filename |
1135 | cbradney | 3578 | |
3579 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
3580 | with the filter string "filter". A default filename or file path can also |
||
2202 | mrdocs | 3581 | supplied, leave this string empty when you don't want to use it. A value of |
1135 | cbradney | 3582 | True for haspreview enables a small preview widget in the FileSelect box. When |
3583 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
3584 | otherwise it acts like a "File Open Dialog". The default for both of the |
||
3585 | opional parameters is False. |
||
3586 | |||
2202 | mrdocs | 3587 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
3588 | For example 'Images (*.png *.xpm *.jpg)'. |
||
1135 | cbradney | 3589 | |
3590 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
3591 | |||
2202 | mrdocs | 3592 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
3593 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
1135 | cbradney | 3594 | </source> |
2308 | mrdocs | 3595 | <translation type="obsolete">fileDialog("caption", ["filter", "defaultname" ,haspreview, issave]) -> łańcuch z nazwą pliku |
1135 | cbradney | 3596 | |
3597 | Wyświetla okienko dialogowe "Otwórz plik" z nagłówkiem "caption". Pliki filtrowane są |
||
3598 | według łańcucha "filter". Można również podać domyślną nazwę pliku lub ścieżkę - jeśli nie chcesz |
||
3599 | używać tego parametru, pozostaw pusty łancuch. Wartość "haspreview" równa True włącza mały |
||
3600 | okienko podglądu wewnątrz okienka Wybierz Plik. Jeśli parametr "issave" równa się True, dialog |
||
3601 | będzie się zachowywał jak dialog "Zapisz jako", w innym przypadku zachowa się jak dialog "Otwórz plik". |
||
3602 | Domyślne ustawienie dla obu opcjonalnych parametrów to False. |
||
3603 | |||
2202 | mrdocs | 3604 | Filtr "filter", jeśli zostanie podany, przybiera formę 'komentarz (*.typ *.typ2 ...)', |
3605 | przykładowo 'Obrazki (*.png *.xpm *.jpg)'. |
||
1135 | cbradney | 3606 | |
3607 | Zobacz opis dialogu QFileDialog w dokumentacji QT, aby poznać dalsze szczegóły na temat filtrów. |
||
3608 | |||
2202 | mrdocs | 3609 | Przykład: fileDialog('Open input', 'CSV files (*.csv)') |
3610 | Przykład: fileDialog('Save report', defaultname='report.txt', issave=True)</translation> |
||
1135 | cbradney | 3611 | </message> |
3612 | <message> |
||
2202 | mrdocs | 3613 | <source>messageBox("caption", "message", |
1135 | cbradney | 3614 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
2202 | mrdocs | 3615 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
1135 | cbradney | 3616 | |
3617 | Displays a message box with the title "caption", the message "message", and |
||
3618 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
3619 | button, OK, is displayed. Only the caption and message arguments are required, |
||
3620 | though setting an icon and appropriate button(s) is strongly |
||
3621 | recommended. The message text may contain simple HTML-like markup. |
||
3622 | |||
3623 | Returns the number of the button the user pressed. Button numbers start |
||
3624 | at 1. |
||
3625 | |||
3626 | For the icon and the button parameters there are predefined constants available |
||
3627 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
3628 | ICON_* constants defined in the module. There are also two extra constants that |
||
3629 | can be binary-ORed with button constants: |
||
3630 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
3631 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
3632 | |||
3633 | Usage examples: |
||
2202 | mrdocs | 3634 | result = messageBox('Script failed', |
3635 | 'This script only works when you have a text frame selected.', |
||
1135 | cbradney | 3636 | ICON_ERROR) |
2202 | mrdocs | 3637 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
1135 | cbradney | 3638 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
3639 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
3640 | |||
3641 | Defined button and icon constants: |
||
3642 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
3643 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
3644 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
3645 | </source> |
||
12882 | cbradney | 3646 | <translation type="obsolete">messageBox("caption", "message", |
1135 | cbradney | 3647 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
2202 | mrdocs | 3648 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
1135 | cbradney | 3649 | |
3650 | Wyświetla okienko z tytułem "caption", z informacją "message", ikoną "icon" |
||
3651 | oraz maksymalnie 3 przyciskami. Domyślnie okienko wyświetla się bez ikony i jednym |
||
3652 | przyciskiem OK. Wymagane są jedynie argumenty "caption" i "message", chociaż |
||
3653 | podanie ikony i odpowiedniego przycisku jest bardzo zalecane. Argument "message" |
||
3654 | może zawierać proste formatowanie HTML. |
||
3655 | |||
3656 | Zwraca numer przycisku naciśniętego przez użytkownika. Numery przycisków |
||
3657 | zaczynają się od 1. |
||
3658 | |||
3659 | Parametry ikony i przycisku są predefiniowanymi stałymi opisanymi pod tymi samymi |
||
3660 | nazwami w dokumentacji QT. Są to stałe BUTTON_* i ICON_* zdefiniowane w tym module. |
||
3661 | Są również dwie specjalne stałe które mogą być binary-ORed ze stałymi przycisków: |
||
3662 | BUTTONOPT_DEFAULT Wciśnięcie enter wciska ten przycisk. |
||
3663 | BUTTONOPT_ESCAPE Wciśnięcie escape wciska ten przycisk. |
||
3664 | |||
3665 | Przykłady użycia: |
||
2202 | mrdocs | 3666 | wynik = messageBox('Skrypt przerwał działanie', |
3667 | 'Ten skrypt działa tylko wtedy, kiedy zostanie zaznaczona ramka tekstowa.', |
||
1135 | cbradney | 3668 | ICON_ERROR) |
2202 | mrdocs | 3669 | wynik = messageBox('Małpy!', 'Coś poszło nie tak! <i>Czy to była małpa?</i>', |
1135 | cbradney | 3670 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
3671 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
3672 | |||
3673 | Zdefiniowane stałe przycisków i ikon: |
||
3674 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
3675 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
3676 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
2124 | cbradney | 3677 | </translation> |
1135 | cbradney | 3678 | </message> |
3679 | <message> |
||
2202 | mrdocs | 3680 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
1135 | cbradney | 3681 | |
2202 | mrdocs | 3682 | Shows the common 'Ask for string' dialog and returns its value as a string |
3683 | Parameters: window title, text in the window and optional 'default' value. |
||
1135 | cbradney | 3684 | |
2202 | mrdocs | 3685 | Example: valueDialog('title', 'text in the window', 'optional') |
1135 | cbradney | 3686 | </source> |
12882 | cbradney | 3687 | <translation type="obsolete">valueDialog(caption, message [,defaultvalue]) -> string |
1135 | cbradney | 3688 | |
3689 | Wyświetla zwykły dialog zapytania o łańcuch znaków i zwraca jego wartość jako łańcuch. |
||
2202 | mrdocs | 3690 | Parametry: tytuł okna, tekst w oknie i 'opcjonalna' domyślna wartość. |
1135 | cbradney | 3691 | |
2202 | mrdocs | 3692 | Przykład: valueDialog('tytuł', 'tekst w oknie', 'opcjonalna')</translation> |
1135 | cbradney | 3693 | </message> |
3694 | <message> |
||
2202 | mrdocs | 3695 | <source>closeDoc() |
1135 | cbradney | 3696 | |
3697 | Closes the current document without prompting to save. |
||
3698 | |||
3699 | May throw NoDocOpenError if there is no document to close |
||
3700 | </source> |
||
12882 | cbradney | 3701 | <translation type="obsolete">closeDoc() |
1135 | cbradney | 3702 | |
3703 | Zamyka aktualny dokument bez zapytania o potwierdzenie. |
||
3704 | |||
3705 | Może zwrócić błąd NoDocOpenError, jeśli żaden dokument nie będzie otwarty</translation> |
||
3706 | </message> |
||
3707 | <message> |
||
2202 | mrdocs | 3708 | <source>haveDoc() -> bool |
1135 | cbradney | 3709 | |
3710 | Returns true if there is a document open. |
||
3711 | </source> |
||
12882 | cbradney | 3712 | <translation type="obsolete">haveDoc() -> bool |
1135 | cbradney | 3713 | |
3714 | Zwraca true, jeśli znajdzie otwarty dokument.</translation> |
||
3715 | </message> |
||
3716 | <message> |
||
2202 | mrdocs | 3717 | <source>openDoc("name") |
1135 | cbradney | 3718 | |
3719 | Opens the document "name". |
||
3720 | |||
3721 | May raise ScribusError if the document could not be opened. |
||
3722 | </source> |
||
12882 | cbradney | 3723 | <translation type="obsolete">openDoc("nazwa") |
1135 | cbradney | 3724 | |
3725 | Otwiera dokument "nazwa". |
||
3726 | |||
3727 | Może zwrócić błąd ScribusError, jeśli nie będzie mógł otworzyć dokumentu.</translation> |
||
3728 | </message> |
||
3729 | <message> |
||
2202 | mrdocs | 3730 | <source>saveDoc() |
1135 | cbradney | 3731 | |
3732 | Saves the current document with its current name, returns true if successful. |
||
3733 | If the document has not already been saved, this may bring up an interactive |
||
3734 | save file dialog. |
||
3735 | |||
3736 | If the save fails, there is currently no way to tell. |
||
3737 | </source> |
||
12882 | cbradney | 3738 | <translation type="obsolete">saveDoc() |
1135 | cbradney | 3739 | |
3740 | Zapisuje aktualny dokument pod jego aktualną nazwą, zwraca true jeśli zapis się powiedzie. |
||
3741 | Jeśli dokument jeszcze nie został zapisany, może wyświetlić dialog zapisywania pliku. |
||
3742 | |||
3743 | Aktualnie nie ma możliwości pokazania, czy zapis się powiódł.</translation> |
||
3744 | </message> |
||
3745 | <message> |
||
2202 | mrdocs | 3746 | <source>saveDocAs("name") |
1135 | cbradney | 3747 | |
3748 | Saves the current document under the new name "name" (which may be a full or |
||
3749 | relative path). |
||
3750 | |||
3751 | May raise ScribusError if the save fails. |
||
3752 | </source> |
||
12882 | cbradney | 3753 | <translation type="obsolete">saveDocAs("nazwa") |
1135 | cbradney | 3754 | |
3755 | Zapisuje aktualny dokument pod nową nazwą "nazwa" |
||
3756 | (która może być bezwględną lub względną ścieżką) |
||