Skip to content

Commit 749e28c

Browse files
committed
fix: translate French comments and code strings to English in EN quests
Code blocks in English quest pages (02-10) contained French comments, commit messages, echo strings and gitignore comments. Translated all of them to English for consistency.
1 parent 1cab8b9 commit 749e28c

9 files changed

+78
-78
lines changed

src/en/quests/02-the-three-halls-of-knowledge.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ git init</code></pre>
200200
<div class="step">
201201
<h3><span class="step-number">2</span> Create a scroll</h3>
202202
<p>Create a file called <code class="command">parchemin.txt</code> with some content:</p>
203-
<pre data-lang="bash"><code>echo "Ceci est mon premier parchemin dans l'Archive." > parchemin.txt</code></pre>
203+
<pre data-lang="bash"><code>echo "This is my first parchment in the Archive." > parchemin.txt</code></pre>
204204
</div>
205205

206206
<!-- Step 3 -->

src/en/quests/03-the-first-scroll.njk

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ git init</code></pre>
3737
<p>You can verify that the <code>.git/</code> folder was created:</p>
3838

3939
<pre data-lang="bash"><code>ls -la
40-
# Tu verras un dossier .git/</code></pre>
40+
# You will see a .git/ folder</code></pre>
4141

4242
<div class="tip">
4343
<p>Never manually touch the contents of the <code>.git/</code> folder. It's Git's vault - let it manage its own affairs.</p>
@@ -70,13 +70,13 @@ git init</code></pre>
7070

7171
<p>This command moves a file from the <span class="keyword">Working Directory</span> to the <span class="keyword">Staging Area</span> (the Preparation Hall, seen in quest 02). It's the preparation step before the final sealing.</p>
7272

73-
<pre data-lang="bash"><code># Ajouter un fichier spécifique
73+
<pre data-lang="bash"><code># Add a specific file
7474
git add mission.txt
7575

76-
# Ajouter plusieurs fichiers
77-
git add fichier1.txt fichier2.txt
76+
# Add multiple files
77+
git add file1.txt file2.txt
7878

79-
# Ajouter TOUS les fichiers modifiés ou nouveaux
79+
# Add ALL modified or new files
8080
git add .</code></pre>
8181

8282
<p>After a <span class="git-cmd">git add</span>, run a <span class="git-cmd">git status</span>: the file should switch from red to green.</p>
@@ -92,11 +92,11 @@ git add .</code></pre>
9292

9393
<p>The <span class="keyword">commit</span> is the act of sealing: you take everything in the <span class="keyword">Staging Area</span> and permanently archive it in the <span class="keyword">Repository</span> with an explanatory message.</p>
9494

95-
<pre data-lang="bash"><code>git commit -m "Ajouter le rapport d'observation des frontières nord"</code></pre>
95+
<pre data-lang="bash"><code>git commit -m "Add the northern border observation report"</code></pre>
9696

9797
<p>Expected output:</p>
9898

99-
<pre><code>[main (root-commit) a1b2c3d] Ajouter le rapport d'observation des frontières nord
99+
<pre><code>[main (root-commit) a1b2c3d] Add the northern border observation report
100100
1 file changed, 15 insertions(+)
101101
create mode 100644 mission.txt</code></pre>
102102

@@ -201,8 +201,8 @@ git init</code></pre>
201201

202202
<p>Copy the file <code>parchemins/mission.txt</code> (provided with this quest) into your <code>mon-archive/</code> repository:</p>
203203

204-
<pre data-lang="bash"><code># Depuis le dossier mon-archive/, copie le fichier mission.txt
205-
# Adapte le chemin selon l'emplacement de ta quête
204+
<pre data-lang="bash"><code># From the mon-archive/ folder, copy the mission.txt file
205+
# Adjust the path based on your quest location
206206
cp ../parchemins/mission.txt .</code></pre>
207207

208208
<p>Verify with <span class="git-cmd">git status</span> - the file should appear in <span class="highlight-red">red</span> (untracked).</p>
@@ -215,8 +215,8 @@ cp ../parchemins/mission.txt .</code></pre>
215215
<p>Add the file to the <span class="keyword">staging</span> area, then seal it:</p>
216216

217217
<pre data-lang="bash"><code>git add mission.txt
218-
git status # mission.txt devrait être en VERT maintenant
219-
git commit -m "Ajouter l'ordre de mission de la Guilde"</code></pre>
218+
git status # mission.txt should be GREEN now
219+
git commit -m "Add the Guild's mission order"</code></pre>
220220

221221
<div class="warning">
222222
<p>Choose a descriptive <span class="keyword">commit</span> message! No <code>"Initial commit"</code> or <code>"test"</code>. Describe what you're actually doing.</p>
@@ -243,9 +243,9 @@ git commit -m "Ajouter l'ordre de mission de la Guilde"</code></pre>
243243

244244
<p>Run <span class="git-cmd">git status</span> to see the modification, then archive it:</p>
245245

246-
<pre data-lang="bash"><code>git status # mission.txt en ROUGE (modifié)
246+
<pre data-lang="bash"><code>git status # mission.txt in RED (modified)
247247
git add mission.txt
248-
git commit -m "Compléter le rapport d'observation des frontières"</code></pre>
248+
git commit -m "Complete the border observation report"</code></pre>
249249

250250
<div class="fancy-separator"></div>
251251

@@ -258,8 +258,8 @@ git commit -m "Compléter le rapport d'observation des frontières"</code></pre>
258258

259259
<p>You should see your <strong>two commits</strong>, from newest to oldest:</p>
260260

261-
<pre><code>b2c3d4e Compléter le rapport d'observation des frontières
262-
a1b2c3d Ajouter l'ordre de mission de la Guilde</code></pre>
261+
<pre><code>b2c3d4e Complete the border observation report
262+
a1b2c3d Add the Guild's mission order</code></pre>
263263

264264
<div class="fancy-separator"></div>
265265

src/en/quests/04-the-archive-is-everywhere.njk

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ permalink: /en/quests/04-the-archive-is-everywhere/
7070

7171
<p>Since Git is entirely <span class="keyword">local</span>, you can <strong><span class="highlight">clone a repo without any internet connection</span></strong>. Just point to a folder on your own machine:</p>
7272

73-
<pre data-lang="bash"><code># Depuis le dossier parent qui contient mon-archive/
73+
<pre data-lang="bash"><code># From the parent folder containing mon-archive/
7474
git clone ./mon-archive ./ma-copie
7575

76-
# Vérifie que l'historique est identique
76+
# Verify that the history is identical
7777
cd ma-copie
7878
git log --oneline</code></pre>
7979

80-
<pre data-lang="powershell"><code># Depuis le dossier parent qui contient mon-archive\
80+
<pre data-lang="powershell"><code># From the parent folder containing mon-archive\
8181
git clone .\mon-archive .\ma-copie
8282

8383
cd ma-copie
@@ -94,18 +94,18 @@ git log --oneline</code></pre>
9494

9595
<p>A <strong><span class="keyword">bare repo</span></strong> is a repo that contains <strong>only</strong> the contents of <span class="keyword"><code>.git/</code></span> - no working files. It's the format used by <strong>Git servers</strong>.</p>
9696

97-
<pre data-lang="bash"><code># Créer un bare repo
97+
<pre data-lang="bash"><code># Create a bare repo
9898
git init --bare ./archive-centrale.git
9999

100-
# Ajouter comme remote et pousser
100+
# Add as remote and push
101101
cd mon-archive
102102
git remote add origine ../archive-centrale.git
103103
git push origine main</code></pre>
104104

105-
<pre data-lang="powershell"><code># Créer un bare repo
105+
<pre data-lang="powershell"><code># Create a bare repo
106106
git init --bare .\archive-centrale.git
107107

108-
# Ajouter comme remote et pousser
108+
# Add as remote and push
109109
cd mon-archive
110110
git remote add origine ..\archive-centrale.git
111111
git push origine main</code></pre>
@@ -232,9 +232,9 @@ git push origine main</code></pre>
232232

233233
<pre data-lang="bash"><code>mkdir mon-archive && cd mon-archive
234234
git init
235-
echo "Bienvenue dans l'Archive" > README.md
235+
echo "Welcome to the Archive" > README.md
236236
git add README.md
237-
git commit -m "Premier parchemin"
237+
git commit -m "First parchment"
238238
cd ..</code></pre>
239239

240240
<h3>The commands</h3>
@@ -245,16 +245,16 @@ git clone ./mon-archive ./ma-copie
245245
# 2. Bare repo
246246
git init --bare ./archive-centrale.git
247247

248-
# 3. Ajouter la remote et pousser
248+
# 3. Add the remote and push
249249
cd mon-archive
250250
git remote add origine ../archive-centrale.git
251251
git push origine main
252252
cd ..
253253

254-
# 4. Clone depuis le bare repo
254+
# 4. Clone from the bare repo
255255
git clone ./archive-centrale.git ./clone-depuis-bare
256256

257-
# 5. Vérifier l'historique
257+
# 5. Verify the history
258258
cd mon-archive && git log --oneline && cd ..
259259
cd ma-copie && git log --oneline && cd ..
260260
cd clone-depuis-bare && git log --oneline && cd ..</code></pre>

src/en/quests/05-the-lines-of-time.njk

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,25 +126,25 @@ cd les-lignes-du-temps</code></pre>
126126

127127
<h3>Syntax</h3>
128128

129-
<pre data-lang="gitignore"><code># Ceci est un commentaire
129+
<pre data-lang="gitignore"><code># This is a comment
130130

131-
# Ignorer un fichier précis
131+
# Ignore a specific file
132132
debug.log
133-
secret-du-royaume.txt
133+
kingdom-secret.txt
134134

135-
# Ignorer tous les fichiers avec une extension donnée
135+
# Ignore all files with a given extension
136136
*.log
137137
*.tmp
138138

139-
# Ignorer un dossier entier (et tout son contenu)
139+
# Ignore an entire folder (and all its contents)
140140
__pycache__/
141141
node_modules/
142142

143-
# Ignorer des fichiers système
143+
# Ignore system files
144144
.DS_Store
145145
Thumbs.db
146146

147-
# Ignorer les fichiers d'environnement (secrets, mots de passe)
147+
# Ignore environment files (secrets, passwords)
148148
.env
149149
.env.local</code></pre>
150150

@@ -244,18 +244,18 @@ refactor: Simplify the validation logic</code></pre>
244244

245245
<p>In the <code>les-lignes-du-temps/</code> folder, create a <span class="keyword">.gitignore</span> file with at least these patterns:</p>
246246

247-
<pre data-lang="gitignore"><code># Fichiers de log
247+
<pre data-lang="gitignore"><code># Log files
248248
*.log
249249

250-
# Fichiers système
250+
# System files
251251
.DS_Store
252252
Thumbs.db
253253

254-
# Cache Python
254+
# Python cache
255255
__pycache__/
256256

257-
# Secrets (ne jamais archiver !)
258-
secret-du-royaume.txt</code></pre>
257+
# Secrets (never archive!)
258+
kingdom-secret.txt</code></pre>
259259

260260
<h3>Step 2 - Remove parasitic files from tracking</h3>
261261

@@ -265,12 +265,12 @@ secret-du-royaume.txt</code></pre>
265265
git rm --cached .DS_Store
266266
git rm --cached Thumbs.db
267267
git rm --cached -r __pycache__/
268-
git rm --cached secret-du-royaume.txt</code></pre>
268+
git rm --cached kingdom-secret.txt</code></pre>
269269

270270
<h3>Step 3 - Commit the cleanup</h3>
271271

272272
<pre data-lang="bash"><code>git add .gitignore
273-
git commit -m "Ajouter le .gitignore et retirer les fichiers parasites du suivi"</code></pre>
273+
git commit -m "Add .gitignore and remove unwanted files from tracking"</code></pre>
274274

275275
<p>Notice the message: it's clear, descriptive, and starts with a verb.</p>
276276

src/en/quests/06-the-tree-of-possibilities.njk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ git init</code></pre>
203203

204204
<p>Create a base file and make your first commit:</p>
205205

206-
<pre data-lang="bash"><code>echo "# Chroniques du Royaume" &gt; chroniques.md
206+
<pre data-lang="bash"><code>echo "# Chronicles of the Kingdom" &gt; chroniques.md
207207
git add chroniques.md
208-
git commit -m "Créer le registre des chroniques du royaume"</code></pre>
208+
git commit -m "Create the kingdom chronicles registry"</code></pre>
209209

210210
<h3>Step 3 - Create the expedition-nord branch</h3>
211211

@@ -225,9 +225,9 @@ git commit -m "Créer le registre des chroniques du royaume"</code></pre>
225225

226226
<p>Create a file and commit it:</p>
227227

228-
<pre data-lang="bash"><code>echo "Jour 1 : L'expédition quitte la cité vers les Montagnes de Givre." &gt; nord.md
228+
<pre data-lang="bash"><code>echo "Day 1: The expedition leaves the city towards the Frost Mountains." &gt; nord.md
229229
git add nord.md
230-
git commit -m "Ajouter le journal de l'expédition nord"</code></pre>
230+
git commit -m "Add the northern expedition journal"</code></pre>
231231

232232
<h3>Step 6 - Return to main</h3>
233233

@@ -245,9 +245,9 @@ git commit -m "Ajouter le journal de l'expédition nord"</code></pre>
245245

246246
<h3>Step 8 - Commit on expedition-sud</h3>
247247

248-
<pre data-lang="bash"><code>echo "Jour 1 : L'expédition s'enfonce dans la Forêt d'Émeraude." &gt; sud.md
248+
<pre data-lang="bash"><code>echo "Day 1: The expedition ventures into the Emerald Forest." &gt; sud.md
249249
git add sud.md
250-
git commit -m "Ajouter le journal de l'expédition sud"</code></pre>
250+
git commit -m "Add the southern expedition journal"</code></pre>
251251

252252
<h3>Step 9 - List all branches</h3>
253253

src/en/quests/07-the-conflict-of-kingdoms.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ King Aldric lost the battle against the enemy archers.
143143

144144
<pre data-lang="bash"><code># After manually editing the file:
145145
git add chroniques.txt
146-
git commit -m "Fusionner chroniques-est : réconcilier les récits de la bataille"</code></pre>
146+
git commit -m "Merge chroniques-est: reconcile the battle accounts"</code></pre>
147147
</section>
148148

149149
<div class="fancy-separator"></div>
@@ -244,7 +244,7 @@ git merge origin/chroniques-ouest</code></pre>
244244
<h3>Step 6 - Finalize the merge</h3>
245245

246246
<pre data-lang="bash"><code>git add chroniques.txt
247-
git commit -m "Fusionner chroniques-est : réconcilier les récits de la bataille"</code></pre>
247+
git commit -m "Merge chroniques-est: reconcile the battle accounts"</code></pre>
248248

249249
<h3>Step 7 - Verify</h3>
250250

src/en/quests/08-rewriting-history.njk

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -297,25 +297,25 @@ git init</code></pre>
297297

298298
<p>Create a file <code>registre.txt</code> and make 3 commits:</p>
299299

300-
<pre data-lang="bash"><code>echo "Jour 1 : Fondation du royaume" > registre.txt
300+
<pre data-lang="bash"><code>echo "Day 1: Founding of the kingdom" > registre.txt
301301
git add registre.txt
302-
git commit -m "Ajouter l'entrée du Jour 1"
302+
git commit -m "Add Day 1 entry"
303303

304-
echo "Jour 2 : Alliance avec les elfes" >> registre.txt
304+
echo "Day 2: Alliance with the elves" >> registre.txt
305305
git add registre.txt
306-
git commit -m "Ajouter l'entrée du Jour 2"
306+
git commit -m "Add Day 2 entry"
307307

308-
echo "Jour 3 : Découverte de la mine d'or" >> registre.txt
308+
echo "Day 3: Discovery of the gold mine" >> registre.txt
309309
git add registre.txt
310-
git commit -m "Ajoouter l'entrée du Jour 3"</code></pre>
310+
git commit -m "Addd Day 3 entry"</code></pre>
311311

312-
<p>Oops! The message of the last commit contains a typo: "Ajoouter" instead of "Ajouter".</p>
312+
<p>Oops! The message of the last commit contains a typo: "Addd" instead of "Add".</p>
313313

314314
<h3>Step 3 - Fix with <span class="git-cmd">--amend</span></h3>
315315

316316
<p>Fix the last commit message:</p>
317317

318-
<pre data-lang="bash"><code>git commit --amend -m "Ajouter l'entrée du Jour 3"</code></pre>
318+
<pre data-lang="bash"><code>git commit --amend -m "Add Day 3 entry"</code></pre>
319319

320320
<p>Verify with <span class="git-cmd">git log --oneline</span> that the message is corrected.</p>
321321

@@ -325,23 +325,23 @@ git commit -m "Ajoouter l'entrée du Jour 3"</code></pre>
325325

326326
<pre data-lang="bash"><code>git checkout -b refonte-archives
327327

328-
echo "Jour 4 : Construction de la forteresse" >> registre.txt
328+
echo "Day 4: Construction of the fortress" >> registre.txt
329329
git add registre.txt
330-
git commit -m "Ajouter l'entrée du Jour 4"
330+
git commit -m "Add Day 4 entry"
331331

332-
echo "Jour 5 : Traité de paix avec les nains" >> registre.txt
332+
echo "Day 5: Peace treaty with the dwarves" >> registre.txt
333333
git add registre.txt
334-
git commit -m "Ajouter l'entrée du Jour 5"</code></pre>
334+
git commit -m "Add Day 5 entry"</code></pre>
335335

336336
<h3>Step 5 - Add a commit on main</h3>
337337

338338
<p>Return to <code>main</code> and add a commit:</p>
339339

340340
<pre data-lang="bash"><code>git checkout main
341341

342-
echo "Annexe : Liste des rois" >> annexes.txt
342+
echo "Appendix: List of kings" >> annexes.txt
343343
git add annexes.txt
344-
git commit -m "Ajouter la liste des rois en annexe"</code></pre>
344+
git commit -m "Add the list of kings as appendix"</code></pre>
345345

346346
<h3>Step 6 - Rebase the branch</h3>
347347

src/en/quests/09-the-distant-portals.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ cd ..</code></pre>
277277
<pre data-lang="bash"><code># Simulate a second Archivist
278278
git clone portail-central.git avant-poste
279279
cd avant-poste
280-
echo "Rapport de l'avant-poste : tout est calme aux frontières." >> chroniques.md
280+
echo "Outpost report: all is calm at the borders." >> chroniques.md
281281
git add chroniques.md
282-
git commit -m "Ajouter le rapport de l'avant-poste"
282+
git commit -m "Add the outpost report"
283283
git push origin main
284284
cd ..</code></pre>
285285

0 commit comments

Comments
 (0)