Skip to content

Commit b002e4b

Browse files
moha-bekhclaude
andcommitted
The site in French, under /fr/
Every page has a French version under /fr/, with a FR / EN link in the header and hreflang alternates in the head. The pages' shared words are in src/i18n.ts; each tool page's French content is its .fr.ts module, the home page's fr/index.html, and the tools, the "In practice" stories and Omniscient's families keep their French beside their English. The chain's results are worded in French from the same runs. Commands, terminal captures and the atfq book stay in English, as the programs print them. npm test checks that each French page keeps its English page's sections, lists, commands and captures, and that it links to French pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 43b02c9 commit b002e4b

36 files changed

Lines changed: 2041 additions & 196 deletions

‎README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ allowed (`tsconfig.json` checks it).
3838
`-webkit-` twin: the CSS minifier adds the prefix itself, and given both it
3939
keeps only the prefixed one, which Chrome ignores.
4040

41+
The site is in English and in French, under `/fr/`, with a link to the
42+
other language in every header. `src/pages.ts` writes each page once, its
43+
French title beside the English; a tool page's French content is the module
44+
of the same name ending in `.fr.ts` (`src/toolpage/atfq.fr.ts`,
45+
`src/omn/page.fr.ts`), the home page's is `fr/index.html`, and the words the
46+
pages share (buttons, labels) are in `src/i18n.ts`. The tools, the "In
47+
practice" stories and Omniscient's families keep their French beside their
48+
English (`fr:` in `src/tools.ts`, `cases.ts`, `families.ts`). Commands,
49+
terminal captures and the atfq book stay as the programs print them, in
50+
English. `npm test` checks that each French page keeps its English page's
51+
sections, lists and commands, and links to French pages.
52+
4153
Pages:
4254

4355
- `/` — the org: the tools, how they fit together, the standard they share.

