[open-ils-commits] [GIT] Evergreen ILS branch rel_2_9 updated. 00c0947e565c7406bd4d912bf8595c2f0d7b6365

Evergreen Git git at git.evergreen-ils.org
Thu Aug 25 13:58:04 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_9 has been updated
       via  00c0947e565c7406bd4d912bf8595c2f0d7b6365 (commit)
      from  29f7062f310e80ebf2c551b50588b4d1eef8020d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 00c0947e565c7406bd4d912bf8595c2f0d7b6365
Author: Jason Stephenson <jason at sigio.com>
Date:   Thu Aug 25 11:57:42 2016 -0400

    LP#1613709: Make DOB validation alert failure translatable.
    
    The alert message about an invalid DOB being entered in the OPAC
    patron registration is not translatable.  The solution, suggested by
    Eva Cerninakova, is to wrap the string in the l() template function to
    make it so.  That is what this branch does.
    
    Signed-off-by: Jason Stephenson <jason at sigio.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2
index f9600a5..d6d87da 100644
--- a/Open-ILS/src/templates/opac/parts/js.tt2
+++ b/Open-ILS/src/templates/opac/parts/js.tt2
@@ -7,7 +7,7 @@
         var validformat = /^(19|20)\d\d([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01])$/
         var returnval = false
         if (!validformat.test(input.value))
-            alert("You have entered an invalid date, or an improperly formatted date.  Please enter Date of Birth in YYYY-MM-DD or YYYY/MM/DD format and try again.")
+            alert("[% l('You have entered an invalid date, or an improperly formatted date.  Please enter Date of Birth in YYYY-MM-DD or YYYY/MM/DD format and try again.') %]")
         else
             returnval = true
         if (returnval == false) input.select()

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/js.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list