Openbravo Issue Tracking System - POS2
View Issue Details
0050764POS2Restaurantspublic2022-11-07 17:552022-12-18 12:14
guilleaer 
ebecerra 
normalminorhave not tried
closedfixed 
5
 
23Q1 
No
0050764: 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 the same text

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

confirmLabel: '$OBPOS2_ConfirmCancellationOfProductConfiguration'
cancelLabel: '$OBPOS2_StopCancellationOfProductConfiguration'

This messages in english will remain as “cancel”/"abort" but we will allow to change it for other languages.

in french someone should find the proper word to describe the action to “cancel” the “abort” and "confirm" the abort
Assign a modifier to a product in POS2 and try to "Abort" it
OK/Cancel button in this dialog should not use the generic label. A new one should be created to allow to create a custom translation for this context
No tags attached.
depends on backport 005076522Q4.1 closed Retail Abort Product Configuration confirmation popup does not allow do do a correct translation 
depends on backport 005082522Q3.3 closed ebecerra Abort Product Configuration confirmation popup does not allow do do a correct translation 
Issue History
2022-11-07 17:55guilleaerNew Issue
2022-11-07 17:55guilleaerAssigned To => Retail
2022-11-07 17:55guilleaerTriggers an Emergency Pack => No
2022-11-07 17:57guilleaerStatusnew => scheduled
2022-11-07 17:57guilleaerAssigned ToRetail => fermin_gascon
2022-11-08 09:00guilleaerDescription Updatedbug_revision_view_page.php?rev_id=25055#r25055
2022-11-08 09:00guilleaerProposed Solution updated
2022-11-10 10:45ebecerraAssigned Tofermin_gascon => ebecerra
2022-11-10 11:35hgbotNote Added: 0143369
2022-11-10 12:09guilleaerStatusscheduled => acknowledged
2022-11-10 12:10guilleaerStatusacknowledged => scheduled
2022-11-14 12:41hgbotResolutionopen => fixed
2022-11-14 12:41hgbotStatusscheduled => closed
2022-11-14 12:41hgbotFixed in Version => 23Q1
2022-11-14 12:41hgbotNote Added: 0143555
2022-11-14 12:41hgbotNote Added: 0143556
2022-12-18 12:14guilleaerIssue cloned0051191

Notes
(0143369)
hgbot   
2022-11-10 11:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1351 [^]
(0143555)
hgbot   
2022-11-14 12:41   
Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-50764: 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
---
(0143556)
hgbot   
2022-11-14 12:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1351 [^]