i18n(fr): update docs for beta 26#163
Conversation
✅ Deploy Preview for studiocms-dev-docs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughRemoved sidebar/frontmatter badge metadata from two French docs and added a new French upgrade guide for 0-1-0-beta.26 describing DB schema changes, unified dynamic config, enum permissions, relocation of top-level Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Server
participant AstroLocals as Astro.locals
participant StudioCMS as Astro.locals.StudioCMS
Note over Client,Server: Request handling (high-level)
Client->>Server: HTTP request
Server->>AstroLocals: access previous top-level props
alt Before (old docs)
AstroLocals-->>Server: e.g. siteConfig, wysiwygCsrfToken
else After (documented change)
AstroLocals->>StudioCMS: proxy/namespace container
StudioCMS-->>Server: e.g. siteConfig, editorCSRFToken
end
Server-->>Client: response
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
✨ Finishing Touches🧪 Generate unit tests
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. Comment |
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: 0
🧹 Nitpick comments (6)
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx (6)
3-4: Unify version phrasing in the title/description.The description should mirror the exact version string used in the title and package tags.
-title: "Mise à niveau : 0.1.0-beta.26" -description: Mettre à niveau StudioCMS vers la version Beta.26 +title: "Mise à niveau : 0.1.0-beta.26" +description: Mettre à niveau StudioCMS vers la version 0.1.0-beta.26
7-9: Confirm frontmatter badge parity with EN source.EN pages recently dropped badges on some upgrade docs. Keep this “NOUVEAU” badge only if the English 0.1.0-beta.26 page also has it; otherwise remove for parity.
13-16: Unused import: Aside (OK if for parity).
Asideisn’t used in this page. Per our past learning for this repo, keep unused imports if they preserve structure parity with EN. If EN doesn’t import it, remove the line below.-import { Aside } from '@astrojs/starlight/components'Note: If EN imports it too, keep as-is to maintain parity. (Learnings: maintain structural parity even if it implies unused imports.)
21-23: Consistent naming: “Astro DB” vs “AstroDB”.You use both forms. Pick one (the project typically uses “Astro DB”) and apply consistently.
- - Configuration de la table AstroDB mise à jour pour utiliser les énumérations pour les autorisations. + - Configuration de la table Astro DB mise à jour pour utiliser des énumérations pour les autorisations.
25-33: Fix casing and agreement; clarify wording.
- “Astro.Locals” → “Astro.locals”
- Agreement: “Noms … supprimés” (masc. pluriel).
- Optional: tighten phrasing.
- - Noms de propriétés Astro.Locals de niveau supérieur supprimées : + - Noms de propriétés Astro.locals de niveau supérieur supprimés :
56-59: Minor FR style tweaks (“bogues”, phrasing).If following FR terminology, prefer “bogues” over “bugs” and tweak phrasing.
-## Corrections de bugs +## Corrections de bogues @@ -- Ajuste la recherche de page SDK pour renvoyer `undefined` lorsqu’une page n’est pas trouvée, éliminant ainsi les erreurs Astro bruyantes en mode développement. +- Ajuste la recherche de page du SDK pour renvoyer `undefined` lorsqu’une page n’est pas trouvée, éliminant ainsi des messages d’erreur Astro inutiles en mode développement.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx(0 hunks)src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx(1 hunks)src/content/docs/fr/how-it-works/effect.mdx(0 hunks)
💤 Files with no reviewable changes (2)
- src/content/docs/fr/how-it-works/effect.mdx
- src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: Redirect rules - studiocms-dev-docs
- GitHub Check: Header rules - studiocms-dev-docs
- GitHub Check: Pages changed - studiocms-dev-docs
- GitHub Check: Run Starlight Link Check
🔇 Additional comments (1)
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx (1)
1-60: FR guide parity with EN source confirmed
All frontmatter fields, headings, breaking-change bullets, and code samples align exactly with the English version; no further adjustments needed.
Description
Adds changes from #162 to the French translation.
Summary by CodeRabbit