Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

PyConFR: translate slides into French.

This is PyCon*FR*, after all.
  • Loading branch information...
commit 7f7e9e1595f8e4f6ec493217f4d6daa8ca98a984 1 parent 250cc75
Simon Sapin authored September 15, 2012
57  exyr/pages/2012/weasyprint-at-pyconfr/slides.html
@@ -8,9 +8,10 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
8 8
         src=images/weasyprint-logo.png style="width: 70%"></h1>
9 9
     <p style="text-align: center; margin-top: 0">CSS → PDF</p>
10 10
     <footer>
11  
-        Simon Sapin, <span title="Since this week!">W3C Invited Expert</span>,
  11
+        Simon Sapin,
12 12
         <img alt=Kozea src=images/kozea-logo.svg
13  
-            style="height: 1.5em; margin-left: .5em"><br>
  13
+            style="height: 1.5em; margin: 0 .2em">,
  14
+        <em title="Depuis cette semaine!">Expert invité</em> au CSSWG<br>
14 15
         PyConFR 2012
15 16
     </footer>
16 17
     <details>
@@ -21,8 +22,8 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
21 22
 
22 23
 <section>
23 24
     <h2>PDF</h2>
24  
-    <p>Hi-Fi documents for printing, archiving, …</p>
25  
-    <p>How to generate them dynamically?</p>
  25
+    <p>Documents <em>Hi-Fi</em> pour imprimer, archiver, …</p>
  26
+    <p>Comment les générer dynamiquement?</p>
26 27
     <details>
27 28
         Best document format for many use cases<br>
28 29
         Invoices, expert reports, business cards, …
@@ -74,10 +75,10 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
74 75
 </section>
75 76
 
76 77
 <section>
77  
-    <h2>Fetching a dynamic image: data flow</h2>
  78
+    <h2>Récupérer une image</h2>
78 79
     <dl>
79 80
         <dt>WeasyPrint</dt>
80  
-        <dd>WeasyPrint → HTTP / network → WSGI  → Flask</dd>
  81
+        <dd>WeasyPrint → HTTP / réseau → WSGI  → Flask</dd>
81 82
         <dt>Flask-WeasyPrint</dt>
82 83
         <dd>WeasyPrint → WSGI  → Flask</dd>
83 84
     </dl>
@@ -90,7 +91,7 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
90 91
 </section>
91 92
 
92 93
 <section>
93  
-    <h2>Generating PDF</h2>
  94
+    <h2>Générer du PDF</h2>
94 95
     <ul>
95 96
         <li>LaTeX</li>
96 97
         <li>ReportLab</li>
@@ -113,11 +114,11 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
113 114
 <section>
114 115
     <h2>NIH</h2>
115 116
     <ul>
116  
-        <li>2011-04: Let’s build a browser engine!</li>
  117
+        <li>2011-04: On va faire un navigateur !</li>
117 118
         <li>2011-10: v0.1</li>
118 119
         <li>2012-02: v0.6, stable API</li>
119  
-        <li>Today: v0.14</li>
120  
-        <li>Real Soon<sup>®</sup>: v1.0</li>
  120
+        <li>Aujourd’hui: v0.14</li>
  121
+        <li>Bientôt<sup>®</sup>: v1.0</li>
121 122
     </ul>
122 123
     <details>
123 124
         0.14 is very stable already. There are only a few details I want
@@ -126,9 +127,9 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
126 127
 </section>
127 128
 
128 129
 <section>
129  
-    <h2>Features</h2>
  130
+    <h2>Fonctionnalités</h2>
130 131
     <p><a href="http://weasyprint.org/features/">weasyprint.org/features</a></p>
131  
-    <p>Raster and vector (SVG) images, PDF bookmarks, hyperlinks</p>
  132
+    <p>Images pixels et vecteurs (SVG), marque-pages PDF, hyperliens</p>
132 133
     <p>CSS 2.1: 95%<sup>*</sup><br>
133 134
        CSS 3: selectors, colors, 2D transforms, <strong>paged media</strong><br>
134 135
     </p>
@@ -142,8 +143,8 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
142 143
 </section>
143 144
 
144 145
 <section>
145  
-    <h2>Examples</h2>
146  
-    <p><a href="PyConFR_2012_schedule.pdf">PyConFR 2012 schedule</a>
  146
+    <h2>Exemples</h2>
  147
+    <p><a href="PyConFR_2012_schedule.pdf">Agenda PyConFR 2012</a>
147 148
         <img src=images/schedule-qr.png
148 149
          style="vertical-align: middle"></p>
149 150
     <p><a href="http://www.webstandards.org/files/acid2/test.html">Acid2</a>
@@ -161,17 +162,17 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
161 162
 </section>
162 163
 
163 164
 <section>
164  
-    <h2>Using WeasyPrint</h2>
  165
+    <h2>Utiliser WeasyPrint</h2>
165 166
     <ul>
166  
-        <li>HTML & CSS in, PDF or PNG out</li>
  167
+        <li>HTML & CSS → PDF ou PNG</li>
167 168
         <li>Docs
168 169
             <ul>
169 170
                 <li><a href="http://weasyprint.org/install/">weasyprint.org/install</a></li>
170 171
                 <li><a href="http://weasyprint.org/using/">weasyprint.org/using</a></li>
171 172
             </ul>
172 173
         </li>
173  
-        <li>Command-line API</li>
174  
-        <li>Python API
  174
+        <li>API ligne de commande</li>
  175
+        <li>API Python
175 176
             <ul>
176 177
                 <li><code>url_fetcher</code></li>
177 178
             </ul>
@@ -243,15 +244,15 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
243 244
         Of course.</p>
244 245
 
245 246
     <ul>
246  
-        <li><span>tinycss</span> CSS parser</li>
247  
-        <li><span>cssselect</span> CSS 3 Selectors → XPath 1.0</li>
  247
+        <li><span>tinycss</span> Parseur CSS</li>
  248
+        <li><span>cssselect</span> Sélécteurs CSS 3 → XPath 1.0</li>
248 249
         <li><span><img src=images/lxml.png style="width: 60px">
249  
-            lxml</span> HTML parser, XPath engine</li>
  250
+            lxml</span> Parseur HTML, moteur XPath</li>
250 251
         <li><span><img src=images/pango-name.png style="width: 80px">
251  
-            Pango</span> Text & fonts</li>
252  
-        <li><span>CairoSVG</span> Renders SVG … to cairo</li>
  252
+            Pango</span> Texte & polices</li>
  253
+        <li><span>CairoSVG</span> Rendu de SVG … vers cairo</li>
253 254
         <li><span><img src=images/cairo.png style="width: 40px">
254  
-            cairo</span> Painting surface, PDF output</li>
  255
+            cairo</span> Surface de dessin, sortie PDF</li>
255 256
     </ul>
256 257
 
257 258
     <details>
@@ -273,10 +274,10 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
273 274
     <figure><img src=images/box_model.png>
274 275
         <figcaption style="text-align: left; line-height: 1">
275 276
             <p><span style="background: rgba(255, 255, 255, 0.9)">
276  
-                CSS box model…</span></p>
  277
+                Modèle de boîtes CSS …</span></p>
277 278
             <p style="margin-top: 430px; foont-size: 70%">
278 279
             <span style="background: rgba(255, 255, 255, 0.9)">
279  
-                It’s complicated.</span></p>
  280
+                C’est compliqué.</span></p>
280 281
         </figcaption>
281 282
     </figure>
282 283
     <details>
@@ -288,7 +289,7 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
288 289
 </section>
289 290
 
290 291
 <section style="text-align: center">
291  
-    <h2>Thanks.</h2>
  292
+    <h2>Merci.</h2>
292 293
     <h2>Questions?</h2>
293 294
     <footer>
294 295
         <a href="http://weasyprint.org">weasyprint.org</a><br>
@@ -338,7 +339,7 @@ <h1 style="margin-bottom: 0"><img alt=WeasyPrint
338 339
   }
339 340
 
340 341
   ul {
341  
-      margin: 50px 180px;
  342
+      margin: 50px 150px;
342 343
   }
343 344
   ul ul {
344 345
     margin: .2em 0 .2em 1em;

0 notes on commit 7f7e9e1

Please sign in to comment.
Something went wrong with that request. Please try again.