Skip to content

fix(French): Correct 'Test Cases' translation from 'Unités de test' to 'Cas de test' - #5540

Closed
CommitToday wants to merge 1 commit into
robotframework:masterfrom
CommitToday:fix-issue-5510-test-case-section-french-translation
Closed

CommitToday wants to merge 1 commit into
robotframework:masterfrom
CommitToday:fix-issue-5510-test-case-section-french-translation

Conversation

@CommitToday

Copy link
Copy Markdown

Overview
This PR corrects the French translation for "Test Cases" in Robot Framework. The current translation "Unités de test" has been changed to the more appropriate and commonly used "Cas de test".

Checklist

  • Code changes are made in both documentation and source code
  • Changes follow project's translation conventions
  • No functional code changes, only translation update

Proof
This is a simple translation correction that aligns with standard French terminology in testing contexts. The change affects both the user guide documentation and the language configuration file, ensuring consistency across the framework.

Closes #5510

@pekkaklarck

Copy link
Copy Markdown
Member

The change looks good, but changes like this are backwards incompatible and we need to decide is that a good idea. Alternatively we could make it possible to deprecate translations, but that's more work. Let's discuss that further in #5510.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the French localization to use the more standard testing term “Cas de test” for the “Test Cases” section header, aligning runtime UI text and user guide documentation.

Changes:

  • Update French test_cases_header translation in the language configuration.
  • Update the French “Test Cases” entry in the User Guide translations appendix.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/robot/conf/languages.py Updates French test_cases_header translation to “Cas de test”.
doc/userguide/src/Appendices/Translations.rst Updates documentation table to match the corrected French translation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Variables
* - Test Cases
- Unités de test
- Cas de test

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This documentation is automatically generated based on language configuration. No need to update it.

@pekkaklarck

Copy link
Copy Markdown
Member

We now have issue #5668 about deprecating section header and setting translations. It isn't fully implemented yet due to integrating these warnings to parsing modules will require additional work, but the API how to deprecate terms is already defined and explained in this comment. I can merge this PR if such deprecation is added, but I can also make these changes myself once I'm ready with #5668.

@pekkaklarck

Copy link
Copy Markdown
Member

The change was done in d70992f so this PR can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change French "Test Cases" translation from "Unités de test" to "Cas de test"

4 participants