-
Notifications
You must be signed in to change notification settings - Fork 373
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
CLDR-17081 Fix PNF test data for ICU #3270
CLDR-17081 Fix PNF test data for ICU #3270
Conversation
Still draft for now, so just fyi |
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.
Changes look good so far...
CLDRFile cldrFile = factory.make(locale, true); | ||
CLDRFile cldrFile = | ||
factory.make(locale, true, DraftStatus.contributed); // don't include | ||
// draft=unconfirmed/provisional |
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 know what I'm looking at, but is DraftStatus.contributed
a property of the whole file? What I was seeing in some files was that some person-name resources had their draft status set to "contributed" (or, actually, not mentioned at all), and others had their draft status set to "provisional" or "unconfirmed". Does this catch that?
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.
It sets the minimum bar for items to be included. So contributed means either contributed or approved (which is implicit if there is no draft value). That's the general bar we use for ICU, so this should get better results. cc @pedberg-icu
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.
All the changes look great. Thank you!
- Is it worth looking through all the files to make sure we don't have any other
<namePattern alt="1">↑↑↑</namePattern>
stuff in there? - Are there other changes coming, or is this all ready to go?
common/main/gl.xml
Outdated
</personName> | ||
<personName order="sorting" length="medium" usage="referring" formality="formal"> | ||
<namePattern>{surname-core} {surname2}, {given} {given2-initial} {surname-prefix}</namePattern> | ||
<namePattern alt="1">{surname-core} {surname2}, {given} {given2} {surname-prefix}</namePattern> | ||
<namePattern alt="1">{surname-core}, {given} {given2} {surname-prefix}</namePattern> |
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 want this to be {given2}
when the first entry has {given2-initial}
?
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.
Missed this, will examine in 1/2 hour
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.
Got it (lined up all the others for comparison, too, so I wouldn't miss any others). Good catch.
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.
Looks good! But see question about {given2-initial}
in my comments above.
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.
Cut and print!
Dang, forgot to rerun the GenerateTestData! Can you stamp again? |
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.
Stamped again! 😀
CLDR-17081
This is not yet complete; it fixes some of the "inclusion of draft data" plus the stray superscript
ALLOW_MANY_COMMITS=true