-
Notifications
You must be signed in to change notification settings - Fork 116
Master mysterious egg loco 1 #4489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master-mysterious-egg
Are you sure you want to change the base?
Conversation
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
5906a60
to
1540589
Compare
this.dialogService = this.services.dialog; | ||
const editableEls = findOEditable(this.editable); | ||
this.elToTranslationInfoMap = new Map(); | ||
const translatedAttrs = ["placeholder", "title", "alt", "value"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: for the moment, there is a problem when a form field has an input
attribute. I will solve it in another PR; the problem is that interactions that should not be started in edit mode are somehow started and destroyed when entering translate mode.
1540589
to
4674893
Compare
@@ -0,0 +1,72 @@ | |||
import { Dialog } from "@web/core/dialog/dialog"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just copy pasted from website
To fix in stable:
|
4674893
to
bdc5c86
Compare
@@ -37,9 +49,6 @@ export class SetupEditorPlugin extends Plugin { | |||
el.setAttribute("data-editor-message", _t("DRAG BUILDING BLOCKS HERE")); | |||
} | |||
}); | |||
|
|||
// Set the `contenteditable` attribute on the editables. | |||
this.setContenteditable(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done at the normalize so useless at the end of the setup
e24556e
to
897f4ab
Compare
bdc5c86
to
7f8e782
Compare
- translate attributes - translate selections - add a message when trying to translate not editable elements - add a message to explain the translation colors
7f8e782
to
27f8f1b
Compare
No description provided.