Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1505 +/- ##
==========================================
+ Coverage 94.43% 94.44% +0.01%
==========================================
Files 27 27
Lines 5051 5061 +10
==========================================
+ Hits 4770 4780 +10
Misses 281 281
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
akx
left a comment
There was a problem hiding this comment.
There must be a better way to fix this than add special handling for locale.language == 'es'.
|
Fair point — hardcoding I checked CLDR 48.2's Before reworking this, which direction fits Babel better?
|
Fixes #1503.
Use the following item to select the Spanish conjunction in the two-item or final list pattern. The replacement applies to Spanish templates that use
yoro. The tests cover both list lengths, short styles, regional Spanish, uppercase input, thehieloexception, and common numeric cases.The contextual checks follow the Spanish handling in ICU's list formatter. CLDR describes the placement and language rules.
Verification
testssuite completed with 8,133 passed, 4 skipped, and 2 expected failures.git diff --checkpassed.Investigation, implementation, tests, and drafting were done with Codex assistance.