diff options
| author | Samuel Degueldre <sad@odoo.com> | 2021-02-24 07:09:26 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2021-03-05 15:18:11 +0000 |
| commit | 84417a174bc2bb76730cc89783d3426a3a3b07d9 (patch) | |
| tree | d05bf33cfb93d55ef72f63c85f30a7a9c5f22b45 /addons/web_editor/i18n | |
| parent | 2cf5e8fb62f5ec88d13ad613c76f65fab8b50d65 (diff) | |
[FIX] web_editor: adapt warning when quality options are unavailable
Previously, when quality options were not available, the option would
simply not be displayed. User feedback suggests that this is confusing,
as for example, in the case of modifying the image in a t-field, quality
options would not be available when starting the editor, but would
become available when picking the image again in the media-dialog.
Some leftover code allowed to display a warning about why the quality
options were not available in the case where the image is not local to
the database. This warning has been adapted to display a more
informative message about why quality options are not available, as well
as suggest a solution:
- External image => download the image and upload it in odoo
- t-field => "You need to choose this image again in the media-dialog or
reupload it to have access to quality options"
- Images that are in an unsupported format (anything other than PNG or
JPEG) => short explanation that quality options are only available on
PNG and JPEG images.
task-2466819
part of odoo/odoo#66732
Diffstat (limited to 'addons/web_editor/i18n')
| -rw-r--r-- | addons/web_editor/i18n/web_editor.pot | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/web_editor/i18n/web_editor.pot b/addons/web_editor/i18n/web_editor.pot index f514629c786..bbd699d3a85 100644 --- a/addons/web_editor/i18n/web_editor.pot +++ b/addons/web_editor/i18n/web_editor.pot @@ -1310,6 +1310,13 @@ msgstr "" #. module: web_editor #. openerp-web +#: code:addons/web_editor/static/src/js/editor/snippets.options.js:0 +#, python-format +msgid "Only PNG and JPEG images support quality options and image filtering" +msgstr "" + +#. module: web_editor +#. openerp-web #: code:addons/web_editor/static/src/xml/ace.xml:0 #, python-format msgid "Only Views" @@ -1461,6 +1468,13 @@ msgstr "" #. module: web_editor #. openerp-web +#: code:addons/web_editor/static/src/js/editor/snippets.options.js:0 +#, python-format +msgid "Quality options unavailable" +msgstr "" + +#. module: web_editor +#. openerp-web #: code:addons/web_editor/static/src/js/editor/rte.summernote.js:0 #, python-format msgid "Quote" @@ -2357,6 +2371,13 @@ msgid "darken" msgstr "" #. module: web_editor +#. openerp-web +#: code:addons/web_editor/static/src/js/editor/snippets.options.js:0 +#, python-format +msgid "Due to technical limitations, you can only change optimization settings on this image by choosing it again in the media-dialog or reuploading it (double click on the image)" +msgstr "" + +#. module: web_editor #: model_terms:ir.ui.view,arch_db:web_editor.snippet_options_image_optimization_widgets msgid "exclusion" msgstr "" |
