You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
i18n: the packaged base reads a disabled package's same-name validation rule, so the enabled rule's message stays untranslated #34217
Filing gate: ① a gap the #33800 dev measured in round 3 of PR #34156, after review-a's should-fix 6903069973 on that PR. PR #34156 fixes the same gap for added fields only (packagedAddedFields). ⛔ Not a claim.
SchemaRegistry.getPackagedObjectBase builds validations through packagedRules from every extend contributor, disabled packages included. The served fold withholds a disabled package's extension.
Measured with a probe on the built dist, at PR #34156 head 265a82f18: an enabled extender and a later disabled extender declare a rule of the same name. The served object carries the enabled rule's message, but the base carries the disabled one's: { served: ['Enabled says.'], base: ['Disabled says.'] }. The translator therefore reads the enabled rule's message as diverged from its packaged baseline, and it stays in the source language under a non-default locale. engine-validation-messages reads the same base.
Change
Apply the isPackageDisabled filter that PR #34156 adds for added fields to the contributors packagedRules reads, and to its extended test. Add one pin beside #34156's: a disabled later extender's same-name rule leaves the base on the enabled rule, and the zh-CN read translates it.
Prior rulings read: review-a's comment 6903069973 on PR #34156, which names this follow-up; seat ruling 6895879286 on #33800, option A. No ruling makes the base read disabled packages on purpose.
Dedupe words: packagedRules disabled package; getPackagedObjectBase validations disabled; withholdDisabledExtensions packaged base.
Activity