Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locale for French fr-FR #2171

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions locales/fr/download.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"Download Temurin for": "Télécharger Temurin™ pour {{userOSName}} {{arch}}",
"Latest LTS Release": "Dernière version LTS",
"Latest Releases": "Dernières versions",
"Nightly Builds": "Nightly Builds",
"Other platforms and versions": "Autres plateformes et versions",
"Release Archive": "Archives",
"Vendor":"Fournisseur",
"Operating System":"Système d'exploitation",
"Architecture":"Architecture",
"Download":"Télécharger",
"Checksum":"Checksum",
"Package Type":"Type de paquet",
"Source Code Archive": "Code source",
"Any": "Tout",
"Installation guide": "Guide d'installation",
"Source Code": "Code source"
}
5 changes: 5 additions & 0 deletions locales/fr/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Prebuilt OpenJDK": "OpenJDK précompilé",
"Binaries for Free!": "Binaires gratuits !",
"Intro": "Java™ est l'un des premiers langages de programmation et plate-formes logicielles au monde. Le groupe de travail Adoptium promeut et prend en charge des environnements d'exécution de haute qualité certifiés TCK et la technologie associée à utiliser dans l'ensemble de l'écosystème Java. Eclipse Temurin est le nom de la distribution OpenJDK d'Adoptium."
}
3 changes: 3 additions & 0 deletions locales/fr/language-selector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Change Language": "Changer de langue"
}
6 changes: 6 additions & 0 deletions locales/fr/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"marketplace.marketplaceDescription": "Java™ est l'un des premiers langages de programmation et plate-formes logicielles au monde. La Marketplace Adoptium propose en téléchargement des environnements d'exécution Java de haute qualité, certifiés TCK et vérifiés AQAvit.",
"marketplace.aqavitDescription": "La suite open source AQAvit (<strong>A</strong>doptium <strong>Q</strong>uality <strong>A</strong>assurance) est disponible <aqavitLink>ici</aqavitLink>. Il existe également un <blogPostLink>blog et une courte présentation</blogPostLink> expliquant quels tests sont exécutés et comment ils s'intègrent dans notre processus de livraison.",
"Installation guide": "Guide d'installation",
"Source Code": "Code source"
}
8 changes: 8 additions & 0 deletions locales/fr/temurin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"release.intro": "Eclipse Temurin est le projet open source Java SE basé sur OpenJDK. Temurin est disponible pour une <supportedPlatformsLink>large gamme de plates-formes</supportedPlatformsLink> et de versions de Java SE. Les dernières versions recommandées pour une utilisation en production sont répertoriées ci-dessous et sont régulièrement <supportLink>mises à jour et prises en charge</supportLink> par la communauté Adoptium. L'aide à la migration, les images de conteneurs et les guides d'installation des packages sont disponibles dans la <docsLink>section documentation</docsLink>.",
"Use the drop-down boxes below to filter the list of current releases.": "Utilisez la liste déroulante ci-dessous pour voir les versions actuelles.",
"Previous releases are available in the Temurin archive.": "Les versions précédentes sont disponibles dans les archives Temurin.",
"Release Notes": "Notes de version",
"Installation Guide": "Guide d'installation",
"Source Code": "Code source"
}
6 changes: 6 additions & 0 deletions locales/fr/working-group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"The Adoptium® Working Group": "Le groupe de travail Adoptium®",
"wg-description": "Le groupe de travail Adoptium promeut et prend en charge les environnements d'exécution de haute qualité et les technologies associées pour une utilisation dans l'ensemble de l'écosystème Java. Notre vision est de répondre aux besoins d'Eclipse et de la communauté Java au sens large en fournissant des environnements d'exécution pour les applications Java. Nous adoptons les normes existantes et une grande variété de plates-formes matérielles et cloud.",
"Join the Working Group": "Rejoindre le groupe de travail",
"View our Members": "voir les membres"
}
4 changes: 4 additions & 0 deletions locales/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = {
locale: 'es-ES',
path: 'es'
},
fr: {
locale: 'fr-FR',
path: 'fr'
},
'zh-CN': {
locale: 'zh-CN',
path: 'zh-CN'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports[`DownloadDropdowns component > renders correctly - marketplace 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="mock_os"
Expand All @@ -53,7 +53,7 @@ exports[`DownloadDropdowns component > renders correctly - marketplace 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="mock_arch"
Expand All @@ -80,7 +80,7 @@ exports[`DownloadDropdowns component > renders correctly - marketplace 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="mock_pkg"
Expand Down Expand Up @@ -141,7 +141,7 @@ exports[`DownloadDropdowns component > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="mock_os"
Expand All @@ -168,7 +168,7 @@ exports[`DownloadDropdowns component > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="mock_arch"
Expand All @@ -195,7 +195,7 @@ exports[`DownloadDropdowns component > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="mock_pkg"
Expand Down
6 changes: 3 additions & 3 deletions src/components/DownloadDropdowns/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const DownloadDropdowns = ({updaterAction, marketplace, Table}) => {
<div className="input-group-prepend flex-colunm col-12 col-md-3">
<label className="px-2 fw-bold" htmlFor="os"><Trans>Operating System</Trans></label>
<select id="os-filter" aria-label="OS Filter" data-testid="os-filter" onChange={(e) => setOS(e.target.value)} value={os} className="form-select form-select-sm">
<option key="any" value="any">Any</option>
<option key="any" value="any"><Trans>Any</Trans></option>
{oses.sort((os1, os2) => os1.localeCompare(os2)).map(
(os, i): string | JSX.Element => os && (
<option key={`os-${i}`} value={os.toLowerCase()}>{capitalize(os)}</option>
Expand All @@ -192,7 +192,7 @@ const DownloadDropdowns = ({updaterAction, marketplace, Table}) => {
<div className="input-group-prepend flex-colunm col-12 col-md-3">
<label className="px-2 fw-bold" htmlFor="arch"><Trans>Architecture</Trans></label>
<select id="arch-filter" aria-label="Architecture Filter" data-testid="arch-filter" onChange={(e) => setArch(e.target.value)} value={arch} className="form-select form-select-sm">
<option key="any" value="any">Any</option>
<option key="any" value="any"><Trans>Any</Trans></option>
{arches.sort((arch1, arch2) => arch1.localeCompare(arch2)).map(
(arch, i): string | JSX.Element => arch && (
<option key={`arch-${i}`} value={arch.toLowerCase()}>{arch}</option>
Expand All @@ -203,7 +203,7 @@ const DownloadDropdowns = ({updaterAction, marketplace, Table}) => {
<div className="input-group-prepend flex-colunm col-12 col-md-3">
<label className="px-2 fw-bold" htmlFor="package-type"><Trans>Package Type</Trans></label>
<select id="package-type-filter" aria-label="Package Type Filter" data-testid="package-type-filter" onChange={(e) => setPackageType(e.target.value)} value={packageType} className="form-select form-select-sm">
<option key="any" value="any">Any</option>
<option key="any" value="any"><Trans>Any</Trans></option>
{packageTypes.map(
(packageType, i): string | JSX.Element => packageType && (
<option key={`packageType-${i}`} value={packageType.toLowerCase()}>{packageType}</option>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/__tests__/__snapshots__/marketplace.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ exports[`Marketplace page > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="aix"
Expand Down Expand Up @@ -143,7 +143,7 @@ exports[`Marketplace page > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="aarch64"
Expand Down Expand Up @@ -205,7 +205,7 @@ exports[`Marketplace page > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="jdk"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ exports[`Releases page > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="aix"
Expand Down Expand Up @@ -123,7 +123,7 @@ exports[`Releases page > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="aarch64"
Expand Down Expand Up @@ -185,7 +185,7 @@ exports[`Releases page > renders correctly 1`] = `
<option
value="any"
>
Any
Text
</option>
<option
value="jdk"
Expand Down