Subversion Repositories Scribus

Rev

Rev 14748 | Rev 15099 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9729 cbradney 1
<?xml version="1.0" encoding="utf-8"?>
14462 jghali 2
<!DOCTYPE TS>
3
<TS version="2.0" language="fr_FR">
5328 cbradney 4
<context>
12918 cbradney 5
    <name></name>
5042 cbradney 6
    <message>
14474 cbradney 7
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/>
5328 cbradney 8
        <source>getColorNames() -&gt; list
5042 cbradney 9
 
10
Returns a list containing the names of all defined colors in the document.
11
If no document is open, returns a list of the default document colors.
12
</source>
14831 cbradney 13
        <translation>getColorNames() -&gt; liste
9300 jghali 14
 
14831 cbradney 15
Crée la liste des noms des couleurs définies dans le document.
16
S’il n&apos;y a aucun document ouvert, la liste est composée des couleurs présentes par défaut.
17
</translation>
5042 cbradney 18
    </message>
19
    <message>
14474 cbradney 20
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/>
5328 cbradney 21
        <source>getColor(&quot;name&quot;) -&gt; tuple
5042 cbradney 22
 
23
Returns a tuple (C, M, Y, K) containing the four color components of the
24
color &quot;name&quot; from the current document. If no document is open, returns
25
the value of the named color from the default document colors.
26
 
5328 cbradney 27
May raise NotFoundError if the named color wasn&apos;t found.
5042 cbradney 28
May raise ValueError if an invalid color name is specified.
29
</source>
14831 cbradney 30
        <translation>getColor(&quot;nom&quot;) -&gt; tuple
9300 jghali 31
 
32
Retourne un tuple (C,M,J,N) contenant les quatre composantes de couleurs de
33
la couleur &quot;nom&quot; du document courant. Si aucun document n&apos;est ouvert,
34
retourne la valeur de la couleur &quot;nom&quot; des couleurs par défaut.
35
 
36
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
14831 cbradney 37
Lève une erreur ValueError si le nom de couleur est invalide.
38
</translation>
5042 cbradney 39
    </message>
40
    <message>
14474 cbradney 41
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/>
5328 cbradney 42
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
5042 cbradney 43
 
44
Returns a tuple (R,G,B) containing the three color components of the
45
color &quot;name&quot; 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.
48
 
5328 cbradney 49
May raise NotFoundError if the named color wasn&apos;t found.
5042 cbradney 50
May raise ValueError if an invalid color name is specified.
51
</source>
14831 cbradney 52
        <translation>getColorAsRGB(&quot;nom&quot;) -&gt; tuple
9300 jghali 53
 
54
Retourne un tuple (R,V,B) contenant les trois composantes de couleurs de
55
la couleur &quot;nom&quot; du document courant, convertie dans l&apos;espace RVB. Si
56
aucun document n&apos;est ouvert,retourne la valeur de la couleur &quot;nom&quot; des
57
couleurs par défaut.
58
 
59
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
60
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
5042 cbradney 61
    </message>
62
    <message>
14474 cbradney 63
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/>
5328 cbradney 64
        <source>changeColor(&quot;name&quot;, c, m, y, k)
5042 cbradney 65
 
66
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
67
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
68
Color components should be in the range from 0 to 255.
69
 
5328 cbradney 70
May raise NotFoundError if the named color wasn&apos;t found.
5042 cbradney 71
May raise ValueError if an invalid color name is specified.
72
</source>
14831 cbradney 73
        <translatorcomment>Lever une erreur ? Peut afficher l’avis d’erreur Peut renvoyer l’erreur... </translatorcomment>
74
        <translation>changeColor(&quot;nom&quot;, c, m, j, k)
9300 jghali 75
 
76
Change les valeurs c,m,j et n de la couleur &quot;nom&quot;. La couleur est définie par
77
les quatres composantes c = Cyan, m = Magenta, j = Jaune, N = Noir.
78
Chaque composante a une valeur comprise entre 0 et 255.
79
 
14831 cbradney 80
Peut afficher le message d’erreur &apos;NotFoundError&apos; si la couleur est introuvable.
81
Peut afficher le message d’erreur &apos;ValueError&apos; si le nom de la couleur est invalide.</translation>
5042 cbradney 82
    </message>
83
    <message>
14474 cbradney 84
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="70"/>
12918 cbradney 85
        <source>defineColor(&quot;name&quot;, c, m, y, k)
86
 
87
Defines a new color &quot;name&quot;. The color Value is defined via four components:
88
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
89
the range from 0 to 255.
90
 
91
May raise ValueError if an invalid color name is specified.
92
</source>
93
        <translation type="unfinished"></translation>
94
    </message>
95
    <message>
14474 cbradney 96
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="83"/>
5328 cbradney 97
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
5042 cbradney 98
 
99
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
100
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
101
&quot;None&quot; - transparent.
102
 
103
deleteColor works on the default document colors if there is no document open.
104
In that case, &quot;replace&quot;, if specified, has no effect.
105
 
5328 cbradney 106
May raise NotFoundError if a named color wasn&apos;t found.
5042 cbradney 107
May raise ValueError if an invalid color name is specified.
108
</source>
14831 cbradney 109
        <translation>deleteColor(&quot;nom&quot;, &quot;subsitution&quot;)
9300 jghali 110
 
111
Supprime la couleur &quot;nom&quot;. Chaque occurrence de la couleur est remplacée
112
par la couleur &quot;substitution&quot;. Si cette dernière n&apos;est pas spécifiée, la couleur
113
de remplacement sera &quot;None&quot;, c&apos;est à dire transparent.
114
 
115
La fonction deleteColor travaille sur les couleurs par défaut si aucun document
116
n&apos;est ouvert. Dans ce cas, &quot;substitution&quot; n&apos;a aucun effet.
117
 
14831 cbradney 118
Peut afficher le message d’erreur NotFoundError si la couleur n&apos;est pas trouvée.
119
Peut afficher le message d’erreur ValueError si le nom de couleur est invalide.
120
</translation>
5042 cbradney 121
    </message>
122
    <message>
14474 cbradney 123
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="100"/>
5328 cbradney 124
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
5042 cbradney 125
 
126
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
127
 
5328 cbradney 128
May raise NotFoundError if a named color wasn&apos;t found.
5042 cbradney 129
May raise ValueError if an invalid color name is specified.
130
</source>
14831 cbradney 131
        <translation>replaceColor(&quot;nom&quot;, &quot;substitution&quot;)
9300 jghali 132
 
133
Remplace chaque occurrence de la couleur &quot;nom&quot; par la couleur &quot;substitution&quot;.
134
 
14831 cbradney 135
Affiche l&apos;erreur NotFoundError si la couleur n&apos;est pas trouvée.
136
Affiche l&apos;erreur ValueError si le nom de couleur est invalide.</translation>
5042 cbradney 137
    </message>
138
    <message>
14474 cbradney 139
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/>
12918 cbradney 140
        <source>newDocDialog() -&gt; bool
141
 
142
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
143
accepts the settings. Does not create a document if the user presses cancel.
144
Returns true if a new document was created.
145
</source>
14831 cbradney 146
        <translatorcomment>&quot;Retourne vrai&quot; ne me semble pas très français... On trouvera mieux !</translatorcomment>
147
        <translation>newDocDialog() -&gt; booléen
12918 cbradney 148
 
149
Affiche la boîte de dialogue &quot;Nouveau document&quot;. Crée un nouveau document si
150
l&apos;utilisateur valide les réglages. Ne crée pas de document si l&apos;utilisateur clique sur
14831 cbradney 151
&quot;Annuler&quot;. Retourne vrai lorsqu’un un nouveau document est créé.
152
</translation>
12918 cbradney 153
    </message>
154
    <message>
14474 cbradney 155
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/>
12918 cbradney 156
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
157
 
158
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
159
with the filter string &quot;filter&quot;. A default filename or file path can also
160
supplied, leave this string empty when you don&apos;t want to use it.  A value of
161
True for haspreview enables a small preview widget in the FileSelect box.  When
162
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
163
otherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is True
164
the dialog shows and returns only directories. The default for all of the
165
optional parameters is False.
166
 
167
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
168
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
169
 
170
Refer to the Qt-Documentation for QFileDialog for details on filters.
171
 
172
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
173
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
174
</source>
175
        <translation type="unfinished"></translation>
176
    </message>
177
    <message>
14474 cbradney 178
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/>
5328 cbradney 179
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
5042 cbradney 180
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
5328 cbradney 181
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
5042 cbradney 182
 
183
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
184
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
185
button, OK, is displayed. Only the caption and message arguments are required,
186
though setting an icon and appropriate button(s) is strongly
187
recommended. The message text may contain simple HTML-like markup.
188
 
189
Returns the number of the button the user pressed. Button numbers start
190
at 1.
191
 
192
For the icon and the button parameters there are predefined constants available
193
with the same names as in the Qt Documentation. These are the BUTTON_* and
194
ICON_* constants defined in the module. There are also two extra constants that
195
can be binary-ORed with button constants:
196
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
197
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
198
 
199
Usage examples:
5328 cbradney 200
result = messageBox(&apos;Script failed&apos;,
201
                    &apos;This script only works when you have a text frame selected.&apos;,
5042 cbradney 202
                    ICON_ERROR)
5328 cbradney 203
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
5042 cbradney 204
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
205
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
206
 
207
Defined button and icon constants:
208
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
209
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
210
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
211
</source>
5328 cbradney 212
        <translation type="unfinished"></translation>
5042 cbradney 213
    </message>
214
    <message>
14474 cbradney 215
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/>
5328 cbradney 216
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
5042 cbradney 217
 
5328 cbradney 218
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
219
Parameters: window title, text in the window and optional &apos;default&apos; value.
5042 cbradney 220
 
5328 cbradney 221
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
5042 cbradney 222
</source>
5328 cbradney 223
        <translation type="unfinished"></translation>
5042 cbradney 224
    </message>
225
    <message>
14474 cbradney 226
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/>
5328 cbradney 227
        <source>newStyleDialog() -&gt; string
5042 cbradney 228
 
5328 cbradney 229
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
5042 cbradney 230
style name or None when user cancels the dialog.
231
</source>
14831 cbradney 232
        <translation>newStyleDialog() -&gt; chaîne
9300 jghali 233
 
234
Affiche le dialogue de création d&apos;un nouveau style de paragraphe.
235
Retourne le nom du nouveau style ou None si l&apos;utilisateur annule.
236
</translation>
5042 cbradney 237
    </message>
238
    <message>
14474 cbradney 239
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/>
12918 cbradney 240
        <source>newDocument(size, margins, orientation, firstPageNumber,
241
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
242
 
243
Creates a new document and returns true if successful. The parameters have the
244
following meaning:
245
 
246
size = A tuple (width, height) describing the size of the document. You can
247
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
248
 
249
margins = A tuple (left, right, top, bottom) describing the document
250
margins
251
 
252
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
253
 
254
firstPageNumer = is the number of the first page in the document used for
255
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
256
numbers if you&apos;re creating a document in several parts.
257
 
258
unit: this value sets the measurement units used by the document. Use a
259
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
260
UNIT_PICAS, UNIT_POINTS.
261
 
262
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
263
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
264
PAGE_4 is 4-fold.
265
 
266
firstPageOrder = What is position of first page in the document.
267
Indexed from 0 (0 = first).
268
 
269
numPage = Number of pages to be created.
270
 
271
The values for width, height and the margins are expressed in the given unit
272
for the document. PAPER_* constants are expressed in points. If your document
273
is not in points, make sure to account for this.
274
 
275
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
276
PAGE_4, 3, 1)
277
 
278
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
279
</source>
14831 cbradney 280
        <translation>newDocument(taille, marges, orientation, numeroPremièrePage,
12918 cbradney 281
                       unité, typePages, positionPremièrePage) -&gt; booléen
282
 
283
Crée un nouveau document et retourne vrai en cas de succès. Les divers paramètres
284
ont la signification suivante :
285
 
286
taille : un tuple (hauteur, largeur) décrivant la taille du document. Il est possible
287
d&apos;utiliser des constantes prédéfinies nommées PAPER_&lt;paper_type&gt; (PAPER_A4...)
288
 
289
marges : un tuple (gauche, droite, haut, bas) décrivant les marges du
290
nouveau document
291
 
292
orientation : l&apos;orientation de la page - constantes PORTRAIT, LANDSCAPE
293
 
294
numeroPremièrePage : numéro de la première page du document, utilisé
295
pour la numérotation des pages. La plupart du temps, ce sera 1, mais
296
d&apos;autres valeurs peuvent se révéler utiles pour des documents découpés
297
en plusieurs parties.
298
 
299
unité : définit l&apos;unité de mesure utilisée dans ce document. Utiliser l&apos;une des
300
constantes prédéfinies pour cela : UNIT_INCHES, UNIT_MILLIMETERS,
301
UNIT_PICAS, UNIT_POINTS.
302
typePages : une des constantes prédéfinies PAGE_n. PAGE_1 pour des pages
303
simples, PAGE_2 pour des pages en regard, PAGE_3 pour 3 volets et
304
PAGE_4 pour 4 volets.
305
 
306
positionPremièrePage : position de la première page dans le document.
307
Démarre à 0 (0 = première page).
308
 
309
nombrePages : nombre de pages à créer.
310
 
311
Les valeurs de hauteur, largeur et de marges sont exprimées dans l&apos;unité
312
fournie pour le document. PAPER_* sont des constantes exprimées en points;
313
donc si l&apos;unité de votre document n&apos;est pas le point, il faut en tenir compte.
314
 
315
exemple: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,(new line)
316
PAGE_4, 3, 1)
317
 
14831 cbradney 318
Affiche une erreur ScribusError si positionPremièrePage est plus grand que ce qui
12918 cbradney 319
est admissible par typePages.
320
</translation>
321
    </message>
322
    <message>
14474 cbradney 323
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/>
5328 cbradney 324
        <source>newDoc(size, margins, orientation, firstPageNumber,
325
                   unit, facingPages, firstSideLeft) -&gt; bool
5042 cbradney 326
 
327
WARNING: Obsolete procedure! Use newDocument instead.
328
 
329
Creates a new document and returns true if successful. The parameters have the
330
following meaning:
331
 
332
    size = A tuple (width, height) describing the size of the document. You can
5328 cbradney 333
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
5042 cbradney 334
 
335
    margins = A tuple (left, right, top, bottom) describing the document
336
    margins
337
 
338
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
339
 
340
    firstPageNumer = is the number of the first page in the document used for
5328 cbradney 341
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
342
    numbers if you&apos;re creating a document in several parts.
5042 cbradney 343
 
344
    unit: this value sets the measurement units used by the document. Use a
345
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
346
    UNIT_PICAS, UNIT_POINTS.
347
 
348
    facingPages = FACINGPAGES, NOFACINGPAGES
349
 
350
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
351
 
352
The values for width, height and the margins are expressed in the given unit
353
for the document. PAPER_* constants are expressed in points. If your document
354
is not in points, make sure to account for this.
355
 
356
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
357
                FACINGPAGES, FIRSTPAGERIGHT)
358
</source>
14831 cbradney 359
        <translatorcomment>Traduction incomplète</translatorcomment>
12918 cbradney 360
        <translation type="unfinished">newDoc(taille, marges, orientation, numeroPremierePage,
9300 jghali 361
                   unité, pagesRegard, firstSideLeft) -&gt; booléen
362
 
363
ATTENTION : FONCTION OBSOLETE, utiliser newDocument à la place !
364
 
365
Creates a new document and returns true if successful. The parameters have the
366
following meaning:
367
 
368
    size = A tuple (width, height) describing the size of the document. You can
369
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
370
 
371
    margins = A tuple (left, right, top, bottom) describing the document
372
    margins
373
 
374
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
375
 
376
    firstPageNumer = is the number of the first page in the document used for
377
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
378
    numbers if you&apos;re creating a document in several parts.
379
 
380
    unit: this value sets the measurement units used by the document. Use a
381
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
382
    UNIT_PICAS, UNIT_POINTS.
383
 
384
    facingPages = FACINGPAGES, NOFACINGPAGES
385
 
386
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
387
 
388
The values for width, height and the margins are expressed in the given unit
389
for the document. PAPER_* constants are expressed in points. If your document
390
is not in points, make sure to account for this.
391
 
392
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
393
                FACINGPAGES, FIRSTPAGERIGHT)
394
</translation>
5042 cbradney 395
    </message>
396
    <message>
14474 cbradney 397
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/>
5328 cbradney 398
        <source>closeDoc()
5042 cbradney 399
 
400
Closes the current document without prompting to save.
401
 
402
May throw NoDocOpenError if there is no document to close
403
</source>
14831 cbradney 404
        <translation>closeDoc()
9300 jghali 405
 
14831 cbradney 406
Ferme le document en cours d’édition sans proposer de le sauvegarder.
9300 jghali 407
 
14831 cbradney 408
Affiche l&apos;erreur &apos;NoDocOpenError&apos; s&apos;il n&apos;y a pas de document à fermer
9300 jghali 409
</translation>
5042 cbradney 410
    </message>
411
    <message>
14474 cbradney 412
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/>
5328 cbradney 413
        <source>haveDoc() -&gt; bool
5042 cbradney 414
 
415
Returns true if there is a document open.
416
</source>
14831 cbradney 417
        <translation>haveDoc() -&gt; booléen
9300 jghali 418
 
14831 cbradney 419
Retourne &apos;vrai&apos; si un document est ouvert.</translation>
5042 cbradney 420
    </message>
421
    <message>
14474 cbradney 422
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/>
5328 cbradney 423
        <source>openDoc(&quot;name&quot;)
5042 cbradney 424
 
425
Opens the document &quot;name&quot;.
426
 
427
May raise ScribusError if the document could not be opened.
428
</source>
14831 cbradney 429
        <translation>openDoc(&quot;nom&quot;)
9300 jghali 430
 
431
Ouvre le document &quot;nom&quot;.
432
 
14831 cbradney 433
Affiche l&apos;erreur ScribusError si le document ne peut pas être ouvert.
9300 jghali 434
</translation>
5042 cbradney 435
    </message>
436
    <message>
14474 cbradney 437
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/>
5328 cbradney 438
        <source>saveDoc()
5042 cbradney 439
 
440
Saves the current document with its current name, returns true if successful.
441
If the document has not already been saved, this may bring up an interactive
442
save file dialog.
443
 
444
If the save fails, there is currently no way to tell.
445
</source>
14831 cbradney 446
        <translation>saveDoc()
9300 jghali 447
 
448
Enregistre le document courant avec son nom actuel et retourne vrai en cas de succès.
449
Si le document n&apos;a pas encore été sauvegardé, le dialogue d&apos;enregistrement de fichiers
450
sera ouvert.
451
 
452
Il n&apos;y a actuellement pas de moyen de savoir si l&apos;enregistrement échoue.</translation>
5042 cbradney 453
    </message>
