i18n(fr): update index and start-here/getting-started#120
Conversation
WalkthroughThis update modifies French documentation for StudioCMS in two areas. The homepage video embed is changed from a YouTube component to a native HTML5 video element, updating the card title in the process. The getting started guide receives a new link card for the upgrade guide, updates references to the self-hosted libSQL server with a new link, and corrects a demo URL. No changes are made to public code entities; all modifications are limited to documentation content and links. Changes
Possibly related PRs
Suggested reviewers
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
src/content/docs/fr/index.mdx (1)
31-32: Enhance video accessibility and fallback support.Consider adding fallback content and accessibility attributes (e.g., a
<track>element for captions or descriptive text for browsers that don’t support HTML5 video) to the<video>component to improve accessibility.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/content/docs/fr/index.mdx(1 hunks)src/content/docs/fr/start-here/getting-started.mdx(3 hunks)
🧰 Additional context used
🪛 LanguageTool
src/content/docs/fr/start-here/getting-started.mdx
[uncategorized] ~11-11: Le point-virgule est précédé d’une espace fine insécable./components/Read...
Context: ...rd } from '@astrojs/starlight/components'; import ReadMore from '
(FRENCH_WHITESPACE)
[uncategorized] ~12-12: Le point-virgule est précédé d’une espace fine insécable./components/ReadMore.astro'; import { sponsors, SponsorLink } from '...
Context: ...adMore from '
(FRENCH_WHITESPACE)
[style] ~13-13: Alternatives possibles pour cet anglicisme :/share-link' <LinkCard title="Mise à niveau de Stu...
Context: ...{ sponsors, SponsorLink } from '
(FR_SIMPLE_REPLACE_ANGLICISM_PREMIUM_LINK)
[uncategorized] ~23-~23: Une phrase longue peut apporter une perte de sens pour le lecteur. Celle-ci peut donc être divisée afin d’apporter de la clarté et du rythme.
Context: ...pas pris en charge) - Un projet Astro - Un fournisseur libSQL ou un [serveur libSQ...
(POINT_DET)
[uncategorized] ~23-~23: Le trait d’union doit être supprimé.
Context: ...SQL ou un [serveur libSQL auto-hébergé][self-hosted-libsql] - L’intégration StudioCMS ## P...
(MOT_TRAIT_MOT)
[uncategorized] ~24-~24: Un point est requis pour indiquer la fin de cette phrase.
Context: ...gé][self-hosted-libsql] - L’intégration StudioCMS ## Préparer votre base de données Stu...
(POINT)
[uncategorized] ~26-~26: L’adjectif possessif « votre » induit un verbe conjugué à la deuxième personne du pluriel.
Context: ...d-libsql] - L’intégration StudioCMS ## Préparer votre base de données StudioCMS utilis...
(EZ_ER_VOTRE)
[uncategorized] ~28-~28: Le trait d’union doit être supprimé.
Context: ...libSQL ou [serveur libSQL auto-hébergé][self-hosted-libsql]. Si vous utilisez la CLI de St...
(MOT_TRAIT_MOT)
[typographical] ~213-~213: Caractère d’apostrophe incorrect.
Context: ...ite ou sur une URL temporaire. (c.-à-d. https://demo.studiocms.dev/ ou `http://...
(APOS_INCORRECT)
[typographical] ~213-~213: Caractère d’apostrophe incorrect.
Context: ....-à-d. https://demo.studiocms.dev/ ou http://localhost:4321/) <Aside type="note" title="Adaptateur ...
(APOS_INCORRECT)
[uncategorized] ~368-~368: Le trait d’union doit être supprimé.
Context: ...config-reference/dashboard/#authconfig [self-hosted-libsql]: /fr/guides/database/sqld-serve...
(MOT_TRAIT_MOT)
[uncategorized] ~368-~368: Les deux-points sont précédés d’une espace insécable.
Context: ...ashboard/#authconfig [self-hosted-libsql]: /fr/guides/database/sqld-server/
(FRENCH_WHITESPACE)
[uncategorized] ~368-~368: Le trait d’union doit être supprimé.
Context: ...elf-hosted-libsql]: /fr/guides/database/sqld-server/
(MOT_TRAIT_MOT)
🔇 Additional comments (3)
src/content/docs/fr/start-here/getting-started.mdx (3)
11-11: ImportedLinkCardfor new upgrade guide card.The addition of
LinkCardin the import statement is correct and needed to render the upgrade guide card below.🧰 Tools
🪛 LanguageTool
[uncategorized] ~11-
11: Le point-virgule est précédé d’une espace fine insécable./components/Read...
Context: ...rd } from '@astrojs/starlight/components'; import ReadMore from '(FRENCH_WHITESPACE)
23-23: No concerns with the bullet line introducing the self‑hosted LibSQL server alias.🧰 Tools
🪛 LanguageTool
[uncategorized] ~23-~23: Une phrase longue peut apporter une perte de sens pour le lecteur. Celle-ci peut donc être divisée afin d’apporter de la clarté et du rythme.
Context: ...pas pris en charge) - Un projet Astro - Un fournisseur libSQL ou un [serveur libSQ...(POINT_DET)
[uncategorized] ~23-~23: Le trait d’union doit être supprimé.
Context: ...SQL ou un [serveur libSQL auto-hébergé][self-hosted-libsql] - L’intégration StudioCMS ## P...(MOT_TRAIT_MOT)
28-28: Self‑hosted LibSQL reference updated.The sentence and alias use of
[self-hosted-libsql]align correctly with the new link alias defined at the bottom.🧰 Tools
🪛 LanguageTool
[uncategorized] ~28-~28: Le trait d’union doit être supprimé.
Context: ...libSQL ou [serveur libSQL auto-hébergé][self-hosted-libsql]. Si vous utilisez la CLI de St...(MOT_TRAIT_MOT)
| import ReadMore from '~/components/ReadMore.astro'; | ||
| import { sponsors, SponsorLink } from '~/share-link' | ||
|
|
||
| <LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/en/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" /> |
There was a problem hiding this comment.
Incorrect locale in upgrade guide link.
The href attribute currently points to the English path (/en/...) within the French documentation. Update it to the French path /fr/guides/upgrade/latest/.
Apply this diff:
- <LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/en/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" />
+ <LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/fr/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" />📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| <LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/en/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" /> | |
| <LinkCard | |
| title="Mise à niveau de StudioCMS vers la dernière version" | |
| href="/fr/guides/upgrade/latest/" | |
| description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" | |
| /> |
| [encryption-key]: /fr/start-here/environment-variables/#clé-de-chiffrement-pour-studiocmsauth | ||
| [oauth-environment-variables]: /fr/start-here/environment-variables/#variables-denvironnement-dauthentification-oauth | ||
| [auth-config-ref]: /fr/config-reference/dashboard/#authconfig | ||
| [self-hosted-libsql]: /fr/guides/database/sqld-server/ |
There was a problem hiding this comment.
💡 Verification agent
🧩 Analysis chain
Verify alias target path exists.
Please confirm that the target file or directory (src/content/docs/fr/guides/database/sqld-server.mdx) actually exists, as the [self-hosted-libsql] alias points to it.
🏁 Script executed:
#!/bin/bash
# Verify the existence of the self-hosted LibSQL server guide
fd sqld-server.mdx src/content/docs/fr/guides/databaseLength of output: 179
🏁 Script executed:
#!/bin/bash
# Verify the presence of the alias target path and related directories
echo "Checking if 'src/content/docs/fr/guides' exists:"
if [ -d src/content/docs/fr/guides ]; then
echo " ✔ Exists"
else
echo " ✘ Does not exist"
fi
echo "Checking if 'src/content/docs/fr/guides/database' exists:"
if [ -d src/content/docs/fr/guides/database ]; then
echo " ✔ Exists"
else
echo " ✘ Does not exist"
fi
echo "Searching for any 'sqld-server' directories in the repository:"
fd --color=never -t d sqld-server || echo " ⚠ No 'sqld-server' directories found"Length of output: 587
Fix invalid alias target path
The alias [self-hosted-libsql]: /fr/guides/database/sqld-server/ points to a location that doesn’t exist:
• src/content/docs/fr/guides – ✔ exists
• src/content/docs/fr/guides/database – ✘ missing
• No sqld-server directory found anywhere in the repo
Please correct this by one of the following:
- Create the
database/sqld-server.mdxfile (and its parent directory) undersrc/content/docs/fr/guides - Update the alias to point to the correct existing path for your self‑hosted LibSQL guide
🧰 Tools
🪛 LanguageTool
[uncategorized] ~368-~368: Le trait d’union doit être supprimé.
Context: ...config-reference/dashboard/#authconfig [self-hosted-libsql]: /fr/guides/database/sqld-serve...
(MOT_TRAIT_MOT)
[uncategorized] ~368-~368: Les deux-points sont précédés d’une espace insécable.
Context: ...ashboard/#authconfig [self-hosted-libsql]: /fr/guides/database/sqld-server/
(FRENCH_WHITESPACE)
[uncategorized] ~368-~368: Le trait d’union doit être supprimé.
Context: ...elf-hosted-libsql]: /fr/guides/database/sqld-server/
(MOT_TRAIT_MOT)
Description
Adds changes from #73 to the French translations of
index.mdxandstart-here/getting-started.mdx.Summary by CodeRabbit