Skip to content

i18n(fr): fix links in translated files#33

Merged
dreyfus92 merged 1 commit into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-fix-links
Mar 31, 2025
Merged

i18n(fr): fix links in translated files#33
dreyfus92 merged 1 commit into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-fix-links

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Mar 31, 2025

Description

Updates links in the French translation:

Summary by CodeRabbit

  • Documentation
    • Updated the description and reference link for script processing.
    • Revised the environment variables section to use localized French URLs for improved clarity.

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner March 31, 2025 21:10
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 31, 2025

Walkthrough

The pull request updates French documentation by modifying hyperlink references. In one file, the link in the head section now points to a different section on script processing. In another, three environment variable links are updated to French translations, reflecting new URL fragments. No changes to code logic, public exports, or entity declarations are included.

Changes

File(s) Summary of Changes
src/content/docs/.../default-frontend-config.mdx Updated the hyperlink in the scripts description to point to a section on "traitement des scripts" instead of script grouping.
src/content/docs/.../getting-started.mdx Modified three environment variable links to use French URL fragments for database, encryption key, and OAuth variables.

Possibly related PRs

Suggested labels

i18n

Suggested reviewers

  • Adammatthiesen
  • dreyfus92

Poem

I hopped along the docs with cheer,
Changing links so they are clear.
French words now lead the way,
Guiding scripts and vars each day.
A small change, yet bright and neat—
My rabbit heart skips a beat!
🐇✨


🪧 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 plan to trigger planning for file edits and PR creation.
  • @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

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/default-frontend-config.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: 0

🧹 Nitpick comments (1)
src/content/docs/fr/start-here/getting-started.mdx (1)

362-364: Environment variable link anchors updated.
The link references for [db-url-token], [encryption-key], and [oauth-environment-variables] have been updated to reflect the new French translations:

  • [db-url-token]: now points to /fr/start-here/environment-variables/#url-de-la-base-de-données-et-jeton-pour-astrojsdb
  • [encryption-key]: now points to /fr/start-here/environment-variables/#clé-de-chiffrement-pour-studiocmsauth
  • [oauth-environment-variables]: now points to /fr/start-here/environment-variables/#variables-denvironnement-dauthentification-oauth

This update ensures that users are directed to the correct sections within the translated documentation.

Note on typographical suggestions:
Static analysis has flagged minor issues—specifically, recommendations to remove certain hyphens and adjust spacing before colons (e.g. non-breaking spaces). Please double-check that any such modifications will not inadvertently change the URL fragments and break the matching anchors in the target page. If the current formatting is intentional to match the actual anchors, these suggestions can safely be ignored.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~362-~362: Le trait d’union doit être supprimé.
Context: ...nfig-reference]: /fr/config-reference/ [db-url-token]: /fr/start-here/environment-vari...

(MOT_TRAIT_MOT)


[uncategorized] ~362-~362: Les deux-points sont précédés d’une espace insécable.
Context: ...ce]: /fr/config-reference/ [db-url-token]: /fr/start-here/environment-variables/#u...

(FRENCH_WHITESPACE)


[uncategorized] ~362-~362: Le trait d’union doit être supprimé.
Context: ...r/config-reference/ [db-url-token]: /fr/start-here/environment-variables/#url-de-la-base-d...

(MOT_TRAIT_MOT)


[uncategorized] ~363-~363: Le trait d’union doit être supprimé.
Context: ...ase-de-données-et-jeton-pour-astrojsdb [encryption-key]: /fr/start-here/environment-variables/...

(MOT_TRAIT_MOT)


[uncategorized] ~363-~363: Les deux-points sont précédés d’une espace insécable.
Context: ...-et-jeton-pour-astrojsdb [encryption-key]: /fr/start-here/environment-variables/#c...

(FRENCH_WHITESPACE)


[uncategorized] ~363-~363: Le trait d’union doit être supprimé.
Context: ...on-pour-astrojsdb [encryption-key]: /fr/start-here/environment-variables/#clé-de-chiffreme...

(MOT_TRAIT_MOT)


[uncategorized] ~364-~364: Le trait d’union doit être supprimé.
Context: ...#clé-de-chiffrement-pour-studiocmsauth [oauth-environment-variables]: /fr/start-here/environment-...

(MOT_TRAIT_MOT)


[uncategorized] ~364-~364: Les deux-points sont précédés d’une espace insécable.
Context: ...udiocmsauth [oauth-environment-variables]: /fr/start-here/environment-variables/#v...

(FRENCH_WHITESPACE)


[uncategorized] ~364-~364: Le trait d’union doit être supprimé.
Context: ...auth [oauth-environment-variables]: /fr/start-here/environment-variables/#variables-denvir...

(MOT_TRAIT_MOT)


[uncategorized] ~364-~364: Le trait d’union doit être supprimé.
Context: ...: /fr/start-here/environment-variables/#variables-denvironnement-dauthentification-oauth [auth-config-re...

(MOT_TRAIT_MOT)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between b1ee3ca and 2275f49.

📒 Files selected for processing (2)
  • src/content/docs/fr/config-reference/default-frontend-config.mdx (1 hunks)
  • src/content/docs/fr/start-here/getting-started.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
src/content/docs/fr/start-here/getting-started.mdx

[uncategorized] ~362-~362: Le trait d’union doit être supprimé.
Context: ...nfig-reference]: /fr/config-reference/ [db-url-token]: /fr/start-here/environment-vari...

(MOT_TRAIT_MOT)


[uncategorized] ~362-~362: Les deux-points sont précédés d’une espace insécable.
Context: ...ce]: /fr/config-reference/ [db-url-token]: /fr/start-here/environment-variables/#u...

(FRENCH_WHITESPACE)


[uncategorized] ~362-~362: Le trait d’union doit être supprimé.
Context: ...r/config-reference/ [db-url-token]: /fr/start-here/environment-variables/#url-de-la-base-d...

(MOT_TRAIT_MOT)


[uncategorized] ~363-~363: Le trait d’union doit être supprimé.
Context: ...ase-de-données-et-jeton-pour-astrojsdb [encryption-key]: /fr/start-here/environment-variables/...

(MOT_TRAIT_MOT)


[uncategorized] ~363-~363: Les deux-points sont précédés d’une espace insécable.
Context: ...-et-jeton-pour-astrojsdb [encryption-key]: /fr/start-here/environment-variables/#c...

(FRENCH_WHITESPACE)


[uncategorized] ~363-~363: Le trait d’union doit être supprimé.
Context: ...on-pour-astrojsdb [encryption-key]: /fr/start-here/environment-variables/#clé-de-chiffreme...

(MOT_TRAIT_MOT)


[uncategorized] ~364-~364: Le trait d’union doit être supprimé.
Context: ...#clé-de-chiffrement-pour-studiocmsauth [oauth-environment-variables]: /fr/start-here/environment-...

(MOT_TRAIT_MOT)


[uncategorized] ~364-~364: Les deux-points sont précédés d’une espace insécable.
Context: ...udiocmsauth [oauth-environment-variables]: /fr/start-here/environment-variables/#v...

(FRENCH_WHITESPACE)


[uncategorized] ~364-~364: Le trait d’union doit être supprimé.
Context: ...auth [oauth-environment-variables]: /fr/start-here/environment-variables/#variables-denvir...

(MOT_TRAIT_MOT)


[uncategorized] ~364-~364: Le trait d’union doit être supprimé.
Context: ...: /fr/start-here/environment-variables/#variables-denvironnement-dauthentification-oauth [auth-config-re...

(MOT_TRAIT_MOT)

🔇 Additional comments (1)
src/content/docs/fr/config-reference/default-frontend-config.mdx (1)

91-91: Updated client-side scripts link is correctly applied.
The link in the explanatory text now points to
https://docs.astro.build/fr/guides/client-side-scripts/#traitement-des-scripts
which aligns with the updated heading ID from the upstream Astro Docs. Please verify that the target anchor exists and that this update fully addresses the translation consistency requirements.

@dreyfus92 dreyfus92 merged commit e191f21 into withstudiocms:main Mar 31, 2025
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-fix-links branch March 31, 2025 21: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