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
Locale cleanup (12 files): Removes the unused homepage.placeholder.promo_banner translation key from every locale. The key is not referenced anywhere in templates/, partials/, layouts/, configs/, or assets/, so removal is safe. The companion homepage.heading.promo_banner and homepage.cta_text.promo_banner keys remain because partials/section_promo_banner.html:3,8,14 still uses them via the {% t ... as default_promo_banner_heading %} pattern. All 12 locales are kept in sync with en.default.json, which the existing test_locale_files_keep_the_same_key_shape contract enforces.
Test fix in tests/test_localization_contracts.py:77-91: The refactor lifts localized_default_vars collection out of the per-file inner loop so that {% t "..." as default_xxx %} assignments defined in one template are visible to settings.xxx|default:default_xxx consumers in another template. Previously the set was reset for each file, which would miss cross-file references. The fix is correct: template_paths() is a generator function called fresh each loop, so re-iteration is safe. This makes test_localized_default_override_settings_match_template_usage (line 124) catch missing entries in LOCALIZED_DEFAULT_OVERRIDE_SETTINGS more accurately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation