Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #110 +/- ##
==========================================
+ Coverage 97.86% 97.89% +0.02%
==========================================
Files 11 12 +1
Lines 563 571 +8
Branches 187 187
==========================================
+ Hits 551 559 +8
Misses 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
andrii-bodnar
left a comment
There was a problem hiding this comment.
@sjgeyer looks good to me, thank you for the contribution!
|
Why you consider this bad? In my opinion the opposite is bad, nesting
|
|
it's less about the creation of the message than the quality of the translation. i've found that we get better and more reliable translations when the Plural includes the full sentence (or as much of the sentence as possible) vs. concatenating sentences inside a Trans |
|
@sjgeyer could you add more details to the doc for that rule, like where to use tis rule and where not. |
|
Reminder: after releasing this, it would be great to mention this rule in the |
|
Hi @sjgeyer, could you please address the comment above so that we can proceed with this PR? Thanks! |
|
@andrii-bodnar addressed! let me know if there needs to be any more clarification |
Rule to disallow nesting Plural components inside Trans components for improved localization.
Good:
Bad: