Skip to content

i18n(fr): update package-catalog#143

Merged
dreyfus92 merged 2 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-package-catalog
Jul 22, 2025
Merged

i18n(fr): update package-catalog#143
dreyfus92 merged 2 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-package-catalog

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Jul 22, 2025

Description

Adds changes from #139 to the French translation of package-catalog:

  • update web-vitals.mdx, studiocms-blog.mdx
  • translate studiocms-cloudinary-js.mdx

Summary by CodeRabbit

  • New Features

    • Added French documentation for the Cloudinary image service integration, including installation and usage instructions.
  • Documentation

    • Updated the Web Vitals integration documentation to reflect new package naming and references.
    • Enhanced the StudioCMS Blog plugin documentation by reorganizing content, adding a detailed configuration options section, and clarifying available routes and features.

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner July 22, 2025 11:53
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jul 22, 2025

Walkthrough

The changes update and expand French documentation for StudioCMS plugins. The Web Vitals integration documentation is revised to reflect a new package name. The StudioCMS blog plugin documentation is reorganized, adding detailed configuration options with TypeScript typings. A new French documentation page introduces the StudioCMS Cloudinary image service plugin.

Changes

Files Change Summary
src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx Updated all references from "@astrojs/web-vitals" to "@studiocms/web-vitals" and removed redundant command.
src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-blog.mdx Reorganized documentation, added "Options" section with detailed TypeScript typings, clarified plugin routes.
src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx Added new documentation introducing the Cloudinary image service plugin, with installation and usage instructions.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Docs
    participant StudioCMS

    User->>Docs: Reads plugin documentation (Blog, Web Vitals, Cloudinary)
    Docs->>User: Provides updated package names, configuration, and usage info
    User->>StudioCMS: Installs/configures plugins as per docs
    StudioCMS-->>User: Plugin functionality enabled (blog routes, web vitals, image service)
Loading

Estimated code review effort

2 (~15 minutes)

Possibly related PRs

Suggested labels

i18n

Suggested reviewers

  • dreyfus92

Poem

🐇
In fields of docs, I hop with glee,
New routes and options for all to see!
Web Vitals renamed, Cloudinary in tow,
Blog configs detailed, so you’ll always know.
With StudioCMS, the docs now bloom—
Let’s code together, there’s always room!
🌱


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.
    • Explain this complex logic.
    • 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. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • 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 src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

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

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

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

Documentation and Community

  • 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

studiocms-no-reply commented Jul 22, 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/package-catalog/community-plugins/web-vitals.mdx Localization changed, will be marked as complete.
fr/package-catalog/studiocms-plugins/studiocms-blog.mdx Localization changed, will be marked as complete.
fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx Localization added, 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 (2)
src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx (1)

13-15: Espace fine insécable avant le point-virgule

Dans la ligne d’import :

import { Steps, Tabs, TabItem } from '@astrojs/starlight/components';

une fine insécable précède le « ; ». Supprimez-la pour éviter une faute typographique.

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-blog.mdx (1)

18-19: Apostrophe typographique manquante

Remplacez d'extension par d’extension pour utiliser la bonne apostrophe française.

-### Que fait ce module d'extension ?
+### Que fait ce module d’extension ?
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between a96aa4a and 6110748.

📒 Files selected for processing (3)
  • src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx (3 hunks)
  • src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-blog.mdx (2 hunks)
  • src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx (1 hunks)
🧠 Learnings (4)
📓 Common learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#130
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx:1-11
Timestamp: 2025-04-26T12:29:17.995Z
Learning: When reviewing translations in the withstudiocms/docs repository, compare with the corresponding English version as the source of truth, not with other files in the same target language. French translations should maintain structural parity with their English counterparts.
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-blog.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

🪛 LanguageTool
src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx

[uncategorized] ~44-~44: Le trait d’union doit être supprimé.
Context: ...="@studiocms/web-vitals" /> 2. Ajoutez @studiocms/web-vitals à votre fichier de configuration Astro...

(MOT_TRAIT_MOT)

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx

[uncategorized] ~14-~14: Le point-virgule est précédé d’une espace fine insécable.
Context: ...em } from '@astrojs/starlight/components'; # Présentation Ce module d’extension ...

(FRENCH_WHITESPACE)


[uncategorized] ~47-~47: Une espace doit être ajoutée entre ces deux mots ou intégrez ce nouveau mot à votre dictionnaire personnel.
Context: ...’image, vous devez définir le paramètre preferredImageService sur cloudinary-js. ```ts twoslash t...

(MOTS_COLLES)


[typographical] ~47-~47: Caractère d’apostrophe incorrect.
Context: ...e paramètre preferredImageService sur cloudinary-js. ```ts twoslash title="studiocms.confi...

(APOS_INCORRECT)

🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#130
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx:1-11
Timestamp: 2025-04-26T12:29:17.995Z
Learning: When reviewing translations in the withstudiocms/docs repository, compare with the corresponding English version as the source of truth, not with other files in the same target language. French translations should maintain structural parity with their English counterparts.
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-blog.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

🪛 LanguageTool
src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx

[uncategorized] ~44-~44: Le trait d’union doit être supprimé.
Context: ...="@studiocms/web-vitals" /> 2. Ajoutez @studiocms/web-vitals à votre fichier de configuration Astro...

(MOT_TRAIT_MOT)

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx

[uncategorized] ~14-~14: Le point-virgule est précédé d’une espace fine insécable.
Context: ...em } from '@astrojs/starlight/components'; # Présentation Ce module d’extension ...

(FRENCH_WHITESPACE)


[uncategorized] ~47-~47: Une espace doit être ajoutée entre ces deux mots ou intégrez ce nouveau mot à votre dictionnaire personnel.
Context: ...’image, vous devez définir le paramètre preferredImageService sur cloudinary-js. ```ts twoslash t...

(MOTS_COLLES)


[typographical] ~47-~47: Caractère d’apostrophe incorrect.
Context: ...e paramètre preferredImageService sur cloudinary-js. ```ts twoslash title="studiocms.confi...

(APOS_INCORRECT)

⏰ 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). (1)
  • GitHub Check: Run Starlight Link Check
🔇 Additional comments (2)
src/content/docs/fr/package-catalog/community-plugins/web-vitals.mdx (1)

29-31: Renommage de package bien appliqué – rien à signaler

La commande d’installation réfère correctement au nouveau nom @studiocms/web-vitals.
Aucune incohérence ou omission détectée.

src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx (1)

47-56: Vérifier le slug du service dans l’exemple de configuration

L’extrait définit :

preferredImageService: 'cloudinary-js'

alors que le package s’appelle @studiocms/cloudinary-image-service.
Confirmez que le slug attendu par StudioCMS est bien cloudinary-js ; sinon, mettez-le à jour pour éviter aux utilisateurs une configuration invalide.

@dreyfus92 dreyfus92 merged commit 04b1fc4 into withstudiocms:main Jul 22, 2025
8 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-package-catalog branch July 22, 2025 22:12
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