Skip to content

i18n(fr): update docs for beta 26#163

Merged
dreyfus92 merged 3 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-beta26-docs
Sep 14, 2025
Merged

i18n(fr): update docs for beta 26#163
dreyfus92 merged 3 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-beta26-docs

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Sep 8, 2025

Description

Adds changes from #162 to the French translation.

Summary by CodeRabbit

  • Documentation
    • Added a new French upgrade guide for v0.1.0-beta.26 covering breaking changes, migration steps, and highlights of features and bug fixes.
    • Clarifies required database schema update (remote push) and updated application API surface and token renaming with migration examples.
    • Removed “NEW/Updated” sidebar badges from related French docs to streamline presentation.

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner September 8, 2025 10:28
@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 8, 2025

Deploy Preview for studiocms-dev-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 3d920a8
🔍 Latest deploy log https://app.netlify.com/projects/studiocms-dev-docs/deploys/68beb27abd60d000080796a8
😎 Deploy Preview https://deploy-preview-163--studiocms-dev-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Sep 8, 2025

📝 Walkthrough

Walkthrough

Removed 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 Astro.locals properties into Astro.locals.StudioCMS (including wysiwygCsrfTokeneditorCSRFToken), features, and fixes. Documentation-only edits.

Changes

Cohort / File(s) Change Summary
Frontmatter badge removal (FR docs)
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx, src/content/docs/fr/how-it-works/effect.mdx
Removed sidebar/frontmatter badge metadata blocks; retained other frontmatter fields. No content changes.
New FR upgrade guide 0-1-0-beta-26
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx
Added French upgrade guide describing: Astro DB schema update (run astro db push --remote), unified dynamic config table, enum-based AstroDB permissions, relocation of top-level Astro.locals properties into Astro.locals.StudioCMS and rename wysiwygCsrfTokeneditorCSRFToken, migration examples, feature notes (@studiocms/ui 1.0 beta) and bug-fix notes. Includes imports for QuickUpdate, ReadMore, and Aside.

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
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • dreyfus92
  • Adammatthiesen
  • louisescher

Poem

A hop, a skip—new guides abide,
Badges gone, the paths collide.
StudioCMS hides in a nest,
Tokens renamed, migrations blessed.
I thump: "Push the DB!" — docs take flight 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 276fd20 and 3d920a8.

📒 Files selected for processing (1)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx
⏰ 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
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@studiocms-no-reply
Copy link
Copy Markdown
Member

studiocms-no-reply commented Sep 8, 2025

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx Localization added, will be marked as complete.
fr/how-it-works/effect.mdx Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Aside isn’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

📥 Commits

Reviewing files that changed from the base of the PR and between b38f93b and 276fd20.

📒 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.

@dreyfus92 dreyfus92 merged commit 4c1da28 into withstudiocms:main Sep 14, 2025
12 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-beta26-docs branch September 14, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants