Skip to content

[Validator] review: FR translation #54681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

viviengaetan
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #54649
License MIT

Validation of the new FR validor string

@carsonbot carsonbot added this to the 5.4 milestone Apr 20, 2024
@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.1 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot carsonbot changed the title review: FR translation [Validator] review: FR translation Apr 20, 2024
@@ -440,7 +440,7 @@
</trans-unit>
<trans-unit id="113">
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Cette URL est dépourvue de domaine de premier niveau.</target>
<target>Cette URL est dépourvue de domaine de premier niveau.</target>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<target>Cette URL est dépourvue de domaine de premier niveau.</target>
<target>Cette URL ne contient pas de domaine de premier niveau.</target>

Voire

Suggested change
<target>Cette URL est dépourvue de domaine de premier niveau.</target>
<target>Cette URL doit contenir un domaine de premier niveau.</target>

It feels to me "dépourvue" add some reading complexity

WDYT ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was wondering, and looked at other "is missing" usage but there is none...

Looking at other strings, they are either

  • imperative like "doit être", "ne doit pas être" which suits better "doit contenir"
  • affirmative like "n'est pas", "n'a pas" which suits better "ne contient pas"

I am not sure which one to choose here, if it's only personal I'd go with "doit contenir" which sounds natural for me - avoiding a negative form on the way. That's also why I left "est dépourvue" but I can understand it's not a word we are used to seeing in error.

Maybe having other opinions on that question can help to choose the best one.

@nicolas-grekas nicolas-grekas force-pushed the review/fr_translation branch from a29bd82 to a234992 Compare April 23, 2024 09:05
@nicolas-grekas
Copy link
Member

Thank you @viviengaetan.

@nicolas-grekas nicolas-grekas merged commit 60e9884 into symfony:5.4 Apr 23, 2024
nicolas-grekas added a commit that referenced this pull request Apr 23, 2024
This PR was merged into the 5.4 branch.

Discussion
----------

Fix french translation

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License       | MIT

Fix translation done in #54681

Commits
-------

0413610 Fix french translation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy