[I18N] web: remove unfortunate wording

Administrators sometimes machine-translate Odoo into their own language.
In this respect, we should avoid ambiguous wording* that could be poorly
machine-translated.

\*: in this case, the onomatopoeia "Poof!" was misinterpreted by a
machine-translation as a British slur.

opw-3590503

closes odoo/odoo#141723

Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
This commit is contained in:
Louis (wil)
2023-11-10 21:23:24 +00:00
parent 83d551e24f
commit b4b4842718
2 changed files with 11 additions and 7 deletions
+5 -3
View File
@@ -1737,6 +1737,8 @@ msgstr ""
#. module: web
#. odoo-javascript
#: code:addons/web/static/src/core/model_field_selector/model_field_selector.xml:0
#: code:addons/web/static/src/core/model_field_selector/model_field_selector.xml:0
#: code:addons/web/static/src/core/tree_editor/tree_editor.xml:0
#: code:addons/web/static/src/views/fields/binary/binary_field.xml:0
#: code:addons/web/static/src/views/fields/image/image_field.xml:0
@@ -2928,8 +2930,8 @@ msgid "Expression is invalid. Please correct it"
msgstr ""
#. module: web
#. odoo-python
#. odoo-javascript
#. odoo-python
#: code:addons/web/controllers/export.py:0
#: code:addons/web/controllers/export.py:0
#: code:addons/web/static/src/views/list/list_controller.js:0
@@ -5802,7 +5804,7 @@ msgstr ""
msgid ""
"Ready to make your record disappear into thin air? Are you sure?\n"
"\n"
"Poof! It will be gone forever!\n"
"It will be gone forever!\n"
"\n"
"\n"
"Think twice before you click that 'Delete' button!"
@@ -7342,8 +7344,8 @@ msgid "Uncaught Promise"
msgstr ""
#. module: web
#. odoo-python
#. odoo-javascript
#. odoo-python
#: code:addons/web/controllers/export.py:0
#: code:addons/web/static/src/views/calendar/calendar_model.js:0
#, python-format
@@ -1,14 +1,16 @@
/** @odoo-module */
import { Dialog } from "../dialog/dialog";
import { _t, _lt } from "@web/core/l10n/translation";
import { _t } from "@web/core/l10n/translation";
import { useChildRef } from "@web/core/utils/hooks";
import { Component } from "@odoo/owl";
export const deleteConfirmationMessage = _lt("Ready to make your record disappear into thin air? Are you sure?\n\
Poof! It will be gone forever!\n\
\nThink twice before you click that 'Delete' button!");
export const deleteConfirmationMessage = _t(
"Ready to make your record disappear into thin air? Are you sure?\n\
It will be gone forever!\n\n\
Think twice before you click that 'Delete' button!"
);
export class ConfirmationDialog extends Component {
setup() {