Skip to content

Commit

Permalink
feat: add fr
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalaforge committed Dec 27, 2023
1 parent f3f8ef9 commit 3d16eaf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/components/ChallengeFooter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const npxCommand = `npx nx serve ${command}`;

<aside aria-label="Reminder" class="starlight-aside starlight-aside--tip"><p class="starlight-aside__title" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor" class="starlight-aside__icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.43909 8.85483L1.44039 8.85354L4.96668 5.33815C5.30653 4.99386 5.7685 4.79662 6.2524 4.78972L6.26553 4.78963L12.9014 4.78962L13.8479 3.84308C16.9187 0.772319 20.0546 0.770617 21.4678 0.975145C21.8617 1.02914 22.2271 1.21053 22.5083 1.4917C22.7894 1.77284 22.9708 2.13821 23.0248 2.53199C23.2294 3.94517 23.2278 7.08119 20.1569 10.1521L19.2107 11.0983V17.7338L19.2106 17.7469C19.2037 18.2308 19.0067 18.6933 18.6624 19.0331L15.1456 22.5608C14.9095 22.7966 14.6137 22.964 14.29 23.0449C13.9663 23.1259 13.6267 23.1174 13.3074 23.0204C12.9881 22.9235 12.7011 22.7417 12.4771 22.4944C12.2533 22.2473 12.1006 21.9441 12.0355 21.6171L11.1783 17.3417L6.65869 12.822L4.34847 12.3589L2.38351 11.965C2.05664 11.8998 1.75272 11.747 1.50564 11.5232C1.25835 11.2992 1.07653 11.0122 0.979561 10.6929C0.882595 10.3736 0.874125 10.034 0.955057 9.7103C1.03599 9.38659 1.20328 9.09092 1.43909 8.85483ZM6.8186 10.8724L2.94619 10.096L6.32006 6.73268H10.9583L6.8186 10.8724ZM15.2219 5.21703C17.681 2.75787 20.0783 2.75376 21.1124 2.8876C21.2462 3.92172 21.2421 6.31895 18.783 8.77812L12.0728 15.4883L8.51172 11.9272L15.2219 5.21703ZM13.9042 21.0538L13.1279 17.1811L17.2676 13.0414V17.68L13.9042 21.0538Z"></path><path d="M9.31827 18.3446C9.45046 17.8529 9.17864 17.3369 8.68945 17.1724C8.56178 17.1294 8.43145 17.1145 8.30512 17.1243C8.10513 17.1398 7.91519 17.2172 7.76181 17.3434C7.62613 17.455 7.51905 17.6048 7.45893 17.7835C6.97634 19.2186 5.77062 19.9878 4.52406 20.4029C4.08525 20.549 3.6605 20.644 3.29471 20.7053C3.35607 20.3395 3.45098 19.9148 3.59711 19.476C4.01221 18.2294 4.78141 17.0237 6.21648 16.5411C6.39528 16.481 6.54504 16.3739 6.65665 16.2382C6.85126 16.0016 6.92988 15.678 6.84417 15.3647C6.83922 15.3466 6.83373 15.3286 6.82767 15.3106C6.74106 15.053 6.55701 14.8557 6.33037 14.7459C6.10949 14.6389 5.84816 14.615 5.59715 14.6994C5.47743 14.7397 5.36103 14.7831 5.24786 14.8294C3.22626 15.6569 2.2347 17.4173 1.75357 18.8621C1.49662 19.6337 1.36993 20.3554 1.30679 20.8818C1.27505 21.1464 1.25893 21.3654 1.25072 21.5213C1.24662 21.5993 1.24448 21.6618 1.24337 21.7066L1.243 21.7226L1.24235 21.7605L1.2422 21.7771L1.24217 21.7827L1.24217 21.7856C1.24217 22.3221 1.67703 22.7579 2.2137 22.7579L2.2155 22.7579L2.22337 22.7578L2.23956 22.7577C2.25293 22.7575 2.27096 22.7572 2.29338 22.7567C2.33821 22.7555 2.40073 22.7534 2.47876 22.7493C2.63466 22.7411 2.85361 22.725 3.11822 22.6932C3.64462 22.6301 4.36636 22.5034 5.13797 22.2464C6.58274 21.7653 8.3431 20.7738 9.17063 18.7522C9.21696 18.639 9.26037 18.5226 9.30064 18.4029C9.30716 18.3835 9.31304 18.364 9.31827 18.3446Z"></path></svg>
{labels['challenge.footer.reminder'] ?? 'Reminder'}</p><section class="starlight-aside__content">
<p>{labels['challenge.footer.start'] ?? 'Your PR title must start with'} <b>{labels['challenge.footer.answer'] ?? 'Answer:'}{challengeNumber}</b>.</p></section></aside>
<p>{labels['challenge.footer.start'] ?? 'Your PR title must start with'} <b>Answer:{challengeNumber}</b>.</p></section></aside>

<div class="article-footer">
<a
Expand Down
1 change: 0 additions & 1 deletion docs/src/content/i18n/ es.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"challenge.footer.note": "Nota",
"challenge.footer.running": "Inicia el proyecto ejecutando el siguiente comando:",
"challenge.footer.start": "El título de tu PR debe iniciar con",
"challenge.footer.answer": "Answer:",
"challenge.footer.reminder": "¡No lo olvides!",
"challenge.footer.communityAnswers": "Respuestas de la Comunidad",
"challenge.footer.authorAnswer": "Respuesta del Autor del Reto",
Expand Down
14 changes: 14 additions & 0 deletions docs/src/content/i18n/ fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"page.title.challenge": "Challenge",
"author.createdBy": "Créé par",
"buttons.star": "Donne une étoile",
"buttons.sponsor": "Sponsorise",

"challenge.footer.note": "Note",
"challenge.footer.running": "Démarre le projet en exécutant:",
"challenge.footer.start": "Le titre de ta PR doit commencer par",
"challenge.footer.reminder": "Rappel",
"challenge.footer.communityAnswers": "Solution de la communauté",
"challenge.footer.authorAnswer": "Solution de l'auteur",
"challenge.footer.blogPost": "Article"
}

0 comments on commit 3d16eaf

Please sign in to comment.