CLDR-19548 Remove mil and add milliinch - #5977
Conversation
|
Looks ok, but
|
|
Yes, splitting this would be good. Merging this should also wait until the vxml is in. |
| <!-- length --> | ||
| <convertUnit source='mil' baseUnit='meter' factor='ft_to_m/12*1000' systems="ussystem uksystem"/> | ||
| <convertUnit source='point' baseUnit='meter' factor='ft_to_m/864' systems="metric_adjacent ussystem uksystem"/> | ||
| <convertUnit source='inch' baseUnit='meter' factor='ft_to_m/12' systems="ussystem uksystem"/> |
There was a problem hiding this comment.
I think we need to set "prefixable" on inch
There was a problem hiding this comment.
Prefixable is not a hard requirement; the goal is to indicate that typically the prefixes are used with the unit. In the case of the inch, it isn't really typical. The wording is the following; if we need improvements we should discuss that. (Sorry for not attending to this comment earlier.)
"Those units that typically use SI prefixes or the IEC binary prefixes. This can include measures like parsec that are not SI units. It allows implementations to group those units together, and to do sanity checks on the prefix+unit combinations, if they choose. However, implementations may choose to allow prefixes on other units, especially since there is a significant variance in usage: even a term like megafoot might be acceptable in some contexts."
It's just in root and en, which didn't change in vxml. It should be a clean merge. |
But there are translations in sub locales for mil that will just become invalid Anyway I can fix up vxml once this merges |
|
I'm going to change to draft until vxml is merged. I can't right now
because I'm not at my computer.
…On Fri, Jul 31, 2026, 09:58 Steven R. Loomis ***@***.***> wrote:
***@***.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
<#5977?email_source=notifications&email_token=ACJLEMFY6RR6UIF6FBJAUAT5HTF27A5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIOBTGA2TQMZTHAZ2M4TFMFZW63VGMFZXG2LHN2SWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#pullrequestreview-4830583383>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJLEMDE65SRGLRDYTIPFQL5HTF27AVCNFSNUABFKJSXA33TNF2G64TZHMYTAMZZGQ4DMNZSHNEXG43VMU5TKMBRGYYTGMZSGY3KC5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ACJLEMACVPDUSYQLKZ7YYLT5HTF27A5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIOBTGA2TQMZTHAZ2M4TFMFZW63VGMFZXG2LHN2SWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/ACJLEMHIRQNKEZQRVYWRHMD5HTF27A5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIOBTGA2TQMZTHAZ2M4TFMFZW63VGMFZXG2LHN2SWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I fixed this, and a dangling reference to 'mil'. |
|
Converting to draft so it doesn't get merged prematurely. |
|
VXML is now merged. List of files with `length-mil` in main nowcommon/main/en.xml: <unit type="length-mil">
common/main/en.xml- <displayName>mils</displayName>
--
common/main/en.xml: <unit type="length-mil">
common/main/en.xml- <displayName>mil</displayName>
--
common/main/en.xml: <unit type="length-mil">
common/main/en.xml- <displayName>mil</displayName>
--
common/main/en_CA.xml: <unit type="length-mil">
common/main/en_CA.xml- <displayName>↑↑↑</displayName>
--
common/main/en_CA.xml: <unit type="length-mil">
common/main/en_CA.xml- <displayName>↑↑↑</displayName>
--
common/main/en_CA.xml: <unit type="length-mil">
common/main/en_CA.xml- <displayName>↑↑↑</displayName>
--
common/main/root.xml: <unit type="length-mil">
common/main/root.xml- <displayName>mil [US]</displayName>
--
common/main/en_AU.xml: <unit type="length-mil">
common/main/en_AU.xml- <displayName>↑↑↑</displayName>
--
common/main/en_AU.xml: <unit type="length-mil">
common/main/en_AU.xml- <displayName>↑↑↑</displayName>
--
common/main/en_AU.xml: <unit type="length-mil">
common/main/en_AU.xml- <displayName>↑↑↑</displayName>
--
common/main/en_IN.xml: <unit type="length-mil">
common/main/en_IN.xml- <displayName>↑↑↑</displayName>
--
common/main/en_IN.xml: <unit type="length-mil">
common/main/en_IN.xml- <displayName>↑↑↑</displayName>
--
common/main/en_IN.xml: <unit type="length-mil">
common/main/en_IN.xml- <displayName>↑↑↑</displayName>
--
common/main/cv.xml: <unit type="length-mil">
common/main/cv.xml- <displayName>мил</displayName>
--
common/main/cv.xml: <unit type="length-mil">
common/main/cv.xml- <displayName>мил</displayName>
--
common/main/cv.xml: <unit type="length-mil">
common/main/cv.xml- <displayName>мил</displayName>
--
common/main/en_GB.xml: <unit type="length-mil">
common/main/en_GB.xml- <displayName>↑↑↑</displayName>
--
common/main/en_GB.xml: <unit type="length-mil">
common/main/en_GB.xml- <displayName>↑↑↑</displayName>
--
common/main/en_GB.xml: <unit type="length-mil">
common/main/en_GB.xml- <displayName>↑↑↑</displayName>The above will need to be fixed or they will error, Chuvash is the only one who put in a new translation. |
91fb30a to
43403ae
Compare
|
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
|
I rebased on main, then just checked, and no other locales need to change (none of them had |
srl295
left a comment
There was a problem hiding this comment.
what's here LGTM but still failing tests
not what i'm seeing in this PR: |
|
@macchiati see and merge #6009 if LGTU (Note: I didn't make it a stack! 🥞 ) |
|
Err, fixing |
testCoverage {
Error: (TestUnits.java:2478) : en Modern ⊇ VALID_REGULAR_UNITS: expected java.util.Collections$EmptySet<[]>, got java.util.LinkedHashSet<[milliinch, poundal, dyne]>
Error: (TestUnits.java:2478) : de Modern ⊇ VALID_REGULAR_UNITS: expected java.util.Collections$EmptySet<[]>, got java.util.LinkedHashSet<[milliinch]>I am getting that locally |
| "sai", | ||
| "shaku", | ||
| "to-jp", | ||
| "mil", |
There was a problem hiding this comment.
I'll look it over later today.
|
@macchiati did you see my comment? |
#5977 (review) i assume? |
CLDR-19548
ALLOW_MANY_COMMITS=true