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