Skip to content

Commit 28a4cc4

Browse files
Ulrichrmurphey
authored andcommitted
Translated more exercises into French (fr-FR): Manipulating, Reveal Hidden Text, Selecting, Slideshow
1 parent a254045 commit 28a4cc4

File tree

4 files changed

+51
-51
lines changed

4 files changed

+51
-51
lines changed

book/src/fr-FR/exercises/manipulating.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@
66
xmlns:m="http://www.w3.org/1998/Math/MathML"
77
xmlns:html="http://www.w3.org/1999/xhtml"
88
xmlns:db="http://docbook.org/ns/docbook">
9-
<title>Manipulating</title>
9+
<title>Manipulation</title>
1010

11-
<para>Open the file <filename>/exercises/index.html</filename> in your
12-
browser. Use the file <filename>/exercises/js/sandbox.js</filename> or work
13-
in Firebug to accomplish the following:</para>
11+
<para>Ouvrez le fichier <filename>/exercises/index.html</filename> dans votre
12+
navigateur. Utilisez le fichier <filename>/exercises/js/sandbox.js</filename> ou travaillez
13+
dans Firebug pour accomplir ce qui suit :</para>
1414

1515
<orderedlist>
1616
<listitem>
17-
<para>Add five new list items to the end of the unordered list #myList.
18-
Hint:</para>
17+
<para>Ajouter cinq nouveaux éléments de liste à la fin d'une liste non ordonnée #myList.
18+
Indice :</para>
1919

2020
<programlisting>for (var i = 0; i&lt;5; i++) { ... }</programlisting>
2121
</listitem>
2222

2323
<listitem>
24-
<para>Remove the odd list items</para>
24+
<para>Supprimer les éléments pairs de la liste</para>
2525
</listitem>
2626

2727
<listitem>
28-
<para>Add another h2 and another paragraph to the last div.module</para>
28+
<para>Ajouter un autre h2 et un autre paragraphe au dernier div.module</para>
2929
</listitem>
3030

3131
<listitem>
32-
<para>Add another option to the select element; give the option the
33-
value "Wednesday"</para>
32+
<para>Ajouter une autre option à l'élément select ; donner à l'option la
33+
valeur "Wednesday"</para>
3434
</listitem>
3535

3636
<listitem>
37-
<para>Add a new div.module to the page after the last one; put a copy of
38-
one of the existing images inside of it.</para>
37+
<para>Ajouter un nouveau div.module à la page après le dernier ; mettre à l'intérieur
38+
une copie de l'une des images existantes.</para>
3939
</listitem>
4040
</orderedlist>
4141
</section>

book/src/fr-FR/exercises/reveal-hidden-text.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66
xmlns:m="http://www.w3.org/1998/Math/MathML"
77
xmlns:html="http://www.w3.org/1999/xhtml"
88
xmlns:db="http://docbook.org/ns/docbook">
9-
<title>Reveal Hidden Text</title>
9+
<title>Afficher un Texte Caché</title>
1010

11-
<para>Open the file <filename>/exercises/index.html</filename> in your
12-
browser. Use the file <filename>/exercises/js/blog.js</filename>. Your
13-
task is to add some interactivity to the blog section of the page. The
14-
spec for the feature is as follows:</para>
11+
<para>Ouvrez le fichier <filename>/exercises/index.html</filename> dans votre
12+
navigateur. Utilisez le fichier <filename>/exercises/js/blog.js</filename>. Votre
13+
tâche est d'ajouter de l'interactivité à la section blog de la page. La
14+
spécification de la fonctionnalité est la suivante :</para>
1515

1616
<itemizedlist>
1717
<listitem>
18-
<para>Clicking on a headline in the #blog div should slide down the
19-
excerpt paragraph</para>
18+
<para>Un clic sur un titre dans le div #blog devrait faire glisser vers le bas le
19+
paragraphe d'extrait</para>
2020
</listitem>
2121

2222
<listitem>
23-
<para>Clicking on another headline should slide down its excerpt
24-
paragraph, and slide up any other currently showing excerpt
25-
paragraphs.</para>
23+
<para>Un clic sur un autre titre devrait faire glisser vers le bas son paragraphe
24+
d'extrait, et glisser vers le haut tout autre paragraphe d'extrait actuellement
25+
affiché.</para>
2626
</listitem>
2727
</itemizedlist>
2828

29-
<para>Hint: don't forget about the <code>:visible</code> selector!</para>
29+
<para>Indice : n'oubliez pas le sélecteur <code>:visible</code> !</para>
3030
</section>

