[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 88d141146534dd4116ee69afa3b64d55fb50656e

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_10 has been updated
       via  88d141146534dd4116ee69afa3b64d55fb50656e (commit)
      from  04acf5f610ab716eddcb962a14aaeb88042ac3d9 (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 88d141146534dd4116ee69afa3b64d55fb50656e
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 6135a23..2fc0a4f 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