Skip to content

Commit

Permalink
Content - Contributors and Most requested translation edit (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garneauma authored Jul 29, 2024
1 parent 4cbab08 commit 91947fc
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 24 deletions.
8 changes: 4 additions & 4 deletions _data/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,14 @@
{
"@type": "source-code",
"description": "Code sample:",
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>"
}
],
"fr": [
{
"@type": "source-code",
"description": "Exemple de code :",
"code": "<section class=\"gc-contributors\">\n\t<h2>De&nbsp;:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Département ou agence]</a></li>\n\t\t<li><a href=\"#\">[Département ou agence]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"gc-contributors\">\n\t<h2>De&nbsp;:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Ministère ou agence 1]</a></li>\n\t\t<li><a href=\"#\">[Ministère ou agence 2]</a></li>\n\t</ul>\n</section>"
}
]
}
Expand All @@ -361,7 +361,7 @@
"@type": "source-code",
"@language": "en",
"description": "Code sample",
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>"
}
],
"predecessor": "_:iteration_contributors_1"
Expand All @@ -376,7 +376,7 @@
"@type": "source-code",
"@language": "en",
"description": "Code sample",
"code": "<section class=\"provisional gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"provisional gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>"
}
],
"successor": "_:iteration_contributors_2"
Expand Down
56 changes: 56 additions & 0 deletions _data/wet-boew.json
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,62 @@
}
]
}
,{
"@context": {
"@version": 1.1,
"dct": "http://purl.org/dc/terms/",
"title": { "@id": "dct:title", "@container": "@language" },
"description": { "@id": "dct:description", "@container": "@language" },
"modified": "dct:modified"
},
"title": {
"en": "Geomap",
"fr": "Géocarte"
},
"description": {
"en": "Displays a dynamic map over which information from additional sources can be overlaid.",
"fr": "Affiche une carte dynamique sur laquelle des informations provenant de sources supplémentaires peuvent être superposées."
},
"modified": "2024-07-12",
"componentName": "geomap",
"status": "stable",
"pages": {
"examples": [
{
"title": "Geomap",
"language": "en",
"path": "./geomap-en.html"
},
{
"title": "Géocarte",
"language": "fr",
"path": "./geomap-fr.html"
},
{
"title": "Geomap v4.0.30",
"language": "fr",
"path": "./geomap-v4.0.30-en.html"
},
{
"title": "Géocarte v4.0.30",
"language": "fr",
"path": "./geomap-v4.0.30-fr.html"
}
],
"docs": [
{
"title": "Geomap",
"language": "en",
"url": "https://wet-boew.github.io/wet-boew/docs/ref/geomap/geomap-en.html"
},
{
"title": "Géocarte",
"language": "fr",
"url": "https://wet-boew.github.io/wet-boew/docs/ref/geomap/geomap-fr.html"
}
]
}
}
,{
"@context": {
"@version": 1.1,
Expand Down
4 changes: 2 additions & 2 deletions _includes/components/gc-contributors/gc-contributors.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section class="gc-contributors">
<h2>{% if page.language == "en" %}From:{% else %}De&nbsp;:{% endif %}</h2>
<ul>
<li><a href="#">{% if page.language == "en" %}[Department or agency]{% else %}[Département ou agence]{% endif %}</a></li>
<li><a href="#">{% if page.language == "en" %}[Department or agency]{% else %}[Département ou agence]{% endif %}</a></li>
<li><a href="#">{% if page.language == "en" %}[Department or agency 1]{% else %}[Ministère ou agence 1]{% endif %}</a></li>
<li><a href="#">{% if page.language == "en" %}[Department or agency 2]{% else %}[Ministère ou agence 2]{% endif %}</a></li>
</ul>
</section>
12 changes: 6 additions & 6 deletions _includes/components/gc-most-requested/gc-most-requested.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<div class="container">
<h2>{% if page.language == "en" %}Most requested{% else %}En demande{% endif %}</h2>
<ul>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 1]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 2]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 3]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 4]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 5]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 6]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 1]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 2]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 3]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 4]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Lien vers une tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 5]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Lien vers une tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 6]</a></li>
</ul>
</div>
</section>
8 changes: 4 additions & 4 deletions components/gc-contributors/index.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@
{
"@type": "source-code",
"description": "Code sample:",
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>"
}
],
"fr": [
{
"@type": "source-code",
"description": "Exemple de code :",
"code": "<section class=\"gc-contributors\">\n\t<h2>De&nbsp;:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Département ou agence]</a></li>\n\t\t<li><a href=\"#\">[Département ou agence]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"gc-contributors\">\n\t<h2>De&nbsp;:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Ministère ou agence 1]</a></li>\n\t\t<li><a href=\"#\">[Ministère ou agence 2]</a></li>\n\t</ul>\n</section>"
}
]
}
Expand All @@ -130,7 +130,7 @@
"@type": "source-code",
"@language": "en",
"description": "Code sample",
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>"
}
],
"predecessor": "_:iteration_contributors_1"
Expand All @@ -145,7 +145,7 @@
"@type": "source-code",
"@language": "en",
"description": "Code sample",
"code": "<section class=\"provisional gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t\t<li><a href=\"#\">[Department or agency]</a></li>\n\t</ul>\n</section>"
"code": "<section class=\"provisional gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>"
}
],
"successor": "_:iteration_contributors_2"
Expand Down
4 changes: 2 additions & 2 deletions components/gc-contributors/samples/gc-contributors.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section class="gc-contributors">
<h2>{% if page.language == "en" %}From:{% else %}De&nbsp;:{% endif %}</h2>
<ul>
<li><a href="#">{% if page.language == "en" %}[Department or agency]{% else %}[Département ou agence]{% endif %}</a></li>
<li><a href="#">{% if page.language == "en" %}[Department or agency]{% else %}[Département ou agence]{% endif %}</a></li>
<li><a href="#">{% if page.language == "en" %}[Department or agency 1]{% else %}[Ministère ou agence 1]{% endif %}</a></li>
<li><a href="#">{% if page.language == "en" %}[Department or agency 2]{% else %}[Ministère ou agence 2]{% endif %}</a></li>
</ul>
</section>
12 changes: 6 additions & 6 deletions components/gc-most-requested/samples/gc-most-requested.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<div class="container">
<h2>{% if page.language == "en" %}Most requested{% else %}En demande{% endif %}</h2>
<ul>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 1]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 2]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 3]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Tâche principale{% endif %} 4]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 5]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 6]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 1]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 2]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 3]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink{% else %}Lien vers une tâche principale{% endif %} 4]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Lien vers une tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 5]</a></li>
<li><a href="#">[{% if page.language == "en" %}Top task hyperlink with a very long task name than spans over two lines{% else %}Lien vers une tâche principale avec un nom de tâche très long qui s'étend sur deux lignes{% endif %} 6]</a></li>
</ul>
</div>
</section>

0 comments on commit 91947fc

Please sign in to comment.