Skip to content

Commit

Permalink
Add support for translation in footer + French translation (#2430)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfacq authored Nov 9, 2023
1 parent db0a388 commit a56e0d5
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 64 deletions.
34 changes: 34 additions & 0 deletions locales/fr/footer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"footer.about.us":"À propos",
"footer.contact.us":"Nous contacter",
"footer.donate":"Faire un don",
"footer.members":"Membres",
"footer.governance":"Gouvernance",
"footer.board.of.directors":"Conseil d'administration",
"footer.report.a.vulnerability":"Signaler une vulnérabilité",
"footer.privacy.policy":"Politique de confidentialité",
"footer.eclipse.public.license":"Eclipse Public License",
"footer.research.eclipse":"Research@Eclipse",
"footer.logo.and.artwork":"Logo et Artwork",
"footer.legal.resources":"Ressources juridiques",
"footer.report.a.bug":"Signaler un bug",
"footer.copyright.agent":"Droits d'auteur",
"footer.service.status":"État du service",
"footer.swag.store":"Boutique",
"footer.terms.of.use":"Conditions d'utilisation",
"footer.working.groups":"Groupes de travail",
"footer.projects":"Projets",
"footer.mailing.lists":"Listes de diffusion",
"footer.forums":"Forums",
"footer.ide.and.tools":"IDE et outils",
"footer.code.of.conduct":"Code de conduite",
"footer.marketplace":"Marketplace",
"footer.documentation":"Documentation",
"footer.how.to.contribute": "Comment participer",
"footer.eclipse.foundation": "Eclipse Foundation",
"footer.legal": "Juridique",
"footer.useful.links": "Liens utiles",
"footer.useful.other": "Autres",
"footer.all.rights.reserved": "Copyright © Eclipse Foundation. Tous droits réservés.",
"footer.trademarks": "Java et OpenJDK sont des marques commerciales ou des marques déposées d'Oracle et/ou de ses filiales. D'autres noms peuvent être des marques déposées de leurs propriétaires respectifs."
}
64 changes: 32 additions & 32 deletions src/components/Footer/__tests__/__snapshots__/Footer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`Footer component > renders correctly 1`] = `
<p
class="h5 pb-1"
>
Eclipse Foundation
Text
</p>
<ul
class="nav flex-column"
Expand All @@ -36,7 +36,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/"
>
About Us
Text
</a>
</li>
<li
Expand All @@ -46,7 +46,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/foundation/contact.php"
>
Contact Us
Text
</a>
</li>
<li
Expand All @@ -56,7 +56,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/donate/adoptium"
>
Donate
Text
</a>
</li>
<li
Expand All @@ -66,7 +66,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/membership"
>
Members
Text
</a>
</li>
<li
Expand All @@ -76,7 +76,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/documents/"
>
Governance
Text
</a>
</li>
<li
Expand All @@ -86,7 +86,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/documents/Community_Code_of_Conduct.php"
>
Code of Conduct
Text
</a>
</li>
<li
Expand All @@ -96,7 +96,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/artwork/"
>
Logo and Artwork
Text
</a>
</li>
<li
Expand All @@ -106,7 +106,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/foundation/directors.php"
>
Board of Directors
Text
</a>
</li>
</ul>
Expand All @@ -117,7 +117,7 @@ exports[`Footer component > renders correctly 1`] = `
<p
class="h5 pb-1"
>
Legal
Text
</p>
<ul
class="nav flex-column"
Expand All @@ -129,7 +129,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/legal/privacy.php"
>
Privacy Policy
Text
</a>
</li>
<li
Expand All @@ -139,7 +139,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/legal/termsofuse.php"
>
Terms of Use
Text
</a>
</li>
<li
Expand All @@ -149,7 +149,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/legal/copyright.php"
>
Copyright Agent
Text
</a>
</li>
<li
Expand All @@ -159,7 +159,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/legal/epl-2.0/"
>
Eclipse Public License
Text
</a>
</li>
<li
Expand All @@ -169,7 +169,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/legal/"
>
Legal Resources
Text
</a>
</li>
</ul>
Expand All @@ -180,7 +180,7 @@ exports[`Footer component > renders correctly 1`] = `
<p
class="h5 pb-1"
>
Useful Links
Text
</p>
<ul
class="nav flex-column"
Expand All @@ -192,7 +192,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://github.com/adoptium/adoptium-support/issues"
>
Report a Bug
Text
</a>
</li>
<li
Expand All @@ -202,7 +202,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="/docs"
>
Documentation
Text
</a>
</li>
<li
Expand All @@ -212,7 +212,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="/contributing"
>
How to Contribute
Text
</a>
</li>
<li
Expand All @@ -222,7 +222,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/mail/"
>
Mailing Lists
Text
</a>
</li>
<li
Expand All @@ -232,7 +232,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/forums/"
>
Forums
Text
</a>
</li>
<li
Expand All @@ -242,7 +242,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://marketplace.eclipse.org/"
>
Marketplace
Text
</a>
</li>
<li
Expand All @@ -252,7 +252,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://store.adoptium.net/"
>
Swag Store
Text
</a>
</li>
</ul>
Expand All @@ -263,7 +263,7 @@ exports[`Footer component > renders correctly 1`] = `
<p
class="h5 pb-1"
>
Other
Text
</p>
<ul
class="nav flex-column"
Expand All @@ -275,7 +275,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/ide/"
>
IDE and Tools
Text
</a>
</li>
<li
Expand All @@ -285,7 +285,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/projects"
>
Projects
Text
</a>
</li>
<li
Expand All @@ -295,7 +295,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/workinggroups/"
>
Working Groups
Text
</a>
</li>
<li
Expand All @@ -305,7 +305,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/org/research/"
>
Research@Eclipse
Text
</a>
</li>
<li
Expand All @@ -315,7 +315,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://www.eclipse.org/security/"
>
Report a Vulnerability
Text
</a>
</li>
<li
Expand All @@ -325,7 +325,7 @@ exports[`Footer component > renders correctly 1`] = `
class="nav-link p-0 text-muted"
href="https://status.eclipse.org/"
>
Service Status
Text
</a>
</li>
</ul>
Expand All @@ -336,7 +336,7 @@ exports[`Footer component > renders correctly 1`] = `
<span
class="text-muted"
>
Copyright © Eclipse Foundation. All Rights Reserved.
Text
</span>
</div>
<ul
Expand Down Expand Up @@ -479,7 +479,7 @@ exports[`Footer component > renders correctly 1`] = `
<span
class="text-muted"
>
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Text
</span>
</div>
</footer>
Expand Down
Loading

0 comments on commit a56e0d5

Please sign in to comment.