Debian Codegraph @

translations/manual/fr/snippets.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 #
5 # Translators:
6 # Ptit Prince <[email protected]>, 2015
7 # Ptit Prince <[email protected]>, 2016-2017,2020-2021
8 # un_pogaz, 2025-2026
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: calibre\n"
12 "Report-Msgid-Bugs-To: \n"
13 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
14 "PO-Revision-Date: 2015-01-10 01:24+0000\n"
15 "Last-Translator: un_pogaz, 2025-2026\n"
16 "Language-Team: French (http://app.transifex.com/calibre/calibre/language/fr/)\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Language: fr\n"
21 "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
22
23 #: ../../../__w/calibre/calibre/manual/snippets.rst:2
24 msgid "Snippets"
25 msgstr "Fragments"
26
27 #: ../../../__w/calibre/calibre/manual/snippets.rst:6
28 msgid ""
29 "The calibre E-book editor supports *snippets*. A snippet is a piece of text "
30 "that is either re-used often or contains a lot of redundant text. The editor"
31 " allows you to insert a snippet with only a few key strokes. For example, "
32 "suppose you often find yourself inserting link tags when editing HTML files,"
33 " then you can simply type ``<a`` in the editor and press |ct|. The editor "
34 "will expand it to::"
35 msgstr "L'éditeur de livre numérique de calibre supporte les *fragments*. Un fragment est un morceau de texte qui est soit souvent réutilisé soit contient beaucoup de texte redondant. L'éditeur vous permet d'insérer un fragment avec seulement quelques séquences de touches. Par exemple, supposons que vous devez souvent trouver par vous même les balises link insérées lors de l'édition des fichiers HTML, alors vous pouvez simplement taper ``<a`` dans l'éditeur et presser |ct|. L'éditeur développera cela en ::"
36
37 #: ../../../__w/calibre/calibre/manual/snippets.rst:15
38 msgid ""
39 "Not only that, the word ``filename`` will be selected, with the cursor "
40 "placed over it, so that you can easily type in the real filename, using the "
41 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
42 "typing the filename, press |ct| again and the cursor will jump to the "
43 "position in between the ``<a>`` tags so you can easily type in the text for "
44 "the link."
45 msgstr "Pas seulement ça, le mot ``filename`` sera sélectionné, avec le curseur placé sur lui, ainsi vous pouvez facilement taper le vrai nom de fichier, en utilisant la petite fonctionnalité de l'éditeur :ref:`editor_auto_complete`. Et une fois que vous avez fini de taper le nom de fichier, pressez |ct| à nouveau et le curseur sautera vers la position entre les balises ``<a>`` comme cela vous pouvez facilement y taper le texte pour le lien."
46
47 #: ../../../__w/calibre/calibre/manual/snippets.rst:21
48 msgid ""
49 "The snippets system in the editor is very sophisticated, there are a few "
50 "built-in snippets and you can create your own to suit your editing style."
51 msgstr "Le système des fragments dans l'éditeur est très sophistiqué, il y a quelques fragments intégrés et vous pouvez créer les vôtres pour convenir à votre style d'édition."
52
53 #: ../../../__w/calibre/calibre/manual/snippets.rst:24
54 msgid ""
55 "The following discussion of the built-in snippets should help illustrate the"
56 " power of the snippets system."
57 msgstr "L'exposé qui suit sur les fragments intégrés devrait aider à illustrer la puissance du système des fragments."
58
59 #: ../../../__w/calibre/calibre/manual/snippets.rst:28
60 msgid ""
61 "You can also use snippets in the text entry fields in the :guilabel:`Search "
62 "& replace` panel, however, placeholders (using |ct| to jump around) will not"
63 " work."
64 msgstr "Vous pouvez aussi utiliser les fragments dans les champs d'entrée de texte dans le panneau :guilabel:`Rechercher & Remplacer`, cependant, les espaces réservés (en utilisant |ct| pour s'y déplacer) ne fonctionneront pas."
65
66 #: ../../../__w/calibre/calibre/manual/snippets.rst:33
67 msgid "The built-in snippets"
68 msgstr "Les fragments intégrés"
69
70 #: ../../../__w/calibre/calibre/manual/snippets.rst:35
71 msgid ""
72 "The built-in snippets are described below. Note that you can override them "
73 "by creating your own snippets with the same trigger text."
74 msgstr "Les fragments intégrés sont décrits ci-dessous . Notez que vous pouvez les remplacer en créant vos propres fragments avec le même texte déclencheur."
75
76 #: ../../../__w/calibre/calibre/manual/snippets.rst:39
77 msgid "Inserting filler text [Lorem]"
78 msgstr "Insertion du texte de remplissage [Lorem]"
79
80 #: ../../../__w/calibre/calibre/manual/snippets.rst:41
81 msgid ""
82 "The first built-in snippet, and the simplest is used to insert filler text "
83 "into a document. The filler text is taken from `De finibus bonorum et "
84 "malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ a "
85 "philosophical work by Cicero (translated to English). To use it simply type "
86 "``Lorem`` in an HTML file and press |ct|. It will be replaced by a couple of"
87 " paragraphs of filler."
88 msgstr "Le premier fragment intégré, et le plus simple, est utilisé pour insérer du texte de remplissage dans un document. Le texte de remplissage est est issu de `De finibus bonorum et malorum <https://fr.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ une oeuvre philosophique de Cicéron (Traduite en anglais). Pour l'utiliser, taper simplement ``Lorem`` dans un fichier HTML et pressez |ct|. Il sera remplacé par quelques paragraphes de remplissage."
89
90 #: ../../../__w/calibre/calibre/manual/snippets.rst:48
91 msgid ""
92 "The definition of this snippet is very simple, the trigger text is defined "
93 "as ``Lorem`` and the template is defined simply as the literal text to be "
94 "inserted. You can easily customize it to use your favorite form of filler "
95 "text."
96 msgstr "La définition de ce fragment est très simple, le texte déclencheur est défini comme étant ``Lorem`` et le modèle est défini simplement comme le texte littéral à intégrer. Vous pouvez facilement le personnaliser pour utiliser votre texte de remplissage favori."
97
98 #: ../../../__w/calibre/calibre/manual/snippets.rst:53
99 msgid "Inserting a self-closing HTML tag [<>]"
100 msgstr "Insérer une balise HTML auto-fermante [<>]"
101
102 #: ../../../__w/calibre/calibre/manual/snippets.rst:55
103 msgid ""
104 "Now let's look at a simple example of the powerful concept of "
105 "*placeholders*. Say you want to insert the self-closing tag ``<hr/>``. Just "
106 "type ``<>``, and press |ct|, the editor will expand the snippet to::"
107 msgstr "Maintenant jetons un oeil à un exemple simple du puissant concept de *placeholders*. Disons que vous voulez insérer une balise auto-fermante ``<hr/>``. Tapez juste ``<>`` et pressez |ct|, l'éditeur développera le fragment en ::"
108
109 #: ../../../__w/calibre/calibre/manual/snippets.rst:61
110 msgid ""
111 "Here, the ``|`` symbol represents the current cursor position. You can then "
112 "type ``hr`` and press |ct| to move the cursor to after the end of the tag. "
113 "This snippet is defined as::"
114 msgstr "Ici, le symbole ``|`` représente la position actuelle du curseur. Vous pouvez alors taper ``hr`` et presser |ct| pour déplacer le curseur après la fin de la balise. Ce fragment est défini comme ::"
115
116 #: ../../../__w/calibre/calibre/manual/snippets.rst:68
117 msgid ""
118 "Placeholders are simply the dollar ($) sign followed by a number. When the "
119 "snippet is expanded by pressing |ct| the cursor is positioned at the first "
120 "placeholder (the placeholder with the lowest number). When you press |ct| "
121 "again the cursor jumps to the next placeholder (the placeholder with the "
122 "next higher number)."
123 msgstr "Les espaces réservés sont simplement le signe dollar ($) suivi par un nombre. Lorsque le fragment est développé en appuyant sur |ct| le curseur est positionné au premier espace réservé (l'espace réservé avec le nombre le plus bas). Quand vous pressez |ct| à nouveau le curseur saute vers l'espace réservé suivant (l'espace réservé suivant avec le nombre plus élevé)."
124
125 #: ../../../__w/calibre/calibre/manual/snippets.rst:75
126 msgid "Inserting an HTML link tag [<a]"
127 msgstr "Insérer une balise lien HTML [<a]"
128
129 #: ../../../__w/calibre/calibre/manual/snippets.rst:77
130 msgid ""
131 "HTML link tags all share a common structure. They have an ``href`` attribute"
132 " and some text between the opening and closing tags. A snippet to make "
133 "typing them more efficient will introduce us to some more features of "
134 "placeholders. To use this snippet, simply type ``<a`` and press |ct|. The "
135 "editor will expand this to::"
136 msgstr "Les balises lien HTML partagent toutes une structure commune. Elles ont un attribut ``href`` et un certain texte entre les balises ouvrantes et fermantes. Un fragment pour rendre la frappe plus efficiente nous introduira certaines fonctionnalités supplémentaires des espaces réservés. Pour utiliser ce fragment, tapez simplement ``<a`` et appuyez |ct|. L'éditeur développera ceci en ::"
137
138 #: ../../../__w/calibre/calibre/manual/snippets.rst:85
139 msgid ""
140 "Not only that, the word ``filename`` will be selected, with the cursor "
141 "placed over it, so that you can easily type in the real filename, using the "
142 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
143 "typing the filename, press |ct| again and the cursor will jump to the "
144 "position in between the ``<a>`` tags so you can easily type in the text for "
145 "the link. After you are done typing the text, press |ct| again to jump to "
146 "the point after the closing tag. This snippet is defined as::"
147 msgstr "Pas seulement ça, le mot ``filename`` sera sélectionné, avec le curseur placé sur lui, ainsi vous pouvez facilement taper le vrai nom de fichier, en utilisant la petite fonctionnalité de l'éditeur :ref:`editor_auto_complete`. Et une fois que vous avez fini de taper le nom de fichier, pressez |ct| à nouveau et le curseur sautera vers la position entre les balises ``<a>`` comme cela vous pouvez facilement y taper le texte pour le lien. Après que vous ayez fini de taper le texte, appuyez |ct| encore une fois pour sauter au point après la balise fermante. Le fragment est défini comme ::"
148
149 #: ../../../__w/calibre/calibre/manual/snippets.rst:96
150 msgid ""
151 "There are a couple of new features here. First the ``$1`` placeholder has "
152 "become more complex. It now includes some *default text* (the word "
153 "``filename``). If a placeholder contains default text, the default text is "
154 "substituted for the placeholder when the snippet is expanded. Also when you "
155 "jump to a placeholder with default text using |ct|, the default text is "
156 "selected. In this way, you can use default text to act as a reminder to you "
157 "to fill in important parts of the template. You can specify default text for"
158 " a placeholder by using the syntax: ``${<number>:default text}``."
159 msgstr "Il y a ici deux nouvelles fonctionnalités. Premièrement l'espace réservé ``$1`` est devenu plus complexe. Il inclut maintenant un certain *texte par défaut* (le mot ``filename``). Si un espace réservé contient du texte par défaut , le texte par défaut est substitué pour l'espace réservé quand le fragment est développé. Aussi quand vous sautez vers un espace réservé avec du texte par défaut en utilisant |ct|, le texte par défaut est sélectionné. De cette manière, vous pouvez utiliser le texte par défaut comme un rappel pour vous pour remplir d'importantes parties du modèle. Vous pouvez définir le texte par défaut pour un espace réservé en utilisant la syntaxe : ``${<number>:texte par défaut}``."
160
161 #: ../../../__w/calibre/calibre/manual/snippets.rst:105
162 msgid ""
163 "The other new feature is that the second placeholder has an asterisk after "
164 "it (``${2*}``). This means that any text that was selected before expanding "
165 "the template is substituted for the placeholder. To see this in action, "
166 "select some text in the editor, press |ct|, type ``<a`` and press |ct| "
167 "again, the template will be expanded to::"
168 msgstr "L'autre nouvelle fonctionnalité est que le second espace réservé a un astérisque qui le suit (``${2*}``). Cela signifie que tout texte qui est sélectionné avant de développer le modèle est substitué pour l'espace réservé. Pour voir ceci en action, sélectionner un certain texte dans l'éditeur, appuyer |ct|, tapez ``<a`` et pressez |ct| à nouveau, le modèle sera développé en ::"
169
170 #: ../../../__w/calibre/calibre/manual/snippets.rst:114
171 msgid "Inserting an HTML image tag [<i]"
172 msgstr "Insérer une balise image HTML [<i]"
173
174 #: ../../../__w/calibre/calibre/manual/snippets.rst:116
175 msgid ""
176 "This is very similar to inserting an HTML link, as we saw above. It allows "
177 "you to quickly input an ``<img src=\"filename\" alt=\"description\" />`` tag"
178 " and jump between the ``src`` and ``alt`` attributes::"
179 msgstr "C'est très similaire à insérer un lien HTML, comme nous avons vu ci-dessus. Cela vous permet d'entrer rapidement une balise ``<img src=\"filename\" alt=\"description\" />`` et sauter entre les attributs ``src`` et ``alt``"
180
181 #: ../../../__w/calibre/calibre/manual/snippets.rst:124
182 msgid "Insert an arbitrary HTML tag [<<]"
183 msgstr "Insérer une balise HTML quelconque[<<]"
184
185 #: ../../../__w/calibre/calibre/manual/snippets.rst:126
186 msgid ""
187 "This allows you to insert an arbitrary full HTML tag (or wrap previously "
188 "selected text in the tag). To use it, simply type ``<<`` and press |ct|. If "
189 "you want to wrap selected text, first select the text, press |ct| then type "
190 "``<<`` and press |ct| again. The editor will expand it to::"
191 msgstr "Ceci vous permet d'insérer une balise HTML quelconque (ou d'envelopper le texte précédemment sélectionné dans la balise). Pour l'utiliser, tapez simplement ``<<`` et pressez |ct|. Si vous souhaiter mettre en forme le texte sélectionné, sélectionnez d'abord le texte, appuyez sur |ct|, puis tapez ``<<`` et appuyez à nouveau sur |ct|. L'éditeur développera cela en::"
192
193 #: ../../../__w/calibre/calibre/manual/snippets.rst:134
194 msgid ""
195 "Type the tag name, for example: ``span`` and press |ct|, that will result "
196 "in::"
197 msgstr "Tapez le nom de la balise, par exemple : ``span`` et pressez |ct|, ce qui résultera en ::"
198
199 #: ../../../__w/calibre/calibre/manual/snippets.rst:138
200 msgid ""
201 "You will note that the closing tag has been automatically filled with "
202 "``span``. This is achieved with yet another feature of placeholders, "
203 "*mirroring*. Mirroring simply means that if you specify the same placeholder"
204 " more than once in a template, the second and all later positions will be "
205 "automatically filled in with whatever you type in the first position, when "
206 "you press |ct|. The definition for this snippet is::"
207 msgstr "Vous noterez que la balise fermante a été automatiquement remplie avec ``span``. Ceci est accompli avec encore une autre fonctionnalité des espaces réservés, *mirroring*. Mirroring signifie simplement que si vous spécifiez plus d'une fois l'échantillon d'espace réservé dans le modèle, le second et et toutes les positions futures seront automatiquement remplies avec ce que vous avez tapé en première position, quand vous appuyez sur |ct|. La définition pour ce fragment est ::"
208
209 #: ../../../__w/calibre/calibre/manual/snippets.rst:148
210 msgid ""
211 "As you can see, the first placeholder ($1) has been specified twice, the "
212 "second time in the closing tag, which will simply copy whatever you type in "
213 "the opening tag."
214 msgstr "Comme vous pouvez voir, le premier espace réservé ($1) a été spécifié deux fois, la deuxième fois dans la balise fermante, ce qui copiera simplement ce que vous aurez tapé dans la balise ouvrante."
215
216 #: ../../../__w/calibre/calibre/manual/snippets.rst:153
217 msgid "Inserting an arbitrary HTML tag with a class attribute [<c]"
218 msgstr "Insérer une balise HTML quelconque avec un attribut de classe [<c]"
219
220 #: ../../../__w/calibre/calibre/manual/snippets.rst:155
221 msgid ""
222 "This is very similar to the insert arbitrary tag example above, except that "
223 "it assumes that you want to specify a class for the tag::"
224 msgstr "Ceci est très similaire à l'exemple d'insertion d'une balise quelconque ci-dessus, exceptez qu'il assume que vous voulez spécifier une classe pour la balise ::"
225
226 #: ../../../__w/calibre/calibre/manual/snippets.rst:161
227 msgid ""
228 "This will allow you to first type the tag name, press |ct|, type the class "
229 "name, press |ct| type the contents of the tag and press |ct| one last time "
230 "to jump out of the tag. The closing tag will be auto-filled."
231 msgstr "Ceci vous permettra de taper d'abord le nom de la balise, presser |ct|, taper le nom de la classe, presser |ct| tapez le contenu de la balise et pressez |ct| une dernière fois pour sortir de la balise. La balise de fermeture sera remplie automatiquement."
232
233 #: ../../../__w/calibre/calibre/manual/snippets.rst:167
234 msgid "Creating your own snippets"
235 msgstr "Créer vos propres fragments"
236
237 #: ../../../__w/calibre/calibre/manual/snippets.rst:169
238 msgid ""
239 "Snippets really shine because you can create your own to suit your editing "
240 "style. To create your own snippets go to "
241 ":guilabel:`Edit->Preferences->Editor settings->Manage snippets` in the "
242 "editor. This will pop-up an easy to use dialog to help you create your own "
243 "snippets. Simply click the :guilabel:`Add snippet` button and you will see a"
244 " dialog that looks like:"
245 msgstr "Les fragments sont vraiment brillants car vous pouvez créer les vôtres pour suivre votre style d'édition. Pour créer vos propres fragments allez à :guilabel:`Éditer->Préférences->Propriétés de l'éditeur->Gérer les fragments` dans l'éditeur. Cela fera apparaître une boîte de dialogue facile à utiliser pour vous aider à créer vos propres fragments. Cliquez simplement le bouton :guilabel:`Ajouter un fragment`et vous verrez une boîte de dialogue qui ressemble à :"
246
247 #: ../../../__w/calibre/calibre/manual/snippets.rst:175
248 msgid "The create your own snippets tool"
249 msgstr "L'outil de création de vos propres fragments"
250
251 #: ../../../__w/calibre/calibre/manual/snippets.rst:180
252 msgid ""
253 "First give your snippet a name, something descriptive, to help identify the "
254 "snippet in the future. Then specify the *trigger*. A trigger is simply the "
255 "text that you have to type in the editor before pressing |ct| in order to "
256 "expand the snippet."
257 msgstr "Tout d'abord donnez un nom à votre fragment, quelque chose de descriptif, pour aider à identifier le fragment par après. Spécifiez alors le *déclencheur*. Un déclencheur est simplement le texte que vous avez à taper avant de presser |ct| en vue de développer le fragment."
258
259 #: ../../../__w/calibre/calibre/manual/snippets.rst:185
260 msgid ""
261 "Then specify the snippet template. You should start with one of the examples"
262 " above and modify it to suit your needs. Finally, specify which file types "
263 "you want the snippet to be active for. This way you can have multiple "
264 "snippets with the same trigger text that work differently in different file "
265 "types."
266 msgstr "Spécifiez alors le modèle de fragment. Vous devriez commencer avec l'un des exemples ci-dessus et le modifier pour correspondre à vos besoins. Finalement, spécifier quels types de fichiers pour lesquels vous voulez que le fragment soit actif. De cette manière vous pouvez avoir de multiples fragments avec le même texte déclencheur qui fonctionne différemment dans différents types de fichiers."
267
268 #: ../../../__w/calibre/calibre/manual/snippets.rst:190
269 msgid ""
270 "The next step is to test your newly created snippet. Use the "
271 ":guilabel:`Test` box at the bottom. Type in the trigger text and press |ct| "
272 "to expand the snippet and jump between placeholders."
273 msgstr "L'étape suivante est de tester votre fragment nouvellement créé. Utilisez la boîte :guilabel:`Test` en bas. Entrez-y le texte déclencheur et appuyez sur |ct| pour développer le fragment et sauter entre les espaces réservés."