Bug 25925

Summary: In the alert box for unfilled important field in cataloging, the cancel button is not translatable
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: f.demians
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Alert box in French (CA) where the Cancel button is not translated

Description Caroline Cyr La Rose 2020-07-03 15:09:22 UTC
Created attachment 106522 [details]
Alert box in French (CA) where the Cancel button is not translated

I noticed when you try to save a record where an important field is not filled, the Cancel (and probably the OK) button is not translatable. I tried to find the string in my staff-prog.po file and couldn't find it.

To get the alert:
1- Modify a framework and mark one of the fields as important
2- Open a new record in cataloging and fill out the mandatory fields but not the important field
3- Try to save the record

There is a "Cancel" string and a "Cancel " string in staff-prog.po, but they only apply on the following lines, which is not the important alert as far as I can tell.

#: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt:632
#: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt:636
#: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt:640
#: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt:644
#: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt:648
Comment 1 Katrin Fischer 2020-08-30 22:46:48 UTC
Hi Caroline,
I think this "Cancel" is from the browser as an alert is used here. Could you confirm you still see the issue and other Cancel show differently? (For example the ones in a delete confirmation)
Comment 2 Caroline Cyr La Rose 2021-08-05 16:10:33 UTC
I confirm this is a browser pop-up, since it looks different in Firefox and Chromium... 
Sorry about that!
Caroline