Bug 25925 - In the alert box for unfilled important field in cataloging, the cancel button is not translatable
Summary: In the alert box for unfilled important field in cataloging, the cancel butto...
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 15:09 UTC by Caroline Cyr La Rose
Modified: 2022-06-06 20:24 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Alert box in French (CA) where the Cancel button is not translated (13.81 KB, image/png)
2020-07-03 15:09 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
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