book/src/fr-FR/exercises/selecting.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,41 @@
66
xmlns:m="http://www.w3.org/1998/Math/MathML"
77
xmlns:html="http://www.w3.org/1999/xhtml"
88
xmlns:db="http://docbook.org/ns/docbook">
9-
<title>Selecting</title>
9+
<title>Sélection</title>
1010

11-
<para>Open the file <filename>/exercises/index.html</filename> in your
12-
browser. Use the file <filename>/exercises/js/sandbox.js</filename> or
13-
work in Firebug to accomplish the following:</para>
11+
<para>Ouvrez le fichier <filename>/exercises/index.html</filename> dans votre
12+
navigateur. Utilisez le fichier <filename>/exercises/js/sandbox.js</filename> ou
13+
travaillez dans Firebug pour accomplir ce qui suit :</para>
1414

1515
<orderedlist>
1616
<listitem>
17-
<para>Select all of the div elements that have a class of
17+
<para>Sélectionner tous les éléments div qui ont une classe
1818
"module".</para>
1919
</listitem>
2020

2121
<listitem>
22-
<para>Come up with three selectors that you could use to get the third
23-
item in the #myList unordered list. Which is the best to use?
24-
Why?</para>
22+
<para>Donner trois sélecteurs que vous pourriez utiliser pour obtenir le troisième
23+
élément dans la liste non ordonnée #myList. Quel est le meilleur à utiliser?
24+
Pourquoi ?</para>
2525
</listitem>
2626

2727
<listitem>
28-
<para>Select the label for the search input using an attribute
29-
selector.</para>
28+
<para>Sélectionner le label pour l'input de recherche en utilisant un sélecteur
29+
d'attribut.</para>
3030
</listitem>
3131

3232
<listitem>
33-
<para>Figure out how many elements on the page are hidden (hint:
33+
<para>Trouver le nombre d'éléments cachés sur la page (indice :
3434
.length).</para>
3535
</listitem>
3636

3737
<listitem>
38-
<para>Figure out how many image elements on the page have an alt
39-
attribute.</para>
38+
<para>Trouvez le nombre d'images sur la page qui ont un attribut
39+
alt.</para>
4040
</listitem>
4141

4242
<listitem>
43-
<para>Select all of the odd table rows in the table body.</para>
43+
<para>Sélectionner toutes les lignes paires dans la table.</para>
4444
</listitem>
4545
</orderedlist>
4646
</section>

book/src/fr-FR/exercises/slideshow.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
xmlns:m="http://www.w3.org/1998/Math/MathML"
77
xmlns:html="http://www.w3.org/1999/xhtml"
88
xmlns:db="http://docbook.org/ns/docbook">
9-
<title>Create a Slideshow</title>
9+
<title>Créer un Diaporama</title>
1010

11-
<para>Open the file <filename>/exercises/index.html</filename> in your
12-
browser. Use the file <filename>/exercises/js/slideshow.js</filename>. Your
13-
task is to take a plain semantic HTML page and enhance it with JavaScript by
14-
adding a slideshow.</para>
11+
<para>Ouvrir le fichier <filename>/exercises/index.html</filename> dans votre
12+
navigateur. Utiliser le fichier <filename>/exercises/js/slideshow.js</filename>. Votre
13+
tâche est de prendre une page HTML sémantique simple et l'améliorer avec du JavaScript en
14+
ajoutant un diaporama.</para>
1515

1616
<orderedlist>
1717
<listitem>
18-
<para>Move the #slideshow element to the top of the body.</para>
18+
<para>Déplacer l'élément #slideshow vers le haut du body.</para>
1919
</listitem>
2020

2121
<listitem>
22-
<para>Write code to cycle through the list items inside the element;
23-
fade one in, display it for a few seconds, then fade it out and fade in
24-
the next one.</para>
22+
<para>Ecrire un code pour faire un cycle des éléments de la liste;
23+
faire apparaitre un en fondu, l'afficher pour quelques secondes, ensuite le faire disparaitre
24+
en fondu et faire apparaitre le suivant en fondu.</para>
2525
</listitem>
2626

2727
<listitem>
28-
<para>When you get to the end of the list, start again at the
29-
beginning.</para>
28+
<para>Quand vous arriverez à la fin de la liste, recommencer au
29+
début.</para>
3030
</listitem>
3131
</orderedlist>
3232

33-
<para>For an extra challenge, create a navigation area under the slideshow
34-
that shows how many images there are and which image you're currently
35-
viewing. (Hint: $.fn.prevAll will come in handy for this.)</para>
33+
<para>Pour un défi supplémentaire, créer un espace de navigation sous le diaporama
34+
qui montre le nombre d'images qu'il y a et l'image qui est actuellement
35+
affichée. (Indice : $.fn.prevAll sera utile pour ceci.)</para>
3636
</section>

0 commit comments

Comments
 (0)