Summary: | Mandatory fields are not translatable | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Patrons | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | bgkriegel, brendan, fridolin.somers, gmcharlt, kyle.m.hall, paola.rossi, sophie.meynieux, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 11002: Mandatory fields are not translatable
Mandatory fields are not translatable [PASSED-QA] Bug 11002: Mandatory fields are not translatable |
Description
Jonathan Druart
2013-10-07 08:41:03 UTC
Created attachment 21845 [details] [review] Bug 11002: Mandatory fields are not translatable When the pref BorrowerMandatoryField is set and a librarian forget to fill fields, a js popup appears with the following message: "The following fields are mandatory: surname, etc." The fields are not translatable. Test plan: - fill the pref BorrowerMandatoryField with something like: title|zipcode|surname|cardnumber|branchcode - go the members/memberentry.pl?op=add page - verify you are not allowed to add the patron without filling all mandatory fields. Created attachment 21875 [details] [review] Mandatory fields are not translatable The patch is signed off Created attachment 22182 [details] [review] [PASSED-QA] Bug 11002: Mandatory fields are not translatable When the pref BorrowerMandatoryField is set and a librarian forget to fill fields, a js popup appears with the following message: "The following fields are mandatory: surname, etc." The fields are not translatable. Test plan: - fill the pref BorrowerMandatoryField with something like: title|zipcode|surname|cardnumber|branchcode - go the members/memberentry.pl?op=add page - verify you are not allowed to add the patron without filling all mandatory fields. Signed-off-by: Paola Rossi <paola.rossi@cineca.it> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Pushed to master, along with a follow-up that ensures that the jQuery validator plugin is used for both new, HTML5-compatible browsers and old, non-HTML5-compatible ones. Thanks, Jonathan! This patch has been pushed to 3.12.x, will be in 3.12.8. Thanks Jonathan! Will it be in 3.10.x ? Thanks I added Bernardo to the cc list. |