Rev 14485 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10842 | cbradney | 1 | <?xml version="1.0" encoding="utf-8"?> |
14474 | cbradney | 2 | <!DOCTYPE TS> |
3 | <TS version="2.0" language="sl_SI"> |
||
298 | Franz | 4 | <context> |
12918 | cbradney | 5 | <name></name> |
1135 | cbradney | 6 | <message> |
14474 | cbradney | 7 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/> |
1135 | cbradney | 8 | <source>getColorNames() -> list |
9 | |||
10 | Returns a list containing the names of all defined colors in the document. |
||
11 | If no document is open, returns a list of the default document colors. |
||
12 | </source> |
||
12918 | cbradney | 13 | <translation type="unfinished">getColorNames() -> list |
1135 | cbradney | 14 | |
15 | Vrne spisek vseh barv, ki so določene v dokumentu. |
||
12344 | cbradney | 16 | Če ni odprt noben dokument, vrne spisek privzetih barv. |
17 | </translation> |
||
1135 | cbradney | 18 | </message> |
19 | <message> |
||
14474 | cbradney | 20 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/> |
12918 | cbradney | 21 | <source>getColor("name") -> tuple |
1135 | cbradney | 22 | |
12918 | cbradney | 23 | Returns a tuple (C, M, Y, K) containing the four color components of the |
24 | color "name" from the current document. If no document is open, returns |
||
25 | the value of the named color from the default document colors. |
||
26 | |||
27 | May raise NotFoundError if the named color wasn't found. |
||
28 | May raise ValueError if an invalid color name is specified. |
||
1135 | cbradney | 29 | </source> |
12918 | cbradney | 30 | <translation type="unfinished">getColor("ime") -> tuple |
5011 | mrdocs | 31 | |
12918 | cbradney | 32 | Vrne četvorček (C, M, Y, K), ki vsebuje štiri barvne komponente barve "ime" |
33 | iz trenutnega dokumenta. Če ni odprt noben dokument, vrne |
||
34 | vrednost imenovane barve iz privzeth barv dokumenta. |
||
1135 | cbradney | 35 | |
12918 | cbradney | 36 | Lahko vrne NotFoundError, če barve s tem imenom ni mogoče najti. |
37 | Lahko vrne ValueError, če je navedeno neveljavno ime barve. |
||
12344 | cbradney | 38 | </translation> |
1135 | cbradney | 39 | </message> |
40 | <message> |
||
14474 | cbradney | 41 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/> |
12918 | cbradney | 42 | <source>getColorAsRGB("name") -> tuple |
1135 | cbradney | 43 | |
12918 | cbradney | 44 | Returns a tuple (R,G,B) containing the three color components of the |
45 | color "name" from the current document, converted to the RGB color |
||
46 | space. If no document is open, returns the value of the named color |
||
47 | from the default document colors. |
||
5011 | mrdocs | 48 | |
12918 | cbradney | 49 | May raise NotFoundError if the named color wasn't found. |
50 | May raise ValueError if an invalid color name is specified. |
||
1135 | cbradney | 51 | </source> |
12918 | cbradney | 52 | <translation type="unfinished"></translation> |
1135 | cbradney | 53 | </message> |
54 | <message> |
||
14474 | cbradney | 55 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/> |
12918 | cbradney | 56 | <source>changeColor("name", c, m, y, k) |
1135 | cbradney | 57 | |
12918 | cbradney | 58 | Changes the color "name" to the specified CMYK value. The color value is |
59 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
60 | Color components should be in the range from 0 to 255. |
||
1135 | cbradney | 61 | |
12918 | cbradney | 62 | May raise NotFoundError if the named color wasn't found. |
63 | May raise ValueError if an invalid color name is specified. |
||
1135 | cbradney | 64 | </source> |
12918 | cbradney | 65 | <translation type="unfinished">changeColor("ime", c, m, y, k)(new line) |
7902 | mrdocs | 66 | |
12918 | cbradney | 67 | Spremeni barvo "ime" v navedeno vrednost CMYK. Vrednost barve je |
68 | določena s štirimi komponentami c = cijanska, m = magenta, y = rumena in k = črna. |
||
69 | Komponente barve morajo biti v obsegu 0 - 255. |
||
7902 | mrdocs | 70 | |
12918 | cbradney | 71 | Lahko vrne NotFoundError, če navedene barve ni mogoče najti. |
72 | Lahko vrne ValueError, če je navedeno neveljavno ime barve. |
||
12344 | cbradney | 73 | </translation> |
1135 | cbradney | 74 | </message> |
75 | <message> |
||
14474 | cbradney | 76 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="70"/> |
12918 | cbradney | 77 | <source>defineColor("name", c, m, y, k) |
1135 | cbradney | 78 | |
12918 | cbradney | 79 | Defines a new color "name". The color Value is defined via four components: |
80 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
81 | the range from 0 to 255. |
||
82 | |||
83 | May raise ValueError if an invalid color name is specified. |
||
1135 | cbradney | 84 | </source> |
12918 | cbradney | 85 | <translation type="unfinished"></translation> |
1135 | cbradney | 86 | </message> |
87 | <message> |
||
14474 | cbradney | 88 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="83"/> |
12918 | cbradney | 89 | <source>deleteColor("name", "replace") |
1135 | cbradney | 90 | |
12918 | cbradney | 91 | Deletes the color "name". Every occurence of that color is replaced by the |
92 | color "replace". If not specified, "replace" defaults to the color |
||
93 | "None" - transparent. |
||
7902 | mrdocs | 94 | |
12918 | cbradney | 95 | deleteColor works on the default document colors if there is no document open. |
96 | In that case, "replace", if specified, has no effect. |
||
1135 | cbradney | 97 | |
12918 | cbradney | 98 | May raise NotFoundError if a named color wasn't found. |
99 | May raise ValueError if an invalid color name is specified. |
||
1135 | cbradney | 100 | </source> |
12918 | cbradney | 101 | <translation type="unfinished"></translation> |
1135 | cbradney | 102 | </message> |
1525 | cbradney | 103 | <message> |
14474 | cbradney | 104 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="100"/> |
12918 | cbradney | 105 | <source>replaceColor("name", "replace") |
3064 | cbradney | 106 | |
12918 | cbradney | 107 | Every occurence of the color "name" is replaced by the color "replace". |
3064 | cbradney | 108 | |
12918 | cbradney | 109 | May raise NotFoundError if a named color wasn't found. |
110 | May raise ValueError if an invalid color name is specified. |
||
3064 | cbradney | 111 | </source> |
12918 | cbradney | 112 | <translation type="unfinished">replaceColor("ime", "zamenjaj") |
7902 | mrdocs | 113 | |
12918 | cbradney | 114 | Vsaka pojavitev barve "ime" bo zamenjana z barvo "zamenjaj". |
7902 | mrdocs | 115 | |
12918 | cbradney | 116 | Vrne lahko napako NotFoundError, če imenovane barve ni mogoče najti. |
117 | Vrne lahko napako ValueError, če je navedeno neveljavno ime barve. |
||
12344 | cbradney | 118 | </translation> |
3064 | cbradney | 119 | </message> |
120 | <message> |
||
14474 | cbradney | 121 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/> |
122 | <source>isSpotColor("name") -> bool |
||
123 | |||
124 | Returns True if the color "name" is a spot color. |
||
125 | See also setSpotColor() |
||
126 | |||
127 | May raise NotFoundError if a named color wasn't found. |
||
128 | May raise ValueError if an invalid color name is specified. |
||
129 | </source> |
||
130 | <translation type="unfinished"></translation> |
||
131 | </message> |
||
132 | <message> |
||
133 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/> |
||
134 | <source>setSpotColor("name", spot) |
||
135 | |||
136 | Set the color "name" as a spot color if spot parameter is True. |
||
137 | See also isSpotColor() |
||
138 | |||
139 | May raise NotFoundError if a named color wasn't found. |
||
140 | May raise ValueError if an invalid color name is specified. |
||
141 | </source> |
||
142 | <translation type="unfinished"></translation> |
||
143 | </message> |
||
144 | <message> |
||
145 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/> |
||
12918 | cbradney | 146 | <source>newDocDialog() -> bool |
3064 | cbradney | 147 | |
12918 | cbradney | 148 | Displays the "New Document" dialog box. Creates a new document if the user |
149 | accepts the settings. Does not create a document if the user presses cancel. |
||
150 | Returns true if a new document was created. |
||
3064 | cbradney | 151 | </source> |
12918 | cbradney | 152 | <translation type="unfinished">newDocDialog() -> bool |
7902 | mrdocs | 153 | |
12918 | cbradney | 154 | Prikaže pogovorno okno "Nov dokument". Ustvari nov dokument, če uporabnik |
155 | sprejme nastavitve. Ne ustvari novega dokumenta, če uporabnik prekliče ukaz. |
||
156 | Vrne vrednost true, če je bil novi dokument ustvarjen. |
||
157 | </translation> |
||
3064 | cbradney | 158 | </message> |
3824 | cbradney | 159 | <message> |
14474 | cbradney | 160 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/> |
12918 | cbradney | 161 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
3824 | cbradney | 162 | |
12918 | cbradney | 163 | Shows a File Open dialog box with the caption "caption". Files are filtered |
164 | with the filter string "filter". A default filename or file path can also |
||
165 | supplied, leave this string empty when you don't want to use it. A value of |
||
166 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
167 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
168 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
169 | the dialog shows and returns only directories. The default for all of the |
||
170 | optional parameters is False. |
||
3824 | cbradney | 171 | |
12918 | cbradney | 172 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
173 | For example 'Images (*.png *.xpm *.jpg)'. |
||
3824 | cbradney | 174 | |
12918 | cbradney | 175 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
3824 | cbradney | 176 | |
12918 | cbradney | 177 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
178 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
179 | </source> |
||
180 | <translation type="unfinished"></translation> |
||
181 | </message> |
||
182 | <message> |
||
14474 | cbradney | 183 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/> |
12918 | cbradney | 184 | <source>messageBox("caption", "message", |
185 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
186 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
3824 | cbradney | 187 | |
12918 | cbradney | 188 | Displays a message box with the title "caption", the message "message", and |
189 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
190 | button, OK, is displayed. Only the caption and message arguments are required, |
||
191 | though setting an icon and appropriate button(s) is strongly |
||
192 | recommended. The message text may contain simple HTML-like markup. |
||
3824 | cbradney | 193 | |
12918 | cbradney | 194 | Returns the number of the button the user pressed. Button numbers start |
195 | at 1. |
||
3824 | cbradney | 196 | |
12918 | cbradney | 197 | For the icon and the button parameters there are predefined constants available |
198 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
199 | ICON_* constants defined in the module. There are also two extra constants that |
||
200 | can be binary-ORed with button constants: |
||
201 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
202 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
3824 | cbradney | 203 | |
12918 | cbradney | 204 | Usage examples: |
205 | result = messageBox('Script failed', |
||
206 | 'This script only works when you have a text frame selected.', |
||
207 | ICON_ERROR) |
||
208 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
||
209 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
210 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
3824 | cbradney | 211 | |
12918 | cbradney | 212 | Defined button and icon constants: |
213 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
214 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
215 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
216 | </source> |
||
217 | <translation type="unfinished"></translation> |
||
218 | </message> |
||
219 | <message> |
||
14474 | cbradney | 220 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/> |
12918 | cbradney | 221 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
6434 | cbradney | 222 | |
12918 | cbradney | 223 | Shows the common 'Ask for string' dialog and returns its value as a string |
224 | Parameters: window title, text in the window and optional 'default' value. |
||
3824 | cbradney | 225 | |
12918 | cbradney | 226 | Example: valueDialog('title', 'text in the window', 'optional') |
3824 | cbradney | 227 | </source> |
12918 | cbradney | 228 | <translation type="unfinished">valueDialog(napis, vsebina [,privzetavrednost]) -> string |
7902 | mrdocs | 229 | |
12918 | cbradney | 230 | Pokaže pogosto pogovorno okno 'Vprašaj za niz' in vrne njegovo vrednost kot niz. |
231 | Parametri: naslov okna, besedilo v oknu in neobvezna 'privzeta' vrednost. |
||
7902 | mrdocs | 232 | |
12918 | cbradney | 233 | Primer: valueDialog('naslov', 'besedilo v oknu', 'neobvezno')</translation> |
234 | </message> |
||
235 | <message> |
||
14474 | cbradney | 236 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/> |
12918 | cbradney | 237 | <source>newStyleDialog() -> string |
7902 | mrdocs | 238 | |
12918 | cbradney | 239 | Shows 'Create new paragraph style' dialog. Function returns real |
240 | style name or None when user cancels the dialog. |
||
241 | </source> |
||
242 | <translation type="unfinished">newStyleDialog() -> string |
||
7902 | mrdocs | 243 | |
12918 | cbradney | 244 | Pokaže pogovorno okno 'Ustvari nov slog odstavka'. Funkcija vrne resnično |
245 | ime sloga ali Brez (None), če uporabnik prekliče pogovorno okno. |
||
246 | </translation> |
||
3824 | cbradney | 247 | </message> |
10842 | cbradney | 248 | <message> |
14474 | cbradney | 249 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/> |
10842 | cbradney | 250 | <source>newDocument(size, margins, orientation, firstPageNumber, |
251 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
252 | |||
253 | Creates a new document and returns true if successful. The parameters have the |
||
254 | following meaning: |
||
255 | |||
256 | size = A tuple (width, height) describing the size of the document. You can |
||
257 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
258 | |||
259 | margins = A tuple (left, right, top, bottom) describing the document |
||
260 | margins |
||
261 | |||
262 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
263 | |||
264 | firstPageNumer = is the number of the first page in the document used for |
||
265 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
266 | numbers if you're creating a document in several parts. |
||
267 | |||
268 | unit: this value sets the measurement units used by the document. Use a |
||
269 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
270 | UNIT_PICAS, UNIT_POINTS. |
||
271 | |||
272 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
273 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
274 | PAGE_4 is 4-fold. |
||
275 | |||
276 | firstPageOrder = What is position of first page in the document. |
||
277 | Indexed from 0 (0 = first). |
||
278 | |||
279 | numPage = Number of pages to be created. |
||
280 | |||
281 | The values for width, height and the margins are expressed in the given unit |
||
282 | for the document. PAPER_* constants are expressed in points. If your document |
||
283 | is not in points, make sure to account for this. |
||
284 | |||
285 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
286 | PAGE_4, 3, 1) |
||
287 | |||
288 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
289 | </source> |
||
12918 | cbradney | 290 | <translation type="unfinished">newDocument(velikost, robovi, postavitev, številkaPrveStrani, |
12344 | cbradney | 291 | merskaEnota, vrstaStrani, zaporedjePrveStrani, številoStrani) -> bool |
10871 | mrdocs | 292 | |
293 | Ustvari nov dokument in vrne true, če je uspelo. Parametri imajo naslednji pomen: |
||
294 | |||
295 | velikost = Skupek mer (širina, višina), ki opisuje velikost dokumenta. Uporabite |
||
296 | lahko vnaprej določene konstante, poimenovane PAPER_<vrsta_papirja>, |
||
297 | npr. PAPER_A4 itn. |
||
298 | |||
299 | robovi = Skupek mer (levo, desno, zgoraj, spodaj), ki opisuje robove dokumenta. |
||
300 | |||
301 | postavitev = postavitev strani - konstanti PORTRAIT in LANDSCAPE |
||
302 | |||
303 | številkaPrveStrani = je številka prve strani v dokumentu, uporabljena za |
||
304 | oštevilčevanje strani. Čeprav najpogosteje hočete 1, je uporabno za višje |
||
305 | številke, če ustvarjate dokument v več delih. |
||
306 | |||
307 | merskaEnota: ta vrednost nastavi merske enote, ki jih uporablja dokument. Uporabite |
||
308 | vnaprej določene konstante, eno izmed: UNIT_INCHES, UNIT_MILLIMETERS, |
||
309 | UNIT_PICAS, UNIT_POINTS. |
||
310 | |||
311 | vrstaStrani = Ena od vnaprej določenih konstant PAGE_n. PAGE_1 je posamična stran, |
||
312 | PAGE_2 je za dvostranske dokumente, PAGE_3 je za tristransko zgibanko in |
||
313 | PAGE_4 je za štiristransko zgibanko. |
||
314 | |||
315 | zaporedjePrveStrani = Kateri položaj ima prva stran dokumenta. |
||
316 | Indeksirano od 0 (0 = prva). |
||
317 | |||
318 | številoStrani = Število strani, ki naj bodo ustvarjene. |
||
319 | |||
320 | Vrednosti za širino, višino in robove so izražene v danih merskih enotah |
||
321 | dokumenta. Konstante PAPER_* so izražene v točkah. Če vaš dokument |
||
322 | ni v točkah, poskrbite, da bo tako. |
||
323 | |||
324 | primer: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
325 | PAGE_4, 3, 1) |
||
326 | |||
12344 | cbradney | 327 | Lahko vrne napako ScribusError, če je firstPageOrder večja od dovoljenega z pagesType. |
328 | </translation> |
||
10842 | cbradney | 329 | </message> |
330 | <message> |
||
14474 | cbradney | 331 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/> |
12918 | cbradney | 332 | <source>newDoc(size, margins, orientation, firstPageNumber, |
333 | unit, facingPages, firstSideLeft) -> bool |
||
10842 | cbradney | 334 | |
12918 | cbradney | 335 | WARNING: Obsolete procedure! Use newDocument instead. |
10842 | cbradney | 336 | |
12918 | cbradney | 337 | Creates a new document and returns true if successful. The parameters have the |
338 | following meaning: |
||
10871 | mrdocs | 339 | |
12918 | cbradney | 340 | size = A tuple (width, height) describing the size of the document. You can |
341 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
10871 | mrdocs | 342 | |
12918 | cbradney | 343 | margins = A tuple (left, right, top, bottom) describing the document |
344 | margins |
||
1135 | cbradney | 345 | |
12918 | cbradney | 346 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
1135 | cbradney | 347 | |
12918 | cbradney | 348 | firstPageNumer = is the number of the first page in the document used for |
349 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
350 | numbers if you're creating a document in several parts. |
||
12344 | cbradney | 351 | |
12918 | cbradney | 352 | unit: this value sets the measurement units used by the document. Use a |
353 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
354 | UNIT_PICAS, UNIT_POINTS. |
||
12344 | cbradney | 355 | |
12918 | cbradney | 356 | facingPages = FACINGPAGES, NOFACINGPAGES |
1135 | cbradney | 357 | |
12918 | cbradney | 358 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
1135 | cbradney | 359 | |
12918 | cbradney | 360 | The values for width, height and the margins are expressed in the given unit |
361 | for the document. PAPER_* constants are expressed in points. If your document |
||
362 | is not in points, make sure to account for this. |
||
12344 | cbradney | 363 | |
12918 | cbradney | 364 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
365 | FACINGPAGES, FIRSTPAGERIGHT) |
||
1135 | cbradney | 366 | </source> |
367 | <translation type="unfinished"></translation> |
||
368 | </message> |
||
369 | <message> |
||
14474 | cbradney | 370 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/> |
1135 | cbradney | 371 | <source>closeDoc() |
372 | |||
373 | Closes the current document without prompting to save. |
||
374 | |||
375 | May throw NoDocOpenError if there is no document to close |
||
376 | </source> |
||
12918 | cbradney | 377 | <translation type="unfinished">closeDoc() |
10792 | mrdocs | 378 | |
379 | Zapre trenutni dokument brez poprejšnje ponudbe za shranjevanje. |
||
380 | |||
381 | Lahko vrne napako NoDocOpenError, če dokumenta za zapiranje ni</translation> |
||
1135 | cbradney | 382 | </message> |
383 | <message> |
||
14474 | cbradney | 384 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/> |
1135 | cbradney | 385 | <source>haveDoc() -> bool |
386 | |||
387 | Returns true if there is a document open. |
||
388 | </source> |
||
12918 | cbradney | 389 | <translation type="unfinished">haveDoc() -> bool |
7902 | mrdocs | 390 | |
391 | Vrne vrednost true, če je dokument odprt.</translation> |
||
1135 | cbradney | 392 | </message> |
393 | <message> |
||
14474 | cbradney | 394 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/> |
1135 | cbradney | 395 | <source>openDoc("name") |
396 | |||
397 | Opens the document "name". |
||
398 | |||
399 | May raise ScribusError if the document could not be opened. |
||
400 | </source> |
||
12918 | cbradney | 401 | <translation type="unfinished">openDoc("ime") |
7902 | mrdocs | 402 | |
403 | Odpre dokument "ime". |
||
404 | |||
405 | Lahko vrne napako ScribusError, če dokumenta ni mogoče odpreti. |
||
406 | </translation> |
||
1135 | cbradney | 407 | </message> |
408 | <message> |
||
14474 | cbradney | 409 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/> |
1135 | cbradney | 410 | <source>saveDoc() |
411 | |||
412 | Saves the current document with its current name, returns true if successful. |
||
413 | If the document has not already been saved, this may bring up an interactive |
||
414 | save file dialog. |
||
415 | |||
416 | If the save fails, there is currently no way to tell. |
||
417 | </source> |
||
12918 | cbradney | 418 | <translation type="unfinished">saveDoc() |
10792 | mrdocs | 419 | |
420 | Shrani trenutni dokument z njegovim trenutnim imenom, vrne true, če je uspešno. |
||
421 | Če dokument še ni bil shranjen, lahko to prikliče interaktivno pogovorno okno |
||
422 | za shranjevanje. |
||
423 | |||
424 | Če shranjevanje ne uspe, tega ni mogoče ugotoviti.</translation> |
||
1135 | cbradney | 425 | </message> |
426 | <message> |
||
14474 | cbradney | 427 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/> |
428 | <source>getDocName() -> string |
||
429 | |||
430 | Returns the name the document was saved under. |
||
431 | If the document was not saved before the name is empty. |
||
432 | </source> |
||
433 | <translation type="unfinished"></translation> |
||
434 | </message> |
||
435 | <message> |
||
436 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/> |
||
1135 | cbradney | 437 | <source>saveDocAs("name") |
438 | |||
439 | Saves the current document under the new name "name" (which may be a full or |
||
440 | relative path). |
||
441 | |||
442 | May raise ScribusError if the save fails. |
||
443 | </source> |
||
12918 | cbradney | 444 | <translation type="unfinished">saveDocAs("ime") |
10792 | mrdocs | 445 | |
446 | Shrani trenutni dokument pod novim imenom "ime" (ki je lahko polna ali |
||
447 | relativna pot). |
||
448 | |||
449 | Lahko vrne ScribusError, če shranjevanje ne uspe.</translation> |
||
450 | </message> |
||
451 | <message> |
||
14474 | cbradney | 452 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/> |
12918 | cbradney | 453 | <source>setInfo("author", "info", "description") -> bool |
454 | |||
455 | Sets the document information. "Author", "Info", "Description" are |
||
456 | strings. |
||
457 | </source> |
||
458 | <translation type="unfinished">setInfo("avtor", "info", "opis") -> bool |
||
459 | |||
460 | Dokumentu nastavi njegove podatke. "Avtor", "Info" in "Opis" so nizi.</translation> |
||
461 | </message> |
||
462 | <message> |
||
14474 | cbradney | 463 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/> |
12918 | cbradney | 464 | <source>setMargins(lr, rr, tr, br) |
465 | |||
14474 | cbradney | 466 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
12918 | cbradney | 467 | margins are given in the measurement units of the document - see UNIT_<type> |
468 | constants. |
||
469 | </source> |
||
470 | <translation type="unfinished"></translation> |
||
471 | </message> |
||
472 | <message> |
||
14474 | cbradney | 473 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/> |
474 | <source>setBaseLine(grid, offset) |
||
475 | |||
476 | Sets the base line settings of the document, grid spacing(grid), grid offset(offset). |
||
477 | Values are given in the measurement units of the document - see UNIT_<type> |
||
478 | constants. |
||
479 | </source> |
||
480 | <translation type="unfinished"></translation> |
||
481 | </message> |
||
482 | <message> |
||
483 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="200"/> |
||
1135 | cbradney | 484 | <source>setUnit(type) |
485 | |||
486 | Changes the measurement unit of the document. Possible values for "unit" are |
||
487 | defined as constants UNIT_<type>. |
||
488 | |||
489 | May raise ValueError if an invalid unit is passed. |
||
490 | </source> |
||
12918 | cbradney | 491 | <translation type="unfinished">setUnit(vrsta) |
10792 | mrdocs | 492 | |
493 | Spremeni merske enote dokumenta. Možne vrednosti za "enoto" so |
||
494 | določene kot konstante UNIT_<vrsta>. |
||
495 | |||
496 | Lahko vrne napako ValueError, če je posredovana neveljavna enota.</translation> |
||
1135 | cbradney | 497 | </message> |
498 | <message> |
||
14474 | cbradney | 499 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/> |
1135 | cbradney | 500 | <source>getUnit() -> integer (Scribus unit constant) |
501 | |||
502 | Returns the measurement units of the document. The returned value will be one |
||
503 | of the UNIT_* constants: |
||
504 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
505 | </source> |
||
12918 | cbradney | 506 | <translation type="unfinished">getUnit() -> integer (konstanta enot Scribus) |
10792 | mrdocs | 507 | |
508 | Vrne merske enote dokumenta. Vrnjena vrednost bo ena izmed |
||
509 | konstant UNIT_*: |
||
510 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation> |
||
1135 | cbradney | 511 | </message> |
512 | <message> |
||
14474 | cbradney | 513 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="223"/> |
1135 | cbradney | 514 | <source>loadStylesFromFile("filename") |
515 | |||
516 | Loads paragraph styles from the Scribus document at "filename" into the |
||
517 | current document. |
||
518 | </source> |
||
12918 | cbradney | 519 | <translation type="unfinished">loadStylesFromFile("imedatoteke") |
10792 | mrdocs | 520 | |
521 | Naloži sloge odstavkov iz dokumenta Scribus "imedatoteke" v |
||
522 | trenutni dokument.</translation> |
||
1135 | cbradney | 523 | </message> |
524 | <message> |
||
14474 | cbradney | 525 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/> |
1135 | cbradney | 526 | <source>setDocType(facingPages, firstPageLeft) |
527 | |||
528 | Sets the document type. To get facing pages set the first parameter to |
||
529 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
530 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
531 | a right page use FIRSTPAGERIGHT. |
||
532 | </source> |
||
12918 | cbradney | 533 | <translation type="unfinished">setDocType(nasprotneStrani, prvaStranLevo) |
10959 | mrdocs | 534 | |
535 | Določi vrsto dokumenta. Če želite nasprotne strani, nastavite prvi parameter na |
||
536 | FACINGPAGES, sicer izključite tonastavitev z NOFACINGPAGES. Če želite, |
||
537 | da je prva stran na levi, nastavite drugi parameter na FIRSTPAGELEFT, za |
||
538 | prvo stran ko desno pa uporabite FIRSTPAGERIGHT. |
||
539 | </translation> |
||
1135 | cbradney | 540 | </message> |
541 | <message> |
||
14474 | cbradney | 542 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="243"/> |
12918 | cbradney | 543 | <source>closeMasterPage() |
544 | |||
545 | Closes the currently active master page, if any, and returns editing |
||
546 | to normal. Begin editing with editMasterPage(). |
||
547 | </source> |
||
548 | <translation type="unfinished">closeMasterPage() |
||
549 | |||
550 | Zapre trenutno aktivno glavno stran, če je kakšna odprta, in povrne |
||
551 | v navadno urejanje. Urejanje glavne strani začnete z editMasterPage().</translation> |
||
552 | </message> |
||
553 | <message> |
||
14474 | cbradney | 554 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="251"/> |
12918 | cbradney | 555 | <source>masterPageNames() |
556 | |||
557 | Returns a list of the names of all master pages in the document. |
||
558 | </source> |
||
559 | <translation type="unfinished">masterPageNames() |
||
560 | |||
561 | Vrne seznam imen vseh glavnih strani v dokumentu.</translation> |
||
562 | </message> |
||
563 | <message> |
||
14474 | cbradney | 564 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="258"/> |
12918 | cbradney | 565 | <source>editMasterPage(pageName) |
566 | |||
567 | Enables master page editing and opens the named master page |
||
568 | for editing. Finish editing with closeMasterPage(). |
||
569 | </source> |
||
570 | <translation type="unfinished">editMasterPage(imeStrani) |
||
571 | |||
572 | Omogoči urejanje glavne strani in odpre imenovano glavno stran |
||
573 | za urejanje. Urejanje zaključite z closeMasterPage().</translation> |
||
574 | </message> |
||
575 | <message> |
||
14474 | cbradney | 576 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="266"/> |
12918 | cbradney | 577 | <source>createMasterPage(pageName) |
578 | |||
579 | Creates a new master page named pageName and opens it for |
||
580 | editing. |
||
581 | </source> |
||
582 | <translation type="unfinished">createMasterPage(imeStrani) |
||
583 | |||
584 | Ustvari novo glavno stran z imenom pageName in jo odpre |
||
585 | za urejanje.</translation> |
||
586 | </message> |
||
587 | <message> |
||
14474 | cbradney | 588 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="274"/> |
12918 | cbradney | 589 | <source>deleteMasterPage(pageName) |
590 | |||
591 | Delete the named master page. |
||
592 | </source> |
||
593 | <translation type="unfinished">deleteMasterPage(imeStrani) |
||
594 | |||
595 | Izbriše imenovano glavno stran.</translation> |
||
596 | </message> |
||
597 | <message> |
||
14474 | cbradney | 598 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/> |
12918 | cbradney | 599 | <source>getFillColor(["name"]) -> string |
600 | |||
601 | Returns the name of the fill color of the object "name". |
||
602 | If "name" is not given the currently selected item is used. |
||
603 | </source> |
||
604 | <translation type="unfinished">getFillColor(["ime"]) -> string |
||
605 | |||
606 | Vrne ime polnilne barve predmeta "ime". |
||
607 | Če "ime" ni podano, se uporabi trenutno izbrani predmet. |
||
608 | </translation> |
||
609 | </message> |
||
610 | <message> |
||
14474 | cbradney | 611 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="27"/> |
12918 | cbradney | 612 | <source>getFillTransparency(["name"]) -> float |
613 | |||
614 | Returns the fill transparency of the object "name". If "name" |
||
615 | is not given the currently selected Item is used. |
||
616 | </source> |
||
617 | <translation type="unfinished">getFillTransparency(["ime"]) -> float |
||
618 | |||
619 | Vrne prosojnost polnila predmeta "ime". Če "ime" |
||
620 | ni podano, je uporabljen trenutno izbran element. |
||
621 | </translation> |
||
622 | </message> |
||
623 | <message> |
||
14474 | cbradney | 624 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="37"/> |
12918 | cbradney | 625 | <source>getFillBlendmode(["name"]) -> integer |
626 | |||
627 | Returns the fill blendmode of the object "name". If "name" |
||
628 | is not given the currently selected Item is used. |
||
629 | </source> |
||
630 | <translation type="unfinished">getFillBlendmode(["ime"]) -> integer |
||
631 | Vrne način spajanja polnila predmeta "ime". Če "ime" |
||
632 | ni podano, je uporabljen trenutno izbrani predmet. |
||
633 | </translation> |
||
634 | </message> |
||
635 | <message> |
||
14474 | cbradney | 636 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="47"/> |
1135 | cbradney | 637 | <source>getLineColor(["name"]) -> string |
638 | |||
639 | Returns the name of the line color of the object "name". |
||
640 | If "name" is not given the currently selected item is used. |
||
641 | </source> |
||
12918 | cbradney | 642 | <translation type="unfinished">getLineColor(["ime"]) -> string |
10792 | mrdocs | 643 | |
644 | Vrne ime barve črte predmeta "ime". |
||
645 | Če "ime" ni podano, uporabi trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 646 | </message> |
647 | <message> |
||
14474 | cbradney | 648 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="57"/> |
12918 | cbradney | 649 | <source>getLineTransparency(["name"]) -> float |
650 | |||
651 | Returns the line transparency of the object "name". If "name" |
||
652 | is not given the currently selected Item is used. |
||
653 | </source> |
||
654 | <translation type="unfinished">getLineTransparency(["ime"]) -> float |
||
655 | |||
656 | Vrne prosojnost predmeta "ime". Če "ime" |
||
657 | ni podano, je uporabljen trenutno izbran element. |
||
658 | </translation> |
||
659 | </message> |
||
660 | <message> |
||
14474 | cbradney | 661 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="67"/> |
12918 | cbradney | 662 | <source>getLineBlendmode(["name"]) -> integer |
663 | |||
664 | Returns the line blendmode of the object "name". If "name" |
||
665 | is not given the currently selected Item is used. |
||
666 | </source> |
||
667 | <translation type="unfinished">getLineBlendmode(["ime"]) -> integer |
||
668 | |||
669 | Vrne način spajanja vrstic predmeta "ime". Če "ime" |
||
670 | ni podano, je uporabljen trenutno izbrani predmet. |
||
671 | </translation> |
||
672 | </message> |
||
673 | <message> |
||
14474 | cbradney | 674 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="77"/> |
1135 | cbradney | 675 | <source>getLineWidth(["name"]) -> integer |
676 | |||
677 | Returns the line width of the object "name". If "name" |
||
678 | is not given the currently selected Item is used. |
||
679 | </source> |
||
12918 | cbradney | 680 | <translation type="unfinished">getLineWidth(["ime"]) -> integer |
10792 | mrdocs | 681 | Vrne širino črte predmeta "ime". Če "ime" |
682 | ni podano, bo uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 683 | </message> |
684 | <message> |
||
14474 | cbradney | 685 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="87"/> |
1135 | cbradney | 686 | <source>getLineShade(["name"]) -> integer |
687 | |||
688 | Returns the shading value of the line color of the object "name". |
||
689 | If "name" is not given the currently selected item is used. |
||
690 | </source> |
||
12918 | cbradney | 691 | <translation type="unfinished">getLineShade(["ime"]) -> integer |
10792 | mrdocs | 692 | |
693 | Vrne vrednost senčenja za barvo črte predmeta "ime". |
||
694 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 695 | </message> |
696 | <message> |
||
14474 | cbradney | 697 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="97"/> |
12918 | cbradney | 698 | <source>getLineJoin(["name"]) -> integer (see constants) |
699 | |||
700 | Returns the line join style of the object "name". If "name" is not given |
||
701 | the currently selected item is used. The join types are: |
||
702 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
703 | </source> |
||
704 | <translation type="unfinished"></translation> |
||
705 | </message> |
||
706 | <message> |
||
14474 | cbradney | 707 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="108"/> |
1135 | cbradney | 708 | <source>getLineEnd(["name"]) -> integer (see constants) |
709 | |||
710 | Returns the line cap style of the object "name". If "name" is not given the |
||
711 | currently selected item is used. The cap types are: |
||
712 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
713 | </source> |
||
12918 | cbradney | 714 | <translation type="unfinished">getLineEnd(["ime"]) -> integer (glejte konstante) |
10959 | mrdocs | 715 | |
716 | Vrne slog zaključkov črt predmeta "ime". Če "ime" ni podano, |
||
717 | je uporabljen trenutno izbran element. Vrste koncev črt so: |
||
718 | CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation> |
||
1135 | cbradney | 719 | </message> |
720 | <message> |
||
14474 | cbradney | 721 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="119"/> |
1135 | cbradney | 722 | <source>getLineStyle(["name"]) -> integer (see constants) |
723 | |||
724 | Returns the line style of the object "name". If "name" is not given the |
||
725 | currently selected item is used. Line style constants are: |
||
726 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
727 | </source> |
||
12918 | cbradney | 728 | <translation type="unfinished">getLineStyle(["ime"]) -> integer (glej konstante) |
10792 | mrdocs | 729 | |
730 | Vrne slog črte predmeta "ime". Če "ime" ni podano, je uporabljen |
||
731 | trenutno izbrani predmet. Konstante sloga črte so: |
||
732 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID</translation> |
||
1135 | cbradney | 733 | </message> |
734 | <message> |
||
14474 | cbradney | 735 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="130"/> |
1135 | cbradney | 736 | <source>getFillShade(["name"]) -> integer |
737 | |||
738 | Returns the shading value of the fill color of the object "name". |
||
739 | If "name" is not given the currently selected item is used. |
||
740 | </source> |
||
12918 | cbradney | 741 | <translation type="unfinished">getFillShade(["ime"]) -> integer |
10792 | mrdocs | 742 | |
743 | Vrne vrednost senčenja za barvo polnila predmeta "ime". |
||
744 | Če "ime" ni podano, bo uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 745 | </message> |
746 | <message> |
||
14474 | cbradney | 747 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="140"/> |
12918 | cbradney | 748 | <source>getCornerRadius(["name"]) -> integer |
749 | |||
750 | Returns the corner radius of the object "name". The radius is |
||
751 | expressed in points. If "name" is not given the currently |
||
752 | selected item is used. |
||
753 | </source> |
||
754 | <translation type="unfinished"></translation> |
||
755 | </message> |
||
756 | <message> |
||
14474 | cbradney | 757 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="151"/> |
1135 | cbradney | 758 | <source>getImageScale(["name"]) -> (x,y) |
759 | |||
760 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
761 | "name". If "name" is not given the currently selected item is used. |
||
762 | </source> |
||
12918 | cbradney | 763 | <translation type="unfinished">getImageScale(["ime"]) -> (x,y) |
10792 | mrdocs | 764 | |
765 | Vrne par (x, y), ki vsebuje vrednosti spremembe merila za okvir slike |
||
766 | "ime". Če "ime" ni podano, je uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 767 | </message> |
768 | <message> |
||
14474 | cbradney | 769 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="161"/> |
1135 | cbradney | 770 | <source>getImageName(["name"]) -> string |
771 | |||
772 | Returns the filename for the image in the image frame. If "name" is not |
||
773 | given the currently selected item is used. |
||
774 | </source> |
||
12918 | cbradney | 775 | <translation type="unfinished">getImageName(["ime"]) -> string |
10792 | mrdocs | 776 | |
777 | Vrne ime datoteke slike v okviru slike. Če "ime" ni |
||
778 | podano, je uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 779 | </message> |
780 | <message> |
||
14474 | cbradney | 781 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="171"/> |
12918 | cbradney | 782 | <source>getPosition(["name"]) -> (x,y) |
783 | |||
784 | Returns a (x, y) tuple with the position of the object "name". |
||
785 | If "name" is not given the currently selected item is used. |
||
786 | The position is expressed in the actual measurement unit of the document |
||
787 | - see UNIT_<type> for reference. |
||
788 | </source> |
||
789 | <translation type="unfinished"></translation> |
||
790 | </message> |
||
791 | <message> |
||
14474 | cbradney | 792 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="183"/> |
1135 | cbradney | 793 | <source>getSize(["name"]) -> (width,height) |
794 | |||
795 | Returns a (width, height) tuple with the size of the object "name". |
||
796 | If "name" is not given the currently selected item is used. The size is |
||
797 | expressed in the current measurement unit of the document - see UNIT_<type> |
||
798 | for reference. |
||
799 | </source> |
||
12918 | cbradney | 800 | <translation type="unfinished">getSize(["ime"]) -> (širina,višina) |
10959 | mrdocs | 801 | |
802 | Vrne par (širina, višina) z velikostjo predmeta "ime". |
||
803 | Če "ime" ni podano, je uporabljen trentno izbran element. Velikost je |
||
804 | podana v trenutnih merskih enotah dokumenta - glejte UNIT_<vrsta> |
||
805 | za cel nabor možnosti. |
||
806 | </translation> |
||
1135 | cbradney | 807 | </message> |
808 | <message> |
||
14474 | cbradney | 809 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="195"/> |
1135 | cbradney | 810 | <source>getRotation(["name"]) -> integer |
811 | |||
812 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
813 | and clockwise is positive. If "name" is not given the currently selected item |
||
814 | is used. |
||
815 | </source> |
||
12918 | cbradney | 816 | <translation type="unfinished">getRotation(["ime"]) -> integer |
10792 | mrdocs | 817 | |
818 | Vrne zasukanost predmeta "ime". Vrednost je izražena v stopinjah, |
||
819 | in sicer je v smeri urinega kazalca vrednost pozitivna. Če "ime" ni podano, |
||
820 | bo uporabljen trenutno izbran element.</translation> |
||
1135 | cbradney | 821 | </message> |
822 | <message> |
||
14474 | cbradney | 823 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="206"/> |
1135 | cbradney | 824 | <source>getAllObjects() -> list |
825 | |||
826 | Returns a list containing the names of all objects on the current page. |
||
827 | </source> |
||
12918 | cbradney | 828 | <translation type="unfinished">getAllObjects() -> list |
10792 | mrdocs | 829 | |
830 | Vrne seznam z imeni vseh predmetov na trenutni strani.</translation> |
||
1135 | cbradney | 831 | </message> |
832 | <message> |
||
14474 | cbradney | 833 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/> |
12918 | cbradney | 834 | <source>moveObject(dx, dy [, "name"]) |
835 | |||
836 | Moves the object "name" by dx and dy relative to its current position. The |
||
837 | distances are expressed in the current measurement unit of the document (see |
||
838 | UNIT constants). If "name" is not given the currently selected item is used. |
||
839 | If the object "name" belongs to a group, the whole group is moved. |
||
840 | </source> |
||
841 | <translation type="unfinished">moveObject(dx, dy [, "ime"]) -> string |
||
842 | |||
843 | Premakne predmet "ime" za dx in dy relativno na trenuten položaj. |
||
844 | Razdalje so podane v enotah trenutnega dokumenta (glejte konstante |
||
845 | UNIT). Če "ime" ni podano, se uporabi trenutno izbrani predmet. |
||
846 | Če je predmet "ime" del skupine, se premakne celotna skupina. |
||
847 | </translation> |
||
848 | </message> |
||
849 | <message> |
||
14474 | cbradney | 850 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/> |
1135 | cbradney | 851 | <source>moveObjectAbs(x, y [, "name"]) |
852 | |||
853 | Moves the object "name" to a new location. The coordinates are expressed in |
||
854 | the current measurement unit of the document (see UNIT constants). If "name" |
||
855 | is not given the currently selected item is used. If the object "name" |
||
856 | belongs to a group, the whole group is moved. |
||
857 | </source> |
||
12918 | cbradney | 858 | <translation type="unfinished">moveObjectAbs(x, y [, "ime"]) |
12035 | cbradney | 859 | |
860 | Premakne predmet "ime" na novo mesto. Koordinate so izražene v |
||
861 | trenutnih merskih enotah dokumenta (glejte konstante UNIT). Če "ime" |
||
862 | ni podano, je uporabljen trenutno izbrani predmet. Če predmt "ime" |
||
863 | pripada skupini, se premakne celotna skupina. |
||
864 | </translation> |
||
1135 | cbradney | 865 | </message> |
866 | <message> |
||
14474 | cbradney | 867 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/> |
12918 | cbradney | 868 | <source>rotateObject(rot [, "name"]) |
869 | |||
870 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
871 | rotated by the vertex that is currently selected as the rotation point - by |
||
872 | default, the top left vertex at zero rotation. Positive values mean counter |
||
873 | clockwise rotation when the default rotation point is used. If "name" is not |
||
874 | given the currently selected item is used. |
||
875 | </source> |
||
876 | <translation type="unfinished"></translation> |
||
877 | </message> |
||
878 | <message> |
||
14474 | cbradney | 879 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/> |
12918 | cbradney | 880 | <source>rotateObjectAbs(rot [, "name"]) |
881 | |||
882 | Sets the rotation of the object "name" to "rot". Positive values |
||
883 | mean counter clockwise rotation. If "name" is not given the currently |
||
884 | selected item is used. |
||
885 | </source> |
||
886 | <translation type="unfinished"></translation> |
||
887 | </message> |
||
888 | <message> |
||
14474 | cbradney | 889 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/> |
1135 | cbradney | 890 | <source>sizeObject(width, height [, "name"]) |
891 | |||
892 | Resizes the object "name" to the given width and height. If "name" |
||
893 | is not given the currently selected item is used. |
||
894 | </source> |
||
12918 | cbradney | 895 | <translation type="unfinished">sizeObject(širina, višina [, "ime"]) |
10792 | mrdocs | 896 | |
897 | Spremeni velikost predmeta "ime" na podano širino in višino. Če "ime" |
||
898 | ni podano, je uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 899 | </message> |
900 | <message> |
||
14474 | cbradney | 901 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/> |
1135 | cbradney | 902 | <source>getSelectedObject([nr]) -> string |
903 | |||
904 | Returns the name of the selected object. "nr" if given indicates the number |
||
905 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
906 | second selected Object and so on. |
||
907 | </source> |
||
12918 | cbradney | 908 | <translation type="unfinished">getSelectedObject([št]) -> string |
10792 | mrdocs | 909 | |
910 | Vrne ime izbranega predmeta. Če je podana, predstavlja "št" številko |
||
911 | izbranega predmeta; 0 npr. pomeni prvi izbrani predmet, 1 drugi |
||
912 | izbrani predmet itn.</translation> |
||
1135 | cbradney | 913 | </message> |
914 | <message> |
||
14474 | cbradney | 915 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/> |
1135 | cbradney | 916 | <source>selectionCount() -> integer |
917 | |||
918 | Returns the number of selected objects. |
||
919 | </source> |
||
12918 | cbradney | 920 | <translation type="unfinished">selectionCount() -> integer |
10792 | mrdocs | 921 | |
922 | Vrne število izbranih predmetov.</translation> |
||
1135 | cbradney | 923 | </message> |
924 | <message> |
||
14474 | cbradney | 925 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/> |
1135 | cbradney | 926 | <source>selectObject("name") |
927 | |||
928 | Selects the object with the given "name". |
||
929 | </source> |
||
12918 | cbradney | 930 | <translation type="unfinished">selectObject("ime") |
10792 | mrdocs | 931 | |
932 | Izbere predmet z danim "imenom".</translation> |
||
1135 | cbradney | 933 | </message> |
934 | <message> |
||
14474 | cbradney | 935 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/> |
1135 | cbradney | 936 | <source>deselectAll() |
937 | |||
938 | Deselects all objects in the whole document. |
||
939 | </source> |
||
12918 | cbradney | 940 | <translation type="unfinished">deselectAll() |
10792 | mrdocs | 941 | |
942 | Prekliče izbiro vseh predmetov v celem dokumentu.</translation> |
||
1135 | cbradney | 943 | </message> |
944 | <message> |
||
14474 | cbradney | 945 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/> |
14747 | cbradney | 946 | <source>groupObjects(list) -> string |
947 | |||
948 | Groups the objects named in "list" together. "list" must contain the names |
||
949 | of the objects to be grouped. If "list" is not given the currently selected |
||
950 | items are used. Returns the group name for further referencing. |
||
951 | </source> |
||
952 | <translation type="unfinished"></translation> |
||
953 | </message> |
||
954 | <message> |
||
1135 | cbradney | 955 | <source>groupObjects(list) |
956 | |||
957 | Groups the objects named in "list" together. "list" must contain the names |
||
958 | of the objects to be grouped. If "list" is not given the currently selected |
||
959 | items are used. |
||
960 | </source> |
||
14747 | cbradney | 961 | <translation type="obsolete">groupObjects(seznam) |
10792 | mrdocs | 962 | |
963 | Združi predmete s "seznama" v skupino. "Seznam" mora vsebovati imena |
||
964 | predmetov, ki naj bodo združeni. Če "seznam" ni podan, so uporabljeni |
||
965 | trenutno izbrani predmeti.</translation> |
||
1135 | cbradney | 966 | </message> |
967 | <message> |
||
14474 | cbradney | 968 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/> |
1135 | cbradney | 969 | <source>unGroupObjects("name") |
970 | |||
971 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
12918 | cbradney | 972 | <translation type="unfinished">unGroupObjects("ime") |
10792 | mrdocs | 973 | |
974 | Razdruži skupino predmetov, kateri pripada predmet "ime". Če "ime" ni podano, |
||
975 | je uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 976 | </message> |
977 | <message> |
||
14474 | cbradney | 978 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/> |
1135 | cbradney | 979 | <source>scaleGroup(factor [,"name"]) |
980 | |||
981 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
982 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
983 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
984 | to 150 % of its original size. The value for "factor" must be greater than |
||
985 | 0. If "name" is not given the currently selected item is used. |
||
986 | |||
987 | May raise ValueError if an invalid scale factor is passed. |
||
988 | </source> |
||
989 | <translation type="unfinished"></translation> |
||
990 | </message> |
||
991 | <message> |
||
14474 | cbradney | 992 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/> |
1135 | cbradney | 993 | <source>loadImage("filename" [, "name"]) |
994 | |||
995 | Loads the picture "picture" into the image frame "name". If "name" is |
||
996 | not given the currently selected item is used. |
||
997 | |||
998 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
999 | </source> |
||
12918 | cbradney | 1000 | <translation type="unfinished">loadImage("imedatoteke" [, "ime"]) |
10959 | mrdocs | 1001 | |
1002 | Naloži sliko "imedatoteke" v slikovni okvir "ime". Če "ime" |
||
1003 | ni podano, je uporabljen trenutno izbran element. |
||
1004 | |||
1005 | Vrne lahko napako WrongFrameTypeError, če ciljni okvir ni slikovni okvir |
||
1006 | </translation> |
||
1135 | cbradney | 1007 | </message> |
1008 | <message> |
||
14474 | cbradney | 1009 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/> |
1010 | <source>scaleImage(x, y [, "name"]) |
||
1011 | |||
1012 | Sets the internal scaling factors of the picture in the image frame "name". |
||
1013 | If "name" is not given the currently selected item is used. A number of 1 |
||
1014 | means 100 %. Internal scaling factors are different from the values shown on |
||
1015 | properties palette. Note : deprecated, use setImageScale() instead. |
||
1016 | |||
1017 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1018 | </source> |
||
1019 | <translation type="unfinished"></translation> |
||
1020 | </message> |
||
1021 | <message> |
||
1022 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/> |
||
1023 | <source>setImageScale(x, y [, "name"]) |
||
1024 | |||
1025 | Sets the scaling factors of the picture in the image frame "name". |
||
1026 | If "name" is not given the currently selected item is used. A number of 1 |
||
1027 | means 100 %. Scaling factors are equal to the values shown on properties palette. |
||
1028 | |||
1029 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1030 | </source> |
||
1031 | <translation type="unfinished"></translation> |
||
1032 | </message> |
||
1033 | <message> |
||
1034 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/> |
||
1135 | cbradney | 1035 | <source>lockObject(["name"]) -> bool |
1036 | |||
1037 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
1038 | If "name" is not given the currently selected item is used. Returns true |
||
1039 | if locked. |
||
1040 | </source> |
||
12918 | cbradney | 1041 | <translation type="unfinished">lockObject(["ime"]) -> bool |
10792 | mrdocs | 1042 | |
1043 | Zaklene predmet "ime", če ni zaklenjen, ali ga odklene, če je zaklenjen. |
||
1044 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet. Vrne true, |
||
1045 | če je zaklenjen.</translation> |
||
1135 | cbradney | 1046 | </message> |
1047 | <message> |
||
14474 | cbradney | 1048 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/> |
1135 | cbradney | 1049 | <source>isLocked(["name"]) -> bool |
1050 | |||
1051 | Returns true if is the object "name" locked. If "name" is not given the |
||
1052 | currently selected item is used. |
||
1053 | </source> |
||
12918 | cbradney | 1054 | <translation type="unfinished">isLocked(["ime"]) -> bool |
10792 | mrdocs | 1055 | |
1056 | Vrne true, če je predmet "ime" zaklenjen. Če "ime" ni podano, je |
||
1057 | uporabljen trenutno izbrani predmet.</translation> |
||
1135 | cbradney | 1058 | </message> |
1059 | <message> |
||
14474 | cbradney | 1060 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/> |
12918 | cbradney | 1061 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1062 | |||
1063 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
||
1064 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1065 | Both `scaletoframe' and `proportional' are boolean. |
||
1066 | |||
1067 | May raise WrongFrameTypeError. |
||
1068 | </source> |
||
1069 | <translation type="unfinished"></translation> |
||
1070 | </message> |
||
1071 | <message> |
||
14474 | cbradney | 1072 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/> |
12918 | cbradney | 1073 | <source>setRedraw(bool) |
1074 | |||
1075 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
1076 | This change will persist even after the script exits, so make sure to call |
||
1077 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1078 | </source> |
||
1079 | <translation type="unfinished">setRedraw(bool) |
||
1080 | |||
1081 | Izključi ponovno risanje strani, ko je bool = False, sicer je ponovno risanje |
||
1082 | vključeno. Ta sprememba obvelja, čeprav je skripta konec, zato preverite, |
||
1083 | da pokličete setRedraw(True) v stavku finally: na vrhnji ravni svojega skripta. |
||
1084 | </translation> |
||
1085 | </message> |
||
1086 | <message> |
||
14474 | cbradney | 1087 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/> |
1135 | cbradney | 1088 | <source>getFontNames() -> list |
1089 | |||
1090 | Returns a list with the names of all available fonts. |
||
1091 | </source> |
||
12918 | cbradney | 1092 | <translation type="unfinished">getFontNames() -> list |
10792 | mrdocs | 1093 | |
1094 | Vrne seznam z imeni vseh pisav, ki so na voljo.</translation> |
||
1135 | cbradney | 1095 | </message> |
1096 | <message> |
||
14474 | cbradney | 1097 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/> |
1135 | cbradney | 1098 | <source>getXFontNames() -> list of tuples |
1099 | |||
1100 | Returns a larger font info. It's a list of the tuples with: |
||
1101 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
||
1102 | </source> |
||
1103 | <translation type="unfinished"></translation> |
||
1104 | </message> |
||
1105 | <message> |
||
14474 | cbradney | 1106 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/> |
12918 | cbradney | 1107 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1108 | |||
1109 | Creates an image preview of font "name" with given text "sample" and size. |
||
1110 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1111 | image data is returned as a string. The optional "format" argument |
||
1112 | specifies the image format to generate, and supports any format allowed |
||
1113 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1114 | |||
1115 | May raise NotFoundError if the specified font can't be found. |
||
1116 | May raise ValueError if an empty sample or filename is passed. |
||
1117 | </source> |
||
1118 | <translation type="unfinished"></translation> |
||
1119 | </message> |
||
1120 | <message> |
||
14474 | cbradney | 1121 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/> |
1135 | cbradney | 1122 | <source>getLayers() -> list |
1123 | |||
1124 | Returns a list with the names of all defined layers. |
||
1125 | </source> |
||
12918 | cbradney | 1126 | <translation type="unfinished">getLayers() -> list |
10792 | mrdocs | 1127 | |
1128 | Vrne seznam z imeni vseh obstoječih plasti.</translation> |
||
1135 | cbradney | 1129 | </message> |
1130 | <message> |
||
14474 | cbradney | 1131 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/> |
1135 | cbradney | 1132 | <source>setActiveLayer("name") |
1133 | |||
1134 | Sets the active layer to the layer named "name". |
||
1135 | |||
1136 | May raise NotFoundError if the layer can't be found. |
||
1137 | May raise ValueError if the layer name isn't acceptable. |
||
1138 | </source> |
||
12918 | cbradney | 1139 | <translation type="unfinished">setActiveLayer("ime") |
12035 | cbradney | 1140 | |
1141 | Določi aktivno plast na plast, imenovano "ime". |
||
1142 | |||
1143 | Lahko vrne napako NotFoundError, če plasti ni mogoče najti. |
||
1144 | Lahko vrne napako ValueError, če ime plasti ni sprejemljivo. |
||
1145 | </translation> |
||
1135 | cbradney | 1146 | </message> |
1147 | <message> |
||
14474 | cbradney | 1148 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/> |
1135 | cbradney | 1149 | <source>getActiveLayer() -> string |
1150 | |||
1151 | Returns the name of the current active layer. |
||
1152 | </source> |
||
12918 | cbradney | 1153 | <translation type="unfinished">getActiveLayer() -> string |
10792 | mrdocs | 1154 | |
1155 | Vrne ime trenutno aktivne plasti.</translation> |
||
1135 | cbradney | 1156 | </message> |
1157 | <message> |
||
14474 | cbradney | 1158 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/> |
1135 | cbradney | 1159 | <source>sentToLayer("layer" [, "name"]) |
1160 | |||
1161 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1162 | If "name" is not given the currently selected item is used. |
||
1163 | |||
1164 | May raise NotFoundError if the layer can't be found. |
||
1165 | May raise ValueError if the layer name isn't acceptable. |
||
1166 | </source> |
||
12918 | cbradney | 1167 | <translation type="unfinished">sentToLayer("plast" [, "ime"]) |
12035 | cbradney | 1168 | |
1169 | Pošlje predmet "ime" na plast "plast". Plast mora obstajati. |
||
1170 | Če "ime" ni podano, je uporabljen trenutno izbran predmet. |
||
1171 | |||
1172 | Lahko vrne napako NotFoundError, če plasti ni mogoče najti. |
||
1173 | Lahko vrne napako ValueError, če ime plasti ni sprejemljivo. |
||
1174 | </translation> |
||
1135 | cbradney | 1175 | </message> |
1176 | <message> |
||
14474 | cbradney | 1177 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/> |
1135 | cbradney | 1178 | <source>setLayerVisible("layer", visible) |
1179 | |||
1180 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1181 | the layer is invisible. |
||
1182 | |||
1183 | May raise NotFoundError if the layer can't be found. |
||
1184 | May raise ValueError if the layer name isn't acceptable. |
||
1185 | </source> |
||
12918 | cbradney | 1186 | <translation type="unfinished">setLayerVisible("plast", vidna) |
12035 | cbradney | 1187 | |
1188 | Določi, ali naj bo plast "plast" vidna ali ne. Če je vidna nastavljena na false, |
||
1189 | plast ni vidna. |
||
1190 | |||
1191 | Lahko vrne napako NotFoundError, če plasti ni mogoče najti. |
||
1192 | Lahko vrne napako ValueError, če ime plasti ni sprejemljivo. |
||
1193 | </translation> |
||
1135 | cbradney | 1194 | </message> |
1195 | <message> |
||
14474 | cbradney | 1196 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/> |
12918 | cbradney | 1197 | <source>setLayerPrintable("layer", printable) |
1198 | |||
1199 | Sets the layer "layer" to be printable or not. If is the |
||
1200 | printable set to false the layer won't be printed. |
||
1201 | |||
1202 | May raise NotFoundError if the layer can't be found. |
||
1203 | May raise ValueError if the layer name isn't acceptable. |
||
1204 | </source> |
||
1205 | <translation type="unfinished"></translation> |
||
1206 | </message> |
||
1207 | <message> |
||
14474 | cbradney | 1208 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/> |
12918 | cbradney | 1209 | <source>setLayerLocked("layer", locked) |
1210 | |||
1211 | Sets the layer "layer" to be locked or not. If locked is set to |
||
1212 | true the layer will be locked. |
||
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> |
||
14474 | cbradney | 1220 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/> |
12918 | cbradney | 1221 | <source>setLayerOutlined("layer", outline) |
1222 | |||
1223 | Sets the layer "layer" to be locked or not. If outline is set to |
||
1224 | true the layer will be displayed outlined. |
||
1225 | |||
1226 | May raise NotFoundError if the layer can't be found. |
||
1227 | May raise ValueError if the layer name isn't acceptable. |
||
1228 | </source> |
||
1229 | <translation type="unfinished"></translation> |
||
1230 | </message> |
||
1231 | <message> |
||
14474 | cbradney | 1232 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/> |
12918 | cbradney | 1233 | <source>setLayerFlow("layer", flow) |
1234 | |||
1235 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
1236 | true text in layers above this one will flow around objects on this layer. |
||
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> |
||
14474 | cbradney | 1244 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/> |
12918 | cbradney | 1245 | <source>setLayerBlendmode("layer", blend) |
1246 | |||
1247 | Sets the layers "layer" blendmode to blend. |
||
1248 | |||
1249 | May raise NotFoundError if the layer can't be found. |
||
1250 | May raise ValueError if the layer name isn't acceptable. |
||
1251 | </source> |
||
1252 | <translation type="unfinished"></translation> |
||
1253 | </message> |
||
1254 | <message> |
||
14474 | cbradney | 1255 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/> |
12918 | cbradney | 1256 | <source>setLayerTransparency("layer", trans) |
1257 | |||
1258 | Sets the layers "layer" transparency to trans. |
||
1259 | |||
1260 | May raise NotFoundError if the layer can't be found. |
||
1261 | May raise ValueError if the layer name isn't acceptable. |
||
1262 | </source> |
||
1263 | <translation type="unfinished">setLayerTransparency("plast", prosoj) |
||
1264 | |||
1265 | Nastavi prosojnost plasti "plast" na prosoj. |
||
1266 | |||
1267 | Vrne lahko napako NotFoundError. če plasti ni mogoče najti. |
||
1268 | Vrne lahko napako ValueError, če ime plasti ni sprejemljivo. |
||
1269 | </translation> |
||
1270 | </message> |
||
1271 | <message> |
||
14474 | cbradney | 1272 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/> |
12918 | cbradney | 1273 | <source>isLayerVisible("layer") -> bool |
1274 | |||
1275 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1276 | that the layer "layer" is visible, a value of False means that the layer |
||
1277 | "layer" is invisible. |
||
1278 | |||
1279 | May raise NotFoundError if the layer can't be found. |
||
1280 | May raise ValueError if the layer name isn't acceptable. |
||
1281 | </source> |
||
1282 | <translation type="unfinished"></translation> |
||
1283 | </message> |
||
1284 | <message> |
||
14474 | cbradney | 1285 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/> |
12918 | cbradney | 1286 | <source>isLayerPrintable("layer") -> bool |
1287 | |||
1288 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1289 | that the layer "layer" can be printed, a value of False means that printing |
||
1290 | the layer "layer" is disabled. |
||
1291 | |||
1292 | May raise NotFoundError if the layer can't be found. |
||
1293 | May raise ValueError if the layer name isn't acceptable. |
||
1294 | </source> |
||
1295 | <translation type="unfinished"></translation> |
||
1296 | </message> |
||
1297 | <message> |
||
14474 | cbradney | 1298 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/> |
12918 | cbradney | 1299 | <source>isLayerLocked("layer") -> bool |
1300 | |||
1301 | Returns whether the layer "layer" is locked or not, a value of True means |
||
1302 | that the layer "layer" is editable, a value of False means that the layer |
||
1303 | "layer" is locked. |
||
1304 | |||
1305 | May raise NotFoundError if the layer can't be found. |
||
1306 | May raise ValueError if the layer name isn't acceptable. |
||
1307 | </source> |
||
1308 | <translation type="unfinished"></translation> |
||
1309 | </message> |
||
1310 | <message> |
||
14474 | cbradney | 1311 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/> |
12918 | cbradney | 1312 | <source>isLayerOutlined("layer") -> bool |
1313 | |||
1314 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
1315 | that the layer "layer" is outlined, a value of False means that the layer |
||
1316 | "layer" is normal. |
||
1317 | |||
1318 | May raise NotFoundError if the layer can't be found. |
||
1319 | May raise ValueError if the layer name isn't acceptable. |
||
1320 | </source> |
||
1321 | <translation type="unfinished"></translation> |
||
1322 | </message> |
||
1323 | <message> |
||
14474 | cbradney | 1324 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/> |
12918 | cbradney | 1325 | <source>isLayerFlow("layer") -> bool |
1326 | |||
1327 | Returns whether text flows around objects on layer "layer", a value of True means |
||
1328 | that text flows around, a value of False means that the text does not flow around. |
||
1329 | |||
1330 | May raise NotFoundError if the layer can't be found. |
||
1331 | May raise ValueError if the layer name isn't acceptable. |
||
1332 | </source> |
||
1333 | <translation type="unfinished"></translation> |
||
1334 | </message> |
||
1335 | <message> |
||
14474 | cbradney | 1336 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/> |
12918 | cbradney | 1337 | <source>getLayerBlendmode("layer") -> int |
1338 | |||
1339 | Returns the "layer" layer blendmode, |
||
1340 | |||
1341 | May raise NotFoundError if the layer can't be found. |
||
1342 | May raise ValueError if the layer name isn't acceptable. |
||
1343 | </source> |
||
1344 | <translation type="unfinished">getLayerBlendmode("plast") -> int |
||
1345 | |||
1346 | Vrne način spajanja plasti "plast". |
||
1347 | |||
1348 | Lahko vrne napako NotFoundError, če plasti ni mogoče najti. |
||
1349 | Lahko vrne napako ValueError, če ime plasti ni sprejemljivo. |
||
1350 | </translation> |
||
1351 | </message> |
||
1352 | <message> |
||
14474 | cbradney | 1353 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/> |
12918 | cbradney | 1354 | <source>getLayerTransparency("layer") -> float |
1355 | |||
1356 | Returns the "layer" layer transparency, |
||
1357 | |||
1358 | May raise NotFoundError if the layer can't be found. |
||
1359 | May raise ValueError if the layer name isn't acceptable. |
||
1360 | </source> |
||
1361 | <translation type="unfinished">getLayerTransparency("plast") -> float |
||
1362 | |||
1363 | Vrne prosojnost plasti "plast", |
||
1364 | |||
1365 | Vrne lahko napako NotFoundError. če plasti ni mogoče najti. |
||
1366 | Vrne lahko napako ValueError, če ime plasti ni sprejemljivo. |
||
1367 | </translation> |
||
1368 | </message> |
||
1369 | <message> |
||
14474 | cbradney | 1370 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/> |
1135 | cbradney | 1371 | <source>deleteLayer("layer") |
1372 | |||
1373 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
||
1374 | exists or if it's the only layer in the document. |
||
1375 | |||
1376 | May raise NotFoundError if the layer can't be found. |
||
1377 | May raise ValueError if the layer name isn't acceptable. |
||
1378 | </source> |
||
12918 | cbradney | 1379 | <translation type="unfinished">deleteLayer("plast") |
10959 | mrdocs | 1380 | |
1381 | Izbriše plast z imenom "plast". Nič se ne zgodi, če plast ne |
||
1382 | obstaja ali pa je edina plast v dokumentu. |
||
1383 | |||
1384 | Vrne lahko napako NotFoundError, če plasti ni mogoče najti. |
||
1385 | Vrne lahko napako ValueError, če ime plasti ni sprejemljivo. |
||
1386 | </translation> |
||
1135 | cbradney | 1387 | </message> |
1388 | <message> |
||
14474 | cbradney | 1389 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/> |
1135 | cbradney | 1390 | <source>createLayer(layer) |
1391 | |||
1392 | Creates a new layer with the name "name". |
||
1393 | |||
1394 | May raise ValueError if the layer name isn't acceptable. |
||
1395 | </source> |
||
12918 | cbradney | 1396 | <translation type="unfinished">createLayer(plast) |
10792 | mrdocs | 1397 | |
1398 | Ustvari novo plast z imenom "ime". |
||
1399 | |||
12035 | cbradney | 1400 | Lahko vrne napako ValueError, če ime plasti ni sprejemljivo.</translation> |
1135 | cbradney | 1401 | </message> |
1402 | <message> |
||
14474 | cbradney | 1403 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/> |
1135 | cbradney | 1404 | <source>getGuiLanguage() -> string |
1405 | |||
1406 | Returns a string with the -lang value. |
||
1407 | </source> |
||
12918 | cbradney | 1408 | <translation type="unfinished">getGuiLanguage() -> string |
10792 | mrdocs | 1409 | |
1410 | Vrne niz z vrednostjo -lang.</translation> |
||
1135 | cbradney | 1411 | </message> |
1412 | <message> |
||
14474 | cbradney | 1413 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/> |
12918 | cbradney | 1414 | <source>moveSelectionToFront() |
1415 | |||
1416 | Moves current selection to front. |
||
1417 | </source> |
||
1418 | <translation type="unfinished">moveSelectionToFront() |
||
1419 | |||
1420 | Premakne trenutni izbor v ospredje. |
||
1421 | </translation> |
||
1422 | </message> |
||
1423 | <message> |
||
14474 | cbradney | 1424 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/> |
12918 | cbradney | 1425 | <source>moveSelectionToFront() |
1426 | |||
1427 | Moves current selection to back. |
||
1428 | </source> |
||
1429 | <translation type="unfinished">moveSelectionToBack() |
||
1430 | |||
1431 | Premakne trenutni izbor v ozadje. |
||
1432 | </translation> |
||
1433 | </message> |
||
1434 | <message> |
||
14474 | cbradney | 1435 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/> |
12918 | cbradney | 1436 | <source>createRect(x, y, width, height, ["name"]) -> string |
1437 | |||
1438 | Creates a new rectangle on the current page and returns its name. The |
||
1439 | coordinates are given in the current measurement units of the document |
||
1440 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1441 | because you need this name to reference that object in future. If "name" |
||
1442 | is not given Scribus will create one for you. |
||
1443 | |||
1444 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1445 | </source> |
||
1446 | <translation type="unfinished">createRect(x, y, širina, višina, ["ime"]) -> string |
||
1447 | |||
1448 | Ustvari nov pravokotnik na trenutni strani in vrne njegovo ime. |
||
1449 | Koordinate so podane v trenutnih merskih enotah dokumenta |
||
1450 | (glejte konstante UNIT). "ime" mora biti enkraten imenovalec predmeta, |
||
1451 | saj bo služil za sklicevanje na ta predmet v prihodnje. Če "ime" |
||
1452 | ni podano, bo Scribus ustvaril naključno ime. |
||
1453 | |||
1454 | Lahko vrne NameExistsError, če izrecno navedete ime, ki je že v uporabi. |
||
1455 | </translation> |
||
1456 | </message> |
||
1457 | <message> |
||
14474 | cbradney | 1458 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/> |
1135 | cbradney | 1459 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1460 | |||
1461 | Creates a new ellipse on the current page and returns its name. |
||
1462 | The coordinates are given in the current measurement units of the document |
||
1463 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1464 | because you need this name for further referencing of that object. If "name" |
||
1465 | is not given Scribus will create one for you. |
||
1466 | |||
1467 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1468 | </source> |
||
1469 | <translation type="unfinished"></translation> |
||
1470 | </message> |
||
1471 | <message> |
||
14474 | cbradney | 1472 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/> |
1135 | cbradney | 1473 | <source>createImage(x, y, width, height, ["name"]) -> string |
1474 | |||
1475 | Creates a new picture frame on the current page and returns its name. The |
||
1476 | coordinates are given in the current measurement units of the document. |
||
1477 | "name" should be a unique identifier for the object because you need this |
||
1478 | name for further access to that object. If "name" is not given Scribus will |
||
1479 | create one for you. |
||
1480 | |||
1481 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1482 | </source> |
||
1483 | <translation type="unfinished"></translation> |
||
1484 | </message> |
||
1485 | <message> |
||
14474 | cbradney | 1486 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/> |
1135 | cbradney | 1487 | <source>createText(x, y, width, height, ["name"]) -> string |
1488 | |||
1489 | Creates a new text frame on the actual page and returns its name. |
||
1490 | The coordinates are given in the actual measurement unit of the document (see |
||
1491 | UNIT constants). "name" should be a unique identifier for the object because |
||
1492 | you need this name for further referencing of that object. If "name" is not |
||
1493 | given Scribus will create one for you. |
||
1494 | |||
1495 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1496 | </source> |
||
1497 | <translation type="unfinished"></translation> |
||
1498 | </message> |
||
1499 | <message> |
||
14474 | cbradney | 1500 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/> |
1135 | cbradney | 1501 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1502 | |||
1503 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1504 | its name. The coordinates are given in the current measurement unit of the |
||
1505 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1506 | object because you need this name for further access to that object. If |
||
1507 | "name" is not given Scribus will create one for you. |
||
1508 | |||
1509 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1510 | </source> |
||
12918 | cbradney | 1511 | <translation type="unfinished">createLine(x1, y1, x2, y2, ["ime"]) -> string |
12035 | cbradney | 1512 | |
1513 | Ustvari novo črto od točke(x1, y1) do točke(x2, y2) in vrne |
||
1514 | njeno ime. Koordinate so podane v trenutnih merskih enotah |
||
1515 | dokumenta (glejte konstante UNIT). "ime" mora biti enkatni označevalec |
||
1516 | predmeta, saj to ime potrebujete za kasnejše dostopanje do predmeta. Če |
||
1517 | "ime" ni podano, ga bo Scribus ustvarl namesto vas. |
||
1518 | |||
1519 | Lahko vrne napako NameExistsError, če izrecno podate ime, ki je že uporabljeno. |
||
1520 | </translation> |
||
1135 | cbradney | 1521 | </message> |
1522 | <message> |
||
14474 | cbradney | 1523 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/> |
1135 | cbradney | 1524 | <source>createPolyLine(list, ["name"]) -> string |
1525 | |||
1526 | Creates a new polyline and returns its name. The points for the polyline are |
||
1527 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1528 | The coordinates are given in the current measurement units of the document (see |
||
1529 | UNIT constants). "name" should be a unique identifier for the object because |
||
1530 | you need this name for further access to that object. If "name" is not given |
||
1531 | Scribus will create one for you. |
||
1532 | |||
1533 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1534 | May raise ValueError if an insufficient number of points is passed or if |
||
1535 | the number of values passed don't group into points without leftovers. |
||
1536 | </source> |
||
1537 | <translation type="unfinished"></translation> |
||
1538 | </message> |
||
1539 | <message> |
||
14474 | cbradney | 1540 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/> |
1135 | cbradney | 1541 | <source>createPolygon(list, ["name"]) -> string |
1542 | |||
1543 | Creates a new polygon and returns its name. The points for the polygon are |
||
1544 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1545 | At least three points are required. There is no need to repeat the first point |
||
1546 | to close the polygon. The polygon is automatically closed by connecting the |
||
1547 | first and the last point. The coordinates are given in the current measurement |
||
1548 | units of the document (see UNIT constants). "name" should be a unique |
||
1549 | identifier for the object because you need this name for further access to that |
||
1550 | object. If "name" is not given Scribus will create one for you. |
||
1551 | |||
1552 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1553 | May raise ValueError if an insufficient number of points is passed or if |
||
1554 | the number of values passed don't group into points without leftovers. |
||
1555 | </source> |
||
1556 | <translation type="unfinished"></translation> |
||
1557 | </message> |
||
1558 | <message> |
||
14474 | cbradney | 1559 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/> |
1135 | cbradney | 1560 | <source>createBezierLine(list, ["name"]) -> string |
1561 | |||
1562 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1563 | curve are stored in the list "list" in the following order: |
||
1564 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1565 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1566 | and ky meaning the control point for the curve. The coordinates are given in |
||
1567 | the current measurement units of the document (see UNIT constants). "name" |
||
1568 | should be a unique identifier for the object because you need this name for |
||
1569 | further access to that object. If "name" is not given Scribus will create one |
||
1570 | for you. |
||
1571 | |||
1572 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1573 | May raise ValueError if an insufficient number of points is passed or if |
||
1574 | the number of values passed don't group into points without leftovers. |
||
1575 | </source> |
||
1576 | <translation type="unfinished"></translation> |
||
1577 | </message> |
||
1578 | <message> |
||
14474 | cbradney | 1579 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/> |
1135 | cbradney | 1580 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1581 | |||
1582 | Creates a new pathText by merging the two objects "textbox" and |
||
1583 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1584 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1585 | unique identifier for the object because you need this name for further access |
||
1586 | to that object. If "name" is not given Scribus will create one for you. |
||
1587 | |||
1588 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1589 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1590 | </source> |
||
1591 | <translation type="unfinished"></translation> |
||
1592 | </message> |
||
1593 | <message> |
||
14474 | cbradney | 1594 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/> |
1135 | cbradney | 1595 | <source>deleteObject(["name"]) |
1596 | |||
1597 | Deletes the item with the name "name". If "name" is not given the currently |
||
1598 | selected item is deleted. |
||
1599 | </source> |
||
12918 | cbradney | 1600 | <translation type="unfinished">deleteObject(["ime"]) |
10792 | mrdocs | 1601 | |
1602 | Izbriše element z imenom "ime". Če "ime" ni podano, je zbrisan |
||
1603 | trenutno izbrani element.</translation> |
||
1604 | </message> |
||
1605 | <message> |
||
14474 | cbradney | 1606 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/> |
12918 | cbradney | 1607 | <source>textFlowMode("name" [, state]) |
1608 | |||
1609 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1610 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
1611 | Setting "state" to 0 will disable text flow. |
||
1612 | Setting "state" to 1 will make text flow around object frame. |
||
1613 | Setting "state" to 2 will make text flow around bounding box. |
||
1614 | Setting "state" to 3 will make text flow around contour line. |
||
1615 | If "state" is not passed, text flow is toggled. |
||
1616 | </source> |
||
1617 | <translation type="unfinished"></translation> |
||
1618 | </message> |
||
1619 | <message> |
||
14474 | cbradney | 1620 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/> |
1135 | cbradney | 1621 | <source>objectExists(["name"]) -> bool |
1622 | |||
1623 | Test if an object with specified name really exists in the document. |
||
1624 | The optional parameter is the object name. When no object name is given, |
||
1625 | returns True if there is something selected. |
||
1626 | </source> |
||
12918 | cbradney | 1627 | <translation type="unfinished">objectExists(["ime"]) -> bool |
10959 | mrdocs | 1628 | |
1629 | Preizkusi, če predmet z navedenim imnom resnično obstaja v dokumentu. |
||
1630 | Dodaten možen parameter je ime predmeta. Če ime predmeta ni podano, |
||
1631 | vrne True, če je izbran kak predmet. |
||
1632 | </translation> |
||
1135 | cbradney | 1633 | </message> |
1634 | <message> |
||
14474 | cbradney | 1635 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/> |
1135 | cbradney | 1636 | <source>setStyle("style" [, "name"]) |
1637 | |||
14474 | cbradney | 1638 | Apply the named "style" to the object named "name". If object name is |
1639 | given, style is applied to the current text selection in object "name". |
||
1640 | If no object name is given, style is applied on selected object. |
||
1641 | </source> |
||
1642 | <translation type="unfinished"></translation> |
||
1643 | </message> |
||
1644 | <message> |
||
1645 | <source>setStyle("style" [, "name"]) |
||
1646 | |||
1135 | cbradney | 1647 | Apply the named "style" to the object named "name". If is no object name |
1648 | given, it's applied on the selected object. |
||
1649 | </source> |
||
14474 | cbradney | 1650 | <translation type="obsolete">setStyle("slog" [, "ime"]) |
10792 | mrdocs | 1651 | |
1652 | Uporabi podani "slog" na predmetu z imenom "ime". Če ime predmeta |
||
1653 | ni podano, velja za izbrani predmet.</translation> |
||
1135 | cbradney | 1654 | </message> |
1655 | <message> |
||
14474 | cbradney | 1656 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/> |
1135 | cbradney | 1657 | <source>getAllStyles() -> list |
1658 | |||
1659 | Return a list of the names of all paragraph styles in the current document. |
||
1660 | </source> |
||
12918 | cbradney | 1661 | <translation type="unfinished">getAllStyles() -> list |
10792 | mrdocs | 1662 | |
1663 | Vrne seznam imen vseh slogov odstavkov v trenutnem dokumentu.</translation> |
||
1135 | cbradney | 1664 | </message> |
1665 | <message> |
||
14474 | cbradney | 1666 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/> |
12918 | cbradney | 1667 | <source>duplicateObject(["name"]) -> string |
1668 | |||
1669 | creates a Duplicate of the selected Object (or Selection Group). |
||
1670 | </source> |
||
1671 | <translation type="unfinished">duplicateObject(["ime"]) -> string |
||
1672 | |||
1673 | Ustvari dvojnika izbranega predmeta (ali izbrane skupine).</translation> |
||
1674 | </message> |
||
1675 | <message> |
||
14474 | cbradney | 1676 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/> |
12918 | cbradney | 1677 | <source>newPage(where [,"masterpage"]) |
1678 | |||
1679 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
1680 | document, otherwise the new page is inserted before "where". Page numbers are |
||
1681 | counted from 1 upwards, no matter what the displayed first page number of your |
||
1682 | document is. The optional parameter "masterpage" specifies the name of the |
||
1683 | master page for the new page. |
||
1684 | |||
1685 | May raise IndexError if the page number is out of range |
||
1686 | </source> |
||
1687 | <translation type="unfinished">newPage(kje [,"glavnastran"]) |
||
1688 | |||
1689 | Ustvari novo stran. Če je "kje" -1, se nova stran pripne dokumentu, sicer je |
||
1690 | nova stran vstavljena pred "kje". Številke strani se štejejo od 1 navzgor, |
||
1691 | ne glede na to, ali je prikazana številka prve strani dokumenta ali ne. |
||
1692 | Dodatni parameter "glavnastran" določa ime glavne strani za novo stran. |
||
1693 | |||
1694 | Če je številka strani zunaj obsega, lahko vrne IndexError |
||
1695 | </translation> |
||
1696 | </message> |
||
1697 | <message> |
||
14474 | cbradney | 1698 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/> |
1135 | cbradney | 1699 | <source>currentPage() -> integer |
1700 | |||
1701 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1702 | upwards, no matter what the displayed first page number of your document is. |
||
1703 | </source> |
||
12918 | cbradney | 1704 | <translation type="unfinished">currentPage() -> integer |
10792 | mrdocs | 1705 | |
1706 | Vrne številko trenutne strani. Številke strani se štejejo od 1 |
||
1707 | naprej, ne glede na to, kaj je prikazano na prvi strani vašega dokumenta.</translation> |
||
1135 | cbradney | 1708 | </message> |
1709 | <message> |
||
14474 | cbradney | 1710 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/> |
1135 | cbradney | 1711 | <source>redrawAll() |
1712 | |||
1713 | Redraws all pages. |
||
1714 | </source> |
||
12918 | cbradney | 1715 | <translation type="unfinished">redrawAll() |
10792 | mrdocs | 1716 | |
1717 | Ponovno izriše vse strani.</translation> |
||
1135 | cbradney | 1718 | </message> |
1719 | <message> |
||
14474 | cbradney | 1720 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/> |
12918 | cbradney | 1721 | <source>getPageType() -> integer |
1722 | |||
1723 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
1724 | </source> |
||
1725 | <translation type="unfinished">getPageType() -> integer |
||
1726 | |||
1727 | Vrne vrsto strani, 0 pomeni levo stran, 1 pomeni srednjo stran in 2 pomeni desno stran |
||
1728 | </translation> |
||
1729 | </message> |
||
1730 | <message> |
||
14474 | cbradney | 1731 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/> |
1135 | cbradney | 1732 | <source>savePageAsEPS("name") |
1733 | |||
1734 | Saves the current page as an EPS to the file "name". |
||
1735 | |||
1736 | May raise ScribusError if the save failed. |
||
1737 | </source> |
||
12918 | cbradney | 1738 | <translation type="unfinished">savePageAsEPS("ime") |
10792 | mrdocs | 1739 | |
1740 | Shrani trenutno stran kot EPS v datoteko "ime". |
||
1741 | |||
1742 | Lahko vrne napako ScribusError, če shranjevanje ni uspelo.</translation> |
||
1135 | cbradney | 1743 | </message> |
1744 | <message> |
||
14474 | cbradney | 1745 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/> |
1135 | cbradney | 1746 | <source>deletePage(nr) |
1747 | |||
1748 | Deletes the given page. Does nothing if the document contains only one page. |
||
1749 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1750 | page number is. |
||
1751 | |||
1752 | May raise IndexError if the page number is out of range |
||
1753 | </source> |
||
12918 | cbradney | 1754 | <translation type="unfinished">deletePage(št) |
12035 | cbradney | 1755 | |
1756 | Izbriše podano stran. Ne stori ničesar, če dokument vsebuje le eno stran. |
||
1757 | Številke strani se štejejo od 1 naprej, ne glede na to, katera je prva prikazana |
||
1758 | številka strani. |
||
1759 | |||
1760 | Lahko vrne napako IndexError, če je številka strani zunaj veljavnega obsega |
||
1761 | </translation> |
||
1135 | cbradney | 1762 | </message> |
1763 | <message> |
||
14474 | cbradney | 1764 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/> |
12918 | cbradney | 1765 | <source>gotoPage(nr) |
1766 | |||
1767 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
1768 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
1769 | just sets the page that script commands will operates on. |
||
1770 | |||
1771 | May raise IndexError if the page number is out of range. |
||
1772 | </source> |
||
1773 | <translation type="unfinished"></translation> |
||
1774 | </message> |
||
1775 | <message> |
||
14474 | cbradney | 1776 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/> |
1135 | cbradney | 1777 | <source>pageCount() -> integer |
1778 | |||
1779 | Returns the number of pages in the document. |
||
1780 | </source> |
||
12918 | cbradney | 1781 | <translation type="unfinished">pageCount() -> integer |
10792 | mrdocs | 1782 | |
1783 | Vrne število strani dokumenta.</translation> |
||
1135 | cbradney | 1784 | </message> |
1785 | <message> |
||
14474 | cbradney | 1786 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/> |
1135 | cbradney | 1787 | <source>getHGuides() -> list |
1788 | |||
1789 | Returns a list containing positions of the horizontal guides. Values are in the |
||
1790 | document's current units - see UNIT_<type> constants. |
||
1791 | </source> |
||
12918 | cbradney | 1792 | <translation type="unfinished">getHGuides() -> seznam |
10959 | mrdocs | 1793 | |
1794 | Vrne seznam s položaji vodoravnih vodil. Vrednosti so izražene v |
||
1795 | trenutnih merskih enotah dokumenta - oglejte si konstante UNIT_<vrsta>. |
||
1796 | </translation> |
||
1135 | cbradney | 1797 | </message> |
1798 | <message> |
||
14474 | cbradney | 1799 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/> |
1135 | cbradney | 1800 | <source>setHGuides(list) |
1801 | |||
1802 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
1803 | measured in the current document units - see UNIT_<type> constants. |
||
1804 | |||
1805 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1806 | setHGuides([90,250]) # replace current guides entirely |
||
1807 | </source> |
||
12918 | cbradney | 1808 | <translation type="unfinished">setHGuides(seznam) |
10959 | mrdocs | 1809 | |
1810 | Določi vodoravna vodila. Vstopni parameter mora biti seznam položajev vodil |
||
1811 | v trenutnih merskih enotah dokumenta - oglejte si konstante UNIT_<vrsta>. |
||
1812 | |||
1813 | Primer: setHGuides(getHGuides() + [200.0, 210.0] # doda nova vodila brez izgubljenih |
||
1814 | setHGuides([90,250]) # v celoti zamenja trenutna vodila |
||
1815 | </translation> |
||
1135 | cbradney | 1816 | </message> |
1817 | <message> |
||
14474 | cbradney | 1818 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/> |
1135 | cbradney | 1819 | <source>getVGuides() |
1820 | |||
1821 | See getHGuides. |
||
1822 | </source> |
||
12918 | cbradney | 1823 | <translation type="unfinished">getVGuides() |
7902 | mrdocs | 1824 | |
1825 | Glejte getHGuides. |
||
1826 | </translation> |
||
1135 | cbradney | 1827 | </message> |
1828 | <message> |
||
14474 | cbradney | 1829 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/> |
1135 | cbradney | 1830 | <source>setVGuides() |
1831 | |||
1832 | See setHGuides. |
||
1833 | </source> |
||
12918 | cbradney | 1834 | <translation type="unfinished">setVGuides() |
7902 | mrdocs | 1835 | |
1836 | Glejte setHGuides. |
||
1837 | </translation> |
||
1135 | cbradney | 1838 | </message> |
1839 | <message> |
||
14474 | cbradney | 1840 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/> |
1135 | cbradney | 1841 | <source>getPageSize() -> tuple |
1842 | |||
1843 | Returns a tuple with page dimensions measured in the document's current units. |
||
1844 | See UNIT_<type> constants and getPageMargins() |
||
1845 | </source> |
||
1846 | <translation type="unfinished"></translation> |
||
1847 | </message> |
||
1848 | <message> |
||
14474 | cbradney | 1849 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/> |
1850 | <source>getPageNSize() -> tuple |
||
1851 | |||
1852 | Returns a tuple with a particular page's size measured in the document's current units. |
||
1853 | See UNIT_<type> constants and getPageMargins() |
||
1854 | </source> |
||
1855 | <translation type="unfinished"></translation> |
||
1856 | </message> |
||
1857 | <message> |
||
1858 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/> |
||
1859 | <source>getPageNMargins() -> tuple |
||
1860 | |||
1861 | Returns a tuple with a particular page's margins measured in the document's current units. |
||
1862 | See UNIT_<type> constants and getPageMargins() |
||
1863 | </source> |
||
1864 | <translation type="unfinished"></translation> |
||
1865 | </message> |
||
1866 | <message> |
||
1867 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/> |
||
1135 | cbradney | 1868 | <source>getPageItems() -> list |
1869 | |||
1870 | Returns a list of tuples with items on the current page. The tuple is: |
||
1871 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
||
1872 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
1873 | the page... |
||
1874 | </source> |
||
1875 | <translation type="unfinished"></translation> |
||
1876 | </message> |
||
1877 | <message> |
||
14474 | cbradney | 1878 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/> |
12918 | cbradney | 1879 | <source>getPageMargins() |
1880 | |||
1881 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
1882 | units. See UNIT_<type> constants and getPageSize(). |
||
1883 | </source> |
||
1884 | <translation type="unfinished">getPageMargins() |
||
1885 | |||
1886 | Vrne robove strani kot kombinacijo (vrh, levo, desno, dno) v trenutnih |
||
1887 | merskih enotah. Oglejte si konstante UNIT_<vrsta> in getPageSize(). |
||
1888 | </translation> |
||
1889 | </message> |
||
1890 | <message> |
||
14474 | cbradney | 1891 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/> |
12918 | cbradney | 1892 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
1893 | |||
1894 | 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. |
||
1895 | fromDoc: string; the filename of the document to import pages from |
||
1896 | pageList: tuple with page numbers of pages to import |
||
1897 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
1898 | importWhere: number; the page number (of the current document) at which import the pages |
||
1899 | 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 |
||
1900 | </source> |
||
1901 | <translation type="unfinished"></translation> |
||
1902 | </message> |
||
1903 | <message> |
||
14474 | cbradney | 1904 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/> |
12918 | cbradney | 1905 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1906 | |||
1907 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
1908 | the same as for setFillColor() and setFillShade(). See the constants for |
||
1909 | available types (FILL_<type>). |
||
1910 | </source> |
||
1911 | <translation type="unfinished">setGradientFill(vrsta, "barva1", senca1, "barva2", senca2, ["ime"]) |
||
1912 | |||
1913 | Nastavi polnilo preliva predmeta "ime". Opisi barv so enaki kot pri |
||
1914 | setFillColor() in setFillShade(). Oglejte si konstante za vrste, |
||
1915 | ki so na voljo (FILL_<vrsta>). |
||
1916 | </translation> |
||
1917 | </message> |
||
1918 | <message> |
||
14474 | cbradney | 1919 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/> |
1920 | <source>setGradientStop("color", shade, opacity, ramppoint, ["name"]) |
||
1921 | |||
1922 | Set or add a gradient stop to the gradient fill of the object "name" at position ramppoint. |
||
1923 | Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill() |
||
1924 | must have been called previously for the gradient fill to be visible. |
||
1925 | </source> |
||
1926 | <translation type="unfinished"></translation> |
||
1927 | </message> |
||
1928 | <message> |
||
1929 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/> |
||
1135 | cbradney | 1930 | <source>setFillColor("color", ["name"]) |
1931 | |||
1932 | Sets the fill color of the object "name" to the color "color". "color" |
||
1933 | is the name of one of the defined colors. If "name" is not given the |
||
1934 | currently selected item is used. |
||
1935 | </source> |
||
12918 | cbradney | 1936 | <translation type="unfinished">setFillColor("barva", ["ime"]) |
12035 | cbradney | 1937 | |
1938 | Nastavi barvo polnila predmeta "ime" na barvo "barva". "barva" |
||
1939 | je ime ene od določenih barv. Če "ime" ni podano, |
||
1940 | je uporabljen trenutno izbran element. |
||
1941 | </translation> |
||
1135 | cbradney | 1942 | </message> |
1943 | <message> |
||
14474 | cbradney | 1944 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/> |
12918 | cbradney | 1945 | <source>setFillTransparency(transparency, ["name"]) |
1946 | |||
1947 | Sets the fill transparency of the object "name" to transparency |
||
1948 | If "name" is not given the currently selected item is used. |
||
1949 | </source> |
||
1950 | <translation type="unfinished">setFillTransparency(prosojnost, ["ime"]) |
||
1951 | |||
1952 | Nastavi prosojnost polnila predmeta "ime" na vrednost prosojnost |
||
1953 | Če "ime" ni podano, je uporabljen trenutno izbran element. |
||
1954 | </translation> |
||
1955 | </message> |
||
1956 | <message> |
||
14474 | cbradney | 1957 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/> |
12918 | cbradney | 1958 | <source>setFillBlendmode(blendmode, ["name"]) |
1959 | |||
1960 | Sets the fill blendmode of the object "name" to blendmode |
||
1961 | If "name" is not given the currently selected item is used. |
||
1962 | </source> |
||
1963 | <translation type="unfinished">setFillBlendmode(načinspajanja, ["ime"]) |
||
1964 | |||
1965 | Določi način spajanja predmeta "ime" na načinspajanja |
||
1966 | Če "ime" ni podano, je uporabljen trenutno izbran element. |
||
1967 | </translation> |
||
1968 | </message> |
||
1969 | <message> |
||
14474 | cbradney | 1970 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/> |
1135 | cbradney | 1971 | <source>setLineColor("color", ["name"]) |
1972 | |||
1973 | Sets the line color of the object "name" to the color "color". If "name" |
||
1974 | is not given the currently selected item is used. |
||
1975 | </source> |
||
12918 | cbradney | 1976 | <translation type="unfinished">setLineColor("barva", ["ime"]) |
12035 | cbradney | 1977 | |
1978 | Nastavi barvo črt predmeta "ime" na barvo "barva". Če "ime" |
||
1979 | ni podan, je uporabljen trenutno izbran element. |
||
1980 | </translation> |
||
1135 | cbradney | 1981 | </message> |
1982 | <message> |
||
14474 | cbradney | 1983 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/> |
12918 | cbradney | 1984 | <source>setLineTransparency(transparency, ["name"]) |
1985 | |||
1986 | Sets the line transparency of the object "name" to transparency |
||
1987 | If "name" is not given the currently selected item is used. |
||
1988 | </source> |
||
1989 | <translation type="unfinished">setLineTransparency(prosojnost, ["ime"]) |
||
1990 | |||
1991 | Nastavi prosojnost črt predmeta "ime" na vrednost prosojnost |
||
1992 | Če "ime" ni podao, je uporabljen trenutno izbran element. |
||
1993 | </translation> |
||
1994 | </message> |
||
1995 | <message> |
||
14474 | cbradney | 1996 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/> |
12918 | cbradney | 1997 | <source>setLineBlendmode(blendmode, ["name"]) |
1998 | |||
1999 | Sets the line blendmode of the object "name" to blendmode |
||
2000 | If "name" is not given the currently selected item is used. |
||
2001 | </source> |
||
2002 | <translation type="unfinished">setLineBlendmode(načinspajanja, ["ime"]) |
||
2003 | |||
2004 | Nastavi način spajanja črt predmeta "ime" na načinspajanja. |
||
2005 | Če "ime" ni podano, bo uporabljen trenutno izbrani predmet. |
||
2006 | </translation> |
||
2007 | </message> |
||
2008 | <message> |
||
14474 | cbradney | 2009 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/> |
1135 | cbradney | 2010 | <source>setLineWidth(width, ["name"]) |
2011 | |||
2012 | Sets line width of the object "name" to "width". "width" must be in the |
||
2013 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
2014 | given the currently selected item is used. |
||
2015 | |||
2016 | May raise ValueError if the line width is out of bounds. |
||
2017 | </source> |
||
2018 | <translation type="unfinished"></translation> |
||
2019 | </message> |
||
2020 | <message> |
||
14474 | cbradney | 2021 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/> |
1135 | cbradney | 2022 | <source>setLineShade(shade, ["name"]) |
2023 | |||
2024 | Sets the shading of the line color of the object "name" to "shade". |
||
2025 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2026 | (full color intensity). If "name" is not given the currently selected item |
||
2027 | is used. |
||
2028 | |||
2029 | May raise ValueError if the line shade is out of bounds. |
||
2030 | </source> |
||
2031 | <translation type="unfinished"></translation> |
||
2032 | </message> |
||
2033 | <message> |
||
14474 | cbradney | 2034 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/> |
1135 | cbradney | 2035 | <source>setLineJoin(join, ["name"]) |
2036 | |||
2037 | Sets the line join style of the object "name" to the style "join". |
||
2038 | If "name" is not given the currently selected item is used. There are |
||
2039 | predefined constants for join - JOIN_<type>. |
||
2040 | </source> |
||
12918 | cbradney | 2041 | <translation type="unfinished">setLineJoin(spoj, ["ime"]) |
12035 | cbradney | 2042 | |
2043 | Nastavi slog spoja črt predmeta "ime" na slog "spoj". |
||
2044 | Če "ime" ni podano,je uporabljen trenutno izbrani element. Obstajajo |
||
2045 | že določene konstante za spoj - JOIN_<vrsta>. |
||
2046 | </translation> |
||
1135 | cbradney | 2047 | </message> |
2048 | <message> |
||
14474 | cbradney | 2049 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/> |
1135 | cbradney | 2050 | <source>setLineEnd(endtype, ["name"]) |
2051 | |||
2052 | Sets the line cap style of the object "name" to the style "cap". |
||
2053 | If "name" is not given the currently selected item is used. There are |
||
2054 | predefined constants for "cap" - CAP_<type>. |
||
2055 | </source> |
||
12918 | cbradney | 2056 | <translation type="unfinished">setLineEnd(vrstakonca, ["ime"]) |
12035 | cbradney | 2057 | |
2058 | Določi konec črte predmeta "ime" na slog "vrstakonca". |
||
2059 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet. Obstajajo |
||
2060 | že določene konstante za "vrstakonca" - CAP_<type>. |
||
2061 | </translation> |
||
1135 | cbradney | 2062 | </message> |
2063 | <message> |
||
14474 | cbradney | 2064 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/> |
1135 | cbradney | 2065 | <source>setLineStyle(style, ["name"]) |
2066 | |||
2067 | Sets the line style of the object "name" to the style "style". If "name" |
||
2068 | is not given the currently selected item is used. There are predefined |
||
2069 | constants for "style" - LINE_<style>. |
||
2070 | </source> |
||
2071 | <translation type="unfinished"></translation> |
||
2072 | </message> |
||
2073 | <message> |
||
14474 | cbradney | 2074 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/> |
1135 | cbradney | 2075 | <source>setFillShade(shade, ["name"]) |
2076 | |||
2077 | Sets the shading of the fill color of the object "name" to "shade". |
||
2078 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2079 | (full Color intensity). If "name" is not given the currently selected |
||
2080 | Item is used. |
||
2081 | |||
2082 | May raise ValueError if the fill shade is out of bounds. |
||
2083 | </source> |
||
2084 | <translation type="unfinished"></translation> |
||
2085 | </message> |
||
2086 | <message> |
||
14474 | cbradney | 2087 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/> |
1135 | cbradney | 2088 | <source>setCornerRadius(radius, ["name"]) |
2089 | |||
2090 | Sets the corner radius of the object "name". The radius is expressed |
||
2091 | in points. If "name" is not given the currently selected item is used. |
||
2092 | |||
2093 | May raise ValueError if the corner radius is negative. |
||
2094 | </source> |
||
12918 | cbradney | 2095 | <translation type="unfinished">setCornerRadius(radij, ["ime"]) |
12035 | cbradney | 2096 | |
2097 | Določi radij oglišča predmeta "ime". Radij je izražen v slikovnih |
||
2098 | točkah. Če "ime" ni podano, je uporabljen trenutno izbran predmet. |
||
2099 | |||
2100 | Lahko vrne napako ValueError, če je radij negativen. |
||
2101 | </translation> |
||
1135 | cbradney | 2102 | </message> |
2103 | <message> |
||
14474 | cbradney | 2104 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/> |
1135 | cbradney | 2105 | <source>setMultiLine("namedStyle", ["name"]) |
2106 | |||
2107 | Sets the line style of the object "name" to the named style "namedStyle". |
||
2108 | If "name" is not given the currently selected item is used. |
||
2109 | |||
2110 | May raise NotFoundError if the line style doesn't exist. |
||
2111 | </source> |
||
12918 | cbradney | 2112 | <translation type="unfinished">setMultiLine("imenovaniSlog", ["ime"]) |
12035 | cbradney | 2113 | |
2114 | Določi slog črt predmeta "ime" na imenovani slog "imenovaniSlog". |
||
2115 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet. |
||
2116 | |||
2117 | Lahko vrne napako NotFoundError, če slog črte ne obstaja. |
||
2118 | </translation> |
||
1135 | cbradney | 2119 | </message> |
2120 | <message> |
||
14474 | cbradney | 2121 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/> |
12918 | cbradney | 2122 | <source>getFontSize(["name"]) -> float |
2123 | |||
2124 | Returns the font size in points for the text frame "name". If this text |
||
2125 | frame has some text selected the value assigned to the first character of |
||
2126 | the selection is returned. |
||
2127 | If "name" is not given the currently selected item is used. |
||
2128 | </source> |
||
2129 | <translation type="unfinished">getFontSize(["ime"]) -> float |
||
2130 | |||
2131 | Vrne velikost pisave v točkah za besedilni okvir "ime". Če ima ta besedilni |
||
2132 | okvir izbrano besedilo, bo vrnjena vrednost, dodeljena prvemu znaku izbire. |
||
2133 | Če "ime" ni podano, je uporabljen trenutno izbran element. |
||
2134 | </translation> |
||
2135 | </message> |
||
2136 | <message> |
||
14474 | cbradney | 2137 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/> |
1135 | cbradney | 2138 | <source>getFont(["name"]) -> string |
2139 | |||
2140 | Returns the font name for the text frame "name". If this text frame |
||
2141 | has some text selected the value assigned to the first character |
||
2142 | of the selection is returned. If "name" is not given the currently |
||
2143 | selected item is used. |
||
2144 | </source> |
||
12918 | cbradney | 2145 | <translation type="unfinished">getFont(["ime"]) -> string |
12035 | cbradney | 2146 | |
2147 | Vrne ime pisave za besedilni okvir "ime". Če je v tem besedilnem |
||
2148 | okviru izbrano besedilo, je vrnjena vrednost, dodeljena prvemu znaku |
||
2149 | izbora. Če "ime" ni podano, je uporabljen trenutno izbran predmet. |
||
2150 | </translation> |
||
1135 | cbradney | 2151 | </message> |
2152 | <message> |
||
14474 | cbradney | 2153 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/> |
1135 | cbradney | 2154 | <source>getTextLength(["name"]) -> integer |
2155 | |||
2156 | Returns the length of the text in the text frame "name". |
||
2157 | If "name" is not given the currently selected item is used. |
||
2158 | </source> |
||
12918 | cbradney | 2159 | <translation type="unfinished">getTextLength(["ime"]) -> integer |
12035 | cbradney | 2160 | |
2161 | Vrne dolžino besedila v besedilnem okviru "ime". |
||
2162 | Če "ime" ni podano, je uporabljen trenutno izbran okvir. |
||
2163 | </translation> |
||
1135 | cbradney | 2164 | </message> |
2165 | <message> |
||
14474 | cbradney | 2166 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/> |
12918 | cbradney | 2167 | <source>getTextLines(["name"]) -> integer |
2168 | |||
2169 | Returns the number of lines of the text in the text frame "name". |
||
2170 | If "name" is not given the currently selected item is used. |
||
2171 | </source> |
||
2172 | <translation type="unfinished">getTextLines(["ime"]) -> integer |
||
2173 | |||
2174 | Vrne število vrstic besedila v besedilnem okviru "ime". |
||
2175 | Če "ime" ni podano, je uporabljen trenutno izbran element. |
||
2176 | </translation> |
||
2177 | </message> |
||
2178 | <message> |
||
14474 | cbradney | 2179 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/> |
1135 | cbradney | 2180 | <source>getText(["name"]) -> string |
2181 | |||
2182 | Returns the text of the text frame "name". If this text frame has some text |
||
2183 | selected, the selected text is returned. All text in the frame, not just |
||
2184 | currently visible text, is returned. If "name" is not given the currently |
||
2185 | selected item is used. |
||
2186 | </source> |
||
12918 | cbradney | 2187 | <translation type="unfinished">getText(["ime"]) -> string |
12035 | cbradney | 2188 | |
2189 | Vrne besedilo besedilnega okvira "ime". Če je v tem besedilnem okviru izbrano |
||
2190 | besedilo, bo vrnjeno to izbrano besedilo. Vrnjeno je vse besedilo v okviru, ne le |
||
2191 | trenutno vidno besedilo. Če "ime" ni podano, je uporabljen trenutno |
||
2192 | izbrani element. |
||
2193 | </translation> |
||
1135 | cbradney | 2194 | </message> |
2195 | <message> |
||
14474 | cbradney | 2196 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/> |
1135 | cbradney | 2197 | <source>getAllText(["name"]) -> string |
2198 | |||
2199 | Returns the text of the text frame "name" and of all text frames which are |
||
2200 | linked with this frame. If this textframe has some text selected, the selected |
||
2201 | text is returned. If "name" is not given the currently selected item is |
||
2202 | used. |
||
2203 | </source> |
||
12918 | cbradney | 2204 | <translation type="unfinished">getAllText(["ime"]) -> string |
12035 | cbradney | 2205 | |
2206 | Vrne besedilo besedilnega okvira "ime" in vseh besedilnih okvirov, ki so z njim |
||
2207 | povezani. Če je v tem besedilnem okviru izbrano besedilo, vrne izbrano |
||
2208 | besedilo. Če "ime" ni podano, je uporabljen trenutno izbrani element. |
||
2209 | </translation> |
||
1135 | cbradney | 2210 | </message> |
2211 | <message> |
||
14474 | cbradney | 2212 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/> |
1135 | cbradney | 2213 | <source>getLineSpacing(["name"]) -> float |
2214 | |||
2215 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
2216 | points. If "name" is not given the currently selected item is used. |
||
2217 | </source> |
||
12918 | cbradney | 2218 | <translation type="unfinished">getLineSpacing(["ime"]) -> float |
12035 | cbradney | 2219 | |
2220 | Vrne razmik med vrsticami ("vodilni") besedilnega okvira "ime", izražen v |
||
2221 | točkah. Če "ime" ni podano, je uporabljen trenutno izbran predmet. |
||
2222 | </translation> |
||
1135 | cbradney | 2223 | </message> |
2224 | <message> |
||
14474 | cbradney | 2225 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/> |
12918 | cbradney | 2226 | <source>getTextDistances(["name"]) -> tuple |
2227 | |||
2228 | Returns the text distances of the text frame "name" expressed in points. The |
||
2229 | distances are returned as a tuple like (left, right, top, bottom). If "name" |
||
2230 | is not given the currently selected item is used. |
||
2231 | </source> |
||
2232 | <translation type="unfinished"></translation> |
||
2233 | </message> |
||
2234 | <message> |
||
14474 | cbradney | 2235 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/> |
1135 | cbradney | 2236 | <source>getColumnGap(["name"]) -> float |
2237 | |||
2238 | Returns the column gap size of the text frame "name" expressed in points. If |
||
2239 | "name" is not given the currently selected item is used. |
||
2240 | </source> |
||
12918 | cbradney | 2241 | <translation type="unfinished">getColumnGap(["ime"]) -> float |
12035 | cbradney | 2242 | |
2243 | Vrne velikost razmika med stolpci besedilnega okvira "ime", izraženo v točkah. Če |
||
2244 | "ime" ni podano, je uporabljen trenutno izbran element. |
||
2245 | </translation> |
||
1135 | cbradney | 2246 | </message> |
2247 | <message> |
||
14474 | cbradney | 2248 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/> |
1135 | cbradney | 2249 | <source>getColumns(["name"]) -> integer |
2250 | |||
2251 | Gets the number of columns of the text frame "name". If "name" is not |
||
2252 | given the currently selected item is used. |
||
2253 | </source> |
||
12918 | cbradney | 2254 | <translation type="unfinished">getColumns(["ime"]) -> integer |
12035 | cbradney | 2255 | |
2256 | Vrne število stolpcev besedilnega okvira "ime". Če "ime" ni podano, |
||
2257 | je uporabljen trenutno izbran element. |
||
2258 | </translation> |
||
1135 | cbradney | 2259 | </message> |
2260 | <message> |
||
14474 | cbradney | 2261 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/> |
1135 | cbradney | 2262 | <source>setText("text", ["name"]) |
2263 | |||
2264 | Sets the text of the text frame "name" to the text of the string "text". |
||
2265 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
||
2266 | for more details. If "name" is not given the currently selected item is |
||
2267 | used. |
||
2268 | </source> |
||
2269 | <translation type="unfinished"></translation> |
||
2270 | </message> |
||
2271 | <message> |
||
14474 | cbradney | 2272 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/> |
12918 | cbradney | 2273 | <source>insertText("text", pos, ["name"]) |
2274 | |||
2275 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2276 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2277 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2278 | not given the currently selected Item is used. |
||
2279 | |||
2280 | May throw IndexError for an insertion out of bounds. |
||
2281 | </source> |
||
2282 | <translation type="unfinished"></translation> |
||
2283 | </message> |
||
2284 | <message> |
||
14474 | cbradney | 2285 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/> |
1135 | cbradney | 2286 | <source>setFont("font", ["name"]) |
2287 | |||
2288 | Sets the font of the text frame "name" to "font". If there is some text |
||
2289 | selected only the selected text is changed. If "name" is not given the |
||
2290 | currently selected item is used. |
||
2291 | |||
2292 | May throw ValueError if the font cannot be found. |
||
2293 | </source> |
||
2294 | <translation type="unfinished"></translation> |
||
2295 | </message> |
||
2296 | <message> |
||
14474 | cbradney | 2297 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/> |
1135 | cbradney | 2298 | <source>setFontSize(size, ["name"]) |
2299 | |||
2300 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
2301 | as a value in points. If there is some text selected only the selected text is |
||
2302 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
2303 | currently selected item is used. |
||
2304 | |||
2305 | May throw ValueError for a font size that's out of bounds. |
||
2306 | </source> |
||
2307 | <translation type="unfinished"></translation> |
||
2308 | </message> |
||
2309 | <message> |
||
14474 | cbradney | 2310 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/> |
1135 | cbradney | 2311 | <source>setLineSpacing(size, ["name"]) |
2312 | |||
2313 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
2314 | "size" is a value in points. If "name" is not given the currently selected |
||
2315 | item is used. |
||
2316 | |||
2317 | May throw ValueError if the line spacing is out of bounds. |
||
2318 | </source> |
||
2319 | <translation type="unfinished"></translation> |
||
2320 | </message> |
||
2321 | <message> |
||
14474 | cbradney | 2322 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/> |
2323 | <source>setLineSpacingMode(mode, ["name"]) |
||
2324 | |||
2325 | Sets the line spacing mode of the text frame "name" to "mode". |
||
2326 | If "name" is not given the currently selected |
||
2327 | item is used. |
||
2328 | Mode values are the same as in createParagraphStyle. |
||
2329 | |||
2330 | May throw ValueError if the mode is out of bounds. |
||
2331 | </source> |
||
2332 | <translation type="unfinished"></translation> |
||
2333 | </message> |
||
2334 | <message> |
||
2335 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/> |
||
12918 | cbradney | 2336 | <source>setTextDistances(left, right, top, bottom, ["name"]) |
2337 | |||
2338 | Sets the text distances of the text frame "name" to the values "left" |
||
2339 | "right", "top" and "bottom". If "name" is not given the currently |
||
2340 | selected item is used. |
||
2341 | |||
2342 | May throw ValueError if any of the distances are out of bounds (must be positive). |
||
2343 | </source> |
||
2344 | <translation type="unfinished"></translation> |
||
2345 | </message> |
||
2346 | <message> |
||
14474 | cbradney | 2347 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/> |
1135 | cbradney | 2348 | <source>setColumnGap(size, ["name"]) |
2349 | |||
2350 | Sets the column gap of the text frame "name" to the value "size". If |
||
2351 | "name" is not given the currently selected item is used. |
||
2352 | |||
2353 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
2354 | </source> |
||
2355 | <translation type="unfinished"></translation> |
||
2356 | </message> |
||
2357 | <message> |
||
14474 | cbradney | 2358 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/> |
1135 | cbradney | 2359 | <source>setColumns(nr, ["name"]) |
2360 | |||
2361 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
2362 | If "name" is not given the currently selected item is used. |
||
2363 | |||
2364 | May throw ValueError if number of columns is not at least one. |
||
2365 | </source> |
||
12918 | cbradney | 2366 | <translation type="unfinished">setColumns(št, ["ime"]) |
12035 | cbradney | 2367 | |
2368 | Določi število stolpcev besedilnega okvira "ime" na celoštevilsko vrednost "št". |
||
2369 | Če "ime" ni podano, je uporabljen trenutno izbrani element. |
||
2370 | |||
2371 | Lahko vrne napako ValueError, če je število stolpcev manjše od ena. |
||
2372 | </translation> |
||
1135 | cbradney | 2373 | </message> |
2374 | <message> |
||
14474 | cbradney | 2375 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/> |
1135 | cbradney | 2376 | <source>setTextAlignment(align, ["name"]) |
2377 | |||
2378 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
2379 | If "name" is not given the currently selected item is used. "align" should |
||
2380 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
2381 | |||
2382 | May throw ValueError for an invalid alignment constant. |
||
2383 | </source> |
||
2384 | <translation type="unfinished"></translation> |
||
2385 | </message> |
||
2386 | <message> |
||
14474 | cbradney | 2387 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/> |
12918 | cbradney | 2388 | <source>selectText(start, count, ["name"]) |
2389 | |||
2390 | Selects "count" characters of text in the text frame "name" starting from the |
||
2391 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2392 | text selection will be cleared. If "name" is not given the currently |
||
2393 | selected item is used. |
||
2394 | |||
2395 | May throw IndexError if the selection is outside the bounds of the text. |
||
2396 | </source> |
||
2397 | <translation type="unfinished"></translation> |
||
2398 | </message> |
||
2399 | <message> |
||
14474 | cbradney | 2400 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/> |
1135 | cbradney | 2401 | <source>deleteText(["name"]) |
2402 | |||
2403 | Deletes any text in the text frame "name". If there is some text selected, |
||
2404 | only the selected text will be deleted. If "name" is not given the currently |
||
2405 | selected item is used. |
||
2406 | </source> |
||
12918 | cbradney | 2407 | <translation type="unfinished">deleteText(["ime"]) |
12035 | cbradney | 2408 | |
2409 | Izbriše vse besedilo iz besedilnega okvira "ime". Če je izbrano besedilo, |
||
2410 | bo izbrisano le izbrano besedilo. Če "ime" ni podano, bo uporabljen |
||
2411 | trenutno izbrani element. |
||
2412 | </translation> |
||
1135 | cbradney | 2413 | </message> |
2414 | <message> |
||
14474 | cbradney | 2415 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/> |
1135 | cbradney | 2416 | <source>setTextColor("color", ["name"]) |
2417 | |||
2418 | Sets the text color of the text frame "name" to the color "color". If there |
||
2419 | is some text selected only the selected text is changed. If "name" is not |
||
2420 | given the currently selected item is used. |
||
2421 | </source> |
||
12918 | cbradney | 2422 | <translation type="unfinished">setTextColor("barva", ["ime"]) |
12035 | cbradney | 2423 | |
2424 | Nastavi barvo besedila besedilnega okvira "ime" na barvo "barva". Če je |
||
2425 | izbrano besedilo, se spremeni le izbrano besedilo. Če "ime" ni podano, |
||
2426 | je uporabljen trenutno izbran element. |
||
2427 | </translation> |
||
1135 | cbradney | 2428 | </message> |
2429 | <message> |
||
14474 | cbradney | 2430 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/> |
1135 | cbradney | 2431 | <source>setTextStroke("color", ["name"]) |
2432 | |||
2433 | Set "color" of the text stroke. If "name" is not given the currently |
||
2434 | selected item is used. |
||
2435 | </source> |
||
12918 | cbradney | 2436 | <translation type="unfinished">setTextStroke("barva", ["ime"]) |
10959 | mrdocs | 2437 | |
2438 | Doličite "barvo" poteze besedila. Če "ime" ni podano, je uporabljen |
||
2439 | trenutno izbrani element. |
||
2440 | </translation> |
||
1135 | cbradney | 2441 | </message> |
2442 | <message> |
||
14474 | cbradney | 2443 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/> |
2444 | <source>setTextScalingV(scale, ["name"]) |
||
2445 | |||
2446 | Sets the vertical character scaling of the object "name" to "scale" in percent. |
||
2447 | If "name" is not given the currently selected item is used. |
||
2448 | </source> |
||
2449 | <translation type="unfinished"></translation> |
||
2450 | </message> |
||
2451 | <message> |
||
2452 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/> |
||
2453 | <source>setTextScalingH(scale, ["name"]) |
||
2454 | |||
2455 | Sets the horizontal character scaling of the object "name" to "scale" in percent. |
||
2456 | If "name" is not given the currently selected item is used. |
||
2457 | </source> |
||
2458 | <translation type="unfinished"></translation> |
||
2459 | </message> |
||
2460 | <message> |
||
2461 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/> |
||
1135 | cbradney | 2462 | <source>setTextShade(shade, ["name"]) |
2463 | |||
2464 | Sets the shading of the text color of the object "name" to "shade". If |
||
2465 | there is some text selected only the selected text is changed. "shade" must |
||
2466 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
2467 | intensity). If "name" is not given the currently selected item is |
||
2468 | used. |
||
2469 | </source> |
||
2470 | <translation type="unfinished"></translation> |
||
2471 | </message> |
||
2472 | <message> |
||
14474 | cbradney | 2473 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/> |
1135 | cbradney | 2474 | <source>linkTextFrames("fromname", "toname") |
2475 | |||
2476 | Link two text frames. The frame named "fromname" is linked to the |
||
2477 | frame named "toname". The target frame must be an empty text frame |
||
2478 | and must not link to or be linked from any other frames already. |
||
2479 | |||
2480 | May throw ScribusException if linking rules are violated. |
||
2481 | </source> |
||
2482 | <translation type="unfinished"></translation> |
||
2483 | </message> |
||
2484 | <message> |
||
14474 | cbradney | 2485 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/> |
1135 | cbradney | 2486 | <source>unlinkTextFrames("name") |
2487 | |||
2488 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
2489 | frame was in the middle of a chain, the previous and next frames will be |
||
2490 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
||
2491 | |||
2492 | May throw ScribusException if linking rules are violated. |
||
2493 | </source> |
||
2494 | <translation type="unfinished"></translation> |
||
2495 | </message> |
||
2496 | <message> |
||
14474 | cbradney | 2497 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/> |
1135 | cbradney | 2498 | <source>traceText(["name"]) |
2499 | |||
2500 | Convert the text frame "name" to outlines. If "name" is not given the |
||
2501 | currently selected item is used.</source> |
||
2502 | <translation type="unfinished"></translation> |
||
2503 | </message> |
||
2504 | <message> |
||
14474 | cbradney | 2505 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/> |
12918 | cbradney | 2506 | <source>textOverflows(["name", nolinks]) -> integer |
2507 | |||
2508 | Returns the actual number of overflowing characters in text frame "name". |
||
2509 | If is nolinks set to non zero value it takes only one frame - it doesn't |
||
2510 | use text frame linking. Without this parameter it search all linking chain. |
||
2511 | |||
2512 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2513 | </source> |
||
2514 | <translation type="unfinished"></translation> |
||
2515 | </message> |
||
2516 | <message> |
||
14474 | cbradney | 2517 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/> |
12918 | cbradney | 2518 | <source>hyphenateText(["name"]) -> bool |
2519 | |||
2520 | Does hyphenation on text frame "name". |
||
2521 | If "name" is not given the currently selected item is used. |
||
2522 | |||
2523 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2524 | </source> |
||
2525 | <translation type="unfinished">hyphenateText(["ime"]) -> bool |
||
2526 | |||
2527 | Izvede deljenje besed v besedilnem okviru "ime". |
||
2528 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet. |
||
2529 | |||
2530 | Lahko vrne napako WrongFrameTypeError, če ciljni okvir ni besedilni okvir |
||
2531 | </translation> |
||
2532 | </message> |
||
2533 | <message> |
||
14474 | cbradney | 2534 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/> |
12918 | cbradney | 2535 | <source>dehyphenateText(["name"]) -> bool |
2536 | |||
2537 | Does dehyphenation on text frame "name". |
||
2538 | If "name" is not given the currently selected item is used. |
||
2539 | |||
2540 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2541 | </source> |
||
2542 | <translation type="unfinished">dehyphenateText(["ime"]) -> bool |
||
2543 | |||
2544 | Izvede odstranjevanje delitve besed v besedilnem okviru "ime". |
||
2545 | |||
2546 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet. |
||
2547 | |||
2548 | Lahko vrne napako WrongFrameTypeError, če ciljni okvir ni besedilni okvir |
||
2549 | </translation> |
||
2550 | </message> |
||
2551 | <message> |
||
14474 | cbradney | 2552 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/> |
12918 | cbradney | 2553 | <source>setPDFBookmark("toggle", ["name"]) |
2554 | |||
2555 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
2556 | If "name" is not given the currently selected item is used. |
||
2557 | |||
2558 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2559 | </source> |
||
2560 | <translation type="unfinished">setPDFBookmark("vklop", ["ime"]) |
||
2561 | |||
2562 | Določa, ali je (vklop = 1) besedilni okvir "ime" zaznamek ali ne. |
||
2563 | Če "ime" ni podano, je uporabljen trenutno izbrani element. |
||
2564 | |||
2565 | Lahko vrne napako WrongFrameTypeError, če ciljni okvir ni besedilni okvir |
||
2566 | </translation> |
||
2567 | </message> |
||
2568 | <message> |
||
14474 | cbradney | 2569 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/> |
12918 | cbradney | 2570 | <source>isPDFBookmark(["name"]) -> bool |
2571 | |||
2572 | Returns true if the text frame "name" is a PDF bookmark. |
||
2573 | If "name" is not given the currently selected item is used. |
||
2574 | |||
2575 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2576 | </source> |
||
2577 | <translation type="unfinished"></translation> |
||
2578 | </message> |
||
2579 | <message> |
||
14474 | cbradney | 2580 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/> |
12918 | cbradney | 2581 | <source>messagebarText("string") |
2582 | |||
2583 | Writes the "string" into the Scribus message bar (status line). The text |
||
2584 | must be UTF8 encoded or 'unicode' string(recommended). |
||
2585 | </source> |
||
2586 | <translation type="unfinished">messagebarText("niz") |
||
2587 | |||
2588 | Zapiše "niz" v vrstico sporočil Scribusa (vrstica stanja). Besedilo |
||
2589 | mora biti kodirano v nizu UTF8 ali 'unicode' (priporočeno). |
||
2590 | </translation> |
||
2591 | </message> |
||
2592 | <message> |
||
14474 | cbradney | 2593 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/> |
1135 | cbradney | 2594 | <source>progressReset() |
2595 | |||
2596 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
2597 | new progress bar use. See progressSet. |
||
2598 | </source> |
||
12918 | cbradney | 2599 | <translation type="unfinished">progressReset() |
12035 | cbradney | 2600 | |
2601 | Počisti prejšnje nastavitve vrstice napredka Scribus. Kličemo jo pred novo rabo |
||
2602 | vrstice napredka. Glejte tudi progressSet. |
||
2603 | </translation> |
||
1135 | cbradney | 2604 | </message> |
2605 | <message> |
||
14474 | cbradney | 2606 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/> |
1135 | cbradney | 2607 | <source>progressTotal(max) |
2608 | |||
2609 | Sets the progress bar's maximum steps value to the specified number. |
||
2610 | See progressSet. |
||
2611 | </source> |
||
12918 | cbradney | 2612 | <translation type="unfinished">progressTotal(maks) |
12035 | cbradney | 2613 | |
2614 | Določi največjo vrednost korak vrstice napredka na podano številko. |
||
2615 | Glejte tudi progressSet. |
||
2616 | </translation> |
||
1135 | cbradney | 2617 | </message> |
2618 | <message> |
||
14474 | cbradney | 2619 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/> |
1135 | cbradney | 2620 | <source>progressSet(nr) |
2621 | |||
2622 | Set the progress bar position to "nr", a value relative to the previously set |
||
2623 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
2624 | total number of steps and the number of steps completed so far and it will |
||
2625 | display the percentage of steps that have been completed. You can specify the |
||
2626 | total number of steps with progressTotal(). The current number of steps is set |
||
2627 | with progressSet(). The progress bar can be rewound to the beginning with |
||
2628 | progressReset(). [based on info taken from Trolltech's Qt docs] |
||
2629 | </source> |
||
2630 | <translation type="unfinished"></translation> |
||
2631 | </message> |
||
2632 | <message> |
||
14474 | cbradney | 2633 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/> |
1135 | cbradney | 2634 | <source>setCursor() |
2635 | |||
2636 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
2637 | </source> |
||
12918 | cbradney | 2638 | <translation type="unfinished">setCursor() |
10959 | mrdocs | 2639 | |
2640 | [NEPODPRTO!] To lahko naredi škodo, zato se ukaza zaenkrat izogibajte. |
||
2641 | </translation> |
||
1135 | cbradney | 2642 | </message> |
2643 | <message> |
||
14474 | cbradney | 2644 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/> |
1135 | cbradney | 2645 | <source>docChanged(bool) |
2646 | |||
2647 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
||
2648 | useful to call this procedure when you're changing the document, because Scribus |
||
2649 | won't automatically notice when you change the document using a script. |
||
2650 | </source> |
||
2651 | <translation type="unfinished"></translation> |
||
2652 | </message> |
||
1525 | cbradney | 2653 | <message> |
14474 | cbradney | 2654 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/> |
12918 | cbradney | 2655 | <source>zoomDocument(double) |
1525 | cbradney | 2656 | |
12918 | cbradney | 2657 | Zoom the document in main GUI window. Actions have whole number |
2658 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
2659 | </source> |
||
2660 | <translation type="unfinished">zoomDocument(double) |
||
1525 | cbradney | 2661 | |
12918 | cbradney | 2662 | Poveča oz. pomanjša dokument v glavnem oknu vmesnika. Dejanja zahtevajo |
2663 | celoštevilčne vrednosti, npr. 20,0, 100,0, itn. Prilagodi oknu uporablja -100.</translation> |
||
2664 | </message> |
||
2665 | <message> |
||
14474 | cbradney | 2666 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/> |
12918 | cbradney | 2667 | <source>scrollDocument(x,y) |
2668 | |||
2669 | Scroll the document in main GUI window by x and y. |
||
1525 | cbradney | 2670 | </source> |
12918 | cbradney | 2671 | <translation type="unfinished">scrollDocument(x,y) |
2672 | |||
2673 | Drsi po dokumentu v glavnem oknu vmesnika za podani vrednosti x in y. |
||
2674 | </translation> |
||
1525 | cbradney | 2675 | </message> |
2676 | <message> |
||
14474 | cbradney | 2677 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/> |
12918 | cbradney | 2678 | <source>placeSVG("filename", x, y) |
1525 | cbradney | 2679 | |
12918 | cbradney | 2680 | Places the SVG "filename" onto the current page, |
2681 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
1525 | cbradney | 2682 | |
12918 | cbradney | 2683 | If loading was successful, the selection contains the imported SVG |
1525 | cbradney | 2684 | </source> |
12918 | cbradney | 2685 | <translation type="unfinished">placeSVG("imedatoteke", x, y) |
2686 | |||
2687 | Postavi sliko SVG "imedatoteke" na trenutno stran, |
||
2688 | x in y določata koordinato levega zgornjega kota slike SVG, postavljene na stran |
||
2689 | |||
2690 | Če je nalaganje uspelo, izbor vsebuje uvoženo sliko SVG |
||
2691 | </translation> |
||
1525 | cbradney | 2692 | </message> |
2693 | <message> |
||
14474 | cbradney | 2694 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/> |
12918 | cbradney | 2695 | <source>placeEPS("filename", x, y) |
1525 | cbradney | 2696 | |
12918 | cbradney | 2697 | Places the EPS "filename" onto the current page, |
2698 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
1525 | cbradney | 2699 | |
12918 | cbradney | 2700 | If loading was successful, the selection contains the imported EPS |
1525 | cbradney | 2701 | </source> |
12918 | cbradney | 2702 | <translation type="unfinished">placeEPS("imedatoteke", x, y) |
2703 | |||
2704 | Postavi EPS "imedatoteke" na trenutno stran, |
||
2705 | x in y določata koordinate vrhnjega levega kota na stran postavljenega EPS |
||
2706 | |||
2707 | Če je bilo nalaganje uspešno, izbor vsebuje uvoženi EPS |
||
2708 | </translation> |
||
1525 | cbradney | 2709 | </message> |
2710 | <message> |
||
14474 | cbradney | 2711 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/> |
12918 | cbradney | 2712 | <source>placeSXD("filename", x, y) |
1525 | cbradney | 2713 | |
12918 | cbradney | 2714 | Places the SXD "filename" onto the current page, |
2715 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
1525 | cbradney | 2716 | |
12918 | cbradney | 2717 | If loading was successful, the selection contains the imported SXD |
1525 | cbradney | 2718 | </source> |
12918 | cbradney | 2719 | <translation type="unfinished">placeSXD("imedatoteke", x, y) |
2720 | |||
2721 | Postavi SXD "imedatoteke" na trenutno stran, |
||
2722 | x in y določata koordinate vrhnjega levega kota na stran postavljenega SXD |
||
2723 | |||
2724 | Če je bilo nalaganje uspešno, izbor vsebuje uvoženi SXD |
||
2725 | </translation> |
||
1525 | cbradney | 2726 | </message> |
2727 | <message> |
||
14474 | cbradney | 2728 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/> |
12918 | cbradney | 2729 | <source>placeODG("filename", x, y) |
1525 | cbradney | 2730 | |
12918 | cbradney | 2731 | Places the ODG "filename" onto the current page, |
2732 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
2733 | |||
2734 | If loading was successful, the selection contains the imported ODG |
||
1525 | cbradney | 2735 | </source> |
12918 | cbradney | 2736 | <translation type="unfinished">placeODG("imedatoteke", x, y) |
2737 | |||
2738 | Postavi ODG "imedatoteke" na trenutno stran, |
||
2739 | x in y določata koordinate vrhnjega levega kota na stran postavljenega ODG |
||
2740 | |||
2741 | Če je bilo nalaganje uspešno, izbor vsebuje uvoženi ODG |
||
2742 | </translation> |
||
1525 | cbradney | 2743 | </message> |
13279 | cbradney | 2744 | <message> |
14474 | cbradney | 2745 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/> |
2746 | <source>getPropertyCType(object, property, includesuper=True) |
||
13279 | cbradney | 2747 | |
14474 | cbradney | 2748 | Returns the name of the C type of `property' of `object'. See getProperty() |
2749 | for details of arguments. |
||
13279 | cbradney | 2750 | |
14474 | cbradney | 2751 | If `includesuper' is true, search inherited properties too. |
13279 | cbradney | 2752 | </source> |
2753 | <translation type="unfinished"></translation> |
||
2754 | </message> |
||
2755 | <message> |
||
14474 | cbradney | 2756 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/> |
2757 | <source>getPropertyNames(object, includesuper=True) |
||
13279 | cbradney | 2758 | |
14474 | cbradney | 2759 | Return a list of property names supported by `object'. |
2760 | If `includesuper' is true, return properties supported |
||
2761 | by parent classes as well. |
||
13279 | cbradney | 2762 | </source> |
2763 | <translation type="unfinished"></translation> |
||
2764 | </message> |
||
2765 | <message> |
||
14474 | cbradney | 2766 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/> |
2767 | <source>getProperty(object, property) |
||
13279 | cbradney | 2768 | |
14474 | cbradney | 2769 | Return the value of the property `property' of the passed `object'. |
13279 | cbradney | 2770 | |
14474 | cbradney | 2771 | The `object' argument may be a string, in which case the named PageItem |
2772 | is searched for. It may also be a PyCObject, which may point to any |
||
2773 | C++ QObject instance. |
||
13279 | cbradney | 2774 | |
14474 | cbradney | 2775 | The `property' argument must be a string, and is the name of the property |
2776 | to look up on `object'. |
||
13279 | cbradney | 2777 | |
14474 | cbradney | 2778 | The return value varies depending on the type of the property. |
13279 | cbradney | 2779 | </source> |
2780 | <translation type="unfinished"></translation> |
||
2781 | </message> |
||
2782 | <message> |
||
14474 | cbradney | 2783 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/> |
2784 | <source>setProperty(object, property, value) |
||
13279 | cbradney | 2785 | |
14474 | cbradney | 2786 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
2787 | compatible with the type of `property', an exception is raised. An exception may |
||
2788 | also be raised if the underlying setter fails. |
||
2789 | |||
2790 | See getProperty() for more information. |
||
13279 | cbradney | 2791 | </source> |
2792 | <translation type="unfinished"></translation> |
||
2793 | </message> |
||
2794 | <message> |
||
14474 | cbradney | 2795 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/> |
2796 | <source>createParagraphStyle(...) |
||
13279 | cbradney | 2797 | |
14474 | cbradney | 2798 | Creates a paragraph style. This function takes the following keyword parameters: |
2799 | |||
2800 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
2801 | |||
2802 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
2803 | |||
2804 | fixed linespacing: 0 |
||
2805 | |||
2806 | automatic linespacing: 1 |
||
2807 | |||
2808 | baseline grid linespacing: 2 |
||
2809 | |||
2810 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
2811 | |||
2812 | alignment [optional] -> specifies the alignment of the paragraph |
||
2813 | |||
2814 | -> left: 0 |
||
2815 | |||
2816 | -> center: 1 |
||
2817 | |||
2818 | -> right: 2 |
||
2819 | |||
2820 | -> justify: 3 |
||
2821 | |||
2822 | -> extend: 4 |
||
2823 | |||
2824 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
2825 | |||
2826 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
2827 | |||
2828 | firstindent [optional] -> the indent of the first line |
||
2829 | |||
2830 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
2831 | |||
2832 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
2833 | |||
2834 | dropcapoffset [optional] -> offset of the caps if used |
||
2835 | |||
2836 | "charstyle" [optional] -> char style to use |
||
2837 | |||
13279 | cbradney | 2838 | </source> |
2839 | <translation type="unfinished"></translation> |
||
2840 | </message> |
||
2841 | <message> |
||
14474 | cbradney | 2842 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/> |
2843 | <source>createCharStyle(...) |
||
13279 | cbradney | 2844 | |
14474 | cbradney | 2845 | Creates a character style. This function takes the following keyword parameters: |
2846 | |||
2847 | "name" [required] -> name of the char style to create |
||
2848 | |||
2849 | "font" [optional] -> name of the font to use |
||
2850 | |||
2851 | fontsize [optional] -> font size to set (double) |
||
2852 | |||
2853 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
2854 | |||
2855 | -> inherit |
||
2856 | |||
2857 | -> bold |
||
2858 | |||
2859 | -> italic |
||
2860 | |||
2861 | -> underline |
||
2862 | |||
2863 | -> underlinewords |
||
2864 | |||
2865 | -> strike |
||
2866 | |||
2867 | -> superscript |
||
2868 | |||
2869 | -> subscript |
||
2870 | |||
2871 | -> outline |
||
2872 | |||
2873 | -> shadowed |
||
2874 | |||
2875 | -> allcaps |
||
2876 | |||
2877 | -> smallcaps |
||
2878 | |||
2879 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
2880 | |||
2881 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
2882 | |||
2883 | baselineoffset [optional] -> offset of the baseline |
||
2884 | |||
2885 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
2886 | |||
2887 | outlinewidth [optional] -> width of the outline if used |
||
2888 | |||
2889 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
2890 | |||
2891 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
2892 | |||
2893 | scaleh [optional], scalev [optional] -> scale of the chars |
||
2894 | |||
2895 | tracking [optional] -> tracking of the text |
||
2896 | |||
2897 | "language" [optional] -> language code |
||
2898 | |||
13279 | cbradney | 2899 | </source> |
2900 | <translation type="unfinished"></translation> |
||
2901 | </message> |
||
12918 | cbradney | 2902 | </context> |
2903 | <context> |
||
2904 | <name>@default</name> |
||
1525 | cbradney | 2905 | <message> |
12918 | cbradney | 2906 | <source>getColorNames() -> list |
1525 | cbradney | 2907 | |
12918 | cbradney | 2908 | Returns a list containing the names of all defined colors in the document. |
2909 | If no document is open, returns a list of the default document colors. |
||
2910 | </source> |
||
2911 | <translation type="obsolete">getColorNames() -> list |
||
1525 | cbradney | 2912 | |
12918 | cbradney | 2913 | Vrne spisek vseh barv, ki so določene v dokumentu. |
2914 | Če ni odprt noben dokument, vrne spisek privzetih barv. |
||
2915 | </translation> |
||
2916 | </message> |
||
2917 | <message> |
||
2918 | <source>newDocDialog() -> bool |
||
1525 | cbradney | 2919 | |
12918 | cbradney | 2920 | Displays the "New Document" dialog box. Creates a new document if the user |
2921 | accepts the settings. Does not create a document if the user presses cancel. |
||
2922 | Returns true if a new document was created. |
||
2923 | </source> |
||
2924 | <translation type="obsolete">newDocDialog() -> bool |
||
1525 | cbradney | 2925 | |
12918 | cbradney | 2926 | Prikaže pogovorno okno "Nov dokument". Ustvari nov dokument, če uporabnik |
2927 | sprejme nastavitve. Ne ustvari novega dokumenta, če uporabnik prekliče ukaz. |
||
2928 | Vrne vrednost true, če je bil novi dokument ustvarjen. |
||
2929 | </translation> |
||
2930 | </message> |
||
2931 | <message> |
||
2932 | <source>getFillColor(["name"]) -> string |
||
2933 | |||
2934 | Returns the name of the fill color of the object "name". |
||
2935 | If "name" is not given the currently selected item is used. |
||
1525 | cbradney | 2936 | </source> |
12918 | cbradney | 2937 | <translation type="obsolete">getFillColor(["ime"]) -> string |
2938 | |||
2939 | Vrne ime polnilne barve predmeta "ime". |
||
2940 | Če "ime" ni podano, se uporabi trenutno izbrani predmet. |
||
2941 | </translation> |
||
1525 | cbradney | 2942 | </message> |
2943 | <message> |
||
12918 | cbradney | 2944 | <source>moveObject(dx, dy [, "name"]) |
1525 | cbradney | 2945 | |
12918 | cbradney | 2946 | Moves the object "name" by dx and dy relative to its current position. The |
2947 | distances are expressed in the current measurement unit of the document (see |
||
2948 | UNIT constants). If "name" is not given the currently selected item is used. |
||
2949 | If the object "name" belongs to a group, the whole group is moved. |
||
2950 | </source> |
||
2951 | <translation type="obsolete">moveObject(dx, dy [, "ime"]) -> string |
||
1525 | cbradney | 2952 | |
12918 | cbradney | 2953 | Premakne predmet "ime" za dx in dy relativno na trenuten položaj. |
2954 | Razdalje so podane v enotah trenutnega dokumenta (glejte konstante |
||
2955 | UNIT). Če "ime" ni podano, se uporabi trenutno izbrani predmet. |
||
2956 | Če je predmet "ime" del skupine, se premakne celotna skupina. |
||
2957 | </translation> |
||
2958 | </message> |
||
2959 | <message> |
||
2960 | <source>setRedraw(bool) |
||
2961 | |||
2962 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
2963 | This change will persist even after the script exits, so make sure to call |
||
2964 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1525 | cbradney | 2965 | </source> |
12918 | cbradney | 2966 | <translation type="obsolete">setRedraw(bool) |
2967 | |||
2968 | Izključi ponovno risanje strani, ko je bool = False, sicer je ponovno risanje |
||
2969 | vključeno. Ta sprememba obvelja, čeprav je skripta konec, zato preverite, |
||
2970 | da pokličete setRedraw(True) v stavku finally: na vrhnji ravni svojega skripta. |
||
2971 | </translation> |
||
1525 | cbradney | 2972 | </message> |
2973 | <message> |
||
12918 | cbradney | 2974 | <source>createRect(x, y, width, height, ["name"]) -> string |
1525 | cbradney | 2975 | |
12918 | cbradney | 2976 | Creates a new rectangle on the current page and returns its name. The |
2977 | coordinates are given in the current measurement units of the document |
||
2978 | (see UNIT constants). "name" should be a unique identifier for the object |
||
2979 | because you need this name to reference that object in future. If "name" |
||
2980 | is not given Scribus will create one for you. |
||
1525 | cbradney | 2981 | |
12918 | cbradney | 2982 | May raise NameExistsError if you explicitly pass a name that's already used. |
1525 | cbradney | 2983 | </source> |
12918 | cbradney | 2984 | <translation type="obsolete">createRect(x, y, širina, višina, ["ime"]) -> string |
2985 | |||
2986 | Ustvari nov pravokotnik na trenutni strani in vrne njegovo ime. |
||
2987 | Koordinate so podane v trenutnih merskih enotah dokumenta |
||
2988 | (glejte konstante UNIT). "ime" mora biti enkraten imenovalec predmeta, |
||
2989 | saj bo služil za sklicevanje na ta predmet v prihodnje. Če "ime" |
||
2990 | ni podano, bo Scribus ustvaril naključno ime. |
||
2991 | |||
2992 | Lahko vrne NameExistsError, če izrecno navedete ime, ki je že v uporabi. |
||
2993 | </translation> |
||
1525 | cbradney | 2994 | </message> |
2995 | <message> |
||
12918 | cbradney | 2996 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1525 | cbradney | 2997 | |
12918 | cbradney | 2998 | Sets the gradient fill of the object "name" to type. Color descriptions are |
2999 | the same as for setFillColor() and setFillShade(). See the constants for |
||
3000 | available types (FILL_<type>). |
||
3001 | </source> |
||
3002 | <translation type="obsolete">setGradientFill(vrsta, "barva1", senca1, "barva2", senca2, ["ime"]) |
||
1525 | cbradney | 3003 | |
12918 | cbradney | 3004 | Nastavi polnilo preliva predmeta "ime". Opisi barv so enaki kot pri |
3005 | setFillColor() in setFillShade(). Oglejte si konstante za vrste, |
||
3006 | ki so na voljo (FILL_<vrsta>). |
||
3007 | </translation> |
||
1525 | cbradney | 3008 | </message> |
3009 | <message> |
||
12918 | cbradney | 3010 | <source>getFontSize(["name"]) -> float |
3064 | cbradney | 3011 | |
12918 | cbradney | 3012 | Returns the font size in points for the text frame "name". If this text |
3013 | frame has some text selected the value assigned to the first character of |
||
3014 | the selection is returned. |
||
3015 | If "name" is not given the currently selected item is used. |
||
3064 | cbradney | 3016 | </source> |
12918 | cbradney | 3017 | <translation type="obsolete">getFontSize(["ime"]) -> float |
10959 | mrdocs | 3018 | |
12918 | cbradney | 3019 | Vrne velikost pisave v točkah za besedilni okvir "ime". Če ima ta besedilni |
3020 | okvir izbrano besedilo, bo vrnjena vrednost, dodeljena prvemu znaku izbire. |
||
3021 | Če "ime" ni podano, je uporabljen trenutno izbran element. |
||
10959 | mrdocs | 3022 | </translation> |
3064 | cbradney | 3023 | </message> |
3024 | <message> |
||
12918 | cbradney | 3025 | <source>messagebarText("string") |
3064 | cbradney | 3026 | |
12918 | cbradney | 3027 | Writes the "string" into the Scribus message bar (status line). The text |
3028 | must be UTF8 encoded or 'unicode' string(recommended). |
||
3064 | cbradney | 3029 | </source> |
12918 | cbradney | 3030 | <translation type="obsolete">messagebarText("niz") |
10959 | mrdocs | 3031 | |
12918 | cbradney | 3032 | Zapiše "niz" v vrstico sporočil Scribusa (vrstica stanja). Besedilo |
3033 | mora biti kodirano v nizu UTF8 ali 'unicode' (priporočeno). |
||
10959 | mrdocs | 3034 | </translation> |
3064 | cbradney | 3035 | </message> |
3036 | <message> |
||
12918 | cbradney | 3037 | <source>newPage(where [,"masterpage"]) |
3064 | cbradney | 3038 | |
12918 | cbradney | 3039 | Creates a new page. If "where" is -1 the new Page is appended to the |
3040 | document, otherwise the new page is inserted before "where". Page numbers are |
||
3041 | counted from 1 upwards, no matter what the displayed first page number of your |
||
3042 | document is. The optional parameter "masterpage" specifies the name of the |
||
3043 | master page for the new page. |
||
3064 | cbradney | 3044 | |
12918 | cbradney | 3045 | May raise IndexError if the page number is out of range |
1525 | cbradney | 3046 | </source> |
12918 | cbradney | 3047 | <translation type="obsolete">newPage(kje [,"glavnastran"]) |
3048 | |||
3049 | Ustvari novo stran. Če je "kje" -1, se nova stran pripne dokumentu, sicer je |
||
3050 | nova stran vstavljena pred "kje". Številke strani se štejejo od 1 navzgor, |
||
3051 | ne glede na to, ali je prikazana številka prve strani dokumenta ali ne. |
||
3052 | Dodatni parameter "glavnastran" določa ime glavne strani za novo stran. |
||
3053 | |||
3054 | Če je številka strani zunaj obsega, lahko vrne IndexError |
||
3055 | </translation> |
||
1525 | cbradney | 3056 | </message> |
3064 | cbradney | 3057 | <message> |
12918 | cbradney | 3058 | <source>importSVG("string") |
3064 | cbradney | 3059 | |
12918 | cbradney | 3060 | The "string" must be a valid filename for a SVG image. The text |
3061 | must be UTF8 encoded or 'unicode' string(recommended). |
||
3062 | </source> |
||
3063 | <translation type="obsolete">importSVG("niz") |
||
3064 | cbradney | 3064 | |
12918 | cbradney | 3065 | "niz" mora biti veljavno ime datoteke slike SVG. Besedilo |
3066 | mora biti kodirano v UTF8 ali 'unicode' (priporočeno).</translation> |
||
3067 | </message> |
||
3068 | <message> |
||
3069 | <source>newDocument(size, margins, orientation, firstPageNumber, |
||
3070 | unit, pagesType, firstPageOrder) -> bool |
||
3071 | |||
3072 | Creates a new document and returns true if successful. The parameters have the |
||
3073 | following meaning: |
||
3074 | |||
3075 | size = A tuple (width, height) describing the size of the document. You can |
||
3076 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
3077 | |||
3078 | margins = A tuple (left, right, top, bottom) describing the document |
||
3079 | margins |
||
3080 | |||
3081 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
3082 | |||
3083 | firstPageNumer = is the number of the first page in the document used for |
||
3084 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
3085 | numbers if you're creating a document in several parts. |
||
3086 | |||
3087 | unit: this value sets the measurement units used by the document. Use a |
||
3088 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3089 | UNIT_PICAS, UNIT_POINTS. |
||
3090 | |||
3091 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
3092 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
3093 | PAGE_4 is 4-fold. |
||
3094 | |||
3095 | firstPageOrder = What is position of first page in the document. |
||
3096 | Indexed from 0 (0 = first). |
||
3097 | |||
3098 | numPage = Number of pages to be created. |
||
3099 | |||
3100 | The values for width, height and the margins are expressed in the given unit |
||
3101 | for the document. PAPER_* constants are expressed in points. If your document |
||
3102 | is not in points, make sure to account for this. |
||
3103 | |||
3104 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
3105 | PAGE_4, 3, 1) |
||
3106 | |||
3107 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
3064 | cbradney | 3108 | </source> |
12918 | cbradney | 3109 | <translation type="obsolete">newDocument(velikost, robovi, postavitev, številkaPrveStrani, |
3110 | merskaEnota, vrstaStrani, zaporedjePrveStrani) -> bool |
||
3111 | |||
3112 | Ustvari nov dokument in vrne true, če je uspelo. Parametri imajo naslednji pomen: |
||
3113 | |||
3114 | velikost = Skupek mer (širina, višina), ki opisuje velikost dokumenta. Uporabite |
||
3115 | lahko vnaprej določene konstante, poimenovane PAPER_<vrsta_papirja>, |
||
3116 | npr. PAPER_A4 itn. |
||
3117 | |||
3118 | robovi = Skupek mer (levo, desno, zgoraj, spodaj), ki opisuje robove dokumenta. |
||
3119 | |||
3120 | postavitev = postavitev strani - konstanti PORTRAIT in LANDSCAPE |
||
3121 | |||
3122 | številkaPrveStrani = je številka prve strani v dokumentu, uporabljena za |
||
3123 | oštevilčevanje strani. Čeprav najpogosteje hočete 1, je uporabno za višje |
||
3124 | številke, če ustvarjate dokument v več delih. |
||
3125 | |||
3126 | merskaEnota: ta vrednost nastavi merske enote, ki jih uporablja dokument. Uporabite |
||
3127 | vnaprej določene konstante, eno izmed: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3128 | UNIT_PICAS, UNIT_POINTS. |
||
3129 | |||
3130 | vrstaStrani = Ena od vnaprej določenih konstant PAGE_n. PAGE_1 je posamična stran, |
||
3131 | PAGE_2 je za dvostranske dokumente, PAGE_3 je za tristransko zgibanko in |
||
3132 | PAGE_4 je za štiristransko zgibanko. |
||
3133 | |||
3134 | zaporedjePrveStrani = Kateri položaj ima prva stran dokumenta. |
||
3135 | Indeksirano od 0 (0 = prva). |
||
3136 | |||
3137 | številoStrani = Število strani, ki naj bodo ustvarjene. |
||
3138 | |||
3139 | Vrednosti za širino, višino in robove so izražene v danih merskih enotah |
||
3140 | dokumenta. Konstante PAPER_* so izražene v točkah. Če vaš dokument |
||
3141 | ni v točkah, poskrbite, da bo tako. |
||
3142 | |||
3143 | primer: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
3144 | PAGE_4, 3, 1) |
||
3145 | |||
3146 | Lahko vrne napako ScribusError, če je firstPageOrder večja od dovoljenega z pagesType.</translation> |
||
3064 | cbradney | 3147 | </message> |
3824 | cbradney | 3148 | <message> |
12918 | cbradney | 3149 | <source>newDocument(size, margins, orientation, firstPageNumber, |
3150 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
3824 | cbradney | 3151 | |
3152 | Creates a new document and returns true if successful. The parameters have the |
||
3153 | following meaning: |
||
3154 | |||
12918 | cbradney | 3155 | size = A tuple (width, height) describing the size of the document. You can |
3156 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
3824 | cbradney | 3157 | |
12918 | cbradney | 3158 | margins = A tuple (left, right, top, bottom) describing the document |
3159 | margins |
||
3824 | cbradney | 3160 | |
12918 | cbradney | 3161 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
3824 | cbradney | 3162 | |
12918 | cbradney | 3163 | firstPageNumer = is the number of the first page in the document used for |
3164 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
3165 | numbers if you're creating a document in several parts. |
||
3824 | cbradney | 3166 | |
12918 | cbradney | 3167 | unit: this value sets the measurement units used by the document. Use a |
3168 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3169 | UNIT_PICAS, UNIT_POINTS. |
||
3824 | cbradney | 3170 | |
12918 | cbradney | 3171 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
3172 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
3173 | PAGE_4 is 4-fold. |
||
3824 | cbradney | 3174 | |
12918 | cbradney | 3175 | firstPageOrder = What is position of first page in the document. |
3176 | Indexed from 0 (0 = first). |
||
3824 | cbradney | 3177 | |
12918 | cbradney | 3178 | numPage = Number of pages to be created. |
3179 | |||
3824 | cbradney | 3180 | The values for width, height and the margins are expressed in the given unit |
3181 | for the document. PAPER_* constants are expressed in points. If your document |
||
3182 | is not in points, make sure to account for this. |
||
3183 | |||
12918 | cbradney | 3184 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
3185 | PAGE_4, 3, 1) |
||
3186 | |||
3187 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
3824 | cbradney | 3188 | </source> |
12918 | cbradney | 3189 | <translation type="obsolete">newDocument(velikost, robovi, postavitev, številkaPrveStrani, |
3190 | merskaEnota, vrstaStrani, zaporedjePrveStrani, številoStrani) -> bool |
||
3191 | |||
3192 | Ustvari nov dokument in vrne true, če je uspelo. Parametri imajo naslednji pomen: |
||
3193 | |||
3194 | velikost = Skupek mer (širina, višina), ki opisuje velikost dokumenta. Uporabite |
||
3195 | lahko vnaprej določene konstante, poimenovane PAPER_<vrsta_papirja>, |
||
3196 | npr. PAPER_A4 itn. |
||
3197 | |||
3198 | robovi = Skupek mer (levo, desno, zgoraj, spodaj), ki opisuje robove dokumenta. |
||
3199 | |||
3200 | postavitev = postavitev strani - konstanti PORTRAIT in LANDSCAPE |
||
3201 | |||
3202 | številkaPrveStrani = je številka prve strani v dokumentu, uporabljena za |
||
3203 | oštevilčevanje strani. Čeprav najpogosteje hočete 1, je uporabno za višje |
||
3204 | številke, če ustvarjate dokument v več delih. |
||
3205 | |||
3206 | merskaEnota: ta vrednost nastavi merske enote, ki jih uporablja dokument. Uporabite |
||
3207 | vnaprej določene konstante, eno izmed: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3208 | UNIT_PICAS, UNIT_POINTS. |
||
3209 | |||
3210 | vrstaStrani = Ena od vnaprej določenih konstant PAGE_n. PAGE_1 je posamična stran, |
||
3211 | PAGE_2 je za dvostranske dokumente, PAGE_3 je za tristransko zgibanko in |
||
3212 | PAGE_4 je za štiristransko zgibanko. |
||
3213 | |||
3214 | zaporedjePrveStrani = Kateri položaj ima prva stran dokumenta. |
||
3215 | Indeksirano od 0 (0 = prva). |
||
3216 | |||
3217 | številoStrani = Število strani, ki naj bodo ustvarjene. |
||
3218 | |||
3219 | Vrednosti za širino, višino in robove so izražene v danih merskih enotah |
||
3220 | dokumenta. Konstante PAPER_* so izražene v točkah. Če vaš dokument |
||
3221 | ni v točkah, poskrbite, da bo tako. |
||
3222 | |||
3223 | primer: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
3224 | PAGE_4, 3, 1) |
||
3225 | |||
3226 | Lahko vrne napako ScribusError, če je firstPageOrder večja od dovoljenega z pagesType. |
||
3227 | </translation> |
||
3824 | cbradney | 3228 | </message> |
4141 | cbradney | 3229 | <message> |
12918 | cbradney | 3230 | <source>placeSVG("filename", x, y) |
4141 | cbradney | 3231 | |
12918 | cbradney | 3232 | Places the SVG "filename" onto the current page, |
3233 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
3234 | |||
3235 | If loading was successful, the selection contains the imported SVG |
||
4141 | cbradney | 3236 | </source> |
12918 | cbradney | 3237 | <translation type="obsolete">placeSVG("imedatoteke", x, y) |
10792 | mrdocs | 3238 | |
12918 | cbradney | 3239 | Postavi sliko SVG "imedatoteke" na trenutno stran, |
3240 | x in y določata koordinato levega zgornjega kota slike SVG, postavljene na stran |
||
3241 | |||
3242 | Če je nalaganje uspelo, izbor vsebuje uvoženo sliko SVG |
||
3243 | </translation> |
||
4141 | cbradney | 3244 | </message> |
3245 | <message> |
||
12918 | cbradney | 3246 | <source>getColor("name") -> tuple |
4141 | cbradney | 3247 | |
12918 | cbradney | 3248 | Returns a tuple (C, M, Y, K) containing the four color components of the |
3249 | color "name" from the current document. If no document is open, returns |
||
3250 | the value of the named color from the default document colors. |
||
3251 | |||
3252 | May raise NotFoundError if the named color wasn't found. |
||
3253 | May raise ValueError if an invalid color name is specified. |
||
4141 | cbradney | 3254 | </source> |
12918 | cbradney | 3255 | <translation type="obsolete">getColor("ime") -> tuple |
10792 | mrdocs | 3256 | |
12918 | cbradney | 3257 | Vrne četvorček (C, M, Y, K), ki vsebuje štiri barvne komponente barve "ime" |
3258 | iz trenutnega dokumenta. Če ni odprt noben dokument, vrne |
||
3259 | vrednost imenovane barve iz privzeth barv dokumenta. |
||
3260 | |||
3261 | Lahko vrne NotFoundError, če barve s tem imenom ni mogoče najti. |
||
3262 | Lahko vrne ValueError, če je navedeno neveljavno ime barve. |
||
3263 | </translation> |
||
4141 | cbradney | 3264 | </message> |
3265 | <message> |
||
12918 | cbradney | 3266 | <source>changeColor("name", c, m, y, k) |
4141 | cbradney | 3267 | |
12918 | cbradney | 3268 | Changes the color "name" to the specified CMYK value. The color value is |
3269 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
3270 | Color components should be in the range from 0 to 255. |
||
3271 | |||
3272 | May raise NotFoundError if the named color wasn't found. |
||
3273 | May raise ValueError if an invalid color name is specified. |
||
4141 | cbradney | 3274 | </source> |
12918 | cbradney | 3275 | <translation type="obsolete">changeColor("ime", c, m, y, k)(new line) |
10792 | mrdocs | 3276 | |
12918 | cbradney | 3277 | Spremeni barvo "ime" v navedeno vrednost CMYK. Vrednost barve je |
3278 | določena s štirimi komponentami c = cijanska, m = magenta, y = rumena in k = črna. |
||
3279 | Komponente barve morajo biti v obsegu 0 - 255. |
||
3280 | |||
3281 | Lahko vrne NotFoundError, če navedene barve ni mogoče najti. |
||
3282 | Lahko vrne ValueError, če je navedeno neveljavno ime barve. |
||
3283 | </translation> |
||
4141 | cbradney | 3284 | </message> |
3285 | <message> |
||
12918 | cbradney | 3286 | <source>replaceColor("name", "replace") |
4141 | cbradney | 3287 | |
12918 | cbradney | 3288 | Every occurence of the color "name" is replaced by the color "replace". |
3289 | |||
3290 | May raise NotFoundError if a named color wasn't found. |
||
3291 | May raise ValueError if an invalid color name is specified. |
||
4141 | cbradney | 3292 | </source> |
12918 | cbradney | 3293 | <translation type="obsolete">replaceColor("ime", "zamenjaj") |
7902 | mrdocs | 3294 | |
12918 | cbradney | 3295 | Vsaka pojavitev barve "ime" bo zamenjana z barvo "zamenjaj". |
3296 | |||
3297 | Vrne lahko napako NotFoundError, če imenovane barve ni mogoče najti. |
||
3298 | Vrne lahko napako ValueError, če je navedeno neveljavno ime barve. |
||
3299 | </translation> |
||
4141 | cbradney | 3300 | </message> |
3301 | <message> |
||
12918 | cbradney | 3302 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
4141 | cbradney | 3303 | |
12918 | cbradney | 3304 | Shows the common 'Ask for string' dialog and returns its value as a string |
3305 | Parameters: window title, text in the window and optional 'default' value. |
||
3306 | |||
3307 | Example: valueDialog('title', 'text in the window', 'optional') |
||
4141 | cbradney | 3308 | </source> |
12918 | cbradney | 3309 | <translation type="obsolete">valueDialog(napis, vsebina [,privzetavrednost]) -> string |
7902 | mrdocs | 3310 | |
12918 | cbradney | 3311 | Pokaže pogosto pogovorno okno 'Vprašaj za niz' in vrne njegovo vrednost kot niz. |
3312 | Parametri: naslov okna, besedilo v oknu in neobvezna 'privzeta' vrednost. |
||
3313 | |||
3314 | Primer: valueDialog('naslov', 'besedilo v oknu', 'neobvezno')</translation> |
||
4141 | cbradney | 3315 | </message> |
3316 | <message> |
||
12918 | cbradney | 3317 | <source>closeDoc() |
4141 | cbradney | 3318 | |
12918 | cbradney | 3319 | Closes the current document without prompting to save. |
3320 | |||
3321 | May throw NoDocOpenError if there is no document to close |
||
4141 | cbradney | 3322 | </source> |
12918 | cbradney | 3323 | <translation type="obsolete">closeDoc() |
10792 | mrdocs | 3324 | |
12918 | cbradney | 3325 | Zapre trenutni dokument brez poprejšnje ponudbe za shranjevanje. |
3326 | |||
3327 | Lahko vrne napako NoDocOpenError, če dokumenta za zapiranje ni</translation> |
||
4141 | cbradney | 3328 | </message> |
6261 | cbradney | 3329 | <message> |
12918 | cbradney | 3330 | <source>haveDoc() -> bool |
6434 | cbradney | 3331 | |
12918 | cbradney | 3332 | Returns true if there is a document open. |
6434 | cbradney | 3333 | </source> |
12918 | cbradney | 3334 | <translation type="obsolete">haveDoc() -> bool |
10792 | mrdocs | 3335 | |
12918 | cbradney | 3336 | Vrne vrednost true, če je dokument odprt.</translation> |
6434 | cbradney | 3337 | </message> |
3338 | <message> |
||
12918 | cbradney | 3339 | <source>openDoc("name") |
6434 | cbradney | 3340 | |
12918 | cbradney | 3341 | Opens the document "name". |
3342 | |||
3343 | May raise ScribusError if the document could not be opened. |
||
6434 | cbradney | 3344 | </source> |
12918 | cbradney | 3345 | <translation type="obsolete">openDoc("ime") |
9729 | cbradney | 3346 | |
12918 | cbradney | 3347 | Odpre dokument "ime". |
3348 | |||
3349 | Lahko vrne napako ScribusError, če dokumenta ni mogoče odpreti. |
||
3350 | </translation> |
||
9729 | cbradney | 3351 | </message> |
10842 | cbradney | 3352 | <message> |
12918 | cbradney | 3353 | <source>saveDoc() |
10842 | cbradney | 3354 | |
12918 | cbradney | 3355 | Saves the current document with its current name, returns true if successful. |
3356 | If the document has not already been saved, this may bring up an interactive |
||
3357 | save file dialog. |
||
10842 | cbradney | 3358 | |
12918 | cbradney | 3359 | If the save fails, there is currently no way to tell. |
10842 | cbradney | 3360 | </source> |
12918 | cbradney | 3361 | <translation type="obsolete">saveDoc() |
3362 | |||
3363 | Shrani trenutni dokument z njegovim trenutnim imenom, vrne true, če je uspešno. |
||
3364 | Če dokument še ni bil shranjen, lahko to prikliče interaktivno pogovorno okno |
||
3365 | za shranjevanje. |
||
3366 | |||
3367 | Če shranjevanje ne uspe, tega ni mogoče ugotoviti.</translation> |
||
10842 | cbradney | 3368 | </message> |
3369 | <message> |
||
12918 | cbradney | 3370 | <source>saveDocAs("name") |
10842 | cbradney | 3371 | |
12918 | cbradney | 3372 | Saves the current document under the new name "name" (which may be a full or |
3373 | relative path). |
||
10842 | cbradney | 3374 | |
12918 | cbradney | 3375 | May raise ScribusError if the save fails. |
3376 | </source> |
||
3377 | <translation type="obsolete">saveDocAs("ime") |
||
10842 | cbradney | 3378 | |
12918 | cbradney | 3379 | Shrani trenutni dokument pod novim imenom "ime" (ki je lahko polna ali |
3380 | relativna pot). |
||
10842 | cbradney | 3381 | |
12918 | cbradney | 3382 | Lahko vrne ScribusError, če shranjevanje ne uspe.</translation> |
3383 | </message> |
||
3384 | <message> |
||
3385 | <source>setUnit(type) |
||
3386 | |||
3387 | Changes the measurement unit of the document. Possible values for "unit" are |
||
3388 | defined as constants UNIT_<type>. |
||
3389 | |||
3390 | May raise ValueError if an invalid unit is passed. |
||
10842 | cbradney | 3391 | </source> |
12918 | cbradney | 3392 | <translation type="obsolete">setUnit(vrsta) |
3393 | |||
3394 | Spremeni merske enote dokumenta. Možne vrednosti za "enoto" so |
||
3395 | določene kot konstante UNIT_<vrsta>. |
||
3396 | |||
3397 | Lahko vrne napako ValueError, če je posredovana neveljavna enota.</translation> |
||
10842 | cbradney | 3398 | </message> |
3399 | <message> |
||
12918 | cbradney | 3400 | <source>getUnit() -> integer (Scribus unit constant) |
10842 | cbradney | 3401 | |
12918 | cbradney | 3402 | Returns the measurement units of the document. The returned value will be one |
3403 | of the UNIT_* constants: |
||
3404 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
10842 | cbradney | 3405 | </source> |
12918 | cbradney | 3406 | <translation type="obsolete">getUnit() -> integer (konstanta enot Scribus) |
3407 | |||
3408 | Vrne merske enote dokumenta. Vrnjena vrednost bo ena izmed |
||
3409 | konstant UNIT_*: |
||
3410 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation> |
||
10842 | cbradney | 3411 | </message> |
3412 | <message> |
||
12918 | cbradney | 3413 | <source>loadStylesFromFile("filename") |
10842 | cbradney | 3414 | |
12918 | cbradney | 3415 | Loads paragraph styles from the Scribus document at "filename" into the |
3416 | current document. |
||
10842 | cbradney | 3417 | </source> |
12918 | cbradney | 3418 | <translation type="obsolete">loadStylesFromFile("imedatoteke") |
10959 | mrdocs | 3419 | |
12918 | cbradney | 3420 | Naloži sloge odstavkov iz dokumenta Scribus "imedatoteke" v |
3421 | trenutni dokument.</translation> |
||
10842 | cbradney | 3422 | </message> |
3423 | <message> |
||
12918 | cbradney | 3424 | <source>setDocType(facingPages, firstPageLeft) |
10842 | cbradney | 3425 | |
12918 | cbradney | 3426 | Sets the document type. To get facing pages set the first parameter to |
3427 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
3428 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
3429 | a right page use FIRSTPAGERIGHT. |
||
10842 | cbradney | 3430 | </source> |
12918 | cbradney | 3431 | <translation type="obsolete">setDocType(nasprotneStrani, prvaStranLevo) |
3432 | |||
3433 | Določi vrsto dokumenta. Če želite nasprotne strani, nastavite prvi parameter na |
||
3434 | FACINGPAGES, sicer izključite tonastavitev z NOFACINGPAGES. Če želite, |
||
3435 | da je prva stran na levi, nastavite drugi parameter na FIRSTPAGELEFT, za |
||
3436 | prvo stran ko desno pa uporabite FIRSTPAGERIGHT. |
||
12035 | cbradney | 3437 | </translation> |
10842 | cbradney | 3438 | </message> |
3439 | <message> |
||
12918 | cbradney | 3440 | <source>getLineColor(["name"]) -> string |
10842 | cbradney | 3441 | |
12918 | cbradney | 3442 | Returns the name of the line color of the object "name". |
3443 | If "name" is not given the currently selected item is used. |
||
10842 | cbradney | 3444 | </source> |
12918 | cbradney | 3445 | <translation type="obsolete">getLineColor(["ime"]) -> string |
10959 | mrdocs | 3446 | |
12918 | cbradney | 3447 | Vrne ime barve črte predmeta "ime". |
3448 | Če "ime" ni podano, uporabi trenutno izbrani predmet.</translation> |
||
10842 | cbradney | 3449 | </message> |
3450 | <message> |
||
12918 | cbradney | 3451 | <source>getLineWidth(["name"]) -> integer |
10842 | cbradney | 3452 | |
12918 | cbradney | 3453 | Returns the line width of the object "name". If "name" |
10842 | cbradney | 3454 | is not given the currently selected Item is used. |
3455 | </source> |
||
12918 | cbradney | 3456 | <translation type="obsolete">getLineWidth(["ime"]) -> integer |
3457 | Vrne širino črte predmeta "ime". Če "ime" |
||
3458 | ni podano, bo uporabljen trenutno izbrani predmet.</translation> |
||
3459 | </message> |
||
3460 | <message> |
||
3461 | <source>getLineShade(["name"]) -> integer |
||
12035 | cbradney | 3462 | |
12918 | cbradney | 3463 | Returns the shading value of the line color of the object "name". |
3464 | If "name" is not given the currently selected item is used. |
||
3465 | </source> |
||
3466 | <translation type="obsolete">getLineShade(["ime"]) -> integer |
||
3467 | |||
3468 | Vrne vrednost senčenja za barvo črte predmeta "ime". |
||
3469 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet.</translation> |
||
10842 | cbradney | 3470 | </message> |
3471 | <message> |
||
12918 | cbradney | 3472 | <source>getLineEnd(["name"]) -> integer (see constants) |
10842 | cbradney | 3473 | |
12918 | cbradney | 3474 | Returns the line cap style of the object "name". If "name" is not given the |
3475 | currently selected item is used. The cap types are: |
||
3476 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
10842 | cbradney | 3477 | </source> |
12918 | cbradney | 3478 | <translation type="obsolete">getLineEnd(["ime"]) -> integer (glejte konstante) |
3479 | |||
3480 | Vrne slog zaključkov črt predmeta "ime". Če "ime" ni podano, |
||
3481 | je uporabljen trenutno izbran element. Vrste koncev črt so: |
||
3482 | CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation> |
||
10842 | cbradney | 3483 | </message> |
3484 | <message> |
||
12918 | cbradney | 3485 | <source>getLineStyle(["name"]) -> integer (see constants) |
10842 | cbradney | 3486 | |
12918 | cbradney | 3487 | Returns the line style of the object "name". If "name" is not given the |
3488 | currently selected item is used. Line style constants are: |
||
3489 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
10842 | cbradney | 3490 | </source> |
12918 | cbradney | 3491 | <translation type="obsolete">getLineStyle(["ime"]) -> integer (glej konstante) |
3492 | |||
3493 | Vrne slog črte predmeta "ime". Če "ime" ni podano, je uporabljen |
||
3494 | trenutno izbrani predmet. Konstante sloga črte so: |
||
3495 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID</translation> |
||
10842 | cbradney | 3496 | </message> |
3497 | <message> |
||
12918 | cbradney | 3498 | <source>getFillShade(["name"]) -> integer |
10842 | cbradney | 3499 | |
12918 | cbradney | 3500 | Returns the shading value of the fill color of the object "name". |
10842 | cbradney | 3501 | If "name" is not given the currently selected item is used. |
3502 | </source> |
||
12918 | cbradney | 3503 | <translation type="obsolete">getFillShade(["ime"]) -> integer |
3504 | |||
3505 | Vrne vrednost senčenja za barvo polnila predmeta "ime". |
||
3506 | Če "ime" ni podano, bo uporabljen trenutno izbrani predmet.</translation> |
||
10842 | cbradney | 3507 | </message> |
3508 | <message> |
||
12918 | cbradney | 3509 | <source>getImageScale(["name"]) -> (x,y) |
10842 | cbradney | 3510 | |
12918 | cbradney | 3511 | Returns a (x, y) tuple containing the scaling values of the image frame |
3512 | "name". If "name" is not given the currently selected item is used. |
||
3513 | </source> |
||
3514 | <translation type="obsolete">getImageScale(["ime"]) -> (x,y) |
||
3515 | |||
3516 | Vrne par (x, y), ki vsebuje vrednosti spremembe merila za okvir slike |
||
3517 | "ime". Če "ime" ni podano, je uporabljen trenutno izbrani predmet.</translation> |
||
3518 | </message> |
||
3519 | <message> |
||
3520 | <source>getImageName(["name"]) -> string |
||
3521 | |||
3522 | Returns the filename for the image in the image frame. If "name" is not |
||
10842 | cbradney | 3523 | given the currently selected item is used. |
3524 | </source> |
||
12918 | cbradney | 3525 | <translation type="obsolete">getImageName(["ime"]) -> string |
3526 | |||
3527 | Vrne ime datoteke slike v okviru slike. Če "ime" ni |
||
3528 | podano, je uporabljen trenutno izbrani predmet.</translation> |
||
10842 | cbradney | 3529 | </message> |
3530 | <message> |
||
12918 | cbradney | 3531 | <source>getSize(["name"]) -> (width,height) |
10842 | cbradney | 3532 | |
12918 | cbradney | 3533 | Returns a (width, height) tuple with the size of the object "name". |
3534 | If "name" is not given the currently selected item is used. The size is |
||
3535 | expressed in the current measurement unit of the document - see UNIT_<type> |
||
3536 | for reference. |
||
10842 | cbradney | 3537 | </source> |
12918 | cbradney | 3538 | <translation type="obsolete">getSize(["ime"]) -> (širina,višina) |
3539 | |||
3540 | Vrne par (širina, višina) z velikostjo predmeta "ime". |
||
3541 | Če "ime" ni podano, je uporabljen trentno izbran element. Velikost je |
||
3542 | podana v trenutnih merskih enotah dokumenta - glejte UNIT_<vrsta> |
||
3543 | za cel nabor možnosti. |
||
3544 | </translation> |
||
10842 | cbradney | 3545 | </message> |
3546 | <message> |
||
12918 | cbradney | 3547 | <source>getRotation(["name"]) -> integer |
10842 | cbradney | 3548 | |
12918 | cbradney | 3549 | Returns the rotation of the object "name". The value is expressed in degrees, |
3550 | and clockwise is positive. If "name" is not given the currently selected item |
||
3551 | is used. |
||
3552 | </source> |
||
3553 | <translation type="obsolete">getRotation(["ime"]) -> integer |
||
10842 | cbradney | 3554 | |
12918 | cbradney | 3555 | Vrne zasukanost predmeta "ime". Vrednost je izražena v stopinjah, |
3556 | in sicer je v smeri urinega kazalca vrednost pozitivna. Če "ime" ni podano, |
||
3557 | bo uporabljen trenutno izbran element.</translation> |
||
3558 | </message> |
||
3559 | <message> |
||
3560 | <source>getAllObjects() -> list |
||
3561 | |||
3562 | Returns a list containing the names of all objects on the current page. |
||
10842 | cbradney | 3563 | </source> |
12918 | cbradney | 3564 | <translation type="obsolete">getAllObjects() -> list |
3565 | |||
3566 | Vrne seznam z imeni vseh predmetov na trenutni strani.</translation> |
||
10842 | cbradney | 3567 | </message> |
3568 | <message> |
||
12918 | cbradney | 3569 | <source>moveObjectAbs(x, y [, "name"]) |
10842 | cbradney | 3570 | |
12918 | cbradney | 3571 | Moves the object "name" to a new location. The coordinates are expressed in |
3572 | the current measurement unit of the document (see UNIT constants). If "name" |
||
3573 | is not given the currently selected item is used. If the object "name" |
||
3574 | belongs to a group, the whole group is moved. |
||
3575 | </source> |
||
3576 | <translation type="obsolete">moveObjectAbs(x, y [, "ime"]) |
||
10842 | cbradney | 3577 | |
12918 | cbradney | 3578 | Premakne predmet "ime" na novo mesto. Koordinate so izražene v |
3579 | trenutnih merskih enotah dokumenta (glejte konstante UNIT). Če "ime" |
||
3580 | ni podano, je uporabljen trenutno izbrani predmet. Če predmt "ime" |
||
3581 | pripada skupini, se premakne celotna skupina. |
||
3582 | </translation> |
||
3583 | </message> |
||
3584 | <message> |
||
3585 | <source>sizeObject(width, height [, "name"]) |
||
3586 | |||
3587 | Resizes the object "name" to the given width and height. If "name" |
||
3588 | is not given the currently selected item is used. |
||
10842 | cbradney | 3589 | </source> |
12918 | cbradney | 3590 | <translation type="obsolete">sizeObject(širina, višina [, "ime"]) |
3591 | |||
3592 | Spremeni velikost predmeta "ime" na podano širino in višino. Če "ime" |
||
3593 | ni podano, je uporabljen trenutno izbrani predmet.</translation> |
||
10842 | cbradney | 3594 | </message> |
3595 | <message> |
||
12918 | cbradney | 3596 | <source>getSelectedObject([nr]) -> string |
10842 | cbradney | 3597 | |
12918 | cbradney | 3598 | Returns the name of the selected object. "nr" if given indicates the number |
3599 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
3600 | second selected Object and so on. |
||
3601 | </source> |
||
3602 | <translation type="obsolete">getSelectedObject([št]) -> string |
||
10842 | cbradney | 3603 | |
12918 | cbradney | 3604 | Vrne ime izbranega predmeta. Če je podana, predstavlja "št" številko |
3605 | izbranega predmeta; 0 npr. pomeni prvi izbrani predmet, 1 drugi |
||
3606 | izbrani predmet itn.</translation> |
||
3607 | </message> |
||
3608 | <message> |
||
3609 | <source>selectionCount() -> integer |
||
3610 | |||
3611 | Returns the number of selected objects. |
||
3612 | </source> |
||
3613 | <translation type="obsolete">selectionCount() -> integer |
||
3614 | |||
3615 | Vrne število izbranih predmetov.</translation> |
||
3616 | </message> |
||
3617 | <message> |
||
3618 | <source>selectObject("name") |
||
3619 | |||
3620 | Selects the object with the given "name". |
||
3621 | </source> |
||
3622 | <translation type="obsolete">selectObject("ime") |
||
3623 | |||
3624 | Izbere predmet z danim "imenom".</translation> |
||
3625 | </message> |
||
3626 | <message> |
||
3627 | <source>deselectAll() |
||
3628 | |||
3629 | Deselects all objects in the whole document. |
||
3630 | </source> |
||
3631 | <translation type="obsolete">deselectAll() |
||
3632 | |||
3633 | Prekliče izbiro vseh predmetov v celem dokumentu.</translation> |
||
3634 | </message> |
||
3635 | <message> |
||
3636 | <source>groupObjects(list) |
||
3637 | |||
3638 | Groups the objects named in "list" together. "list" must contain the names |
||
3639 | of the objects to be grouped. If "list" is not given the currently selected |
||
3640 | items are used. |
||
3641 | </source> |
||
3642 | <translation type="obsolete">groupObjects(seznam) |
||
3643 | |||
3644 | Združi predmete s "seznama" v skupino. "Seznam" mora vsebovati imena |
||
3645 | predmetov, ki naj bodo združeni. Če "seznam" ni podan, so uporabljeni |
||
3646 | trenutno izbrani predmeti.</translation> |
||
3647 | </message> |
||
3648 | <message> |
||
3649 | <source>unGroupObjects("name") |
||
3650 | |||
3651 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
3652 | <translation type="obsolete">unGroupObjects("ime") |
||
3653 | |||
3654 | Razdruži skupino predmetov, kateri pripada predmet "ime". Če "ime" ni podano, |
||
3655 | je uporabljen trenutno izbrani predmet.</translation> |
||
3656 | </message> |
||
3657 | <message> |
||
3658 | <source>loadImage("filename" [, "name"]) |
||
3659 | |||
3660 | Loads the picture "picture" into the image frame "name". If "name" is |
||
3661 | not given the currently selected item is used. |
||
3662 | |||
3663 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3664 | </source> |
||
3665 | <translation type="obsolete">loadImage("imedatoteke" [, "ime"]) |
||
3666 | |||
3667 | Naloži sliko "imedatoteke" v slikovni okvir "ime". Če "ime" |
||
3668 | ni podano, je uporabljen trenutno izbran element. |
||
3669 | |||
3670 | Vrne lahko napako WrongFrameTypeError, če ciljni okvir ni slikovni okvir |
||
3671 | </translation> |
||
3672 | </message> |
||
3673 | <message> |
||
3674 | <source>lockObject(["name"]) -> bool |
||
3675 | |||
3676 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
3677 | If "name" is not given the currently selected item is used. Returns true |
||
3678 | if locked. |
||
3679 | </source> |
||
3680 | <translation type="obsolete">lockObject(["ime"]) -> bool |
||
3681 | |||
3682 | Zaklene predmet "ime", če ni zaklenjen, ali ga odklene, če je zaklenjen. |
||
3683 | Če "ime" ni podano, je uporabljen trenutno izbrani predmet. Vrne true, |
||
3684 | če je zaklenjen.</translation> |
||
3685 | </message> |
||
3686 | <message> |
||
3687 | <source>isLocked(["name"]) -> bool |
||
3688 | |||
3689 | Returns true if is the object "name" locked. If "name" is not given the |
||
3690 | currently selected item is used. |
||
3691 | </source> |
||
3692 | <translation type="obsolete">isLocked(["ime"]) -> bool |
||
3693 | |||
3694 | Vrne true, če je predmet "ime" zaklenjen. Če "ime" ni podano, je |
||
3695 | uporabljen trenutno izbrani predmet.</translation> |
||
3696 | </message> |
||
3697 | <message> |
||
3698 | <source>getFontNames() -> list |
||
3699 | |||
3700 | Returns a list with the names of all available fonts. |
||
3701 | </source> |
||
3702 | <translation type="obsolete">getFontNames() -> list |
||
3703 | |||
3704 | Vrne seznam z imeni vseh pisav, ki so na voljo.</translation> |
||
3705 | </message> |
||
3706 | <message> |
||
3707 | <source>getLayers() -> list |
||
3708 | |||
3709 | Returns a list with the names of all defined layers. |
||
3710 | </source> |
||
3711 | <translation type="obsolete">getLayers() -> list |
||
3712 | |||
3713 | Vrne seznam z imeni vseh obstoječih plasti.</translation> |
||
3714 | </message> |
||
3715 | <message> |
||
3716 | <source>setActiveLayer("name") |
||
3717 | |||
3718 | Sets the active layer to the layer named "name". |
||
3719 | |||
10842 | cbradney | 3720 | May raise NotFoundError if the layer can't be found. |
3721 | May raise ValueError if the layer name isn't acceptable. |
||
3722 | </source> |
||
12918 | cbradney |