Skip to content

Commit

Permalink
[about] Fix NIDRR translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferllings committed Mar 18, 2024
1 parent 7563a71 commit cc8f986
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 id="header-main">Colour Contrast Analyser (CCA)</h1>
<p><span id="i18n-version">Version</span> <span id="cca-version"></span></p>
<img src="icons/cca.svg" width="100" height="100" alt="" />
<p><span id="i18n-developed">Developed by</span> <a href="https://www.tpgi.com" class="external-link">TPGi</a><br/>Under <a href="https://raw.githubusercontent.com/ThePacielloGroup/CCAe/main/LICENSE" class="external-link">GNU GPL v3.0</a></p>
<p>The funding for the original WCAG version of the Colour Contrast tool was provided by the Trace Center under grant #H133E030012 from the National Institute on Disability and Rehabilitation Research (NIDRR). However no endorsement of the work by NIDILR should be inferred.</p>
<p id="i18n-nidrr">The funding for the original WCAG version of the Colour Contrast tool was provided by the Trace Center under grant #H133E030012 from the National Institute on Disability and Rehabilitation Research (NIDRR). However no endorsement of the work by NIDILR should be inferred.</p>
</div>
<h2 id="header-translations">Translations</h2>
<ul>
Expand Down
1 change: 1 addition & 0 deletions src/views/js/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function translateHTML(i18n) {
document.querySelector('h1#header-main').textContent = i18n['Colour Contrast Analyser (CCA)'];
document.querySelector('#i18n-version').textContent = i18n['Version'];
document.querySelector('#i18n-developed').textContent = i18n['Developed by'];
if (i18n['NIDRR']) document.querySelector('#i18n-nidrr').textContent = i18n['NIDRR'];
document.querySelector('h2#header-translations').textContent = i18n['Translations'];
document.querySelector('h2#header-exLinks').textContent = i18n['External links'];
const exLink_listitem = document.querySelectorAll('ul#list-exLinks > li > A');
Expand Down
2 changes: 1 addition & 1 deletion src/views/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"Version": "Version",
"Developed by": "Développé par",
"Under": "Sous",
"The funding for the original WCAG version of the Colour Contrast tool was provided by the Trace Center under grant #H133E030012 from the National Institute on Disability and Rehabilitation Research (NIDRR). However no endorsement of the work by NIDILR should be inferred.": "The funding for the original WCAG version of the Colour Contrast tool was provided by the Trace Center under grant #H133E030012 from the National Institute on Disability and Rehabilitation Research (NIDRR). However no endorsement of the work by NIDILR should be inferred.",
"NIDRR": "Le financement pour la version originale de l'outil de contraste de couleur WCAG (CCA) a été fourni par le Trace Center dans le cadre de la subvention n°H133E030012 de l'Institut national de recherche sur le handicap et la réadaptation (NIDRR). Cependant, aucune approbation du travail par le NIDILR ne doit être déduite.",
"Translations": "Traductions",
"External links": "Liens externes",
"TPGi Resources": "Ressources TPGi",
Expand Down

0 comments on commit cc8f986

Please sign in to comment.