Skip to content

i18n(fr): update index and start-here/getting-started#120

Merged
dreyfus92 merged 2 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-index-getting-started
Apr 21, 2025
Merged

i18n(fr): update index and start-here/getting-started#120
dreyfus92 merged 2 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-index-getting-started

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Apr 21, 2025

Description

Adds changes from #73 to the French translations of index.mdx and start-here/getting-started.mdx.

Summary by CodeRabbit

  • New Features
    • Updated the homepage card to display a native video preview of StudioCMS instead of a YouTube embed.
  • Documentation
    • Added a link to the latest StudioCMS upgrade guide.
    • Updated references and links for the self-hosted libSQL server guide.
    • Corrected demo URLs for accuracy.

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner April 21, 2025 14:26
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 21, 2025

Walkthrough

This 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

File(s) Change Summary
src/content/docs/fr/index.mdx Replaced YouTube embed with HTML5 video element in a card; updated card title; changed video source to CDN trailer.
src/content/docs/fr/start-here/getting-started.mdx Added LinkCard for upgrade guide; updated libSQL server references to use new link alias; corrected demo URL; minor text/link changes.

Possibly related PRs

Suggested reviewers

  • dreyfus92
  • Adammatthiesen

Poem

A bunny hops through docs anew,
Swapping YouTube for video true.
Links now guide with gentle care,
To upgrades and databases rare.
French guides polished, clear and bright—
StudioCMS shines in the light!
🐇✨


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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @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 generate unit testing code.
    • @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.

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 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 Apr 21, 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/index.mdx Localization changed, will be marked as complete.
fr/start-here/getting-started.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: 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

📥 Commits

Reviewing files that changed from the base of the PR and between a08f79c and 7b69084.

📒 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.
Context: ...rd } from '@astrojs/starlight/components'; import ReadMore from '
/components/Read...

(FRENCH_WHITESPACE)


[uncategorized] ~12-12: Le point-virgule est précédé d’une espace fine insécable.
Context: ...adMore from '
/components/ReadMore.astro'; import { sponsors, SponsorLink } from '...

(FRENCH_WHITESPACE)


[style] ~13-13: Alternatives possibles pour cet anglicisme :
Context: ...{ sponsors, SponsorLink } from '
/share-link' <LinkCard title="Mise à niveau de Stu...

(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: Imported LinkCard for new upgrade guide card.

The addition of LinkCard in 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.
Context: ...rd } from '@astrojs/starlight/components'; import ReadMore from '
/components/Read...

(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 !" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

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.

Suggested change
<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/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 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/database

Length 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.mdx file (and its parent directory) under src/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)

Copy link
Copy Markdown
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@dreyfus92 dreyfus92 merged commit 81d308b into withstudiocms:main Apr 21, 2025
8 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-index-getting-started branch April 21, 2025 15: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