9957b27a77d4b5a836068596283a65e9558714a3
Move 941 UI strings per language from inline Python dicts to locales/en.json and locales/de.json. Rewrite i18n.py from 2062 lines to 140 lines (JSON loader + inline calc item names). - Create src/padelnomics/locales/en.json (941 keys) - Create src/padelnomics/locales/de.json (941 keys) - Add load-time key parity assertion (EN/DE must match) - Keep _CALC_ITEM_NAMES inline (36 keys, calc-only namespace) - Fix stale docstring referencing non-existent function - Add tests/test_i18n_parity.py: key parity, non-empty values, no untranslated copy-paste (with allowlist for proper nouns) All 1013 existing tests pass + 5 new parity tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
HTML
46.4%
Python
43.3%
JavaScript
4.6%
Jinja
2.3%
CSS
2.2%
Other
1.2%