Skip to content

Commit

Permalink
Merge branch 'master' of github.com:wet-boew/wet-boew into feature-mu…
Browse files Browse the repository at this point in the history
…ltimedia-player
  • Loading branch information
LaurentGoderre committed Jul 25, 2012
2 parents a618c22 + 3ae54b0 commit 6cb026c
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 39 deletions.
32 changes: 16 additions & 16 deletions README.md
Expand Up @@ -71,24 +71,24 @@ La Boîte à outils est conforme à la Norme sur l'accessibilité des sotes Web
* [Exemples pratiques](http://wet-boew.github.com/wet-boew/demos/index-fra.html)
* [Conditions régissant l'utilisation](http://www.sct.gc.ca/ws-nw/wet-boew/conditions)

## Contributor guidelines

* Pull requests are welcome. Please make sure your changes are to the latest code and limit the commit range to just the files you intended to change (to avoid conflicts).
* New components should be added in a feature-* branch (e.g., feature-lightbox).
* Licensing for all new components and supporting code must be compatible with the MIT license used by WET.
* New plugins should use pluginTemplate.js as the basis for the JavaScript code.
* Include the WET terms and conditions comment block in all text-based source files that fall under Crown Copyright.
* [Validate your HTML markup](http://validator.w3.org/nu/). Markup should be well-formed HTML5.
* To test for well-formed markup, validate with an XHTML5 preset and a checkmark next to "Be lax about HTTP Content-Type".
* [Valider votre CSS](http://jigsaw.w3.org/css-validator/validator.html.fr#validate_by_uri+with_options) avec les changements suivants aux paramètres :
## Lignes directrices pour les contributeurs

* Les demandes de retrait sont les bienvenues. Assurez-vous d'apporter les changements dans la dernière version du code et de limiter le champ de validation (commit range) seulement aux fichiers que vous aviez l’intention de modifier (pour éviter les conflits).
* Les nouvelles composantes devraient être ajoutées dans un branchement de type feature-* (p. ex., feature-lightbox).
* Les licences de toutes les nouvelles composantes et du code afférent doivent être compatibles avec la licence MIT utilisée par la Boîte à outils de l’expérience Web (BOEW).
* Les nouveaux modules d’extension devraient se servir de pluginTemplate.js comme base pour le code JavaScript.
* Inclure le bloc de texte sur les conditions d’utilisation de la BOEW dans tous les fichiers sources textuels soumis aux droits d’auteur de la Couronne.
* [Valider votre balisage HTML](http://validator.w3.org/nu/). Le balisage devrait être en HTML5 bien formé.
* Pour vérifier si le balisage est bien formé, valider à l’aide d’un préréglage XHTML5 et cocher la case « Be lax about HTTP Content-Type ».
* [Valider votre CSS](http://jigsaw.w3.org/css-validator/validator.html.fr#validate_by_uri+with_options) en apportant les changements suivants aux paramètres par défaut :
* **Profil :** CSS niveau 3
* **Extensions Proprétaires :** Avertissements
* [Valider votre code JavaScript](http://www.jslint.com) avec les changements suivants aux paramètres :
* [Valider votre code JavaScript](http://www.jslint.com) en apportant les changements suivants aux paramètres par défaut :
* **Tolerate dangling _ in identifiers :** true
* **Tolerate missing 'use strict' pragma :** true
* **Assume browser :** true
* Formatting recommendations:
* Indent with tabs using the [Style K&R](http://fr.wikipedia.org/wiki/Style_d%27indentation#Style_K.26R)
* Use single quotes for strings in JavaScript (so unescaped double quotes can be used for attributes in HTML output)
* Supported browsers (should be tested against):
* [Browser test baseline - YUI Graded Browser Support](http://yuilibrary.com/yui/docs/tutorials/gbs/) (excluding IE6)
* Recommandations quant au formatage :
* Ajouter les tabulations en utilisant le [style d'indentation K&R](http://fr.wikipedia.org/wiki/Style_d%27indentation#Style_K.26R)
* Utiliser les guillemets simples pour les chaînes en JavaScript (de façon à ce que les guillemets doubles non échappés (unescaped) puissent être utilisés pour les attributs dans les données de sortie HTML)
* Fureteurs supportés (cet élément devrait faire l’objet d’une vérification) :
* [Browser test baseline - YUI Graded Browser Support](http://yuilibrary.com/yui/docs/tutorials/gbs/) (sauf Internet Explorer 6)
2 changes: 1 addition & 1 deletion demos/index-eng.html
Expand Up @@ -15,7 +15,7 @@
<meta name="dcterms.creator" content="Government of Canada, Treasury Board of Canada Secretariat, Chief Information Officer Branch, IT Project Review and Oversight, Web Standards Office" />
<meta name="dcterms.title" content="Web Experience Toolkit (WET)" />
<meta name="dcterms.issued" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-07-25" />
<meta name="dcterms.subject" title="gccore" content="Internet;Standards;Design" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
4 changes: 2 additions & 2 deletions demos/index-fra.html
Expand Up @@ -15,7 +15,7 @@
<meta name="dcterms.creator" content="Gouvernement du Canada, Secrétariat du Conseil du Trésor du Canada, Direction du dirigeant principal de l'information, Division de l'examen et de la supervision de projets de TI, Bureau des normes Web" />
<meta name="dcterms.title" content="Exemples pratiques - Boîte à outils de l’expérience Web (BOEW)" />
<meta name="dcterms.issued" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-07-25" />
<meta name="dcterms.subject" title="scheme" content="Internet;Normes;Conception" />
<meta name="dcterms.language" title="ISO639-2" content="fra" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -257,7 +257,7 @@ <h1 id="wb-cont">Exemples pratiques</h1>
</div>

<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date de modification&#160;:</dt><dd><span><time>2012-06-17</time></span></dd>
<dt>Date de modification&#160;:</dt><dd><span><time>2012-07-25</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->
Expand Down
11 changes: 8 additions & 3 deletions docs/index-eng.html
Expand Up @@ -15,7 +15,7 @@
<meta name="dcterms.creator" content="Government of Canada, Treasury Board of Canada Secretariat, Chief Information Officer Branch, IT Project Review and Oversight, Web Standards Office" />
<meta name="dcterms.title" content="Web Experience Toolkit (WET)" />
<meta name="dcterms.issued" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-07-25" />
<meta name="dcterms.subject" title="gccore" content="Internet;Standards;Design" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -123,7 +123,10 @@ <h1 id="wb-cont">Web Experience Toolkit (WET)</h1>
<li>Licensing for all new components and supporting code must be compatible with the MIT license used by WET.</li>
<li>New plugins should use pluginTemplate.js as the basis for the JavaScript code.</li>
<li>Include the WET terms and conditions comment block in all text-based source files that fall under Crown Copyright.</li>
<li><a href="http://validator.w3.org/nu/">Validate your HTML markup</a>. Markup should be well-formed HTML5.</li>
</ul>
</li>
<li><a href="http://validator.w3.org/nu/">Validate your HTML markup</a>. Markup should be well-formed HTML5.
<ul>
<li>To test for well-formed markup, validate with an XHTML5 preset and a checkmark next to "Be lax about HTTP Content-Type".</li>
</ul>
</li>
Expand All @@ -139,11 +142,13 @@ <h1 id="wb-cont">Web Experience Toolkit (WET)</h1>
<li><strong>Tolerate missing 'use strict' pragma:</strong> true</li>
<li><strong>Assume browser:</strong> true</li>
</ul>
</li>
<li>Formatting recommendations:
<ul>
<li>Indent with tabs using the <a href="http://en.wikipedia.org/wiki/Indent_style#K.26R_style">K&amp;R indenting style</a></li>
<li>Use single quotes for strings in JavaScript (so unescaped double quotes can be used for attributes in HTML output)</li>
</ul>
</li>
<li>Supported browsers (should be tested against):
<ul>
<li><a href="http://yuilibrary.com/yui/docs/tutorials/gbs/">Browser test baseline - YUI Graded Browser Support</a> (excluding IE6)</li>
Expand All @@ -153,7 +158,7 @@ <h1 id="wb-cont">Web Experience Toolkit (WET)</h1>
</section>

<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date modified:</dt><dd><span><time>2012-05-11</time></span></dd>
<dt>Date modified:</dt><dd><span><time>2012-07-25</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->
Expand Down
39 changes: 22 additions & 17 deletions docs/index-fra.html
Expand Up @@ -15,7 +15,7 @@
<meta name="dcterms.creator" content="Gouvernement du Canada, Secrétariat du Conseil du Trésor du Canada, Direction du dirigeant principal de l'information, Division de l'examen et de la supervision de projets de TI, Bureau des normes Web" />
<meta name="dcterms.title" content="Boîte à outils de l’expérience Web (BOEW)" />
<meta name="dcterms.issued" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-05-11" />
<meta name="dcterms.modified" title="W3CDTF" content="2012-07-25" />
<meta name="dcterms.subject" title="scheme" content="Internet;Normes;Conception" />
<meta name="dcterms.language" title="ISO639-2" content="fra" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -117,45 +117,50 @@ <h1 id="wb-cont">Boîte à outils de l’expérience Web (BOEW)</h1>
</ul>
</section>

<section><h2>Contributor guidelines</h2>
<section><h2>Lignes directrices pour les contributeurs</h2>
<ul>
<li>Pull requests are welcome. Please make sure your changes are to the latest code and limit the commit range to just the files you intended to change (to avoid conflicts).</li>
<li>New components should be added in a feature-* branch (e.g., feature-lightbox).
<li>Les demandes de retrait sont les bienvenues. Assurez-vous d'apporter les changements dans la dernière version du code et de limiter le champ de validation (commit range) seulement aux fichiers que vous aviez l’intention de modifier (pour éviter les conflits).</li>
<li>Les nouvelles composantes devraient être ajoutées dans un branchement de type <span lang="en">feature</span>-* (p. ex., <span lang="en">feature-lightbox</span>).
<ul>
<li>Licensing for all new components and supporting code must be compatible with the MIT license used by WET.</li>
<li>New plugins should use pluginTemplate.js as the basis for the JavaScript code.</li>
<li>Include the WET terms and conditions comment block in all text-based source files that fall under Crown Copyright.</li>
<li><a href="http://validator.w3.org/nu/">Validate your HTML markup</a>. Markup should be well-formed HTML5.</li>
<li>To test for well-formed markup, validate with an XHTML5 preset and a checkmark next to "Be lax about HTTP Content-Type".</li>
<li>Les licences de toutes les nouvelles composantes et du code afférent doivent être compatibles avec la licence MIT utilisée par la Boîte à outils de l’expérience Web (BOEW).</li>
<li>Les nouveaux modules d’extension devraient se servir de pluginTemplate.js comme base pour le code JavaScript.</li>
<li>Inclure le bloc de texte sur les conditions d’utilisation de la BOEW dans tous les fichiers sources textuels soumis aux droits d’auteur de la Couronne.</li>
</ul>
</li>
<li><a href="http://jigsaw.w3.org/css-validator/validator.html.fr#validate_by_uri+with_options">Valider votre CSS</a> avec les changements suivants aux paramètres&#160;:
<li><a href="http://validator.w3.org/nu/">Valider votre balisage HTML</a>. Le balisage devrait être en HTML5 bien formé.
<ul>
<li>Pour vérifier si le balisage est bien formé, valider à l’aide d’un préréglage XHTML5 et cocher la case «&#160;<span lang="en">Be lax about HTTP Content-Type</span>&#160;».</li>
</ul>
</li>
<li><a href="http://jigsaw.w3.org/css-validator/validator.html.fr#validate_by_uri+with_options">Valider votre CSS</a> en apportant les changements suivants aux paramètres par défaut&#160;:
<ul>
<li><strong>Profil&#160;:</strong> CSS niveau 3</li>
<li><strong>Extensions Proprétaires&#160;:</strong> Avertissements</li>
</ul>
</li>
<li><a href="http://www.jslint.com">Valider votre code JavaScript</a> avec les changements suivants aux paramètres&#160;;:
<li><a href="http://www.jslint.com">Valider votre code JavaScript</a> en apportant les changements suivants aux paramètres par défaut&#160;:
<ul lang="en">
<li><strong>Tolerate dangling _ in identifiers&#160;:</strong> true</li>
<li><strong>Tolerate missing 'use strict' pragma&#160;:</strong> true</li>
<li><strong>Assume browser&#160;:</strong> true</li>
</ul>
<li>Formatting recommendations:
</li>
<li>Recommandations quant au formatage&#160;:
<ul>
<li>Indent with tabs using the <a href="http://fr.wikipedia.org/wiki/Style_d%27indentation#Style_K.26R">Style K&amp;R</a></li>
<li>Use single quotes for strings in JavaScript (so unescaped double quotes can be used for attributes in HTML output)</li>
<li>Ajouter les tabulations en utilisant le <a href="http://fr.wikipedia.org/wiki/Style_d%27indentation#Style_K.26R">style d'indentation K&amp;R</a></li>
<li>Utiliser les guillemets simples pour les chaînes en JavaScript (de façon à ce que les guillemets doubles non échappés (<span lang="en">unescaped</span>) puissent être utilisés pour les attributs dans les données de sortie HTML)</li>
</ul>
<li>Supported browsers (should be tested against):
</li>
<li>Fureteurs supportés (cet élément devrait faire l’objet d’une vérification)&#160;:
<ul>
<li><a href="http://yuilibrary.com/yui/docs/tutorials/gbs/">Browser test baseline - YUI Graded Browser Support</a> (excluding IE6)</li>
<li><a href="http://yuilibrary.com/yui/docs/tutorials/gbs/" lang="en">Browser test baseline - YUI Graded Browser Support</a> (sauf Internet Explorer 6)</li>
</ul>
</li>
</ul>
</section>

<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date de modification&#160;:</dt><dd><span><time>2012-05-11</time></span></dd>
<dt>Date de modification&#160;:</dt><dd><span><time>2012-07-25</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->
Expand Down

0 comments on commit 6cb026c

Please sign in to comment.