[19.0][WIP][ADD] web_html_field_translate_dialog: per-language HTML translation dialog#3601
Open
JordiBForgeFlow wants to merge 4 commits into
Open
[19.0][WIP][ADD] web_html_field_translate_dialog: per-language HTML translation dialog#3601JordiBForgeFlow wants to merge 4 commits into
JordiBForgeFlow wants to merge 4 commits into
Conversation
…dialog The standard translation dialog of an HTML field splits its content into individual source terms, which is technical and hard to use. This module replaces it, for HTML fields only, with a dialog showing one full rich-text editor per installed language.
The per-language editors received the field value as a plain string, which the editor sets as text content (showing the raw HTML tags). Flag it as safe HTML with markup() so it is parsed and rendered, as HtmlField does.
…ditor Media/link editor plugins call config.getRecordInfo(); without it the editor throws "this.config.getRecordInfo is not a function" when the dialog is destroyed after saving.
…ield translate ir.model.fields.translate is a Selection in Odoo 19; passing True logs a deprecation warning that fails OCA's checklog. Use "html_translate".
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The standard translation dialog of an HTML field splits its content into individual source terms, which is technical and hard to use. This module replaces it, for HTML fields only, with a dialog showing one full rich-text editor per installed language.