Friday, November 24, 2023
2 changes · master
Enhancements to existing features
This update removes outdated translation markers and unused formatting flags from Odoo translation files and related code. It keeps translation resources cleaner and easier to maintain without changing business features or user workflows.
Original PR description
Clean up of WEB_TRANSLATION_COMMENT and python-format from the po(t) files. The `python-format` flag specifies the "flavor" of format specifier to use, but our code only uses this format and doesn't check the flag at all, making it useless. The variable WEB_TRANSLATION_COMMENT contains the string "openerp-web" which was used in po/pot files to flag translations to be used on the client side, but has been replaced by JAVASCRIPT_TRANSLATION_COMMENT since odoo#105589. This pull request: - Removes WEB_TRANSLATION_COMMENT from the code - Re-exports .pot files that still contain openerp-web - `msgmerge`s po files that still contain openerp-web - Removes the obsolete entries created by msgmerge - Removes every occurrence of python-format Task-3599456. Enterprise: https://github.com/odoo/enterprise/pull/51147 Design Themes: https://github.com/odoo/design-themes/pull/749
Clean up of WEB_TRANSLATION_COMMENT and python-format from the po(t) files. The python-format flag specifies the "flavor" of format specifier to use, but our code only uses this format and doesn't check the flag at all, making it useless. The variable WEB_TRANSLATION_COMMENT contains the string "openerp-web" which was used in po/pot files to flag translations to be used on the client side, but has been replaced by JAVASCRIPT_TRANSLATION_COMMENT since odoo/odoo#105589. This pull request:
Original PR description
Clean up of WEB_TRANSLATION_COMMENT and python-format from the po(t) files. The python-format flag specifies the "flavor" of format specifier to use, but our code only uses this format and doesn't check the flag at all, making it useless. The variable WEB_TRANSLATION_COMMENT contains the string "openerp-web" which was used in po/pot files to flag translations to be used on the client side, but has been replaced by JAVASCRIPT_TRANSLATION_COMMENT since odoo/odoo#105589. This pull request: - Removes WEB_TRANSLATION_COMMENT from the code - Re-exports .pot files that still contain openerp-web - `msgmerge`s po files that still contain openerp-web - Removes the obsolete entries created by msgmerge - Removes every occurrence of python-format Task-3599456. Community: https://github.com/odoo/odoo/pull/142878 Design Themes: https://github.com/odoo/design-themes/pull/749