[FIX] web: reduce command palette tip

Before this commit, the tip explaining how to open in a new tab was
long and innefficient.

This commit simply remove obvious "to open" text from the tip, which
makes the dialog less cluttered.

The corresponding translation file has been updated as well to update
the appropriated terms.

closes odoo/odoo#132602

X-original-commit: 871a988f91e7f4190999a89afa854f4ed83a4fa2
Signed-off-by: Florent Dardenne (dafl) <dafl@odoo.com>
Signed-off-by: Luca Vitali (luvi) <luvi@odoo.com>
This commit is contained in:
luvi
2023-08-21 21:00:18 +02:00
parent d08a18b791
commit 25b992cccc
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -6714,14 +6714,7 @@ msgstr ""
#. odoo-javascript
#: code:addons/web/static/src/core/commands/command_palette.xml:0
#, python-format
msgid "to open in new tab"
msgstr ""
#. module: web
#. odoo-javascript
#: code:addons/web/static/src/core/commands/command_palette.xml:0
#, python-format
msgid "to open,"
msgid "new tab"
msgstr ""
#. module: web
@@ -35,7 +35,7 @@
</span>
</t>
<t t-set-slot="focusMessage">
<small t-if="!isMobileOS and command.href and state.selectedCommand === command" class="o_command_focus text-muted"><kbd>⏎</kbd> to open, <kbd><t t-if="isMacOS">CMD</t><t t-else="">CTRL</t></kbd>+<kbd>⏎</kbd> to open in new tab</small>
<small t-if="!isMobileOS and command.href and state.selectedCommand === command" class="o_command_focus text-muted"><kbd><t t-if="isMacOS">CMD</t><t t-else="">CTRL</t></kbd>+<kbd>⏎</kbd><span class="ms-1">new tab</span></small>
</t>
</t>
</a>