‎fr/design/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎fr/index.html‎

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<!doctype html>
2+
<html lang="fr">
3+
<head>
4+
<!-- written from src/pages.ts (src/shell.ts, vite.config.ts) -->
5+
</head>
6+
<body class="home">
7+
<a class="skip" href="#main">Aller au contenu</a>
8+
9+
<canvas id="scene" aria-hidden="true"></canvas>
10+
11+
<header class="nav">
12+
<a class="logo" href="/fr/" aria-label="Accueil devutils"><img class="logo-icon" src="/mark.svg" alt="" /> devutils</a>
13+
<nav aria-label="Navigation principale">
14+
<a href="#flow">Parcours</a>
15+
<a href="#tools">Outils</a>
16+
<a href="/fr/together/">Ensemble</a>
17+
<a href="/fr/design/">Design</a>
18+
</nav>
19+
<a class="lang-switch" href="/" hreflang="en" lang="en" title="English version">EN</a>
20+
<a class="github" data-org href="https://github.com/devutils-org">GitHub <span><svg class="link-icon" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" focusable="false"><use href="/icons.svg#arrow-up-right"></use></svg></span></a>
21+
</header>
22+
23+
<main id="main">
24+
<section class="hero" data-scene="hero">
25+
<div class="hero-grid" aria-hidden="true"></div>
26+
<h1>Petits outils.<br /><span>Réponses honnêtes.</span></h1>
27+
<p class="hero-copy">Des outils de développement pour travailler sous Linux.<br />Comprendre, déboguer et gérer la machine sur laquelle vous construisez.</p>
28+
<div class="actions">
29+
<a class="primary" href="#overview">Découvrir devutils <span><svg class="link-icon" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" focusable="false"><use href="/icons.svg#arrow-down"></use></svg></span></a>
30+
<a class="secondary" href="#tools">Voir les outils</a>
31+
</div>
32+
<div class="stage" aria-hidden="true">
33+
<img class="stage-fallback" src="/mark.svg" alt="" />
34+
<div class="horizon"></div>
35+
</div>
36+
</section>
37+
38+
<section class="section overview" id="overview" aria-labelledby="overview-title">
39+
<div class="overview-heading">
40+
<p class="eyebrow">PENSÉ POUR LE TRAVAIL DES DÉVELOPPEURS</p>
41+
<h2 id="overview-title">Moins de friction.<br />Plus de construction.</h2>
42+
<p>Passez moins de temps à recoller les sorties du système et plus de temps sur votre code. Cinq outils de développement indépendants apportent du contexte au débogage, aux vérifications de portabilité et aux environnements locaux.</p>
43+
</div>
44+
<dl class="overview-facts">
45+
<div>
46+
<dt>Déboguer avec du contexte</dt>
47+
<dd>Voyez où un programme passe son temps, comprenez les chiffres du système et comparez ce qui change d’une distribution à l’autre.</dd>
48+
</div>
49+
<div>
50+
<dt>Rester dans votre façon de travailler</dt>
51+
<dd>Des commandes, des vues dans le terminal et des sorties lisibles gardent l’enquête près de votre code. Choisissez un outil et utilisez-le seul.</dd>
52+
</div>
53+
<div>
54+
<dt>Des changements prévisibles</dt>
55+
<dd>Relisez les plans de paquets avant de les appliquer. Gardez les définitions d’environnements dans des fichiers que vous pouvez versionner, examiner et réutiliser.</dd>
56+
</div>
57+
</dl>
58+
</section>
59+
60+
<section class="section" id="flow" data-scene="flow">
61+
<div class="section-heading">
62+
<div>
63+
<p class="eyebrow">DE LA QUESTION À LA MACHINE / CINQ ÉTAPES</p>
64+
<h2>Une machine.<br />Chaque question en vue.</h2>
65+
</div>
66+
<p>Chaque outil s’occupe d’un type de question. Explorez un outil pour voir ce qu’il fait, de l’activité du noyau jusqu’à votre homelab.</p>
67+
</div>
68+
<div class="flow-cards glass" id="pipeline"></div>
69+
<a class="inline-link" href="/fr/together/">Voir comment les outils se vérifient déjà entre eux →</a>
70+
</section>
71+
72+
<section class="section" id="tools" data-scene="tools">
73+
<div class="section-heading">
74+
<div>
75+
<p class="eyebrow">LES OUTILS / CINQ INSTRUMENTS</p>
76+
<h2>Choisissez la question.<br />Prenez l’instrument.</h2>
77+
</div>
78+
<p>Trouvez l’outil pour votre prochaine tâche. Chaque carte montre son état actuel et ce que vous pouvez essayer aujourd’hui.</p>
79+
</div>
80+
<div class="tool-grid" id="tool-grid"></div>
81+
</section>
82+
83+
<section class="section start" id="start" data-scene="start">
84+
<div class="stage stage-start" aria-hidden="true"></div>
85+
<p class="eyebrow">OPEN SOURCE / CONÇU POUR LINUX</p>
86+
<h2>Posez à votre machine<br />une meilleure question.</h2>
87+
<p>Commencez par l’outil qui correspond à votre question. Chacun fonctionne seul.</p>
88+
<div class="actions">
89+
<a class="primary" data-org href="https://github.com/devutils-org">Explorer sur GitHub <span><svg class="link-icon" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" focusable="false"><use href="/icons.svg#arrow-up-right"></use></svg></span></a>
90+
<a class="secondary" href="#tools">Comparer les outils</a>
91+
</div>
92+
<div class="command"><code id="cmd">gh repo list devutils-org</code><button data-copy="#cmd" type="button" aria-label="Copier la commande">Copier</button></div>
93+
<small>Rust · Linux d’abord · MIT / Apache-2.0 · certains fichiers ont leurs propres conditions</small>
94+
</section>
95+
</main>
96+
97+
<footer>
98+
<a class="logo" href="/fr/"><img class="logo-icon" src="/mark.svg" alt="" /> devutils</a>
99+
<span>Petits outils. Ouverts à l’examen.</span>
100+
<a data-org href="https://github.com/devutils-org">GitHub <svg class="link-icon" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" focusable="false"><use href="/icons.svg#arrow-up-right"></use></svg></a>
101+
</footer>
102+
103+
<script type="module" src="/src/main.ts"></script>
104+
</body>
105+
</html>

‎fr/together/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎fr/tools/atfq/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎fr/tools/distroproof/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎fr/tools/omn/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎fr/tools/vmanyware/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎fr/tools/xpac/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Generated from src/pages.ts (src/shell.ts, vite.config.ts). -->

‎index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<a href="/together/">Together</a>
1717
<a href="/design/">Design</a>
1818
</nav>
19+
<a class="lang-switch" href="/fr/" hreflang="fr" lang="fr" title="Version française">FR</a>
1920
<a class="github" data-org href="https://github.com/devutils-org">GitHub <span><svg class="link-icon" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" focusable="false"><use href="/icons.svg#arrow-up-right"></use></svg></span></a>
2021
</header>
2122

0 commit comments

Comments
 (0)