Skip to content

[DO NOT MERGE] Validate plural lanes for #26261 - #26262

Closed
mokagio wants to merge 2 commits into
ainfra-3482-use-1d-instead-of-1ld-in-wordpress-ios-plural-word-countfrom
mokagio/plural-word-count-d-validation
Closed

mokagio wants to merge 2 commits into
ainfra-3482-use-1d-instead-of-1ld-in-wordpress-ios-plural-word-countfrom
mokagio/plural-word-count-d-validation

Conversation

@mokagio

@mokagio mokagio commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Validation only — do not merge. Stacked on #26261; close once it has answered.

PR CI never runs the plural lanes for #26261: the localization job only triggers on *.strings/*.stringsdict changes, so an .xcstrings-only PR skips it, and download_localized_plurals only runs at betas.

Read the ":warning: [DO NOT MERGE] Validate plural lanes for #26261" job. Every step is expected to pass:

  • Forward: generate_strings_file_for_glotpress skip_commit:true, as at code freeze, emits all six editor.textCounter.wordCount|==|plural.* originals with %1$d and none with %1$ld.
  • Negative case: the same assertion fails on trunk's catalog, so it can go red.
  • Reverse: download_localized_plurals without ANTHROPIC_API_KEY completes, keeps English %1$d, and the folded catalog compiles with xcstringstool.
  • The fold processed real human translations: it rejects the existing %1$ld ones (expected until GlotPress re-translates the new original).

Artifacts: the generated en Localizable.strings, the folded catalog and the fold log.

CI can't answer how GlotPress itself highlights %1$d; that shows once the new original is uploaded at the next code freeze.

mokagio and others added 2 commits October 28, 2026 15:34
Throwaway validation for #26261: PR CI skips the localization job for `.xcstrings`-only changes, so neither plural lane runs against the changed catalog.

---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fold reports rejected translations on stderr, so the count read 0 even though 48 were rejected.

---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@mokagio mokagio closed this Oct 28, 2026
@mokagio
mokagio deleted the mokagio/plural-word-count-d-validation branch October 28, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants