Skip to content
Permalink
Browse files

Site: Removed duplicate i18n data

  • Loading branch information...
LaurentGoderre committed Apr 14, 2015
1 parent a00cb32 commit 80869ab961888b4e31185dc7bd3e5894f0d3cb18
Showing with 26 additions and 196 deletions.
  1. +1 −0 Gruntfile.coffee
  2. +1 −172 site/data/site.json
  3. +12 −12 theme/site/pages/index-en.hbs
  4. +12 −12 theme/site/pages/index-fr.hbs
@@ -442,6 +442,7 @@ module.exports = (grunt) ->
theme:
options:
flatten: true
languages: "<%= i18n_csv.assemble.locales %>"
plugins: [
"assemble-contrib-i18n"
]
@@ -1,175 +1,4 @@
{
"description": "Web Experience Toolkit (WET) includes reusable components for building and maintaining innovative Web sites that are accessible, usable, and interoperable. These reusable components are open source software and free for use by departments and external Web communities",
"title": "Web Experience Toolkit (WET)",
"tagline": "Collaborative open source project led by the Government of Canada",
"tmpl-v31-ref-head-fr": "Vous cherchez la BOEW v3.1?",
"tmpl-v31-ref-1-fr": "À partir du 23 septembre 2014, la version 3.1 de la Boîte à outils de l'expérience Web n'est plus supportée. Le code source et la documentation ont été déplacés vers le dépôt ",
"tmpl-v31-ref-3-fr": ".",
"tmpl-v31-ref-head-en": "Looking for WET v3.1?",
"tmpl-v31-ref-1-en": "As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the ",
"tmpl-v31-ref-3-en": " repository.",
"legacyreponame": "wet-boew-legacy",
"legacyrepolink": "https://github.com/wet-boew/wet-boew-legacy",
"langs": [
{
"lang-code": "en",
"lang-en": "English",
"lang-fr": "Anglais"
},
{
"lang-code": "fr",
"lang-en": "French",
"lang-fr": "Français"
},
{
"lang-code": "af",
"lang-en": "Afrikaans",
"lang-fr": "Afrikaans"
},
{
"lang-code": "sq",
"lang-en": "Albanian",
"lang-fr": "Albanais"
},
{
"lang-code": "ar",
"lang-en": "Arabic",
"lang-fr": "Arabe"
},
{
"lang-code": "hy",
"lang-en": "Armenian",
"lang-fr": "Arménien"
},
{
"lang-code": "bg",
"lang-en": "Bulgarian",
"lang-fr": "Bulgare"
},
{
"lang-code": "zh",
"lang-en": "Chinese",
"lang-fr": "Chinois"
},
{
"lang-code": "zh-Hans",
"lang-en": "Chinese (Simplified)",
"lang-fr": "Chinois (simplifié)"
},
{
"lang-code": "cs",
"lang-en": "Czech",
"lang-fr": "Tchèque"
},
{
"lang-code": "nl",
"lang-en": "Dutch",
"lang-fr": "Néerlandais"
},
{
"lang-code": "et",
"lang-en": "Estonian",
"lang-fr": "Estonien"
},
{
"lang-code": "de",
"lang-en": "German",
"lang-fr": "Allemand"
},
{
"lang-code": "el",
"lang-en": "Greek",
"lang-fr": "Grec"
},
{
"lang-code": "hi",
"lang-en": "Hindi",
"lang-fr": "Hindi"
},
{
"lang-code": "hu",
"lang-en": "Hungarian",
"lang-fr": "Hongrois"
},
{
"lang-code": "is",
"lang-en": "Icelandic",
"lang-fr": "Islandais"
},
{
"lang-code": "id",
"lang-en": "Indonesian",
"lang-fr": "Indonésien"
},
{
"lang-code": "it",
"lang-en": "Italian",
"lang-fr": "Italien"
},
{
"lang-code": "ja",
"lang-en": "Japanese",
"lang-fr": "Japonais"
},
{
"lang-code": "ko",
"lang-en": "Korean",
"lang-fr": "Coréen"
},
{
"lang-code": "lv",
"lang-en": "Latvian",
"lang-fr": "Letton"
},
{
"lang-code": "lt",
"lang-en": "Lithuanian",
"lang-fr": "Lituanien"
},
{
"lang-code": "pl",
"lang-en": "Polish",
"lang-fr": "Polonais"
},
{
"lang-code": "pt",
"lang-en": "Portuguese",
"lang-fr": "Portugais"
},
{
"lang-code": "pt-BR",
"lang-en": "Portuguese (Brazilian)",
"lang-fr": "Portugais (brésilien)"
},
{
"lang-code": "ru",
"lang-en": "Russian",
"lang-fr": "Russe"
},
{
"lang-code": "sk",
"lang-en": "Slovak",
"lang-fr": "Slovaque"
},
{
"lang-code": "th",
"lang-en": "Thai",
"lang-fr": "Thaï"
},
{
"lang-code": "tr",
"lang-en": "Turkish",
"lang-fr": "Turc"
},
{
"lang-code": "uk",
"lang-en": "Ukrainian",
"lang-fr": "Ukrainien"
},
{
"lang-code": "vi",
"lang-en": "Vietnamese",
"lang-fr": "Vietnamien"
}
]
"legacyrepolink": "https://github.com/wet-boew/wet-boew-legacy"
}
@@ -11,34 +11,34 @@
<section>
<h2>Table of contents</h2>
<ul>
{{#withSort site.langs "lang-en"}}
<li><a href="#{{lang-code}}">{{lang-en}}</a></li>
{{#withSort languages}}
<li><a href="#{{this}}">{{#with ..}}{{i18n "lang-en" language=../this}}{{/with}}</a></li>
{{/withSort}}
</ul>
</section>

{{#withSort site.langs "lang-en"}}
{{#withSort languages}}
<section>
<h2 id="{{lang-code}}">{{lang-en}}</h2>
<h2 id="{{this}}">{{#with ..}}{{i18n "lang-en" language=../this}}{{/with}}</h2>
<ul>
<li><a href="content-{{lang-code}}.html">Content page</a></li>
<li><a href="content-secmenu-{{lang-code}}.html">Content page - Secondary menu</a></li>
<li><a href="content-nosearchlang-{{lang-code}}.html">Content page - No search or language selection link</a></li>
<li><a href="content-nositemenubc-{{lang-code}}.html">Content page - No site menu or breadcrumb trail</a></li>
<li><a href="content-nosearchlangsitemenubc-{{lang-code}}.html">Content page - No search, language selection link, site menu or breadcrumb trail</a></li>
{{#is lang-code "en"}}
<li><a href="content-{{this}}.html">Content page</a></li>
<li><a href="content-secmenu-{{this}}.html">Content page - Secondary menu</a></li>
<li><a href="content-nosearchlang-{{this}}.html">Content page - No search or language selection link</a></li>
<li><a href="content-nositemenubc-{{this}}.html">Content page - No site menu or breadcrumb trail</a></li>
<li><a href="content-nosearchlangsitemenubc-{{this}}.html">Content page - No search, language selection link, site menu or breadcrumb trail</a></li>
{{#is this "en"}}
<li><a href="splashpage-en.html">Splash page</a></li>
<li><a href="404-en.html">404 error page</a></li>
<li><a href="404-en-fr.html">404 error page (English/French)</a></li>
<li><a href="servermessage-en-fr.html">Server message page (English/French)</a></li>
{{/is}}
{{#is lang-code "fr"}}
{{#is this "fr"}}
<li><a href="splashpage-fr.html">Splash page</a></li>
<li><a href="404-fr.html">404 error page</a></li>
<li><a href="404-fr-en.html">404 error page (French/English)</a></li>
<li><a href="servermessage-fr-en.html">Server message page (French/English)</a></li>
{{/is}}
<li><a href="servermessage-{{lang-code}}.html">Server message page</a></li>
<li><a href="servermessage-{{this}}.html">Server message page</a></li>
</ul>
</section>
{{/withSort}}
@@ -11,34 +11,34 @@
<section>
<h2>Table des matières</h2>
<ul>
{{#withSort site.langs "lang-fr"}}
<li><a href="#{{lang-code}}">{{lang-fr}}</a></li>
{{#withSort languages}}
<li><a href="#{{this}}">{{#with ..}}{{i18n "lang-en" language=../this}}{{/with}}</a></li>
{{/withSort}}
</ul>
</section>

{{#withSort site.langs "lang-fr"}}
{{#withSort languages}}
<section>
<h2 id="{{lang-code}}">{{lang-fr}}</h2>
<h2 id="{{this}}">{{#with ..}}{{i18n "lang-en" language=../this}}{{/with}}</h2>
<ul>
<li><a href="content-{{lang-code}}.html">Page de contenu</a></li>
<li><a href="content-secmenu-{{lang-code}}.html">Page de contenu - Menu secondaire</a></li>
<li><a href="content-nosearchlang-{{lang-code}}.html">Page de contenu - Sans recherche ou lien de sélection de la langue</a></li>
<li><a href="content-nositemenubc-{{lang-code}}.html">Page de contenu - Sans menu du site ou fil d'Ariane</a></li>
<li><a href="content-nosearchlangsitemenubc-{{lang-code}}.html">Page de contenu - Sans recherche, lien de sélection de la langue, menu du site ou fil d'Ariane</a></li>
{{#is lang-code "en"}}
<li><a href="content-{{this}}.html">Page de contenu</a></li>
<li><a href="content-secmenu-{{this}}.html">Page de contenu - Menu secondaire</a></li>
<li><a href="content-nosearchlang-{{this}}.html">Page de contenu - Sans recherche ou lien de sélection de la langue</a></li>
<li><a href="content-nositemenubc-{{this}}.html">Page de contenu - Sans menu du site ou fil d'Ariane</a></li>
<li><a href="content-nosearchlangsitemenubc-{{this}}.html">Page de contenu - Sans recherche, lien de sélection de la langue, menu du site ou fil d'Ariane</a></li>
{{#is this "en"}}
<li><a href="splashpage-en.html">Page d'entrée</a></li>
<li><a href="404-en.html">Page d'erreur 404</a></li>
<li><a href="404-en-fr.html">Page d'erreur 404 (anglais/français)</a></li>
<li><a href="servermessage-en-fr.html">Page de message du serveur (anglais/français)</a></li>
{{/is}}
{{#is lang-code "fr"}}
{{#is this "fr"}}
<li><a href="splashpage-fr.html">Page d'entrée</a></li>
<li><a href="404-fr.html">Page d'erreur 404</a></li>
<li><a href="404-fr-en.html">Page d'erreur 404 (français/anglais)</a></li>
<li><a href="servermessage-fr-en.html">Page de message du serveur (français/anglais)</a></li>
{{/is}}
<li><a href="servermessage-{{lang-code}}.html">Page de message du serveur</a></li>
<li><a href="servermessage-{{this}}.html">Page de message du serveur</a></li>
</ul>
</section>
{{/withSort}}

0 comments on commit 80869ab

Please sign in to comment.
You can’t perform that action at this time.