454
    <message>
14474 cbradney 455
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/>
456
        <source>getDocName() -&gt; string
457
 
458
Returns the name the document was saved under.
459
If the document was not saved before the name is empty.
460
</source>
461
        <translation type="unfinished"></translation>
462
    </message>
463
    <message>
464
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/>
5328 cbradney 465
        <source>saveDocAs(&quot;name&quot;)
5042 cbradney 466
 
467
Saves the current document under the new name &quot;name&quot; (which may be a full or
468
relative path).
469
 
470
May raise ScribusError if the save fails.
471
</source>
14831 cbradney 472
        <translation>saveDocAs(&quot;nom&quot;)
9300 jghali 473
 
474
Enregistre le document courant sous le nom &quot;nom&quot; (qui peut contenir un chemin
475
complet ou relatif).
476
 
14831 cbradney 477
Affiche l&apos;erreur ScribusError si l&apos;enregistrement échoue.</translation>
5042 cbradney 478
    </message>
479
    <message>
14474 cbradney 480
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/>
12918 cbradney 481
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
482
 
483
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
484
strings.
485
</source>
14831 cbradney 486
        <translation>setInfo(&quot;auteur&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; booléen
12918 cbradney 487
 
488
Définit les informations du document. &quot;auteur&quot;, &quot;info&quot; et &quot;description&quot; sont
14831 cbradney 489
des chaînes de caractères.
490
</translation>
12918 cbradney 491
    </message>
492
    <message>
14474 cbradney 493
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/>
5328 cbradney 494
        <source>setMargins(lr, rr, tr, br)
5042 cbradney 495
 
14831 cbradney 496
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
5328 cbradney 497
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
5042 cbradney 498
constants.
499
</source>
14831 cbradney 500
        <translation type="unfinished"></translation>
14474 cbradney 501
    </message>
502
    <message>
503
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/>
5328 cbradney 504
        <source>setUnit(type)
5042 cbradney 505
 
506
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
5328 cbradney 507
defined as constants UNIT_&lt;type&gt;.
5042 cbradney 508
 
509
May raise ValueError if an invalid unit is passed.
510
</source>
14831 cbradney 511
        <translation>setUnit(type)
9300 jghali 512
 
513
Change l&apos;unité de mesure du document. Les valeurs possibles pour l&apos;unité sont
514
définies par les constantes UNIT_&lt;type&gt;.
515
 
14831 cbradney 516
Affiche une erreur ValueError si une unité invalide est fournie.
9300 jghali 517
</translation>
5042 cbradney 518
    </message>
519
    <message>
14831 cbradney 520
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="201"/>
5328 cbradney 521
        <source>getUnit() -&gt; integer (Scribus unit constant)
5042 cbradney 522
 
523
Returns the measurement units of the document. The returned value will be one
524
of the UNIT_* constants:
525
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
526
</source>
14831 cbradney 527
        <translation>getUnit() -&gt; entier (constante Scribus)
9300 jghali 528
 
529
Retourne l&apos;unité de mesure du document. La valeur retournée sera l&apos;une des
530
constantes UNIT_* :
14831 cbradney 531
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
532
</translation>
5042 cbradney 533
    </message>
534
    <message>
14831 cbradney 535
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/>
5328 cbradney 536
        <source>loadStylesFromFile(&quot;filename&quot;)
5042 cbradney 537
 
538
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
539
current document.
540
</source>
14831 cbradney 541
        <translation>loadStylesFromFile(&quot;fichier&quot;)
9300 jghali 542
 
543
Charge les styles de paragraphe depuis le document Scribus nommé &quot;fichier&quot;.
544
</translation>
5042 cbradney 545
    </message>
546
    <message>
14831 cbradney 547
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="222"/>
5328 cbradney 548
        <source>setDocType(facingPages, firstPageLeft)
5042 cbradney 549
 
550
Sets the document type. To get facing pages set the first parameter to
551
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
552
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
553
a right page use FIRSTPAGERIGHT.
554
</source>
5328 cbradney 555
        <translation type="unfinished"></translation>
5042 cbradney 556
    </message>
557
    <message>
14831 cbradney 558
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="232"/>
5328 cbradney 559
        <source>closeMasterPage()
5042 cbradney 560
 
561
Closes the currently active master page, if any, and returns editing
562
to normal. Begin editing with editMasterPage().
563
</source>
14831 cbradney 564
        <translation>closeMasterPage()
9300 jghali 565
 
14831 cbradney 566
Ferme le gabarit actuellement actif, s’il y en a un, et retourne au mode d’édition
567
normal. L’édition d’un gabarit débute par editMasterPage().</translation>
5042 cbradney 568
    </message>
569
    <message>
14831 cbradney 570
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="240"/>
5328 cbradney 571
        <source>masterPageNames()
5042 cbradney 572
 
573
Returns a list of the names of all master pages in the document.
574
</source>
14831 cbradney 575
        <translation>masterPageNames()
9300 jghali 576
 
14831 cbradney 577
Liste les noms des gabarits existant dans le document.
578
</translation>
5042 cbradney 579
    </message>
580
    <message>
14831 cbradney 581
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="247"/>
5328 cbradney 582
        <source>editMasterPage(pageName)
5042 cbradney 583
 
584
Enables master page editing and opens the named master page
585
for editing. Finish editing with closeMasterPage().
586
</source>
14831 cbradney 587
        <translatorcomment>Il me semble suffisant de dire que la fonction active l’édition sans ajouter « and opens the named master page » qui me semble redondant.</translatorcomment>
588
        <translation>editMasterPage(nomGabarit)
9300 jghali 589
 
14831 cbradney 590
Active l&apos;édition du gabarit. L&apos;édition du gabarit se
591
termine par closeMasterPage().
592
</translation>
5042 cbradney 593
    </message>
594
    <message>
14831 cbradney 595
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="255"/>
5328 cbradney 596
        <source>createMasterPage(pageName)
5042 cbradney 597
 
598
Creates a new master page named pageName and opens it for
599
editing.
600
</source>
14831 cbradney 601
        <translation>createMasterPage(nomGabarit)
9300 jghali 602
 
14831 cbradney 603
Crée un nouveau gabarit nommé nomGabarit et l&apos;ouvre pour édition.
604
</translation>
5042 cbradney 605
    </message>
606
    <message>
14831 cbradney 607
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="263"/>
5328 cbradney 608
        <source>deleteMasterPage(pageName)
5042 cbradney 609
 
610
Delete the named master page.
611
</source>
14831 cbradney 612
        <translation>deleteMasterPage(nomGabarit)
9300 jghali 613
 
614
Supprime le gabarit nommé nomGabarit.</translation>
5042 cbradney 615
    </message>
616
    <message>
14474 cbradney 617
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/>
12918 cbradney 618
        <source>getFillColor([&quot;name&quot;]) -&gt; string
619
 
620
Returns the name of the fill color of the object &quot;name&quot;.
621
If &quot;name&quot; is not given the currently selected item is used.
622
</source>
14831 cbradney 623
        <translation>getFillColor([&quot;nom&quot;]) -&gt; chaîne
12918 cbradney 624
 
625
Retourne le nom de la couleur de remplissage de l&apos;objet &quot;nom&quot;.
626
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
627
    </message>
628
    <message>
14474 cbradney 629
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="27"/>
12918 cbradney 630
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
631
 
632
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
633
is not given the currently selected Item is used.
634
</source>
635
        <translation type="unfinished"></translation>
636
    </message>
637
    <message>
14474 cbradney 638
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="37"/>
12918 cbradney 639
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
640
 
641
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
642
is not given the currently selected Item is used.
643
</source>
644
        <translation type="unfinished"></translation>
645
    </message>
646
    <message>
14474 cbradney 647
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="47"/>
5328 cbradney 648
        <source>getLineColor([&quot;name&quot;]) -&gt; string
5042 cbradney 649
 
650
Returns the name of the line color of the object &quot;name&quot;.
651
If &quot;name&quot; is not given the currently selected item is used.
652
</source>
14831 cbradney 653
        <translation>getLineColor([&quot;nom&quot;&quot;]) -&gt; chaîne
9300 jghali 654
 
655
Retourne le nom de la couleur de filet de l&apos;objet &quot;nom&quot;.
14831 cbradney 656
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
657
</translation>
5042 cbradney 658
    </message>
659
    <message>
14474 cbradney 660
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="57"/>
12918 cbradney 661
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
662
 
663
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
664
is not given the currently selected Item is used.
665
</source>
666
        <translation type="unfinished"></translation>
667
    </message>
668
    <message>
14474 cbradney 669
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="67"/>
12918 cbradney 670
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
671
 
672
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
673
is not given the currently selected Item is used.
674
</source>
675
        <translation type="unfinished"></translation>
676
    </message>
677
    <message>
14474 cbradney 678
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="77"/>
5328 cbradney 679
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
5042 cbradney 680
 
681
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
682
is not given the currently selected Item is used.
683
</source>
14831 cbradney 684
        <translation>getLineWidth([&quot;nom&quot;]) -&gt; entier
9300 jghali 685
 
686
Retourne l&apos;épaisseur de filet de l&apos;objet &quot;nom&quot;.
687
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
5042 cbradney 688
    </message>
689
    <message>
14474 cbradney 690
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="87"/>
5328 cbradney 691
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
5042 cbradney 692
 
693
Returns the shading value of the line color of the object &quot;name&quot;.
694
If &quot;name&quot; is not given the currently selected item is used.
695
</source>
5328 cbradney 696
        <translation type="unfinished"></translation>
5042 cbradney 697
    </message>
698
    <message>
14474 cbradney 699
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="97"/>
12918 cbradney 700
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
5042 cbradney 701
 
702
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
703
the currently selected item is used.  The join types are:
704
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
705
</source>
12918 cbradney 706
        <translation type="unfinished"></translation>
5042 cbradney 707
    </message>
708
    <message>
14474 cbradney 709
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="108"/>
5328 cbradney 710
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
5042 cbradney 711
 
712
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
713
currently selected item is used. The cap types are:
714
CAP_FLAT, CAP_ROUND, CAP_SQUARE
715
</source>
14831 cbradney 716
        <translation>getLineEnd([&quot;nom&quot;]) -&gt; entier (voir constantes)
9300 jghali 717
 
718
Retourne le type de terminaison des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
719
l&apos;objet actuellement sélectionné est utilisé.  Les types de terminaisons sont :
14831 cbradney 720
CAP_FLAT, CAP_ROUND, CAP_SQUARE
721
</translation>
5042 cbradney 722
    </message>
723
    <message>
14474 cbradney 724
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="119"/>
5328 cbradney 725
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
5042 cbradney 726
 
727
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
728
currently selected item is used. Line style constants are:
729
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
730
</source>
14831 cbradney 731
        <translation>getLineStyle([&quot;nom&quot;]) -&gt; entier (voir constantes)
9300 jghali 732
 
733
Retourne le type de filet des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
734
l&apos;objet actuellement sélectionné est utilisé.  Les types de filets sont :
735
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
736
</translation>
5042 cbradney 737
    </message>
738
    <message>
14474 cbradney 739
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="130"/>
5328 cbradney 740
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
5042 cbradney 741
 
742
Returns the shading value of the fill color of the object &quot;name&quot;.
743
If &quot;name&quot; is not given the currently selected item is used.
744
</source>
5328 cbradney 745
        <translation type="unfinished"></translation>
5042 cbradney 746
    </message>
747
    <message>
14474 cbradney 748
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="140"/>
12918 cbradney 749
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
750
 
751
Returns the corner radius of the object &quot;name&quot;. The radius is
752
expressed in points. If &quot;name&quot; is not given the currently
753
selected item is used.
754
</source>
755
        <translation type="unfinished"></translation>
756
    </message>
757
    <message>
14474 cbradney 758
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="151"/>
5328 cbradney 759
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
5042 cbradney 760
 
761
Returns a (x, y) tuple containing the scaling values of the image frame
762
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
763
</source>
14831 cbradney 764
        <translation>getImageScale([&quot;nom&quot;]) -&gt; (x,y)
9300 jghali 765
 
766
Retourne un tuple (x,y) contenant les valeurs d&apos;échelle du cadre d&apos;image &quot;nom&quot;.
767
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
5042 cbradney 768
    </message>
769
    <message>
14474 cbradney 770
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="161"/>
5328 cbradney 771
        <source>getImageName([&quot;name&quot;]) -&gt; string
5042 cbradney 772
 
773
Returns the filename for the image in the image frame. If &quot;name&quot; is not
774
given the currently selected item is used.
775
</source>
14831 cbradney 776
        <translation>getImageName([&quot;nom&quot;]) -&gt; chaîne
9300 jghali 777
 
778
Retourne le nom de fichier de l&apos;image présente dans le cadre d&apos;image &quot;nom&quot;.
779
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
780
</translation>
5042 cbradney 781
    </message>
782
    <message>
14474 cbradney 783
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="171"/>
12918 cbradney 784
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
785
 
786
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
787
If &quot;name&quot; is not given the currently selected item is used.
788
The position is expressed in the actual measurement unit of the document
789
- see UNIT_&lt;type&gt; for reference.
790
</source>
791
        <translation type="unfinished"></translation>
792
    </message>
793
    <message>
14474 cbradney 794
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="183"/>
5328 cbradney 795
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
5042 cbradney 796
 
797
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
798
If &quot;name&quot; is not given the currently selected item is used. The size is
5328 cbradney 799
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
5042 cbradney 800
for reference.
801
</source>
14831 cbradney 802
        <translation>getSize([&quot;nom&quot;]) -&gt; (hauteur,largeur)
9300 jghali 803
 
804
Retourne un tuple (hauteur,largeur) contenant la taille de l&apos;objet &quot;nom&quot;.
805
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé. La taille est
806
exprimée dans l&apos;unité de mesure actuelle du document
14831 cbradney 807
- voir UNIT_&lt;type&gt; à titre de référence.
808
</translation>
5042 cbradney 809
    </message>
810
    <message>
14474 cbradney 811
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="195"/>
5328 cbradney 812
        <source>getRotation([&quot;name&quot;]) -&gt; integer
5042 cbradney 813
 
814
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
815
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
816
is used.
817
</source>
14831 cbradney 818
        <translation>getRotation([&quot;nom&quot;]) -&gt; entier
9300 jghali 819
 
820
Retourne l&apos;angle de rotation de l&apos;objet &quot;nom&quot;. La valeur est exprimée en degrés et est
821
positive pour une rotation dans le sens des aiguilles d&apos;une montre. Si &quot;nom&quot; est omis,
822
l&apos;objet actuellement sélectionné est utilisé.</translation>
5042 cbradney 823
    </message>
824
    <message>
14474 cbradney 825
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="206"/>
5328 cbradney 826
        <source>getAllObjects() -&gt; list
5042 cbradney 827
 
828
Returns a list containing the names of all objects on the current page.
829
</source>
14831 cbradney 830
        <translation>getAllObjects() -&gt; liste
9300 jghali 831
 
14831 cbradney 832
Retourne une liste contenant les noms de tous les objets de la page courante.</translation>
5042 cbradney 833
    </message>
834
    <message>
14474 cbradney 835
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/>
5328 cbradney 836
        <source>getPropertyCType(object, property, includesuper=True)
5042 cbradney 837
 
5328 cbradney 838
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
5042 cbradney 839
for details of arguments.
840
 
5328 cbradney 841
If `includesuper&apos; is true, search inherited properties too.
5042 cbradney 842
</source>
5328 cbradney 843
        <translation type="unfinished"></translation>
5042 cbradney 844
    </message>
845
    <message>
14474 cbradney 846
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/>
5328 cbradney 847
        <source>getPropertyNames(object, includesuper=True)
5042 cbradney 848
 
5328 cbradney 849
Return a list of property names supported by `object&apos;.
850
If `includesuper&apos; is true, return properties supported
5042 cbradney 851
by parent classes as well.
852
</source>
5328 cbradney 853
        <translation type="unfinished"></translation>
5042 cbradney 854
    </message>
855
    <message>
14474 cbradney 856
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/>
5328 cbradney 857
        <source>getProperty(object, property)
5042 cbradney 858
 
5328 cbradney 859
Return the value of the property `property&apos; of the passed `object&apos;.
5042 cbradney 860
 
5328 cbradney 861
The `object&apos; argument may be a string, in which case the named PageItem
5042 cbradney 862
is searched for. It may also be a PyCObject, which may point to any
863
C++ QObject instance.
864
 
5328 cbradney 865
The `property&apos; argument must be a string, and is the name of the property
866
to look up on `object&apos;.
5042 cbradney 867
 
868
The return value varies depending on the type of the property.
869
</source>
5328 cbradney 870
        <translation type="unfinished"></translation>
5042 cbradney 871
    </message>
872
    <message>
14474 cbradney 873
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/>
5328 cbradney 874
        <source>setProperty(object, property, value)
5042 cbradney 875
 
5328 cbradney 876
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
877
compatible with the type of `property&apos;, an exception is raised. An exception may
5042 cbradney 878
also be raised if the underlying setter fails.
879
 
880
See getProperty() for more information.
881
</source>
5328 cbradney 882
        <translation type="unfinished"></translation>
5042 cbradney 883
    </message>
884
    <message>
14474 cbradney 885
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/>
12918 cbradney 886
        <source>moveObject(dx, dy [, &quot;name&quot;])
887
 
888
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
889
distances are expressed in the current measurement unit of the document (see
890
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
891
If the object &quot;name&quot; belongs to a group, the whole group is moved.
892
</source>
14831 cbradney 893
        <translation>moveObject(dx, dy [, &quot;nom&quot;])
12918 cbradney 894
 
895
Déplace l&apos;objet &quot;nom&quot; de dx et dy relativement à sa position courante. Les
896
distances sont exprimées dans l&apos;unité courante de mesure du document (voir
897
constantes d&apos;UNITÉS). Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
14831 cbradney 898
Si l&apos;objet &quot;nom&quot; appartient à un groupe, le groupe entier est déplacé.
899
</translation>
12918 cbradney 900
    </message>
901
    <message>
14474 cbradney 902
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/>
5328 cbradney 903
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
5042 cbradney 904
 
905
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
906
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
907
is not given the currently selected item is used.  If the object &quot;name&quot;
908
belongs to a group, the whole group is moved.
909
</source>
14831 cbradney 910
        <translation>moveObjectAbs(x, y [, &quot;nom&quot;])
9300 jghali 911
 
912
Déplace l&apos;objet &quot;nom&quot; vers la nouvelle position. Les coordonnées sont à fournir dans l&apos;unité
913
de mesure actuelle du document (voir constantes UNIT).  Si &quot;nom&quot; est omis, l&apos;objet
914
actuellement sélectionné est utilisé.  Si l&apos;objet &quot;nom&quot; appartient à un groupe, le groupe
915
entier est déplacé. </translation>
5042 cbradney 916
    </message>
917
    <message>
14474 cbradney 918
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/>
12918 cbradney 919
        <source>rotateObject(rot [, &quot;name&quot;])
920
 
921
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
922
rotated by the vertex that is currently selected as the rotation point - by
923
default, the top left vertex at zero rotation. Positive values mean counter
924
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
925
given the currently selected item is used.
926
</source>
927
        <translation type="unfinished"></translation>
928
    </message>
929
    <message>
14474 cbradney 930
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/>
12918 cbradney 931
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
932
 
933
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
934
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
935
selected item is used.
936
</source>
937
        <translation type="unfinished"></translation>
938
    </message>
939
    <message>
14474 cbradney 940
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/>
5328 cbradney 941
        <source>sizeObject(width, height [, &quot;name&quot;])
5042 cbradney 942
 
943
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
944
is not given the currently selected item is used.
945
</source>
14831 cbradney 946
        <translation>sizeObject(hauteur, largeur [, &quot;nom&quot;])
9300 jghali 947
 
948
Redimensionne l&apos;objet &quot;nom&quot; en lui attribuant &quot;hauteur&quot; et &quot;largeur&quot;.
949
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
5042 cbradney 950
    </message>
951
    <message>
14474 cbradney 952
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/>
5328 cbradney 953
        <source>getSelectedObject([nr]) -&gt; string
5042 cbradney 954
 
955
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
956
of the selected object, e.g. 0 means the first selected object, 1 means the
957
second selected Object and so on.
958
</source>
14831 cbradney 959
        <translation>getSelectedObject([nr]) -&gt; chaîne
9300 jghali 960
 
961
Retourne le nom de l&apos;objet sélectionné. Si &quot;nr&quot; est fourni, il indique l&apos;objet
962
sélectionné : 0 indique le premier objet sélectionné, 1 le second objet
963
sélectionné et ainsi de suite.</translation>
5042 cbradney 964
    </message>
965
    <message>
14474 cbradney 966
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/>
5328 cbradney 967
        <source>selectionCount() -&gt; integer
5042 cbradney 968
 
969
Returns the number of selected objects.
970
</source>
14831 cbradney 971
        <translation>selectionCount() -&gt; entier
9300 jghali 972
 
973
Retourne le nombre d&apos;objets sélectionnés.</translation>
5042 cbradney 974
    </message>
975
    <message>
14474 cbradney 976
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/>
5328 cbradney 977
        <source>selectObject(&quot;name&quot;)
5042 cbradney 978
 
979
Selects the object with the given &quot;name&quot;.
980
</source>
14831 cbradney 981
        <translation>selectObject(&quot;nom&quot;)
9300 jghali 982
 
983
Sélectionne l&apos;objet nommé &quot;nom&quot;.</translation>
5042 cbradney 984
    </message>
985
    <message>
14474 cbradney 986
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/>
5328 cbradney 987
        <source>deselectAll()
5042 cbradney 988
 
989
Deselects all objects in the whole document.
990
</source>
14831 cbradney 991
        <translation>deselectAll()
9300 jghali 992
 
14831 cbradney 993
Désélectionne tous les objets dans le document.</translation>
5042 cbradney 994
    </message>
995
    <message>
14474 cbradney 996
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/>
5328 cbradney 997
        <source>groupObjects(list)
5042 cbradney 998
 
999
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
1000
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1001
items are used.
1002
</source>
14831 cbradney 1003
        <translation>groupObjects(liste)
9300 jghali 1004
 
1005
Groupe les objets dont le nom est fourni dans &quot;liste&quot;. &quot;liste&quot; doit contenir le
1006
nom des objets à grouper. Si &quot;liste&quot; est omis, les objets actuellement
1007
sélectionnés sont utilisés.</translation>
5042 cbradney 1008
    </message>
1009
    <message>
14474 cbradney 1010
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/>
5328 cbradney 1011
        <source>unGroupObjects(&quot;name&quot;)
5042 cbradney 1012
 
1013
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
14831 cbradney 1014
        <translation>unGroupObjects(&quot;nom&quot;)
9300 jghali 1015
 
1016
Détruit le groupe auquel l&apos;objet &quot;nom&quot; appartient. Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
5042 cbradney 1017
    </message>
1018
    <message>
14474 cbradney 1019
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/>
5328 cbradney 1020
        <source>scaleGroup(factor [,&quot;name&quot;])
5042 cbradney 1021
 
1022
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
1023
the group, values smaller than 1 make the group smaller e.g a value of 0.5
1024
scales the group to 50 % of its original size, a value of 1.5 scales the group
1025
to 150 % of its original size.  The value for &quot;factor&quot; must be greater than
1026
0. If &quot;name&quot; is not given the currently selected item is used.
1027
 
1028
May raise ValueError if an invalid scale factor is passed.
1029
</source>
14831 cbradney 1030
        <translation>scaleGroup(facteur [,&quot;nom&quot;])
9300 jghali 1031
 
1032
Modifie l&apos;échelle du groupe auquel l&apos;objet &quot;nom&quot; appartient. Les facteurs supérieurs
1033
à 1 agrandissent le groupe, et les valeurs inférieures à 1 le réduisent; une valeur de
1034
0.5 redimensionne le groupe à 50% de sa taille d&apos;origine, et une valeur de 1.5 le
1035
redimensionne à 150% de sa taille d&apos;origine.  &quot;facteur&quot; doit être supérieur à 0.
1036
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
1037
 
14831 cbradney 1038
Affiche l&apos;erreur ValueError si un facteur invalide est fourni.</translation>
5042 cbradney 1039
    </message>
1040
    <message>
14474 cbradney 1041
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/>
5328 cbradney 1042
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
5042 cbradney 1043
 
1044
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
1045
not given the currently selected item is used.
1046
 
1047
May raise WrongFrameTypeError if the target frame is not an image frame
1048
</source>
14831 cbradney 1049
        <translation>loadImage(&quot;fichier&quot; [, &quot;nom&quot;])
9300 jghali 1050
 
1051
Charge l&apos;image &quot;fichier&quot; dans le cadre d&apos;image &quot;nom&quot;.  Si &quot;nom&quot; est omis,
1052
l&apos;objet actuellement sélectionné est utilisé.
1053
 
14831 cbradney 1054
Affiche l&apos;erreur WrongFrameTypeError si l&apos;objet n&apos;est pas un cadre d&apos;image
9300 jghali 1055
</translation>
5042 cbradney 1056
    </message>
1057
    <message>
5328 cbradney 1058
        <source>scaleImage(x, y [, &quot;name&quot;])
5042 cbradney 1059
 
1060
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
1061
If &quot;name&quot; is not given the currently selected item is used. A number of 1
1062
means 100 %.
1063
 
1064
May raise WrongFrameTypeError if the target frame is not an image frame
1065
</source>
13279 cbradney 1066
        <translation type="obsolete">scaleImage(x, y [, &quot;nom&quot;])
9300 jghali 1067
 
1068
Définit la mise à l&apos;échelle de l&apos;image présente dans le cadre &quot;nom&quot;.
1069
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé. Une valeur de 1
1070
signifie 100%
1071
 
1072
Lève l&apos;erreur WrongFrameTypeError si l&apos;objet n&apos;est pas un cadre d&apos;image
1073
</translation>
5042 cbradney 1074
    </message>
1075
    <message>
14474 cbradney 1076
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/>
5328 cbradney 1077
        <source>lockObject([&quot;name&quot;]) -&gt; bool
5042 cbradney 1078
 
5328 cbradney 1079
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
5042 cbradney 1080
If &quot;name&quot; is not given the currently selected item is used. Returns true
1081
if locked.
1082
</source>
14831 cbradney 1083
        <translation>lockObject([&quot;nom]) -&gt; booléen
9300 jghali 1084
 
1085
Verrouille l&apos;objet &quot;nom&quot; s&apos;il est déverouillé, ou le déverouille s&apos;il est verrouillé.
1086
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
1087
Retourne vrai si l&apos;objet est verrouillé.
1088
</translation>
5042 cbradney 1089
    </message>
1090
    <message>
14474 cbradney 1091
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/>
5328 cbradney 1092
        <source>isLocked([&quot;name&quot;]) -&gt; bool
5042 cbradney 1093
 
1094
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1095
currently selected item is used.
1096
</source>
14831 cbradney 1097
        <translation>isLocked([&quot;nom&quot;]) -&gt; booléen
9300 jghali 1098
 
1099
Retourne vrai si l&apos;objet &quot;nom&quot; est verrouillé. Si &quot;nom&quot; est omis, l&apos;objet
1100
actuellement sélectionné est utilisé. </translation>
5042 cbradney 1101
    </message>
1102
    <message>
14474 cbradney 1103
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/>
5328 cbradney 1104
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
5042 cbradney 1105
 
5328 cbradney 1106
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
1107
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
1108
Both `scaletoframe&apos; and `proportional&apos; are boolean.
5042 cbradney 1109
 
1110
May raise WrongFrameTypeError.
1111
</source>
14831 cbradney 1112
        <translation>setScaleImageToFrame(dimensionscadre, proportionnel=None, nom=&lt;selection&gt;)
9300 jghali 1113
 
1114
Permet de mettre l&apos;image aux dimensions du cadre si &quot;dimensionscadre&quot; est vrai.
1115
Si &quot;proportionnel&quot; est vrai, le ratio d&apos;aspect de l&apos;image est conservé.
1116
&quot;dimensionscadre&quot; et &quot;proportionnel&quot; sont des booléens.
1117
 
14831 cbradney 1118
Peut afficher l&apos;erreur WrongFrameTypeError.</translation>
5042 cbradney 1119
    </message>
1120
    <message>
14474 cbradney 1121
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/>
12918 cbradney 1122
        <source>setRedraw(bool)
1123
 
1124
Disables page redraw when bool = False, otherwise redrawing is enabled.
1125
This change will persist even after the script exits, so make sure to call
1126
setRedraw(True) in a finally: clause at the top level of your script.
1127
</source>
14831 cbradney 1128
        <translation>setRedraw(booléen)
12918 cbradney 1129
 
1130
Désactive le rafraîchissement de l&apos;affichage si le booléen est faux, sinon le
1131
rafraîchissement est actif. Ce changement persiste même après la fin du
1132
script, donc veillez à appeler setRedraw(True) dans une clause finally: au
1133
début de votre script.
1134
</translation>
1135
    </message>
1136
    <message>
14474 cbradney 1137
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/>
5328 cbradney 1138
        <source>getFontNames() -&gt; list
5042 cbradney 1139
 
1140
Returns a list with the names of all available fonts.
1141
</source>
14831 cbradney 1142
        <translation>getFontNames() -&gt; liste
9300 jghali 1143
 
1144
Retourne une liste contenant les noms de toutes les polices disponibles.
1145
</translation>
5042 cbradney 1146
    </message>
1147
    <message>
14474 cbradney 1148
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/>
5328 cbradney 1149
        <source>getXFontNames() -&gt; list of tuples
5042 cbradney 1150
 
5328 cbradney 1151
Returns a larger font info. It&apos;s a list of the tuples with:
5042 cbradney 1152
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1153
</source>
14831 cbradney 1154
        <translation>getXFontNames() -&gt; liste de tuples
9300 jghali 1155
 
1156
Retourne la liste des polices avec les informations sous forme de tuples :
1157
[ (nom Scribus, famille, nom réel, jeu partiel (1|0), incorporée PS (1|0), fichier de police), (...), ... ]
1158
</translation>
5042 cbradney 1159
    </message>
1160
    <message>
14474 cbradney 1161
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/>
5328 cbradney 1162
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
5042 cbradney 1163
 
1164
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
1165
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
1166
image data is returned as a string. The optional &quot;format&quot; argument
1167
specifies the image format to generate, and supports any format allowed
1168
by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.
1169
 
5328 cbradney 1170
May raise NotFoundError if the specified font can&apos;t be found.
5042 cbradney 1171
May raise ValueError if an empty sample or filename is passed.
1172
</source>
5328 cbradney 1173
        <translation type="unfinished"></translation>
5042 cbradney 1174
    </message>
1175
    <message>
14474 cbradney 1176
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/>
5328 cbradney 1177
        <source>getLayers() -&gt; list
5042 cbradney 1178
 
1179
Returns a list with the names of all defined layers.
1180
</source>
14831 cbradney 1181
        <translation>getLayers() -&gt; liste
9300 jghali 1182
 
14831 cbradney 1183
Retourne une liste contenant les noms de tous les calques définis.
1184
</translation>
5042 cbradney 1185
    </message>
1186
    <message>
14474 cbradney 1187
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/>
5328 cbradney 1188
        <source>setActiveLayer(&quot;name&quot;)
5042 cbradney 1189
 
1190
Sets the active layer to the layer named &quot;name&quot;.
1191
 
5328 cbradney 1192
May raise NotFoundError if the layer can&apos;t be found.
1193
May raise ValueError if the layer name isn&apos;t acceptable.
5042 cbradney 1194
</source>
14831 cbradney 1195
        <translation>setActiveLayer(&quot;nom&quot;)
9300 jghali 1196
 
1197
Rend actif le calque nommé &quot;nom&quot;.
1198
 
14831 cbradney 1199
Affiche l&apos;erreur NotFoundError si le calque n&apos;est pas trouvé.
1200
Affiche l&apos;erreur ValueError si le format de &quot;nom&quot; n&apos;est pas correct.</translation>
5042 cbradney 1201
    </message>
1202
    <message>
14474 cbradney 1203
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/>
5328 cbradney 1204
        <source>getActiveLayer() -&gt; string
5042 cbradney 1205
 
1206
Returns the name of the current active layer.
1207
</source>
14831 cbradney 1208
        <translation>getActiveLayer() -&gt; chaîne
9300 jghali 1209
 
1210
Retourne le nom du calque actuellement actif.</translation>
5042 cbradney 1211
    </message>
1212
    <message>
14474 cbradney 1213
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/>
5328 cbradney 1214
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
5042 cbradney 1215
 
1216
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
1217
If &quot;name&quot; is not given the currently selected item is used.
1218
 
5328 cbradney 1219
May raise NotFoundError if the layer can&apos;t be found.
1220
May raise ValueError if the layer name isn&apos;t acceptable.
5042 cbradney 1221
</source>
14831 cbradney 1222
        <translation>sentToLayer(&quot;calque&quot; [, &quot;nom&quot;])
9300 jghali 1223
 
1224
Envoit l&apos;objet nommé &quot;nom&quot; vers le calque &quot;calque&quot;. Le calque doit exister.
1225
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
1226
 
14831 cbradney 1227
Affiche l&apos;erreur NotFoundError si le calque n&apos;est pas trouvé.
1228
Affiche l&apos;erreur ValueError si le format de &quot;calque&quot; n&apos;est pas correct.</translation>
5042 cbradney 1229
    </message>
1230
    <message>
14474 cbradney 1231
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/>
5328 cbradney 1232
        <source>setLayerVisible(&quot;layer&quot;, visible)
5042 cbradney 1233
 
1234
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
1235
the layer is invisible.
1236
 
5328 cbradney 1237
May raise NotFoundError if the layer can&apos;t be found.
1238
May raise ValueError if the layer name isn&apos;t acceptable.
5042 cbradney 1239
</source>
14831 cbradney 1240
        <translation>setLayerVisible(&quot;calque&quot;, visible)
9300 jghali 1241
 
1242
Définit la visibilité du calque &quot;calque&quot;. Si &quot;visible&quot; est faux, le calque
1243
est invisible.
1244
 
14831 cbradney 1245
Affiche l&apos;erreur NotFoundError si le calque n&apos;est pas trouvé.
1246
Affiche l&apos;erreur ValueError si le format de &quot;calque&quot; n&apos;est pas correct.</translation>
5042 cbradney 1247
    </message>
1248
    <message>
14474 cbradney 1249
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/>
12918 cbradney 1250
        <source>setLayerPrintable(&quot;layer&quot;, printable)
1251
 
1252
Sets the layer &quot;layer&quot; to be printable or not. If is the
1253
printable set to false the layer won&apos;t be printed.
1254
 
1255
May raise NotFoundError if the layer can&apos;t be found.
1256
May raise ValueError if the layer name isn&apos;t acceptable.
1257
</source>
1258
        <translation type="unfinished"></translation>
1259
    </message>
1260
    <message>
14474 cbradney 1261
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/>
12918 cbradney 1262
        <source>setLayerLocked(&quot;layer&quot;, locked)
1263
 
1264
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
1265
true the layer will be locked.
1266
 
1267
May raise NotFoundError if the layer can&apos;t be found.
1268
May raise ValueError if the layer name isn&apos;t acceptable.
1269
</source>
1270
        <translation type="unfinished"></translation>
1271
    </message>
1272
    <message>
14474 cbradney 1273
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/>
12918 cbradney 1274
        <source>setLayerOutlined(&quot;layer&quot;, outline)
1275
 
1276
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
1277
true the layer will be displayed outlined.
1278
 
1279
May raise NotFoundError if the layer can&apos;t be found.
1280
May raise ValueError if the layer name isn&apos;t acceptable.
1281
</source>
1282
        <translation type="unfinished"></translation>
1283
    </message>
1284
    <message>
14474 cbradney 1285
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/>
12918 cbradney 1286
        <source>setLayerFlow(&quot;layer&quot;, flow)
1287
 
1288
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
1289
true text in layers above this one will flow around objects on this layer.
1290
 
1291
May raise NotFoundError if the layer can&apos;t be found.
1292
May raise ValueError if the layer name isn&apos;t acceptable.
1293
</source>
1294
        <translation type="unfinished"></translation>
1295
    </message>
1296
    <message>
14474 cbradney 1297
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/>
12918 cbradney 1298
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
1299
 
1300
Sets the layers &quot;layer&quot;  blendmode to blend.
1301
 
1302
May raise NotFoundError if the layer can&apos;t be found.
1303
May raise ValueError if the layer name isn&apos;t acceptable.
1304
</source>
1305
        <translation type="unfinished"></translation>
1306
    </message>
1307
    <message>
14474 cbradney 1308
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/>
12918 cbradney 1309
        <source>setLayerTransparency(&quot;layer&quot;, trans)
1310
 
1311
Sets the layers &quot;layer&quot;  transparency to trans.
1312
 
1313
May raise NotFoundError if the layer can&apos;t be found.
1314
May raise ValueError if the layer name isn&apos;t acceptable.
1315
</source>
1316
        <translation type="unfinished"></translation>
1317
    </message>
1318
    <message>
14474 cbradney 1319
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/>
12918 cbradney 1320
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
1321
 
1322
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
1323
that the layer &quot;layer&quot; is visible, a value of False means that the layer
1324
&quot;layer&quot; is invisible.
1325
 
1326
May raise NotFoundError if the layer can&apos;t be found.
1327
May raise ValueError if the layer name isn&apos;t acceptable.
1328
</source>
1329
        <translation type="unfinished"></translation>
1330
    </message>
1331
    <message>
14474 cbradney 1332
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/>
5328 cbradney 1333
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
5042 cbradney 1334
 
1335
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
1336
that the layer &quot;layer&quot; can be printed, a value of False means that printing
1337
the layer &quot;layer&quot; is disabled.
1338
 
5328 cbradney 1339
May raise NotFoundError if the layer can&apos;t be found.
1340
May raise ValueError if the layer name isn&apos;t acceptable.
5042 cbradney 1341
</source>
14831 cbradney 1342
        <translation>setLayerPrintable(&quot;calque&quot;, imprimable)
9300 jghali 1343
 
1344
Définit si le calque &quot;calque&quot; sera imprimé. Si &quot;imprimable&quot; est faux
1345
le calque ne sera pas imprimé.
1346
 
14831 cbradney 1347
Affiche l&apos;erreur NotFoundError si le calque n&apos;est pas trouvé.
1348
Affiche l&apos;erreur ValueError si le format de &quot;calque&quot; n&apos;est pas correct.</translation>
5042 cbradney 1349
    </message>
1350
    <message>
14474 cbradney 1351
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/>
12918 cbradney 1352
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
1353
 
1354
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
1355
that the layer &quot;layer&quot; is editable, a value of False means that the layer
1356
&quot;layer&quot; is locked.
1357
 
1358
May raise NotFoundError if the layer can&apos;t be found.
1359
May raise ValueError if the layer name isn&apos;t acceptable.
1360
</source>
1361
        <translation type="unfinished"></translation>
1362
    </message>
1363
    <message>
14474 cbradney 1364
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/>
12918 cbradney 1365
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
1366
 
1367
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
1368
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
1369
&quot;layer&quot; is normal.
1370
 
1371
May raise NotFoundError if the layer can&apos;t be found.
1372
May raise ValueError if the layer name isn&apos;t acceptable.
1373
</source>
1374
        <translation type="unfinished"></translation>
1375
    </message>
1376
    <message>
14474 cbradney 1377
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/>
12918 cbradney 1378
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
1379
 
1380
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
1381
that text flows around, a value of False means that the text does not flow around.
1382
 
1383
May raise NotFoundError if the layer can&apos;t be found.
1384
May raise ValueError if the layer name isn&apos;t acceptable.
1385
</source>
1386
        <translation type="unfinished"></translation>
1387
    </message>
1388
    <message>
14474 cbradney 1389
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/>
12918 cbradney 1390
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
1391
 
1392
Returns the &quot;layer&quot; layer blendmode,
1393
 
1394
May raise NotFoundError if the layer can&apos;t be found.
1395
May raise ValueError if the layer name isn&apos;t acceptable.
1396
</source>
1397
        <translation type="unfinished"></translation>
1398
    </message>
1399
    <message>
14474 cbradney 1400
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/>
12918 cbradney 1401
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
1402
 
1403
Returns the &quot;layer&quot; layer transparency,
1404
 
1405
May raise NotFoundError if the layer can&apos;t be found.
1406
May raise ValueError if the layer name isn&apos;t acceptable.
1407
</source>
1408
        <translation type="unfinished"></translation>
1409
    </message>
1410
    <message>
14474 cbradney 1411
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/>
5328 cbradney 1412
        <source>deleteLayer(&quot;layer&quot;)
5042 cbradney 1413
 
5328 cbradney 1414
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
1415
exists or if it&apos;s the only layer in the document.
5042 cbradney 1416
 
5328 cbradney 1417
May raise NotFoundError if the layer can&apos;t be found.
1418
May raise ValueError if the layer name isn&apos;t acceptable.
5042 cbradney 1419
</source>
14831 cbradney 1420
        <translation>deleteLayer(&quot;calque&quot;)
9300 jghali 1421
 
1422
Supprime le calque nomme &quot;calque&quot;. Sans effet si le calque n&apos;existe pas ou
1423
s&apos;il s&apos;agit du seul calque du document.
1424
 
14831 cbradney 1425
Affiche l&apos;erreur NotFoundError si le calque n&apos;est pas trouvé.
1426
Affiche l&apos;erreur ValueError si le format de &quot;calque&quot; n&apos;est pas correct.
1427
</translation>
5042 cbradney 1428
    </message>
1429
    <message>
14474 cbradney 1430
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/>
5328 cbradney 1431
        <source>createLayer(layer)
5042 cbradney 1432
 
1433
Creates a new layer with the name &quot;name&quot;.
1434
 
5328 cbradney 1435
May raise ValueError if the layer name isn&apos;t acceptable.
5042 cbradney 1436
</source>
14831 cbradney 1437
        <translation>createLayer(&quot;calque&quot;)
9300 jghali 1438
 
1439
Crée un nouveau calque nommé &quot;calque&quot;.
1440
 
14831 cbradney 1441
Affiche l&apos;erreur ValueError si le format de &quot;calque&quot; n&apos;est pas correct.
9300 jghali 1442
</translation>
5042 cbradney 1443
    </message>
1444
    <message>
14474 cbradney 1445
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/>
5328 cbradney 1446
        <source>getGuiLanguage() -&gt; string
5042 cbradney 1447
 
1448
Returns a string with the -lang value.
1449
</source>
14831 cbradney 1450
        <translation>getGuiLanguage() -&gt; chaîne
9300 jghali 1451
 
1452
Retourne une chaîne indiquant la langue de l&apos;interface correspondant à l&apos;option -lang.</translation>
5042 cbradney 1453
    </message>
1454
    <message>
14474 cbradney 1455
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/>
12918 cbradney 1456
        <source>moveSelectionToFront()
1457
 
1458
Moves current selection to front.
1459
</source>
1460
        <translation type="unfinished"></translation>
1461
    </message>
1462
    <message>
14474 cbradney 1463
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/>
12918 cbradney 1464
        <source>moveSelectionToFront()
1465
 
1466
Moves current selection to back.
1467
</source>
1468
        <translation type="unfinished"></translation>
1469
    </message>
1470
    <message>
14474 cbradney 1471
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/>
12918 cbradney 1472
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1473
 
1474
Creates a new rectangle on the current page and returns its name. The
1475
coordinates are given in the current measurement units of the document
1476
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1477
because you need this name to reference that object in future. If &quot;name&quot;
1478
is not given Scribus will create one for you.
1479
 
1480
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1481
</source>
14831 cbradney 1482
        <translation>createRect(x, y, largeur, hauteur, [&quot;nom&quot;]) -&gt; chaîne
12918 cbradney 1483
 
1484
Crée un rectangle sur la page courante et retourne son nom. Les coordonnées
1485
sont exprimées dans l&apos;unité courante de mesure du document (voir constantes
1486
d&apos;UNITÉS). &quot;nom&quot; doit être un identifiant unique pour l&apos;objet car il sert de référence
1487
pour l&apos;objet. Si &quot;nom&quot; est omis, Scribus en attribuera un pour vous.
1488
 
14831 cbradney 1489
Peut afficher une erreur NameExistsError si &quot;nom&quot; existe déjà.</translation>
12918 cbradney 1490
    </message>
1491
    <message>
14474 cbradney 1492
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/>
5328 cbradney 1493
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
5042 cbradney 1494
 
1495
Creates a new ellipse on the current page and returns its name.
1496
The coordinates are given in the current measurement units of the document
1497
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1498
because you need this name for further referencing of that object. If &quot;name&quot;
1499
is not given Scribus will create one for you.
1500
 
5328 cbradney 1501
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1502
</source>
5328 cbradney 1503
        <translation type="unfinished"></translation>
5042 cbradney 1504
    </message>
1505
    <message>
14474 cbradney 1506
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/>
5328 cbradney 1507
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
5042 cbradney 1508
 
1509
Creates a new picture frame on the current page and returns its name. The
1510
coordinates are given in the current measurement units of the document.
1511
&quot;name&quot; should be a unique identifier for the object because you need this
1512
name for further access to that object. If &quot;name&quot; is not given Scribus will
1513
create one for you.
1514
 
5328 cbradney 1515
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1516
</source>
5328 cbradney 1517
        <translation type="unfinished"></translation>
5042 cbradney 1518
    </message>
1519
    <message>
14474 cbradney 1520
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/>
5328 cbradney 1521
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
5042 cbradney 1522
 
1523
Creates a new text frame on the actual page and returns its name.
1524
The coordinates are given in the actual measurement unit of the document (see
1525
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1526
you need this name for further referencing of that object. If &quot;name&quot; is not
1527
given Scribus will create one for you.
1528
 
5328 cbradney 1529
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1530
</source>
5328 cbradney 1531
        <translation type="unfinished"></translation>
5042 cbradney 1532
    </message>
1533
    <message>
14474 cbradney 1534
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/>
5328 cbradney 1535
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
5042 cbradney 1536
 
1537
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1538
its name. The coordinates are given in the current measurement unit of the
1539
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
1540
object because you need this name for further access to that object. If
1541
&quot;name&quot; is not given Scribus will create one for you.
1542
 
5328 cbradney 1543
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1544
</source>
5328 cbradney 1545
        <translation type="unfinished"></translation>
5042 cbradney 1546
    </message>
1547
    <message>
14474 cbradney 1548
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/>
5328 cbradney 1549
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
5042 cbradney 1550
 
1551
Creates a new polyline and returns its name. The points for the polyline are
1552
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1553
The coordinates are given in the current measurement units of the document (see
1554
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1555
you need this name for further access to that object. If &quot;name&quot; is not given
1556
Scribus will create one for you.
1557
 
5328 cbradney 1558
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1559
May raise ValueError if an insufficient number of points is passed or if
5328 cbradney 1560
the number of values passed don&apos;t group into points without leftovers.
5042 cbradney 1561
</source>
5328 cbradney 1562
        <translation type="unfinished"></translation>
5042 cbradney 1563
    </message>
1564
    <message>
14474 cbradney 1565
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/>
5328 cbradney 1566
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
5042 cbradney 1567
 
1568
Creates a new polygon and returns its name. The points for the polygon are
1569
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1570
At least three points are required. There is no need to repeat the first point
1571
to close the polygon. The polygon is automatically closed by connecting the
1572
first and the last point.  The coordinates are given in the current measurement
1573
units of the document (see UNIT constants).  &quot;name&quot; should be a unique
1574
identifier for the object because you need this name for further access to that
1575
object. If &quot;name&quot; is not given Scribus will create one for you.
1576
 
5328 cbradney 1577
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1578
May raise ValueError if an insufficient number of points is passed or if
5328 cbradney 1579
the number of values passed don&apos;t group into points without leftovers.
5042 cbradney 1580
</source>
5328 cbradney 1581
        <translation type="unfinished"></translation>
5042 cbradney 1582
    </message>
1583
    <message>
14474 cbradney 1584
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/>
5328 cbradney 1585
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
5042 cbradney 1586
 
1587
Creates a new bezier curve and returns its name. The points for the bezier
1588
curve are stored in the list &quot;list&quot; in the following order:
1589
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1590
In the points list, x and y mean the x and y coordinates of the point and kx
1591
and ky meaning the control point for the curve.  The coordinates are given in
1592
the current measurement units of the document (see UNIT constants). &quot;name&quot;
1593
should be a unique identifier for the object because you need this name for
1594
further access to that object. If &quot;name&quot; is not given Scribus will create one
1595
for you.
1596
 
5328 cbradney 1597
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
5042 cbradney 1598
May raise ValueError if an insufficient number of points is passed or if
5328 cbradney 1599
the number of values passed don&apos;t group into points without leftovers.
5042 cbradney 1600
</source>
5328 cbradney 1601
        <translation type="unfinished"></translation>
5042 cbradney 1602
    </message>
1603
    <message>
14474 cbradney 1604
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/>
5328 cbradney 1605
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
5042 cbradney 1606
 
1607
Creates a new pathText by merging the two objects &quot;textbox&quot; and
1608
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
1609
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
1610
unique identifier for the object because you need this name for further access
1611
to that object. If &quot;name&quot; is not given Scribus will create one for you.
1612
 
5328 cbradney 1613
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1614
May raise NotFoundError if one or both of the named base object don&apos;t exist.
5042 cbradney 1615
</source>
5328 cbradney 1616
        <translation type="unfinished"></translation>
5042 cbradney 1617
    </message>
1618
    <message>
14474 cbradney 1619
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/>
5328 cbradney 1620
        <source>deleteObject([&quot;name&quot;])
5042 cbradney 1621
 
1622
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1623
selected item is deleted.
1624
</source>
5328 cbradney 1625
        <translation type="unfinished"></translation>
5042 cbradney 1626
    </message>
1627
    <message>
14474 cbradney 1628
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/>
12918 cbradney 1629
        <source>textFlowMode(&quot;name&quot; [, state])
1630
 
1631
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1632
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
1633
Setting &quot;state&quot; to 0 will disable text flow.
1634
Setting &quot;state&quot; to 1 will make text flow around object frame.
1635
Setting &quot;state&quot; to 2 will make text flow around bounding box.
1636
Setting &quot;state&quot; to 3 will make text flow around contour line.
1637
If &quot;state&quot; is not passed, text flow is toggled.
1638
</source>
14831 cbradney 1639
        <translatorcomment>bounding box = rectangle englobant</translatorcomment>
12918 cbradney 1640
        <translation type="unfinished"></translation>
1641
    </message>
1642
    <message>
14474 cbradney 1643
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/>
5328 cbradney 1644
        <source>objectExists([&quot;name&quot;]) -&gt; bool
5042 cbradney 1645
 
1646
Test if an object with specified name really exists in the document.
1647
The optional parameter is the object name. When no object name is given,
1648
returns True if there is something selected.
1649
</source>
5328 cbradney 1650
        <translation type="unfinished"></translation>
5042 cbradney 1651
    </message>
1652
    <message>
14474 cbradney 1653
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/>
5328 cbradney 1654
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
5042 cbradney 1655
 
14831 cbradney 1656
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
1657
given, it&apos;s applied on the selected object.
5042 cbradney 1658
</source>
5328 cbradney 1659
        <translation type="unfinished"></translation>
5042 cbradney 1660
    </message>
1661
    <message>
14831 cbradney 1662
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="237"/>
5328 cbradney 1663
        <source>getAllStyles() -&gt; list
5042 cbradney 1664
 
1665
Return a list of the names of all paragraph styles in the current document.
1666
</source>
14831 cbradney 1667
        <translation>getAllStyles() -&gt; liste
9300 jghali 1668
 
14831 cbradney 1669
Retourne une liste contenant les noms de tous les styles de paragraphes du document courant.
1670
</translation>
5042 cbradney 1671
    </message>
1672
    <message>
14831 cbradney 1673
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="249"/>
12918 cbradney 1674
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
1675
 
1676
creates a Duplicate of the selected Object (or Selection Group).
1677
</source>
14831 cbradney 1678
        <translation>duplicateObject([&quot;nom&quot;]) -&gt; chaîne
12918 cbradney 1679
 
1680
Duplique l&apos;objet ou le groupe d&apos;objet actuellement sélectionné.
1681
</translation>
1682
    </message>
1683
    <message>
14474 cbradney 1684
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/>
12918 cbradney 1685
        <source>newPage(where [,&quot;masterpage&quot;])
1686
 
1687
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
1688
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
1689
counted from 1 upwards, no matter what the displayed first page number of your
1690
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
1691
master page for the new page.
1692
 
1693
May raise IndexError if the page number is out of range
1694
</source>
14831 cbradney 1695
        <translation>newPage(emplacement [,&quot;gabarit&quot;])
12918 cbradney 1696
 
1697
Crée une nouvelle page. Si &quot;emplacement&quot; vaut -1, la page est ajoutée à la fin
1698
du document; dans le cas contraire, elle est insérée avant la page &quot;emplacement&quot;.
1699
Les numéros de pages débutent à 1, indépendamment de la première page
1700
affichée du document. Le paramètre optionnel &quot;gabarit&quot; permet d&apos;affecter un gabarit
1701
à la nouvelle page.
1702
 
14831 cbradney 1703
Peut afficher l’erreur IndexError si &quot;emplacement&quot; est hors plage</translation>
12918 cbradney 1704
    </message>
1705
    <message>
14474 cbradney 1706
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/>
5328 cbradney 1707
        <source>currentPage() -&gt; integer
5042 cbradney 1708
 
1709
Returns the number of the current working page. Page numbers are counted from 1
1710
upwards, no matter what the displayed first page number of your document is.
1711
</source>
14831 cbradney 1712
        <translation>currentPage() -&gt; entier
9300 jghali 1713
 
1714
Retourne le numéro de page active. Les numéros de pages débutent à 1, indépendamment
14831 cbradney 1715
du premier numéro de page affiché dans votre document.
1716
</translation>
5042 cbradney 1717
    </message>
1718
    <message>
14474 cbradney 1719
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/>
5328 cbradney 1720
        <source>redrawAll()
5042 cbradney 1721
 
1722
Redraws all pages.
1723
</source>
14831 cbradney 1724
        <translation>redrawAll()
9300 jghali 1725
 
1726
Rafraîchit l&apos;affichage de toutes les pages.</translation>
5042 cbradney 1727
    </message>
1728
    <message>
14474 cbradney 1729
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/>
12918 cbradney 1730
        <source>getPageType() -&gt; integer
1731
 
1732
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
1733
</source>
14831 cbradney 1734
        <translation>getPageType() -&gt; entier
12918 cbradney 1735
 
1736
Retourne le type de page, 0 pour page de gauche, 1 pour page centrale, et 2 pour page de droite
1737
</translation>
1738
    </message>
1739
    <message>
14474 cbradney 1740
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/>
5328 cbradney 1741
        <source>savePageAsEPS(&quot;name&quot;)
5042 cbradney 1742
 
1743
Saves the current page as an EPS to the file &quot;name&quot;.
1744
 
1745
May raise ScribusError if the save failed.
1746
</source>
5328 cbradney 1747
        <translation type="unfinished"></translation>
5042 cbradney 1748
    </message>
1749
    <message>
14474 cbradney 1750
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/>
5328 cbradney 1751
        <source>deletePage(nr)
5042 cbradney 1752
 
1753
Deletes the given page. Does nothing if the document contains only one page.
1754
Page numbers are counted from 1 upwards, no matter what the displayed first
1755
page number is.
1756
 
1757
May raise IndexError if the page number is out of range
1758
</source>
5328 cbradney 1759
        <translation type="unfinished"></translation>
5042 cbradney 1760
    </message>
1761
    <message>
14474 cbradney 1762
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/>
12918 cbradney 1763
        <source>gotoPage(nr)
1764
 
1765
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
1766
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
1767
just sets the page that script commands will operates on.
1768
 
1769
May raise IndexError if the page number is out of range.
1770
</source>
1771
        <translation type="unfinished"></translation>
1772
    </message>
1773
    <message>
14474 cbradney 1774
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/>
5328 cbradney 1775
        <source>pageCount() -&gt; integer
5042 cbradney 1776
 
1777
Returns the number of pages in the document.
1778
</source>
14831 cbradney 1779
        <translation>pageCount() -&gt; entier
9300 jghali 1780
 
14831 cbradney 1781
Retourne le nombre de pages dans le document.
1782
</translation>
5042 cbradney 1783
    </message>
1784
    <message>
14474 cbradney 1785
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/>
5328 cbradney 1786
        <source>getHGuides() -&gt; list
5042 cbradney 1787
 
1788
Returns a list containing positions of the horizontal guides. Values are in the
5328 cbradney 1789
document&apos;s current units - see UNIT_&lt;type&gt; constants.
5042 cbradney 1790
</source>
5328 cbradney 1791
        <translation type="unfinished"></translation>
5042 cbradney 1792
    </message>
1793
    <message>
14474 cbradney 1794
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/>
5328 cbradney 1795
        <source>setHGuides(list)
5042 cbradney 1796
 
1797
Sets horizontal guides. Input parameter must be a list of guide positions
5328 cbradney 1798
measured in the current document units - see UNIT_&lt;type&gt; constants.
5042 cbradney 1799
 
1800
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1801
         setHGuides([90,250]) # replace current guides entirely
1802
</source>
5328 cbradney 1803
        <translation type="unfinished"></translation>
5042 cbradney 1804
    </message>
1805
    <message>
14474 cbradney 1806
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/>
5328 cbradney 1807
        <source>getVGuides()
5042 cbradney 1808
 
1809
See getHGuides.
1810
</source>
5328 cbradney 1811
        <translation type="unfinished"></translation>
5042 cbradney 1812
    </message>
1813
    <message>
14474 cbradney 1814
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/>
5328 cbradney 1815
        <source>setVGuides()
5042 cbradney 1816
 
1817
See setHGuides.
1818
</source>
5328 cbradney 1819
        <translation type="unfinished"></translation>
5042 cbradney 1820
    </message>
1821
    <message>
14474 cbradney 1822
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/>
5328 cbradney 1823
        <source>getPageSize() -&gt; tuple
5042 cbradney 1824
 
5328 cbradney 1825
Returns a tuple with page dimensions measured in the document&apos;s current units.
1826
See UNIT_&lt;type&gt; constants and getPageMargins()
5042 cbradney 1827
</source>
5328 cbradney 1828
        <translation type="unfinished"></translation>
5042 cbradney 1829
    </message>
1830
    <message>
14474 cbradney 1831
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/>
1832
        <source>getPageNSize() -&gt; tuple
1833
 
1834
Returns a tuple with a particular page&apos;s size measured in the document&apos;s current units.
1835
See UNIT_&lt;type&gt; constants and getPageMargins()
1836
</source>
1837
        <translation type="unfinished"></translation>
1838
    </message>
1839
    <message>
1840
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/>
1841
        <source>getPageNMargins() -&gt; tuple
1842
 
1843
Returns a tuple with a particular page&apos;s margins measured in the document&apos;s current units.
1844
See UNIT_&lt;type&gt; constants and getPageMargins()
1845
</source>
1846
        <translation type="unfinished"></translation>
1847
    </message>
1848
    <message>
1849
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/>
5328 cbradney 1850
        <source>getPageItems() -&gt; list
5042 cbradney 1851
 
1852
Returns a list of tuples with items on the current page. The tuple is:
5328 cbradney 1853
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
1854
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
5042 cbradney 1855
the page...
1856
</source>
5328 cbradney 1857
        <translation type="unfinished"></translation>
5042 cbradney 1858
    </message>
1859
    <message>
14474 cbradney 1860
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/>
5328 cbradney 1861
        <source>getPageMargins()
5042 cbradney 1862
 
1863
Returns the page margins as a (top, left, right, bottom) tuple in the current
5328 cbradney 1864
units. See UNIT_&lt;type&gt; constants and getPageSize().
5042 cbradney 1865
</source>
5328 cbradney 1866
        <translation type="unfinished"></translation>
5042 cbradney 1867
    </message>
1868
    <message>
14474 cbradney 1869
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/>
12918 cbradney 1870
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
1871
 
1872
Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the &quot;Page-&gt;Import&quot; dropdown menu function.
1873
fromDoc: string; the filename of the document to import pages from
1874
pageList: tuple with page numbers of pages to import
1875
create: number; 0 to replace existing pages, 1 (default) to insert new pages
1876
importWhere: number; the page number (of the current document) at which import the pages
1877
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
1878
</source>
1879
        <translation type="unfinished"></translation>
1880
    </message>
1881
    <message>
14474 cbradney 1882
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/>
12918 cbradney 1883
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
1884
 
1885
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
1886
the same as for setFillColor() and setFillShade(). See the constants for
1887
available types (FILL_&lt;type&gt;).
1888
</source>
14831 cbradney 1889
        <translation>setGradientFill(type, &quot;couleur1&quot;, teinte1, &quot;couleur2&quot;, teinte2, [&quot;nom&quot;])
12918 cbradney 1890
 
1891
Définit le type de gradient de l&apos;objet &quot;nom&quot;. Les descriptions de couleurs sont
1892
les mêmes que pour setFillColor() et setFillShade(). Référez-vous aux constantes
1893
pour connaîtres les types de gradient (FILL_&lt;type&gt;).
1894
</translation>
1895
    </message>
1896
    <message>
14474 cbradney 1897
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/>
5328 cbradney 1898
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
5042 cbradney 1899
 
1900
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
1901
is the name of one of the defined colors. If &quot;name&quot; is not given the
1902
currently selected item is used.
1903
</source>
5328 cbradney 1904
        <translation type="unfinished"></translation>
5042 cbradney 1905
    </message>
1906
    <message>
14474 cbradney 1907
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/>
12918 cbradney 1908
        <source>setFillTransparency(transparency, [&quot;name&quot;])
1909
 
1910
Sets the fill transparency of the object &quot;name&quot; to transparency
1911
If &quot;name&quot; is not given the currently selected item is used.
1912
</source>
1913
        <translation type="unfinished"></translation>
1914
    </message>
1915
    <message>
14474 cbradney 1916
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/>
12918 cbradney 1917
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
1918
 
1919
Sets the fill blendmode of the object &quot;name&quot; to blendmode
1920
If &quot;name&quot; is not given the currently selected item is used.
1921
</source>
1922
        <translation type="unfinished"></translation>
1923
    </message>
1924
    <message>
14474 cbradney 1925
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/>
5328 cbradney 1926
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
5042 cbradney 1927
 
1928
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
1929
is not given the currently selected item is used.
1930
</source>
5328 cbradney 1931
        <translation type="unfinished"></translation>
5042 cbradney 1932
    </message>
1933
    <message>
14474 cbradney 1934
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/>
12918 cbradney 1935
        <source>setLineTransparency(transparency, [&quot;name&quot;])
1936
 
1937
Sets the line transparency of the object &quot;name&quot; to transparency
1938
If &quot;name&quot; is not given the currently selected item is used.
1939
</source>
1940
        <translation type="unfinished"></translation>
1941
    </message>
1942
    <message>
14474 cbradney 1943
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/>
12918 cbradney 1944
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
1945
 
1946
Sets the line blendmode of the object &quot;name&quot; to blendmode
1947
If &quot;name&quot; is not given the currently selected item is used.
1948
</source>
1949
        <translation type="unfinished"></translation>
1950
    </message>
1951
    <message>
14474 cbradney 1952
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/>
5328 cbradney 1953
        <source>setLineWidth(width, [&quot;name&quot;])
5042 cbradney 1954
 
1955
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
1956
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
1957
given the currently selected item is used.
1958
 
1959
May raise ValueError if the line width is out of bounds.
1960
</source>
5328 cbradney 1961
        <translation type="unfinished"></translation>
5042 cbradney 1962
    </message>
1963
    <message>
14474 cbradney 1964
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/>
5328 cbradney 1965
        <source>setLineShade(shade, [&quot;name&quot;])
5042 cbradney 1966
 
1967
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
1968
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
1969
(full color intensity). If &quot;name&quot; is not given the currently selected item
1970
is used.
1971
 
1972
May raise ValueError if the line shade is out of bounds.
1973
</source>
5328 cbradney 1974
        <translation type="unfinished"></translation>
5042 cbradney 1975
    </message>
1976
    <message>
14474 cbradney 1977
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/>
5328 cbradney 1978
        <source>setLineJoin(join, [&quot;name&quot;])
5042 cbradney 1979
 
1980
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
1981
If &quot;name&quot; is not given the currently selected item is used. There are
5328 cbradney 1982
predefined constants for join - JOIN_&lt;type&gt;.
5042 cbradney 1983
</source>
5328 cbradney 1984
        <translation type="unfinished"></translation>
5042 cbradney 1985
    </message>
1986
    <message>
14474 cbradney 1987
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/>
5328 cbradney 1988
        <source>setLineEnd(endtype, [&quot;name&quot;])
5042 cbradney 1989
 
1990
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
1991
If &quot;name&quot; is not given the currently selected item is used. There are
5328 cbradney 1992
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
5042 cbradney 1993
</source>
5328 cbradney 1994
        <translation type="unfinished"></translation>
5042 cbradney 1995
    </message>
1996
    <message>
14474 cbradney 1997
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/>
5328 cbradney 1998
        <source>setLineStyle(style, [&quot;name&quot;])
5042 cbradney 1999
 
2000
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
2001
is not given the currently selected item is used. There are predefined
5328 cbradney 2002
constants for &quot;style&quot; - LINE_&lt;style&gt;.
5042 cbradney 2003
</source>
5328 cbradney 2004
        <translation type="unfinished"></translation>
5042 cbradney 2005
    </message>
2006
    <message>
14474 cbradney 2007
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/>
5328 cbradney 2008
        <source>setFillShade(shade, [&quot;name&quot;])
5042 cbradney 2009
 
2010
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
2011
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2012
(full Color intensity). If &quot;name&quot; is not given the currently selected
2013
Item is used.
2014
 
2015
May raise ValueError if the fill shade is out of bounds.
2016
</source>
5328 cbradney 2017
        <translation type="unfinished"></translation>
5042 cbradney 2018
    </message>
2019
    <message>
14474 cbradney 2020
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/>
5328 cbradney 2021
        <source>setCornerRadius(radius, [&quot;name&quot;])
5042 cbradney 2022
 
2023
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
2024
in points. If &quot;name&quot; is not given the currently selected item is used.
2025
 
2026
May raise ValueError if the corner radius is negative.
2027
</source>
5328 cbradney 2028
        <translation type="unfinished"></translation>
5042 cbradney 2029
    </message>
2030
    <message>
14474 cbradney 2031
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/>
5328 cbradney 2032
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
5042 cbradney 2033
 
2034
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
2035
If &quot;name&quot; is not given the currently selected item is used.
2036
 
5328 cbradney 2037
May raise NotFoundError if the line style doesn&apos;t exist.
5042 cbradney 2038
</source>
5328 cbradney 2039
        <translation type="unfinished"></translation>
5042 cbradney 2040
    </message>
2041
    <message>
14474 cbradney 2042
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/>
12918 cbradney 2043
        <source>createParagraphStyle(...)
2044
 
2045
Creates a paragraph style. This function takes the following keyword parameters:
2046
 
2047
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
2048
 
2049
linespacingmode [optional] -&gt; specifies the linespacing mode; possible modes are:
2050
 
2051
fixed linespacing:          0
2052
 
2053
automatic linespacing:      1
2054
 
2055
baseline grid linespacing:  2
2056
 
2057
linespacing [optional] -&gt; specifies the linespacing if using fixed linespacing
2058
 
2059
alignment [optional] -&gt; specifies the alignment of the paragraph
2060
 
2061
-&gt; left:     0
2062
 
2063
-&gt; center:   1
2064
 
2065
-&gt; right:    2
2066
 
2067
-&gt; justify:  3
2068
 
2069
-&gt; extend:   4
2070
 
2071
leftmargin [optional], rightmargin [optional] -&gt; specify the margin
2072
 
2073
gapbefore [optional], gapafter [optional] -&gt; specify the gaps to the heading and following paragraphs
2074
 
2075
firstindent [optional] -&gt; the indent of the first line
2076
 
2077
hasdropcap [optional] -&gt; specifies if there are caps (1 = yes, 0 = no)
2078
 
2079
dropcaplines [optional] -&gt; height (in lines) of the caps if used
2080
 
2081
dropcapoffset [optional] -&gt; offset of the caps if used
2082
 
2083
&quot;charstyle&quot; [optional] -&gt; char style to use
2084
 
2085
</source>
2086
        <translation type="unfinished"></translation>
2087
    </message>
2088
    <message>
14474 cbradney 2089
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/>
12918 cbradney 2090
        <source>createCharStyle(...)
2091
 
2092
Creates a character style. This function takes the following keyword parameters:
2093
 
2094
&quot;name&quot; [required] -&gt; name of the char style to create
2095
 
2096
&quot;font&quot; [optional] -&gt; name of the font to use
2097
 
2098
fontsize [optional] -&gt; font size to set (double)
2099
 
2100
&quot;features&quot; [optional] -&gt; nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):
2101
 
2102
-&gt; inherit
2103
 
2104
-&gt; bold
2105
 
2106
-&gt; italic
2107
 
2108
-&gt; underline
2109
 
2110
-&gt; underlinewords
2111
 
2112
-&gt; strike
2113
 
2114
-&gt; superscript
2115
 
2116
-&gt; subscript
2117
 
2118
-&gt; outline
2119
 
2120
-&gt; shadowed
2121
 
2122
-&gt; allcaps
2123
 
2124
-&gt; smallcaps
2125
 
2126
&quot;fillcolor&quot; [optional], &quot;fillshade&quot; [optional] -&gt; specify fill options
2127
 
2128
&quot;strokecolor&quot; [optional], &quot;strokeshade&quot; [optional] -&gt; specify stroke options
2129
 
2130
baselineoffset [optional] -&gt; offset of the baseline
2131
 
2132
shadowxoffset [optional], shadowyoffset [optional] -&gt; offset of the shadow if used
2133
 
2134
outlinewidth [optional] -&gt; width of the outline if used
2135
 
2136
underlineoffset [optional], underlinewidth [optional] -&gt; underline options if used
2137
 
2138
strikethruoffset [optional], strikethruwidth [optional] -&gt; strikethru options if used
2139
 
2140
scaleh [optional], scalev [optional] -&gt; scale of the chars
2141
 
2142
tracking [optional] -&gt; tracking of the text
2143
 
2144
&quot;language&quot; [optional] -&gt; language code
2145
 
2146
</source>
2147
        <translation type="unfinished"></translation>
2148
    </message>
2149
    <message>
14474 cbradney 2150
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/>
12918 cbradney 2151
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2152
 
2153
Returns the font size in points for the text frame &quot;name&quot;. If this text
2154
frame has some text selected the value assigned to the first character of
2155
the selection is returned.
2156
If &quot;name&quot; is not given the currently selected item is used.
2157
</source>
14831 cbradney 2158
        <translation>getFontSize([&quot;nom&quot;]) -&gt; flottant
12918 cbradney 2159
 
2160
Retourne la taille de la police en points pour le cadre de texte &quot;nom&quot;. Si une
2161
partie du texte du cadre est sélectionné, la valeur retournée est celle du
2162
premier caractère de la sélection.
14831 cbradney 2163
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
2164
</translation>
12918 cbradney 2165
    </message>
2166
    <message>
14474 cbradney 2167
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/>
5328 cbradney 2168
        <source>getFont([&quot;name&quot;]) -&gt; string
5042 cbradney 2169
 
2170
Returns the font name for the text frame &quot;name&quot;. If this text frame
2171
has some text selected the value assigned to the first character
2172
of the selection is returned. If &quot;name&quot; is not given the currently
2173
selected item is used.
2174
</source>
5328 cbradney 2175
        <translation type="unfinished"></translation>
5042 cbradney 2176
    </message>
2177
    <message>
14474 cbradney 2178
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/>
5328 cbradney 2179
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
5042 cbradney 2180
 
2181
Returns the length of the text in the text frame &quot;name&quot;.
2182
If &quot;name&quot; is not given the currently selected item is used.
2183
</source>
5328 cbradney 2184
        <translation type="unfinished"></translation>
5042 cbradney 2185
    </message>
2186
    <message>
14474 cbradney 2187
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/>
12918 cbradney 2188
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
2189
 
2190
Returns the number of lines of the text in the text frame &quot;name&quot;.
2191
If &quot;name&quot; is not given the currently selected item is used.
2192
</source>
2193
        <translation type="unfinished"></translation>
2194
    </message>
2195
    <message>
14474 cbradney 2196
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/>
5328 cbradney 2197
        <source>getText([&quot;name&quot;]) -&gt; string
5042 cbradney 2198
 
2199
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
2200
selected, the selected text is returned. All text in the frame, not just
2201
currently visible text, is returned. If &quot;name&quot; is not given the currently
2202
selected item is used.
2203
</source>
5328 cbradney 2204
        <translation type="unfinished"></translation>
5042 cbradney 2205
    </message>
2206
    <message>
14474 cbradney 2207
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/>
5328 cbradney 2208
        <source>getAllText([&quot;name&quot;]) -&gt; string
5042 cbradney 2209
 
2210
Returns the text of the text frame &quot;name&quot; and of all text frames which are
2211
linked with this frame. If this textframe has some text selected, the selected
2212
text is returned. If &quot;name&quot; is not given the currently selected item is
2213
used.
2214
</source>
5328 cbradney 2215
        <translation type="unfinished"></translation>
5042 cbradney 2216
    </message>
2217
    <message>
14474 cbradney 2218
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/>
5328 cbradney 2219
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
5042 cbradney 2220
 
2221
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2222
points. If &quot;name&quot; is not given the currently selected item is used.
2223
</source>
5328 cbradney 2224
        <translation type="unfinished"></translation>
5042 cbradney 2225
    </message>
2226
    <message>
14474 cbradney 2227
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/>
12918 cbradney 2228
        <source>getTextDistances([&quot;name&quot;]) -&gt; tuple
2229
 
2230
Returns the text distances of the text frame &quot;name&quot; expressed in points. The
2231
distances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;
2232
is not given the currently selected item is used.
2233
</source>
2234
        <translation type="unfinished"></translation>
2235
    </message>
2236
    <message>
14474 cbradney 2237
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/>
5328 cbradney 2238
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
5042 cbradney 2239
 
2240
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2241
&quot;name&quot; is not given the currently selected item is used.
2242
</source>
5328 cbradney 2243
        <translation type="unfinished"></translation>
5042 cbradney 2244
    </message>
2245
    <message>
14474 cbradney 2246
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/>
5328 cbradney 2247
        <source>getColumns([&quot;name&quot;]) -&gt; integer
5042 cbradney 2248
 
2249
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2250
given the currently selected item is used.
2251
</source>
5328 cbradney 2252
        <translation type="unfinished"></translation>
5042 cbradney 2253
    </message>
2254
    <message>
14474 cbradney 2255
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/>
5328 cbradney 2256
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
5042 cbradney 2257
 
2258
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
5328 cbradney 2259
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
5042 cbradney 2260
for more details. If &quot;name&quot; is not given the currently selected item is
2261
used.
2262
</source>
5328 cbradney 2263
        <translation type="unfinished"></translation>
5042 cbradney 2264
    </message>
2265
    <message>
14474 cbradney 2266
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/>
12918 cbradney 2267
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
2268
 
2269
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2270
Text must be UTF encoded (see setText() as reference) The first character has an
2271
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
2272
not given the currently selected Item is used.
2273
 
2274
May throw IndexError for an insertion out of bounds.
2275
</source>
2276
        <translation type="unfinished"></translation>
2277
    </message>
2278
    <message>
14474 cbradney 2279
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/>
5328 cbradney 2280
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
5042 cbradney 2281
 
2282
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
2283
selected only the selected text is changed.  If &quot;name&quot; is not given the
2284
currently selected item is used.
2285
 
2286
May throw ValueError if the font cannot be found.
2287
</source>
5328 cbradney 2288
        <translation type="unfinished"></translation>
5042 cbradney 2289
    </message>
2290
    <message>
14474 cbradney 2291
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/>
5328 cbradney 2292
        <source>setFontSize(size, [&quot;name&quot;])
5042 cbradney 2293
 
2294
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
2295
as a value in points. If there is some text selected only the selected text is
2296
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
2297
currently selected item is used.
2298
 
5328 cbradney 2299
May throw ValueError for a font size that&apos;s out of bounds.
5042 cbradney 2300
</source>
5328 cbradney 2301
        <translation type="unfinished"></translation>
5042 cbradney 2302
    </message>
2303
    <message>
14474 cbradney 2304
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/>
5328 cbradney 2305
        <source>setLineSpacing(size, [&quot;name&quot;])
5042 cbradney 2306
 
2307
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
2308
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
2309
item is used.
2310
 
2311
May throw ValueError if the line spacing is out of bounds.
2312
</source>
5328 cbradney 2313
        <translation type="unfinished"></translation>
5042 cbradney 2314
    </message>
2315
    <message>
14474 cbradney 2316
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/>
12918 cbradney 2317
        <source>setTextDistances(left, right, top, bottom, [&quot;name&quot;])
2318
 
2319
Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;
2320
&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currently
2321
selected item is used.
2322
 
2323
May throw ValueError if any of the distances are out of bounds (must be positive).
2324
</source>
2325
        <translation type="unfinished"></translation>
2326
    </message>
2327
    <message>
14831 cbradney 2328
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="205"/>
5328 cbradney 2329
        <source>setColumnGap(size, [&quot;name&quot;])
5042 cbradney 2330
 
2331
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
2332
&quot;name&quot; is not given the currently selected item is used.
2333
 
2334
May throw ValueError if the column gap is out of bounds (must be positive).
2335
</source>
5328 cbradney 2336
        <translation type="unfinished"></translation>
5042 cbradney 2337
    </message>
2338
    <message>
14831 cbradney 2339
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="217"/>
5328 cbradney 2340
        <source>setColumns(nr, [&quot;name&quot;])
5042 cbradney 2341
 
2342
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
2343
If &quot;name&quot; is not given the currently selected item is used.
2344
 
2345
May throw ValueError if number of columns is not at least one.
2346
</source>
5328 cbradney 2347
        <translation type="unfinished"></translation>
5042 cbradney 2348
    </message>
2349
    <message>
14831 cbradney 2350
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="229"/>
5328 cbradney 2351
        <source>setTextAlignment(align, [&quot;name&quot;])
5042 cbradney 2352
 
2353
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
2354
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
2355
be one of the ALIGN_ constants defined in this module - see dir(scribus).
2356
 
2357
May throw ValueError for an invalid alignment constant.
2358
</source>
5328 cbradney 2359
        <translation type="unfinished"></translation>
5042 cbradney 2360
    </message>
2361
    <message>
14831 cbradney 2362
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="242"/>
5328 cbradney 2363
        <source>selectText(start, count, [&quot;name&quot;])
5042 cbradney 2364
 
2365
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2366
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2367
text selection will be cleared.  If &quot;name&quot; is not given the currently
2368
selected item is used.
2369
 
2370
May throw IndexError if the selection is outside the bounds of the text.
2371
</source>
5328 cbradney 2372
        <translation type="unfinished"></translation>
5042 cbradney 2373
    </message>
2374
    <message>
14831 cbradney 2375
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/>
5328 cbradney 2376
        <source>deleteText([&quot;name&quot;])
5042 cbradney 2377
 
2378
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
2379
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2380
selected item is used.
2381
</source>
5328 cbradney 2382
        <translation type="unfinished"></translation>
5042 cbradney 2383
    </message>
2384
    <message>
14831 cbradney 2385
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="267"/>
5328 cbradney 2386
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
5042 cbradney 2387
 
2388
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
2389
is some text selected only the selected text is changed. If &quot;name&quot; is not
2390
given the currently selected item is used.
2391
</source>
5328 cbradney 2392
        <translation type="unfinished"></translation>
5042 cbradney 2393
    </message>
2394
    <message>
14831 cbradney 2395
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="278"/>
5328 cbradney 2396
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
5042 cbradney 2397
 
2398
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2399
selected item is used.
2400
</source>
5328 cbradney 2401
        <translation type="unfinished"></translation>
5042 cbradney 2402
    </message>
2403
    <message>
14831 cbradney 2404
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="308"/>
5328 cbradney 2405
        <source>setTextShade(shade, [&quot;name&quot;])
5042 cbradney 2406
 
2407
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
2408
there is some text selected only the selected text is changed. &quot;shade&quot; must
2409
be an integer value in the range from 0 (lightest) to 100 (full color
2410
intensity). If &quot;name&quot; is not given the currently selected item is
2411
used.
2412
</source>
5328 cbradney 2413
        <translation type="unfinished"></translation>
5042 cbradney 2414
    </message>
2415
    <message>
14831 cbradney 2416
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="321"/>
5328 cbradney 2417
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
5042 cbradney 2418
 
2419
Link two text frames. The frame named &quot;fromname&quot; is linked to the
2420
frame named &quot;toname&quot;. The target frame must be an empty text frame
2421
and must not link to or be linked from any other frames already.
2422
 
2423
May throw ScribusException if linking rules are violated.
2424
</source>
5328 cbradney 2425
        <translation type="unfinished"></translation>
5042 cbradney 2426
    </message>
2427
    <message>
14831 cbradney 2428
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
5328 cbradney 2429
        <source>unlinkTextFrames(&quot;name&quot;)
5042 cbradney 2430
 
2431
Remove the specified (named) object from the text frame flow/linkage. If the
2432
frame was in the middle of a chain, the previous and next frames will be
5328 cbradney 2433
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
5042 cbradney 2434
 
2435
May throw ScribusException if linking rules are violated.
2436
</source>
5328 cbradney 2437
        <translation type="unfinished"></translation>
5042 cbradney 2438
    </message>
2439
    <message>
14831 cbradney 2440
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="355"/>
5328 cbradney 2441
        <source>traceText([&quot;name&quot;])
5042 cbradney 2442
 
2443
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2444
currently selected item is used.</source>
5328 cbradney 2445
        <translation type="unfinished"></translation>
5042 cbradney 2446
    </message>
2447
    <message>
14831 cbradney 2448
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="366"/>
5328 cbradney 2449
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
5042 cbradney 2450
 
2451
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
5328 cbradney 2452
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
5042 cbradney 2453
use text frame linking. Without this parameter it search all linking chain.
2454
 
2455
May raise WrongFrameTypeError if the target frame is not an text frame
2456
</source>
5328 cbradney 2457
        <translation type="unfinished"></translation>
5042 cbradney 2458
    </message>
2459
    <message>
14831 cbradney 2460
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="379"/>
12918 cbradney 2461
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
2462
 
2463
Does hyphenation on text frame &quot;name&quot;.
2464
If &quot;name&quot; is not given the currently selected item is used.
2465
 
2466
May raise WrongFrameTypeError if the target frame is not a text frame
2467
</source>
2468
        <translation type="unfinished"></translation>
2469
    </message>
2470
    <message>
14831 cbradney 2471
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/>
12918 cbradney 2472
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
2473
 
2474
Does dehyphenation on text frame &quot;name&quot;.
2475
If &quot;name&quot; is not given the currently selected item is used.
2476
 
2477
May raise WrongFrameTypeError if the target frame is not a text frame
2478
</source>
2479
        <translation type="unfinished"></translation>
2480
    </message>
2481
    <message>
14831 cbradney 2482
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="408"/>
12918 cbradney 2483
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
2484
 
2485
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
2486
If &quot;name&quot; is not given the currently selected item is used.
2487
 
2488
May raise WrongFrameTypeError if the target frame is not a text frame
2489
</source>
2490
        <translation type="unfinished"></translation>
2491
    </message>
2492
    <message>
14831 cbradney 2493
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="420"/>
5328 cbradney 2494
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
5042 cbradney 2495
 
2496
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
2497
If &quot;name&quot; is not given the currently selected item is used.
2498
 
2499
May raise WrongFrameTypeError if the target frame is not a text frame
2500
</source>
5328 cbradney 2501
        <translation type="unfinished"></translation>
5042 cbradney 2502
    </message>
2503
    <message>
14474 cbradney 2504
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/>
12918 cbradney 2505
        <source>messagebarText(&quot;string&quot;)
2506
 
2507
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2508
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
2509
</source>
14831 cbradney 2510
        <translation>messagebarText(&quot;chaîne&quot;)
12918 cbradney 2511
 
14831 cbradney 2512
Écrit la &quot;chaîne&quot; dans la barre de messages de Scribus (ligne de statut).
2513
Le texte doit être encodé en UTF8 ou une chaîne &apos;unicode&apos; (recommandé).</translation>
12918 cbradney 2514
    </message>
2515
    <message>
14474 cbradney 2516
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/>
5328 cbradney 2517
        <source>progressReset()
5042 cbradney 2518
 
2519
Cleans up the Scribus progress bar previous settings. It is called before the
2520
new progress bar use. See progressSet.
2521
</source>
5328 cbradney 2522
        <translation type="unfinished"></translation>
5042 cbradney 2523
    </message>
2524
    <message>
14474 cbradney 2525
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/>
5328 cbradney 2526
        <source>progressTotal(max)
5042 cbradney 2527
 
5328 cbradney 2528
Sets the progress bar&apos;s maximum steps value to the specified number.
5042 cbradney 2529
See progressSet.
2530
</source>
5328 cbradney 2531
        <translation type="unfinished"></translation>
5042 cbradney 2532
    </message>
2533
    <message>
14474 cbradney 2534
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/>
5328 cbradney 2535
        <source>progressSet(nr)
5042 cbradney 2536
 
2537
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
2538
progressTotal. The progress bar uses the concept of steps; you give it the
2539
total number of steps and the number of steps completed so far and it will
2540
display the percentage of steps that have been completed. You can specify the
2541
total number of steps with progressTotal(). The current number of steps is set
2542
with progressSet(). The progress bar can be rewound to the beginning with
5328 cbradney 2543
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
5042 cbradney 2544
</source>
5328 cbradney 2545
        <translation type="unfinished"></translation>
5042 cbradney 2546
    </message>
2547
    <message>
14474 cbradney 2548
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/>
5328 cbradney 2549
        <source>setCursor()
5042 cbradney 2550
 
2551
[UNSUPPORTED!] This might break things, so steer clear for now.
2552
</source>
14831 cbradney 2553
        <translation>setCursor()
9300 jghali 2554
 
14831 cbradney 2555
[NON SUPPORTÉ !] Cette fonction risque de créer des plantages. À éviter pour le moment.</translation>
5042 cbradney 2556
    </message>
2557
    <message>
14474 cbradney 2558
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/>
5328 cbradney 2559
        <source>docChanged(bool)
5042 cbradney 2560
 
5328 cbradney 2561
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
2562
useful to call this procedure when you&apos;re changing the document, because Scribus
2563
won&apos;t automatically notice when you change the document using a script.
5042 cbradney 2564
</source>
14831 cbradney 2565
        <translation>docChanged(booléen)
9300 jghali 2566
 
2567
Active/désactive l&apos;icône de sauvegarde dans la barre d&apos;icônes, ainsi que l&apos;entrée de
2568
menu &quot;enregistrer&quot;. Il est utile d&apos;appeler cette fonction lors de modifications dans le
2569
document car Scribus ne détectera pas automatiquement que des changements
14831 cbradney 2570
ont lieu lors de l&apos;utilisation d&apos;un script.
2571
</translation>
5042 cbradney 2572
    </message>
2573
    <message>
14474 cbradney 2574
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/>
5328 cbradney 2575
        <source>zoomDocument(double)
5042 cbradney 2576
 
2577
Zoom the document in main GUI window. Actions have whole number
2578
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
2579
</source>
14831 cbradney 2580
        <translation>zoomDocument(double)
9300 jghali 2581
 
2582
Change le niveau de zoom dans la fenêtre principale. Les valeurs à fournir
2583
sont des nombres ronds comme 20.0, 100.0, ... Pour obtenir un zoom ajusté
14831 cbradney 2584
à la taille de la fenêtre, la valeur est -100.
2585
</translation>
5042 cbradney 2586
    </message>
6261 cbradney 2587
    <message>
14474 cbradney 2588
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/>
12918 cbradney 2589
        <source>scrollDocument(x,y)
6261 cbradney 2590
 
12918 cbradney 2591
Scroll the document in main GUI window by x and y.
6261 cbradney 2592
</source>
2593
        <translation type="unfinished"></translation>
2594
    </message>
2595
    <message>
14474 cbradney 2596
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/>
12918 cbradney 2597
        <source>placeSVG(&quot;filename&quot;, x, y)
6261 cbradney 2598
 
12918 cbradney 2599
Places the SVG &quot;filename&quot; onto the current page,
2600
x and y specify the coordinate of the topleft corner of the SVG placed on the page
2601
 
2602
If loading was successful, the selection contains the imported SVG
6261 cbradney 2603
</source>
14831 cbradney 2604
        <translation>placeSVG(&quot;fichier&quot;, x,y)
12918 cbradney 2605
 
2606
Positionne le fichier SVG &quot;fichier&quot; sur la page courante,
2607
avec x et y étant les coordonnées de placement du point en haut à gauche du SVG
2608
 
2609
Si le chargement est réussi, la sélection contient le SVG importé
2610
</translation>
6261 cbradney 2611
    </message>
2612
    <message>
14474 cbradney 2613
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/>
12918 cbradney 2614
        <source>placeEPS(&quot;filename&quot;, x, y)
6261 cbradney 2615
 
12918 cbradney 2616
Places the EPS &quot;filename&quot; onto the current page,
2617
x and y specify the coordinate of the topleft corner of the EPS placed on the page
2618
 
2619
If loading was successful, the selection contains the imported EPS
6261 cbradney 2620
</source>
14831 cbradney 2621
        <translation>placeEPS(&quot;fichier&quot;, x,y)
12918 cbradney 2622
 
2623
Positionne le fichier EPS &quot;fichier&quot; sur la page courante,
2624
avec x et y étant les coordonnées de placement du point en haut à gauche du EPS
2625
 
2626
Si le chargement est réussi, la sélection contient l&apos;EPS importé
2627
</translation>
6261 cbradney 2628
    </message>
2629
    <message>
14474 cbradney 2630
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/>
12918 cbradney 2631
        <source>placeSXD(&quot;filename&quot;, x, y)
6261 cbradney 2632
 
12918 cbradney 2633
Places the SXD &quot;filename&quot; onto the current page,
2634
x and y specify the coordinate of the topleft corner of the SXD placed on the page
2635
 
2636
If loading was successful, the selection contains the imported SXD
6261 cbradney 2637
</source>
14831 cbradney 2638
        <translation>placeSXD(&quot;fichier&quot;, x,y)
12918 cbradney 2639
 
2640
Positionne le fichier SXD &quot;fichier&quot; sur la page courante,
2641
avec x et y étant les coordonnées de placement du point en haut à gauche du SXD
2642
 
2643
Si le chargement est réussi, la sélection contient le SXD importé
2644
</translation>
6261 cbradney 2645
    </message>
2646
    <message>
14474 cbradney 2647
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/>
12918 cbradney 2648
        <source>placeODG(&quot;filename&quot;, x, y)
6261 cbradney 2649
 
12918 cbradney 2650
Places the ODG &quot;filename&quot; onto the current page,
2651
x and y specify the coordinate of the topleft corner of the ODG placed on the page
6261 cbradney 2652
 
12918 cbradney 2653
If loading was successful, the selection contains the imported ODG
6261 cbradney 2654
</source>
14831 cbradney 2655
        <translation>placeODG(&quot;fichier&quot;, x,y)
12918 cbradney 2656
 
2657
Positionne le fichier ODG &quot;fichier&quot; sur la page courante,
2658
avec x et y étant les coordonnées de placement du point en haut à gauche du ODG
2659
 
2660
Si le chargement est réussi, la sélection contient l&apos;ODG importé
2661
</translation>
6261 cbradney 2662
    </message>
13279 cbradney 2663
    <message>
14474 cbradney 2664
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/>
13279 cbradney 2665
        <source>isSpotColor(&quot;name&quot;) -&gt; bool
2666
 
2667
Returns True if the color &quot;name&quot; is a spot color.
2668
See also setSpotColor()
2669
 
2670
May raise NotFoundError if a named color wasn&apos;t found.
2671
May raise ValueError if an invalid color name is specified.
2672
</source>
2673
        <translation type="unfinished"></translation>
2674
    </message>
2675
    <message>
14474 cbradney 2676
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/>
13279 cbradney 2677
        <source>setSpotColor(&quot;name&quot;, spot)
2678
 
2679
Set the color &quot;name&quot; as a spot color if spot parameter is True.
2680
See also isSpotColor()
2681
 
2682
May raise NotFoundError if a named color wasn&apos;t found.
2683
May raise ValueError if an invalid color name is specified.
2684
</source>
2685
        <translation type="unfinished"></translation>
2686
    </message>
2687
    <message>
14474 cbradney 2688
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/>
13279 cbradney 2689
        <source>scaleImage(x, y [, &quot;name&quot;])
2690
 
2691
Sets the internal scaling factors of the picture in the image frame &quot;name&quot;.
2692
If &quot;name&quot; is not given the currently selected item is used. A number of 1
2693
means 100 %. Internal scaling factors are different from the values shown on
2694
properties palette. Note : deprecated, use setImageScale() instead.
2695
 
2696
May raise WrongFrameTypeError if the target frame is not an image frame
2697
</source>
2698
        <translation type="unfinished"></translation>
2699
    </message>
2700
    <message>
14474 cbradney 2701
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/>
13279 cbradney 2702
        <source>setImageScale(x, y [, &quot;name&quot;])
2703
 
2704
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
2705
If &quot;name&quot; is not given the currently selected item is used. A number of 1
2706
means 100 %. Scaling factors are equal to the values shown on properties palette.
2707
 
2708
May raise WrongFrameTypeError if the target frame is not an image frame
2709
</source>
2710
        <translation type="unfinished"></translation>
2711
    </message>
2712
    <message>
14474 cbradney 2713
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/>
13279 cbradney 2714
        <source>setGradientStop(&quot;color&quot;, shade, opacity, ramppoint, [&quot;name&quot;])
2715
 
2716
Set or add a gradient stop to the gradient fill of the object &quot;name&quot; at position ramppoint.
2717
Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill()
2718
must have been called previously for the gradient fill to be visible.
2719
</source>
2720
        <translation type="unfinished"></translation>
2721
    </message>
2722
    <message>
14831 cbradney 2723
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="288"/>
13279 cbradney 2724
        <source>setTextScalingV(scale, [&quot;name&quot;])
2725
 
2726
Sets the vertical character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
2727
If &quot;name&quot; is not given the currently selected item is used.
2728
</source>
2729
        <translation type="unfinished"></translation>
2730
    </message>
2731
    <message>
14831 cbradney 2732
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="298"/>
13279 cbradney 2733
        <source>setTextScalingH(scale, [&quot;name&quot;])
2734
 
2735
Sets the horizontal character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
2736
If &quot;name&quot; is not given the currently selected item is used.
2737
</source>
2738
        <translation type="unfinished"></translation>
2739
    </message>
12918 cbradney 2740
</context>
2741
<context>
2742
    <name>@default</name>
6261 cbradney 2743
    <message>
12918 cbradney 2744
        <source>getColorNames() -&gt; list
6261 cbradney 2745
 
12918 cbradney 2746
Returns a list containing the names of all defined colors in the document.
2747
If no document is open, returns a list of the default document colors.
2748
</source>
2749
        <translation type="obsolete">getColorNames() -&gt; liste
6261 cbradney 2750
 
12918 cbradney 2751
Crée la liste des noms de toutes les couleurs définie dans le document.
2752
S&apos;il n&apos;y a aucun document ouvert, la liste est composée des couleurs présentes par défaut.</translation>
2753
    </message>
2754
    <message>
2755
        <source>newDocDialog() -&gt; bool
2756
 
2757
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
2758
accepts the settings. Does not create a document if the user presses cancel.
2759
Returns true if a new document was created.
6261 cbradney 2760
</source>
12918 cbradney 2761
        <translation type="obsolete">newDocDialog() -&gt; booléen
2762
 
2763
Affiche la boîte de dialogue &quot;Nouveau document&quot;. Crée un nouveau document si
2764
l&apos;utilisateur valide les réglages. Ne crée pas de document si l&apos;utilisateur clique sur
2765
&quot;Annuler&quot;. Retourne vrai si un nouveau document est créé.</translation>
6261 cbradney 2766
    </message>
2767
    <message>
12918 cbradney 2768
        <source>getFillColor([&quot;name&quot;]) -&gt; string
6261 cbradney 2769
 
12918 cbradney 2770
Returns the name of the fill color of the object &quot;name&quot;.
2771
If &quot;name&quot; is not given the currently selected item is used.
2772
</source>
2773
        <translation type="obsolete">getFillColor([&quot;nom&quot;]) -&gt; chaîne
6261 cbradney 2774
 
12918 cbradney 2775
Retourne le nom de la couleur de remplissage de l&apos;objet &quot;nom&quot;.
2776
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
2777
    </message>
2778
    <message>
2779
        <source>moveObject(dx, dy [, &quot;name&quot;])
2780
 
2781
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
2782
distances are expressed in the current measurement unit of the document (see
2783
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
2784
If the object &quot;name&quot; belongs to a group, the whole group is moved.
6261 cbradney 2785
</source>
12918 cbradney 2786
        <translation type="obsolete">moveObject(dx, dy [, &quot;nom&quot;])
2787
 
2788
Déplace l&apos;objet &quot;nom&quot; de dx et dy relativement à sa position courante. Les
2789
distances sont exprimées dans l&apos;unité courante de mesure du document (voir
2790
constantes d&apos;UNITÉS). Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
2791
Si l&apos;objet &quot;nom&quot; appartient à un groupe, le groupe entier est déplacé.</translation>
6261 cbradney 2792
    </message>
2793
    <message>
12918 cbradney 2794
        <source>setRedraw(bool)
6261 cbradney 2795
 
12918 cbradney 2796
Disables page redraw when bool = False, otherwise redrawing is enabled.
2797
This change will persist even after the script exits, so make sure to call
2798
setRedraw(True) in a finally: clause at the top level of your script.
2799
</source>
2800
        <translation type="obsolete">setRedraw(booléen)
6261 cbradney 2801
 
12918 cbradney 2802
Désactive le rafraîchissement de l&apos;affichage si le booléen est faux, sinon le
2803
rafraîchissement est actif. Ce changement persiste même après la fin du
2804
script, donc veillez à appeler setRedraw(True) dans une clause finally: au
2805
début de votre script.
2806
</translation>
2807
    </message>
2808
    <message>
2809
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
2810
 
2811
Creates a new rectangle on the current page and returns its name. The
2812
coordinates are given in the current measurement units of the document
2813
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
2814
because you need this name to reference that object in future. If &quot;name&quot;
2815
is not given Scribus will create one for you.
2816
 
2817
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
6261 cbradney 2818
</source>
12918 cbradney 2819
        <translation type="obsolete">createRect(x, y, largeur, hauteur, [&quot;nom&quot;]) -&gt; chaîne
2820
 
2821
Crée un rectangle sur la page courante et retourne son nom. Les coordonnées
2822
sont exprimées dans l&apos;unité courante de mesure du document (voir constantes
2823
d&apos;UNITÉS). &quot;nom&quot; doit être un identifiant unique pour l&apos;objet car il sert de référence
2824
pour l&apos;objet. Si &quot;nom&quot; est omis, Scribus en attribuera un pour vous.
2825
 
2826
Peut lever une erreur NameExistsError si &quot;nom&quot; existe déjà.</translation>
6261 cbradney 2827
    </message>
2828
    <message>
12918 cbradney 2829
        <source>newPage(where [,&quot;masterpage&quot;])
6261 cbradney 2830
 
12918 cbradney 2831
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
2832
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
2833
counted from 1 upwards, no matter what the displayed first page number of your
2834
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
2835
master page for the new page.
6261 cbradney 2836
 
12918 cbradney 2837
May raise IndexError if the page number is out of range
6261 cbradney 2838
</source>
12918 cbradney 2839
        <translation type="obsolete">newPage(emplacement [,&quot;gabarit&quot;])
2840
 
2841
Crée une nouvelle page. Si &quot;emplacement&quot; vaut -1, la page est ajoutée à la fin
2842
du document; dans le cas contraire, elle est insérée avant la page &quot;emplacement&quot;.
2843
Les numéros de pages débutent à 1, indépendamment de la première page
2844
affichée du document. Le paramètre optionnel &quot;gabarit&quot; permet d&apos;affecter un gabarit
2845
à la nouvelle page.
2846
 
2847
Peut lever une erreur IndexError si &quot;emplacement&quot; est hors plage</translation>
6261 cbradney 2848
    </message>
2849
    <message>
12918 cbradney 2850
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
6261 cbradney 2851
 
12918 cbradney 2852
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
2853
the same as for setFillColor() and setFillShade(). See the constants for
2854
available types (FILL_&lt;type&gt;).
2855
</source>
2856
        <translation type="obsolete">setGradientFill(type, &quot;couleur1&quot;, teinte1, &quot;couleur2&quot;, teinte2, [&quot;nom&quot;])
6261 cbradney 2857
 
12918 cbradney 2858
Définit le type de gradient de l&apos;objet &quot;nom&quot;. Les descriptions de couleurs sont
2859
les mêmes que pour setFillColor() et setFillShade(). Référez-vous aux constantes
2860
pour connaîtres les types de gradient (FILL_&lt;type&gt;).
2861
</translation>
2862
    </message>
2863
    <message>
2864
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2865
 
2866
Returns the font size in points for the text frame &quot;name&quot;. If this text
2867
frame has some text selected the value assigned to the first character of
2868
the selection is returned.
2869
If &quot;name&quot; is not given the currently selected item is used.
6261 cbradney 2870
</source>
12918 cbradney 2871
        <translation type="obsolete">getFontSize([&quot;nom&quot;]) -&gt; flottant
2872
 
2873
Retourne la taille de la police en points pour le cadre de texte &quot;nom&quot;. Si une
2874
partie du texte du cadre est sélectionné, la valeur retournée est celle du
2875
premier caractère de la sélection.
2876
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
6261 cbradney 2877
    </message>
2878
    <message>
12918 cbradney 2879
        <source>messagebarText(&quot;string&quot;)
6261 cbradney 2880
 
12918 cbradney 2881
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2882
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
6261 cbradney 2883
</source>
12918 cbradney 2884
        <translation type="obsolete">messagebarText(&quot;chaîne&quot;)
2885
 
2886
Ecrit la &quot;chaîne&quot; dans la barre de messages de Scribus (ligne de statut).
2887
Le texte doit être encodé en UTF8 ou une chaîne &apos;unicode&apos; (recommendé).</translation>
6261 cbradney 2888
    </message>
2889
    <message>
12918 cbradney 2890
        <source>newDocument(size, margins, orientation, firstPageNumber,
2891
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
6261 cbradney 2892
 
12918 cbradney 2893
Creates a new document and returns true if successful. The parameters have the
2894
following meaning:
2895
 
2896
size = A tuple (width, height) describing the size of the document. You can
2897
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
2898
 
2899
margins = A tuple (left, right, top, bottom) describing the document
2900
margins
2901
 
2902
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
2903
 
2904
firstPageNumer = is the number of the first page in the document used for
2905
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
2906
numbers if you&apos;re creating a document in several parts.
2907
 
2908
unit: this value sets the measurement units used by the document. Use a
2909
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
2910
UNIT_PICAS, UNIT_POINTS.
2911
 
2912
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
2913
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
2914
PAGE_4 is 4-fold.
2915
 
2916
firstPageOrder = What is position of first page in the document.
2917
Indexed from 0 (0 = first).
2918
 
2919
numPage = Number of pages to be created.
2920
 
2921
The values for width, height and the margins are expressed in the given unit
2922
for the document. PAPER_* constants are expressed in points. If your document
2923
is not in points, make sure to account for this.
2924
 
2925
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
2926
PAGE_4, 3, 1)
2927
 
2928
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
6261 cbradney 2929
</source>
12918 cbradney 2930
        <translation type="obsolete">newDocument(taille, marges, orientation, numeroPremièrePage,
2931
                       unité, typePages, positionPremièrePage) -&gt; booléen
9300 jghali 2932
 
12918 cbradney 2933
Crée un nouveau document et retourne vrai en cas de succès. Les divers paramètres
2934
ont la signification suivante :
2935
 
2936
taille : un tuple (hauteur, largeur) décrivant la taille du document. Il est possible
2937
d&apos;utiliser des constantes prédéfinies nommées PAPER_&lt;paper_type&gt; (PAPER_A4...)
2938
 
2939
marges : un tuple (gauche, droite, haut, bas) décrivant les marges du
2940
nouveau document
2941
 
2942
orientation : l&apos;orientation de la page - constantes PORTRAIT, LANDSCAPE
2943
 
2944
numeroPremièrePage : numéro de la première page du document, utilisé
2945
pour la numérotation des pages. La plupart du temps, ce sera 1, mais
2946
d&apos;autres valeurs peuvent se révéler utiles pour des documents découpés
2947
en plusieurs parties.
2948
 
2949
unité : définit l&apos;unité de mesure utilisée dans ce document. Utiliser l&apos;une des
2950
constantes prédéfinies pour cela : UNIT_INCHES, UNIT_MILLIMETERS,
2951
UNIT_PICAS, UNIT_POINTS.
2952
typePages : une des constantes prédéfinies PAGE_n. PAGE_1 pour des pages
2953
simples, PAGE_2 pour des pages en regard, PAGE_3 pour 3 volets et
2954
PAGE_4 pour 4 volets.
2955
 
2956
positionPremièrePage : position de la première page dans le document.
2957
Démarre à 0 (0 = première page).
2958
 
2959
nombrePages : nombre de pages à créer.
2960
 
2961
Les valeurs de hauteur, largeur et de marges sont exprimées dans l&apos;unité
2962
fournie pour le document. PAPER_* sont des constantes exprimées en points;
2963
donc si l&apos;unité de votre document n&apos;est pas le point, il faut en tenir compte.
2964
 
2965
exemple: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,(new line)
2966
PAGE_4, 3, 1)
2967
 
2968
Lève une erreur ScribusError si positionPremièrePage est plus grand que ce qui
2969
est admissible par typePages.
9300 jghali 2970
</translation>
6261 cbradney 2971
    </message>
2972
    <message>
12918 cbradney 2973
        <source>placeSVG(&quot;filename&quot;, x, y)
6434 cbradney 2974
 
12918 cbradney 2975
Places the SVG &quot;filename&quot; onto the current page,
2976
x and y specify the coordinate of the topleft corner of the SVG placed on the page
2977
 
2978
If loading was successful, the selection contains the imported SVG
6434 cbradney 2979
</source>
12918 cbradney 2980
        <translation type="obsolete">placeSVG(&quot;fichier&quot;, x,y)
9300 jghali 2981
 
12918 cbradney 2982
Positionne le fichier SVG &quot;fichier&quot; sur la page courante,
2983
avec x et y étant les coordonnées de placement du point en haut à gauche du SVG
2984
 
2985
Si le chargement est réussi, la sélection contient le SVG importé
2986
</translation>
6434 cbradney 2987
    </message>
2988
    <message>
12918 cbradney 2989
        <source>getColor(&quot;name&quot;) -&gt; tuple
6434 cbradney 2990
 
12918 cbradney 2991
Returns a tuple (C, M, Y, K) containing the four color components of the
2992
color &quot;name&quot; from the current document. If no document is open, returns
2993
the value of the named color from the default document colors.
2994
 
2995
May raise NotFoundError if the named color wasn&apos;t found.
2996
May raise ValueError if an invalid color name is specified.
6434 cbradney 2997
</source>
12918 cbradney 2998
        <translation type="obsolete">getColor(&quot;nom&quot;) -&gt; tuple
9300 jghali 2999
 
12918 cbradney 3000
Retourne un tuple (C,M,J,N) contenant les quatre composantes de couleurs de
3001
la couleur &quot;nom&quot; du document courant. Si aucun document n&apos;est ouvert,
3002
retourne la valeur de la couleur &quot;nom&quot; des couleurs par défaut.
3003
 
3004
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
3005
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
6434 cbradney 3006
    </message>
3007
    <message>
12918 cbradney 3008
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
6434 cbradney 3009
 
12918 cbradney 3010
Returns a tuple (R,G,B) containing the three color components of the
3011
color &quot;name&quot; from the current document, converted to the RGB color
3012
space. If no document is open, returns the value of the named color
3013
from the default document colors.
3014
 
3015
May raise NotFoundError if the named color wasn&apos;t found.
3016
May raise ValueError if an invalid color name is specified.
6434 cbradney 3017
</source>
12918 cbradney 3018
        <translation type="obsolete">getColorAsRGB(&quot;nom&quot;) -&gt; tuple
3019
 
3020
Retourne un tuple (R,V,B) contenant les trois composantes de couleurs de
3021
la couleur &quot;nom&quot; du document courant, convertie dans l&apos;espace RVB. Si
3022
aucun document n&apos;est ouvert,retourne la valeur de la couleur &quot;nom&quot; des
3023
couleurs par défaut.
3024
 
3025
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
3026
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
6434 cbradney 3027
    </message>
7508 cbradney 3028
    <message>
12918 cbradney 3029
        <source>changeColor(&quot;name&quot;, c, m, y, k)
7508 cbradney 3030
 
12918 cbradney 3031
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
3032
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
3033
Color components should be in the range from 0 to 255.
7508 cbradney 3034
 
12918 cbradney 3035
May raise NotFoundError if the named color wasn&apos;t found.
7508 cbradney 3036
May raise ValueError if an invalid color name is specified.
3037
</source>
12918 cbradney 3038
        <translation type="obsolete">changeColor(&quot;nom&quot;, c, m, j, k)
3039
 
3040
Change les valeurs c,m,j et n de la couleur &quot;nom&quot;. La couleur est définie par
3041
les quatres composantes c = Cyan, m = Magenta, j = Jaune, N = Noir.
3042
Chaque composante a une valeur comprise entre 0 et 255.
3043
 
3044
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
3045
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
7508 cbradney 3046
    </message>
3047
    <message>
12918 cbradney 3048
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
7508 cbradney 3049
 
12918 cbradney 3050
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
3051
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
3052
&quot;None&quot; - transparent.
3053
 
3054
deleteColor works on the default document colors if there is no document open.
3055
In that case, &quot;replace&quot;, if specified, has no effect.
3056
 
3057
May raise NotFoundError if a named color wasn&apos;t found.
3058
May raise ValueError if an invalid color name is specified.
7508 cbradney 3059
</source>
12918 cbradney 3060
        <translation type="obsolete">deleteColor(&quot;nom&quot;, &quot;subsitution&quot;)
3061
 
3062
Supprime la couleur &quot;nom&quot;. Chaque occurrence de la couleur est remplacée
3063
par la couleur &quot;substitution&quot;. Si cette dernière n&apos;est pas spécifiée, la couleur
3064
de remplacement sera &quot;None&quot;, c&apos;est à dire transparent.
3065
 
3066
La fonction deleteColor travaille sur les couleurs par défaut si aucun document
3067
n&apos;est ouvert. Dans ce cas, &quot;substitution&quot; n&apos;a aucun effet.
3068
 
3069
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
3070
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
7508 cbradney 3071
    </message>
3072
    <message>
12918 cbradney 3073
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
7508 cbradney 3074
 
12918 cbradney 3075
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
3076
 
3077
May raise NotFoundError if a named color wasn&apos;t found.
3078
May raise ValueError if an invalid color name is specified.
7508 cbradney 3079
</source>
12918 cbradney 3080
        <translation type="obsolete">replaceColor(&quot;nom&quot;, &quot;substitution&quot;)
3081
 
3082
Remplace chaque occurrence de la couleur &quot;nom&quot; par la couleur &quot;substitution&quot;.
3083
 
3084
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
3085
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
7508 cbradney 3086
    </message>
3087
    <message>
12918 cbradney 3088
        <source>newStyleDialog() -&gt; string
7508 cbradney 3089
 
12918 cbradney 3090
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
3091
style name or None when user cancels the dialog.
7508 cbradney 3092
</source>
12918 cbradney 3093
        <translation type="obsolete">newStyleDialog() -&gt; chaîne
3094
 
3095
Affiche le dialogue de création d&apos;un nouveau style de paragraphe.
3096
Retourne le nom du nouveau style ou None si l&apos;utilisateur annule.
3097
</translation>
7508 cbradney 3098
    </message>
3099
    <message>
12918 cbradney 3100
        <source>newDoc(size, margins, orientation, firstPageNumber,
3101
                   unit, facingPages, firstSideLeft) -&gt; bool
7508 cbradney 3102
 
12918 cbradney 3103
WARNING: Obsolete procedure! Use newDocument instead.
7508 cbradney 3104
 
12918 cbradney 3105
Creates a new document and returns true if successful. The parameters have the
3106
following meaning:
3107
 
3108
    size = A tuple (width, height) describing the size of the document. You can
3109
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3110
 
3111
    margins = A tuple (left, right, top, bottom) describing the document
3112
    margins
3113
 
3114
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3115
 
3116
    firstPageNumer = is the number of the first page in the document used for
3117
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3118
    numbers if you&apos;re creating a document in several parts.
3119
 
3120
    unit: this value sets the measurement units used by the document. Use a
3121
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3122
    UNIT_PICAS, UNIT_POINTS.
3123
 
3124
    facingPages = FACINGPAGES, NOFACINGPAGES
3125
 
3126
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
3127
 
3128
The values for width, height and the margins are expressed in the given unit
3129
for the document. PAPER_* constants are expressed in points. If your document
3130
is not in points, make sure to account for this.
3131
 
3132
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
3133
                FACINGPAGES, FIRSTPAGERIGHT)
7508 cbradney 3134
</source>
12918 cbradney 3135
        <translation type="obsolete">newDoc(taille, marges, orientation, numeroPremierePage,
3136
                   unité, pagesRegard, firstSideLeft) -&gt; booléen
3137
 
3138
ATTENTION : FONCTION OBSOLETE, utiliser newDocument à la place !
3139
 
3140
Creates a new document and returns true if successful. The parameters have the
3141
following meaning:
3142
 
3143
    size = A tuple (width, height) describing the size of the document. You can
3144
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3145
 
3146
    margins = A tuple (left, right, top, bottom) describing the document
3147
    margins
3148
 
3149
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3150
 
3151
    firstPageNumer = is the number of the first page in the document used for
3152
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3153
    numbers if you&apos;re creating a document in several parts.
3154
 
3155
    unit: this value sets the measurement units used by the document. Use a
3156
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3157
    UNIT_PICAS, UNIT_POINTS.
3158
 
3159
    facingPages = FACINGPAGES, NOFACINGPAGES
3160
 
3161
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
3162
 
3163
The values for width, height and the margins are expressed in the given unit
3164
for the document. PAPER_* constants are expressed in points. If your document
3165
is not in points, make sure to account for this.
3166
 
3167
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
3168
                FACINGPAGES, FIRSTPAGERIGHT)
3169
</translation>
7508 cbradney 3170
    </message>
3171
    <message>
12918 cbradney 3172
        <source>closeDoc()
7508 cbradney 3173
 
12918 cbradney 3174
Closes the current document without prompting to save.
7508 cbradney 3175
 
12918 cbradney 3176
May throw NoDocOpenError if there is no document to close
7508 cbradney 3177
</source>
12918 cbradney 3178
        <translation type="obsolete">closeDoc()
3179
 
3180
Ferme le document en cours sans demande de confirmation de sauvegarde.
3181
 
3182
Lève l&apos;erreur NoDocOpenError s&apos;il n&apos;y a pas de document à fermer
3183
</translation>
7508 cbradney 3184
    </message>
3185
    <message>
12918 cbradney 3186
        <source>haveDoc() -&gt; bool
7508 cbradney 3187
 
12918 cbradney 3188
Returns true if there is a document open.
3189
</source>
3190
        <translation type="obsolete">haveDoc() -&gt; booléen
7508 cbradney 3191
 
12918 cbradney 3192
Retourne vrai si un document est ouvert.</translation>
3193
    </message>
3194
    <message>
3195
        <source>openDoc(&quot;name&quot;)
3196
 
3197
Opens the document &quot;name&quot;.
3198
 
3199
May raise ScribusError if the document could not be opened.
7508 cbradney 3200
</source>
12918 cbradney 3201
        <translation type="obsolete">openDoc(&quot;nom&quot;)
3202
 
3203
Ouvre le document &quot;nom&quot;.
3204
 
3205
Lève l&apos;erreur ScribusError si le document ne peut pas être ouvert.
3206
</translation>
7508 cbradney 3207
    </message>
9005 cbradney 3208
    <message>
12918 cbradney 3209
        <source>saveDoc()
9005 cbradney 3210
 
12918 cbradney 3211
Saves the current document with its current name, returns true if successful.
3212
If the document has not already been saved, this may bring up an interactive
3213
save file dialog.
9005 cbradney 3214
 
12918 cbradney 3215
If the save fails, there is currently no way to tell.
9005 cbradney 3216
</source>
12918 cbradney 3217
        <translation type="obsolete">saveDoc()
3218
 
3219
Enregistre le document courant avec son nom actuel et retourne vrai en cas de succès.
3220
Si le document n&apos;a pas encore été sauvegardé, le dialogue d&apos;enregistrement de fichiers
3221
sera ouvert.
3222
 
3223
Il n&apos;y a actuellement pas de moyen de savoir si l&apos;enregistrement échoue.</translation>
9005 cbradney 3224
    </message>
3225
    <message>
12918 cbradney 3226
        <source>saveDocAs(&quot;name&quot;)
9005 cbradney 3227
 
12918 cbradney 3228
Saves the current document under the new name &quot;name&quot; (which may be a full or
3229
relative path).
9005 cbradney 3230
 
12918 cbradney 3231
May raise ScribusError if the save fails.
9005 cbradney 3232
</source>
12918 cbradney 3233
        <translation type="obsolete">saveDocAs(&quot;nom&quot;)
3234
 
3235
Enregistre le document courant sous le nom &quot;nom&quot; (qui peut contenir un chemin
3236
complet ou relatif).
3237
 
3238
Lève l&apos;erreur ScribusError si l&apos;enregistrement échoue.</translation>
9005 cbradney 3239
    </message>
3240
    <message>
12918 cbradney 3241
        <source>setMargins(lr, rr, tr, br)
9005 cbradney 3242
 
12918 cbradney 3243
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
3244
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3245
constants.
3246
</source>
3247
        <translation type="obsolete">setMargins(gr, dr, hr, br)
9005 cbradney 3248
 
12918 cbradney 3249
Définit les marges du document, gauche (gr), droite (dr), haut (hr) et bas (br)
3250
Les marges utilisent l&apos;unité de mesure du document, voir les constantes
3251
UNIT_&lt;type&gt;.
3252
</translation>
3253
    </message>
3254
    <message>
3255
        <source>setUnit(type)
3256
 
3257
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
3258
defined as constants UNIT_&lt;type&gt;.
3259
 
3260
May raise ValueError if an invalid unit is passed.
9005 cbradney 3261
</source>
12918 cbradney 3262
        <translation type="obsolete">setUnit(type)
3263
 
3264
Change l&apos;unité de mesure du document. Les valeurs possibles pour l&apos;unité sont
3265
définies par les constantes UNIT_&lt;type&gt;.
3266
 
3267
Lève une erreur ValueError si une unité invalide est fournie.
3268
</translation>
9005 cbradney 3269
    </message>
3270
    <message>
12918 cbradney 3271
        <source>getUnit() -&gt; integer (Scribus unit constant)
9005 cbradney 3272
 
12918 cbradney 3273
Returns the measurement units of the document. The returned value will be one
3274
of the UNIT_* constants:
3275
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
3276
</source>
3277
        <translation type="obsolete">getUnit() -&gt; entier (constante Scribus)
9005 cbradney 3278
 
12918 cbradney 3279
Retourne l&apos;unité de mesure du document. La valeur retournée sera l&apos;une des
3280
constantes UNIT_* :
3281
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation>
3282
    </message>
3283
    <message>
3284
        <source>loadStylesFromFile(&quot;filename&quot;)
3285
 
3286
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3287
current document.
9005 cbradney 3288
</source>
12918 cbradney 3289
        <translation type="obsolete">loadStylesFromFile(&quot;fichier&quot;)
3290
 
3291
Charge les styles de paragraphe depuis le document Scribus nommé &quot;fichier&quot;.
3292
</translation>
9005 cbradney 3293
    </message>
3294
    <message>
12918 cbradney 3295
        <source>closeMasterPage()
9005 cbradney 3296
 
12918 cbradney 3297
Closes the currently active master page, if any, and returns editing
3298
to normal. Begin editing with editMasterPage().
9005 cbradney 3299
</source>
12918 cbradney 3300
        <translation type="obsolete">closeMasterPage()
3301
 
3302
Ferme le gabarit actuellement actif, s&apos;il y en a un, et retourne au mode d&apos;édition
3303
normal. L&apos;édition d&apos;un gabarit débute par editMasterPage().</translation>
9005 cbradney 3304
    </message>
3305
    <message>
12918 cbradney 3306
        <source>masterPageNames()
9005 cbradney 3307
 
12918 cbradney 3308
Returns a list of the names of all master pages in the document.
9005 cbradney 3309
</source>
12918 cbradney 3310
        <translation type="obsolete">masterPageNames()
3311
 
3312
Retourne une liste contenant les noms des gabarits existant dans le document.</translation>
9005 cbradney 3313
    </message>
3314
    <message>
12918 cbradney 3315
        <source>editMasterPage(pageName)
9005 cbradney 3316
 
12918 cbradney 3317
Enables master page editing and opens the named master page
3318
for editing. Finish editing with closeMasterPage().
9005 cbradney 3319
</source>
12918 cbradney 3320
        <translation type="obsolete">editMasterPage(nomGabarit)
3321
 
3322
Active l&apos;édition du gabarit nommé &quot;nomGabarit&quot;. L&apos;édition du gabarit se
3323
termine par closeMasterPage().</translation>
9005 cbradney 3324
    </message>
3325
    <message>
12918 cbradney 3326
        <source>createMasterPage(pageName)
9005 cbradney 3327
 
12918 cbradney 3328
Creates a new master page named pageName and opens it for
3329
editing.
3330
</source>
3331
        <translation type="obsolete">createMasterPage(nomGabarit)
3332
 
3333
Crée un nouveau gabarit nommé nomGabarit et l&apos;ouvre pour édition.</translation>
3334
    </message>
3335
    <message>
3336
        <source>deleteMasterPage(pageName)
3337
 
3338
Delete the named master page.
3339
</source>
3340
        <translation type="obsolete">deleteMasterPage(nomGabarit)
3341
 
3342
Supprime le gabarit nommé nomGabarit.</translation>
3343
    </message>
3344
    <message>
3345
        <source>getLineColor([&quot;name&quot;]) -&gt; string
3346
 
3347
Returns the name of the line color of the object &quot;name&quot;.
9005 cbradney 3348
If &quot;name&quot; is not given the currently selected item is used.
3349
</source>
12918 cbradney 3350
        <translation type="obsolete">getLineColor([&quot;nom&quot;&quot;]) -&gt; chaîne
3351
 
3352
Retourne le nom de la couleur de filet de l&apos;objet &quot;nom&quot;.
3353
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
9005 cbradney 3354
    </message>
3355
    <message>
12918 cbradney 3356
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
9005 cbradney 3357
 
12918 cbradney 3358
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3359
is not given the currently selected Item is used.
3360
</source>
3361
        <translation type="obsolete">getLineWidth([&quot;nom&quot;]) -&gt; entier
9005 cbradney 3362
 
12918 cbradney 3363
Retourne l&apos;épaisseur de filet de l&apos;objet &quot;nom&quot;.
3364
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
3365
    </message>
3366
    <message>
3367
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
3368
 
3369
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
3370
the currently selected item is used.  The join types are:
3371
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
9005 cbradney 3372
</source>
12918 cbradney 3373
        <translation type="obsolete">getLineJoin([&quot;nom&quot;]) -&gt; entier (voir constantes)
9300 jghali 3374
 
12918 cbradney 3375
Retourne le type d&apos;angle des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
3376
l&apos;objet actuellement sélectionné est utilisé.  Les types d&apos;angles sont :
3377
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND</translation>
3378
    </message>
3379
    <message>
3380
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
9300 jghali 3381
 
12918 cbradney 3382
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3383
currently selected item is used. The cap types are:
3384
CAP_FLAT, CAP_ROUND, CAP_SQUARE
3385
</source>
3386
        <translation type="obsolete">getLineEnd([&quot;nom&quot;]) -&gt; entier (voir constantes)
3387
 
3388
Retourne le type de terminaison des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
3389
l&apos;objet actuellement sélectionné est utilisé.  Les types de terminaisons sont :
3390
CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation>
3391
    </message>
3392
    <message>
3393
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
3394
 
3395
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3396
currently selected item is used. Line style constants are:
3397
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
3398
</source>
3399
        <translation type="obsolete">getLineStyle([&quot;nom&quot;]) -&gt; entier (voir constantes)
3400
 
3401
Retourne le type de filet des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
3402
l&apos;objet actuellement sélectionné est utilisé.  Les types de filets sont :
3403
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
9300 jghali 3404
</translation>
9005 cbradney 3405
    </message>
3406
    <message>
12918 cbradney 3407
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
9005 cbradney 3408
 
12918 cbradney 3409
Returns a (x, y) tuple containing the scaling values of the image frame
3410
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3411
</source>
3412
        <translation type="obsolete">getImageScale([&quot;nom&quot;]) -&gt; (x,y)
9005 cbradney 3413
 
12918 cbradney 3414
Retourne un tuple (x,y) contenant les valeurs d&apos;échelle du cadre d&apos;image &quot;nom&quot;.
3415
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
3416
    </message>
3417
    <message>
3418
        <source>getImageName([&quot;name&quot;]) -&gt; string
3419
 
3420
Returns the filename for the image in the image frame. If &quot;name&quot; is not
3421
given the currently selected item is used.
9005 cbradney 3422
</source>
12918 cbradney 3423
        <translation type="obsolete">getImageName([&quot;nom&quot;]) -&gt; chaîne
9300 jghali 3424
 
12918 cbradney 3425
Retourne le nom de fichier de l&apos;image présente dans le cadre d&apos;image &quot;nom&quot;.
3426
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
9300 jghali 3427
</translation>
9005 cbradney 3428
    </message>
3429
    <message>
12918 cbradney 3430
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
9005 cbradney 3431
 
12918 cbradney 3432
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
3433
If &quot;name&quot; is not given the currently selected item is used. The size is
3434
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
3435
for reference.
3436
</source>
3437
        <translation type="obsolete">getSize([&quot;nom&quot;]) -&gt; (hauteur,largeur)
9005 cbradney 3438
 
12918 cbradney 3439
Retourne un tuple (hauteur,largeur) contenant la taille de l&apos;objet &quot;nom&quot;.
3440
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé. La taille est
3441
exprimée dans l&apos;unité de mesure actuelle du document
3442
- voir UNIT_&lt;type&gt; à titre de référence.</translation>
3443
    </message>
3444
    <message>
3445
        <source>getRotation([&quot;name&quot;]) -&gt; integer
3446
 
3447
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
3448
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
3449
is used.
9005 cbradney 3450
</source>
12918 cbradney 3451
        <translation type="obsolete">getRotation([&quot;nom&quot;]) -&gt; entier
9300 jghali 3452
 
12918 cbradney 3453
Retourne l&apos;angle de rotation de l&apos;objet &quot;nom&quot;. La valeur est exprimée en degrés et est
3454
positive pour une rotation dans le sens des aiguilles d&apos;une montre. Si &quot;nom&quot; est omis,
3455
l&apos;objet actuellement sélectionné est utilisé.</translation>
3456
    </message>
3457
    <message>
3458
        <source>getAllObjects() -&gt; list
9300 jghali 3459
 
12918 cbradney 3460
Returns a list containing the names of all objects on the current page.
3461
</source>
3462
        <translation type="obsolete">getAllObjects() -&gt; liste
3463
 
3464
Retourne une liste contenant les noms de tous les objets sur la page courante.</translation>
9005 cbradney 3465
    </message>
3466
    <message>
12918 cbradney 3467
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
3468
 
3469
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
3470
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
3471
is not given the currently selected item is used.  If the object &quot;name&quot;
3472
belongs to a group, the whole group is moved.
3473
</source>
3474
        <translation type="obsolete">moveObjectAbs(x, y [, &quot;nom&quot;])
3475
 
3476
Déplace l&apos;objet &quot;nom&quot; vers la nouvelle position. Les coordonnées sont à fournir dans l&apos;unité
3477
de mesure actuelle du document (voir constantes UNIT).  Si &quot;nom&quot; est omis, l&apos;objet
3478
actuellement sélectionné est utilisé.  Si l&apos;objet &quot;nom&quot; appartient à un groupe, le groupe
3479
entier est déplacé. </translation>
9005 cbradney 3480
    </message>
9729 cbradney 3481
    <message>
12918 cbradney 3482
        <source>sizeObject(width, height [, &quot;name&quot;])
10166 cbradney 3483
 
12918 cbradney 3484
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
3485
is not given the currently selected item is used.
10166 cbradney 3486
</source>
12918 cbradney 3487
        <translation type="obsolete">sizeObject(hauteur, largeur [, &quot;nom&quot;])
3488
 
3489
Redimensionne l&apos;objet &quot;nom&quot; en lui attribuant &quot;hauteur&quot; et &quot;largeur&quot;.
3490
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
10166 cbradney 3491
    </message>
3492
    <message>
12918 cbradney 3493
        <source>getSelectedObject([nr]) -&gt; string
9729 cbradney 3494
 
12918 cbradney 3495
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
3496
of the selected object, e.g. 0 means the first selected object, 1 means the
3497
second selected Object and so on.
3498
</source>
3499
        <translation type="obsolete">getSelectedObject([nr]) -&gt; chaîne
9729 cbradney 3500
 
12918 cbradney 3501
Retourne le nom de l&apos;objet sélectionné. Si &quot;nr&quot; est fourni, il indique l&apos;objet
3502
sélectionné : 0 indique le premier objet sélectionné, 1 le second objet
3503
sélectionné et ainsi de suite.</translation>
3504
    </message>
3505
    <message>
3506
        <source>selectionCount() -&gt; integer
9729 cbradney 3507