Skip to content

i18n(fr): update files for beta 24#159

Merged
dreyfus92 merged 1 commit into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-beta24-docs
Aug 17, 2025
Merged

i18n(fr): update files for beta 24#159
dreyfus92 merged 1 commit into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-beta24-docs

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Aug 16, 2025

Description

Adds changes from #158 to the French translation:

  • translate 0-1-0-beta-24.mdx
  • remove/update the badge in some other files
  • add two exports in sdk.mdx

Summary by CodeRabbit

  • Documentation
    • Added French upgrade guide for 0.1.0-beta.24 with migration steps and highlighted breaking changes.
    • Updated SDK docs to reflect new PLUGINS and MIDDLEWARES exports.
    • Standardized frontmatter by removing “Mis à jour/NOUVEAU” sidebar badges across several French pages.
    • Revised WYSIWYG plugin page badge to “Module d’extension” with a friendlier style.
    • Minor cleanup and consistency improvements in French docs (no content changes).

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner August 16, 2025 11:50
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Aug 16, 2025

Walkthrough

French docs cleanup removes sidebar.badge frontmatter across multiple pages, updates a badge on the WYSIWYG plugin page, adds a new upgrade guide for 0.1.0-beta.24, and updates an SDK code snippet to include PLUGINS and MIDDLEWARES. No runtime code changes; all edits are documentation.

Changes

Cohort / File(s) Summary
Frontmatter badge removals
src/content/docs/fr/config-reference/features.mdx, src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx, src/content/docs/fr/how-it-works/index.mdx, src/content/docs/fr/plugins/index.mdx, src/content/docs/fr/start-here/getting-started.mdx, src/content/docs/fr/utils/rendering.mdx
Removed sidebar.badge blocks; retained existing order/tableOfContents; content unchanged.
WYSIWYG badge update
src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-wysiwyg.mdx
Changed badge text from “Expérimental” to “Module d’extension” and variant from “danger” to “tip”.
New upgrade guide
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx
Added guide for 0.1.0-beta.24 with breaking change notes (new AstroDB table StudioCMSPluginData, SDK utilities, middleware), export for component-registry/types, and upgrade instruction.
SDK docs snippet update
src/content/docs/fr/how-it-works/sdk.mdx
Updated SDKCoreJs destructuring to include PLUGINS and MIDDLEWARES; public API surface reflected in docs.

Sequence Diagram(s)

sequenceDiagram
  participant Dev as Developer
  participant SDK as SDKCoreJs
  participant DB as AstroDB
  participant Ext as Extensions/Plugins
  participant MW as Middlewares

  Dev->>SDK: INIT / AUTH
  SDK->>DB: Connect / ensure schema
  Dev->>SDK: Use PLUGINS registry
  SDK->>Ext: Load plugin data (StudioCMSPluginData)
  Dev->>SDK: Register MIDDLEWARES
  SDK->>MW: Ensure cache initialized
  Dev->>SDK: GET/POST/UPDATE
  SDK->>DB: Read/Write with middleware applied
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

i18n

Suggested reviewers

  • dreyfus92
  • RATIU5

Poem

Thump-thump, I hop through docs so bright,
Badges trimmed, new guides in sight.
PLUGINS, MIDDLEWARES—carrots aligned,
Tables and types neatly defined.
With whiskers twitching, I push and say:
“Astro db push — then hop away!” 🥕🐇

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ 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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@studiocms-no-reply
Copy link
Copy Markdown
Member

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/config-reference/features.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx Localization added, will be marked as complete.
fr/how-it-works/index.mdx Localization changed, will be marked as complete.
fr/how-it-works/sdk.mdx Localization changed, will be marked as complete.
fr/package-catalog/studiocms-plugins/studiocms-wysiwyg.mdx Localization changed, will be marked as complete.
fr/plugins/index.mdx Localization changed, will be marked as complete.
fr/start-here/getting-started.mdx Localization changed, will be marked as complete.
fr/utils/rendering.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.

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 16, 2025

