Wednesday, February 14, 2024
1 change · saas-17.1
Enhancements to existing features
This update removes remaining references to an obsolete JavaScript translation helper from documentation, translation extraction, and lint tests. It keeps translation tooling aligned with the current codebase and reduces maintenance noise without changing user-facing behavior.
Original PR description
In this PR: ## [IMP] web: remove obsolete comment "_lt" was removed in https://github.com/odoo/odoo/pull/130179. This commit updates the doc accordingly. ## [IMP] tools: don't try to extract _lt in JS code "_lt" was removed from the JS code in https://github.com/odoo/odoo/pull/130179, but the source terms extractor (used to generate .pot files) still looks for its occurrences. This commit removes "_lt" from the list of the keywords whose content is extracted in the context of JS files. ## [IMP] test_lint: adapt tests to the removal of (JS) _lt "_lt" was removed in https://github.com/odoo/odoo/pull/130179, but is still mentioned in linting tests. This commit adapts the tests to remove all mentiones of _lt. (Note: it deliberately ignores the part about lodash, even though this is also obsolete, as it is outside the scope of this commit).