From 6a60b7df35aa1b14879864418a4e0cb010aaa720 Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Tue, 15 Aug 2023 13:08:40 +0000 Subject: [PATCH] [FIX] pos_restaurant: remove typo in warning before this commit, on deleting a floor from pos user interface, there is a typo in the pop up confirmation message shown wanna -> want to after this commit, the typo in the message is corrected. closes odoo/odoo#132211 X-original-commit: c2bb0e06044500d2c2fea0fb475d833bc6d457b0 Signed-off-by: Vlad Stroia (vlst) --- addons/pos_restaurant/i18n/pos_restaurant.pot | 2 +- .../pos_restaurant/static/src/app/floor_screen/floor_screen.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/pos_restaurant/i18n/pos_restaurant.pot b/addons/pos_restaurant/i18n/pos_restaurant.pot index 0ede549c939..089da81be1b 100644 --- a/addons/pos_restaurant/i18n/pos_restaurant.pot +++ b/addons/pos_restaurant/i18n/pos_restaurant.pot @@ -814,7 +814,7 @@ msgstr "" #. odoo-javascript #: code:addons/pos_restaurant/static/src/app/floor_screen/floor_screen.js:0 #, python-format -msgid "Removing a floor cannot be undone. Do you still wanna remove %s?" +msgid "Removing a floor cannot be undone. Do you still want to remove %s?" msgstr "" #. module: pos_restaurant diff --git a/addons/pos_restaurant/static/src/app/floor_screen/floor_screen.js b/addons/pos_restaurant/static/src/app/floor_screen/floor_screen.js index aa8cfd61203..6ca2a2c2d36 100644 --- a/addons/pos_restaurant/static/src/app/floor_screen/floor_screen.js +++ b/addons/pos_restaurant/static/src/app/floor_screen/floor_screen.js @@ -526,7 +526,7 @@ export class FloorScreen extends Component { const { confirmed } = await this.popup.add(ConfirmPopup, { title: `Removing floor ${this.activeFloor.name}`, body: this.env._t( - "Removing a floor cannot be undone. Do you still wanna remove %s?", + "Removing a floor cannot be undone. Do you still want to remove %s?", this.activeFloor.name ), });