Deploy Preview for studiocms-dev-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f212305
🔍 Latest deploy log https://app.netlify.com/projects/studiocms-dev-docs/deploys/68a0706e28fbdb00093628d7
😎 Deploy Preview https://deploy-preview-159--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.

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 (2)
src/content/docs/fr/how-it-works/sdk.mdx (1)

63-65: Expose PLUGINS and MIDDLEWARES: OK; consider adding a brief description.

The added exports are reflected correctly in the snippet. To make this more actionable for readers, consider adding a one-liner for each right after the code block to explain when to use them (optional).

Would you like me to draft a short explanatory paragraph for PLUGINS (registry and lifecycle) and MIDDLEWARES (SDK pipeline hooks)?

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx (1)

21-22: French phrasing nit: “utilitaires du SDK”.

Minor grammar tweak for natural French.

Apply this diff:

- - Ajout d’une nouvelle table `StudioCMSPluginData` dans AstroDB pour une utilisation par les modules d’extension de StudioCMS, ainsi que de nouveaux utilitaires de SDK pour les modules d’extension permettant de définir les types des tables dynamiquement.
+ - Ajout d’une nouvelle table `StudioCMSPluginData` dans AstroDB pour une utilisation par les modules d’extension de StudioCMS, ainsi que de nouveaux utilitaires du SDK pour les modules d’extension permettant de définir les types des tables dynamiquement.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between c62815a and f212305.

📒 Files selected for processing (9)
  • src/content/docs/fr/config-reference/features.mdx (0 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx (0 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx (1 hunks)
  • src/content/docs/fr/how-it-works/index.mdx (0 hunks)
  • src/content/docs/fr/how-it-works/sdk.mdx (1 hunks)
  • src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-wysiwyg.mdx (1 hunks)
  • src/content/docs/fr/plugins/index.mdx (0 hunks)
  • src/content/docs/fr/start-here/getting-started.mdx (0 hunks)
  • src/content/docs/fr/utils/rendering.mdx (0 hunks)
💤 Files with no reviewable changes (6)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx
  • src/content/docs/fr/plugins/index.mdx
  • src/content/docs/fr/how-it-works/index.mdx
  • src/content/docs/fr/start-here/getting-started.mdx
  • src/content/docs/fr/config-reference/features.mdx
  • src/content/docs/fr/utils/rendering.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.
🪛 LanguageTool
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx

[typographical] ~29-~29: Caractère d’apostrophe incorrect.
Context: ...ons de bugs - Exportation ajoutée pour component-registry/types. - Widget user-quick-tools optimisé. ...

(APOS_INCORRECT)


[uncategorized] ~30-~30: Le trait d’union doit être supprimé.
Context: ...ur component-registry/types. - Widget user-quick-tools optimisé. - Introduction d’un no...

(MOT_TRAIT_MOT)

⏰ 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 (5)
src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-wysiwyg.mdx (1)

9-10: Badge update looks good and matches the PR intent.

Switching the badge from “Expérimental/danger” to “Module d’extension/tip” aligns with the cleanup across FR docs and clarifies status.

src/content/docs/fr/how-it-works/sdk.mdx (1)

63-65: Parity confirmed: PLUGINS & MIDDLEWARES are aligned in EN/FR SDK docs

Both src/content/docs/en/how-it-works/sdk.mdx and src/content/docs/fr/how-it-works/sdk.mdx list PLUGINS and MIDDLEWARES on lines 63–64. No other occurrences of these identifiers were found in any other locale’s sdk.mdx or config-reference pages, so the docs are consistent.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx (3)

8-10: Badge copy/style: double-check consistency across FR “version-guides”.

“NOUVEAU / success” is fine; confirm it matches the pattern used in other FR upgrade pages for newly added guides.


24-25: Upgrade step is clear and actionable.

The guidance to run astro db push --remote prior to the upgrade is prominent and correctly emphasized.


29-33: Keep code identifiers as-is; ignore language-tool hyphen/quote suggestions here.

  • “user-quick-tools” is an identifier and should retain hyphens.
  • Apostrophes like d’un are typographically correct in this context.

@dreyfus92 dreyfus92 merged commit 99050fc into withstudiocms:main Aug 17, 2025
12 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-beta24-docs branch August 17, 2025 09:13
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