-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fix: Remove annotation Fuzzy to get french translation #26010
fix: Remove annotation Fuzzy to get french translation #26010
Conversation
It looks like all of the other languages have lower case (example), which matches the base set for translation. French has uppercase and it's not matching. Do you agree the French should be changed to lowercase? I worry that this PR would fix French and break all of the other languages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment in the PR conversation, I think the proper fix would be to make the French translation values lower case, not the base ones capitalized.
Add translation from script po2json
Hey @sfirke, yes I just saw that, I saw thaht the problem is the annatation #, fuzzy in po file |
I'm unfamiliar with translations in general. Sounds like the fuzzy there means, attention needed. What problem is the fuzzy comment causing? |
Also thanks for updating the French strings to match the base set, it looks good now. |
Fix translation
The problem with the fuzzy, it's with this annotation when I launch the script po2json.sh to have my translation. All the string with this annotation are not taken into account. |
Ah okay. I don't see "fuzzy" appearing in the codebase anywhere so I'd say go ahead and delete that. If you can test locally that all the desired translations are appearing, that works for me. |
@@ -4591,18 +4618,10 @@ | |||
"y: values are normalized within each row": [""], | |||
"year": ["année"], | |||
"zoom area": [""], | |||
"No matching records found": ["Aucun résultat trouvé"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you replace this string? I see it deleted here but no other mention of "no matching records found"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just annotation fuzzy on this string, I remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't follow, sorry. Will the string "No matching records found" still be translated?
Fix translation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is my first time working with translations - anyone who has more experience want to review + merge? |
Fix translation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #26010 +/- ##
==========================================
+ Coverage 66.90% 69.06% +2.16%
==========================================
Files 1938 1938
Lines 75837 75858 +21
Branches 8427 8427
==========================================
+ Hits 50736 52389 +1653
+ Misses 22931 21299 -1632
Partials 2170 2170
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@sfirke, Hey thanks for the review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to translate "JSON" to "YAML"?
@@ -4591,18 +4618,10 @@ | |||
"y: values are normalized within each row": [""], | |||
"year": ["année"], | |||
"zoom area": [""], | |||
"No matching records found": ["Aucun résultat trouvé"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't follow, sorry. Will the string "No matching records found" still be translated?
for the quesiton : #26010 (comment) The translation is present line 2254 |
Correction translation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci pour les améliorations! (Looks good to me 😜)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
(cherry picked from commit 25a737e)
Fix this pb : #25728