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