Openbravo Issue Tracking System - POS2
View Issue Details
0050765POS2Restaurantspublic2022-11-07 17:552022-11-14 12:44
guilleaer 
Retail 
normalminorhave not tried
closedfixed 
5
 
22Q4.122Q4.1 
No
0050765: Abort Product Configuration confirmation popup does not allow do do a correct translation
Abort Product Configuration confirmation popup does not allow do do a correct translation

The problem is the following:

Translating to french

cancel is translated to Annuler

  <row id="32360CCD780547EB9E2610F3D38BE46E" trl="Y">
    <value column="MsgText" isTrl="Y" original="Cancel">Annuler</value>
    <value column="MsgTip" isTrl="N" original=""/>
  </row>
 

abort → Annuler

  <row id="E9A9F7E825AB4025805763BE7616CA4D" trl="Y">
    <value column="MsgText" isTrl="Y" original="Abort">Annuler</value>
    <value column="MsgTip" isTrl="N" original=""/>
  </row>
 

In this specific context it leads in a dialog with 2 buttons with same text

To properly define an specific text for this flow I suggest to use an specific label for cancel instead of use the generic one by adding a new parameter to the dialog (https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/a5f744b3b228691ad1daa2c97d52788fe8b84c8e/web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/FinishProductConfigurationStep.js#L37 [^])

cancelLabel: '$OBPOS2_StopCancellationOfProductConfiguration'

This Message in english will remain as “cancel” but we allow to change it for other languages.

in french someone should find the proper word to describe the action to “cancel” the “abort”
Assign a modifier to a product in POS2 and try to "Abort" it
Cancel button in this dialog should not be the generic label. A new one should be created to allow to create a custom translation
No tags attached.
blocks defect 0050764 closed ebecerra Abort Product Configuration confirmation popup does not allow do do a correct translation 
Issue History
2022-11-07 17:57guilleaerTypedefect => backport
2022-11-07 17:57guilleaerTarget Version => 22Q4.1
2022-11-10 11:41hgbotNote Added: 0143371
2022-11-14 12:44hgbotResolutionopen => fixed
2022-11-14 12:44hgbotStatusscheduled => closed
2022-11-14 12:44hgbotNote Added: 0143559
2022-11-14 12:44hgbotFixed in Version => 22Q4.1
2022-11-14 12:44hgbotNote Added: 0143560

Notes
(0143371)
hgbot   
2022-11-10 11:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1352 [^]
(0143559)
hgbot   
2022-11-14 12:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1352 [^]
(0143560)
hgbot   
2022-11-14 12:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4db8462b00cc4185c9e1cb8278622d812b773a9e
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 14-11-2022 11:44:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4db8462b00cc4185c9e1cb8278622d812b773a9e [^]

Fixes ISSUE-50765: Abort Product Configuration confirmation popup does not...

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/FinishProductConfigurationStep.js
---