Commit ebdae45
intl: drop def-file pass markers and duplicate guards from emitted headers
The first hardened Crowdin sync exposed two emitter defects. The
template expansion dropped only guards alternated with the strings
pass, so the config-pass wrapper around divergent-key rows - a form
added later - leaked '#ifndef SETTINGS_DEF_CONFIG_PASS' into every
translated header; harmless only because no msg_hash consumer
defines that macro. And a def row's own platform guard repeated an
enclosing template guard verbatim, nesting '#ifdef HAVE_MICROPHONE'
inside itself. Expansion now treats every SETTINGS_DEF marker as
the always-true def-file internal it is, and guard emission drops a
plain condition that is already open; else-branches are never
deduplicated.
All 47 headers re-emitted through the fixed emitter: idempotent,
no pass markers, no duplicated guards, guard-balanced, and the
full-language lookup output is byte-identical against the
sync-landed tree - the cleanup is purely structural. The sync
itself audits clean against its parent: six translation values
changed and six added, nothing removed, no artifacts.1 parent 65692e0 commit ebdae45
41 files changed
Lines changed: 58 additions & 5521 deletions
File tree
- intl
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
380 | 384 | | |
381 | 385 | | |
382 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
383 | 399 | | |
| 400 | + | |
| 401 | + | |
384 | 402 | | |
385 | 403 | | |
386 | 404 | | |
| |||
0 commit comments