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 "main Koha release repository".

The branch, 20.05.x has been updated
       via  49de13e03a58145b0798a928d2b12fd6058537f3 (commit)
      from  5333a7dacbaa5df71be55f5741e887f620b44197 (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 49de13e03a58145b0798a928d2b12fd6058537f3
Author: Owen Leonard <[email protected]>
Date:   Thu Aug 20 20:10:40 2020 +0000

    Bug 26261: Split calendar.inc into include file and JavaScript file
    
    This patch moves most of the JavaScript out of calendar.inc and into a
    new file, calendar.js. English strings in calendar.js are now wrapped in
    the double-underscore function to allow for translation.
    
    The patch shouldn't affect datepicker functionality in any way.
    
    To test, apply the patch and test the datepicker in various contexts:
    
    - Reports -> Statistics wizards -> Patrons
    - Date of birth "from" and "to" should be linked so that the former
      must come before the latter.
    - Patrons -> Add or edit patron
    - The date of birth field datepicker shouldn't allow you to pick a
      future year from the dropdown.
    - Tools -> Calendar.
    - Test that the calendar tool works correctly.
    - Test with various settings of the dateformat system preference.
    
    TESTING TRANSLATABILITY
    
    - Update a translation, e.g. fr-FR:
    
      > cd misc/translator
      > perl translate update fr-FR
    
    - Open the corresponding .po file for JavaScript strings, e.g.
      misc/translator/po/fr-FR-messages-js.po
    - Locate strings pulled from
      koha-tmpl/intranet-tmpl/prog/en/js/calendar.js for translation,
      e.g.:
    
      msgid "August"
      msgstr ""
    
    - Edit the "msgstr" string however you want (it's just for testing).
    - Install the updated translation:
    
      > perl translate install fr-FR
    
    - Switch to your newly translated language in the staff client
      and test the datepicker again. Translated strings like days of
      the week and months should be correct.
    
    Signed-off-by: David Nind <[email protected]>
    
    Signed-off-by: Katrin Fischer <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit 701fde53ed703c751e37fd184de342838e8a9f2f)
    
    Signed-off-by: Lucas Gass <[email protected]>

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

Summary of changes:
 .../intranet-tmpl/prog/en/includes/calendar.inc    | 216 +-------------------
 koha-tmpl/intranet-tmpl/prog/js/calendar.js        | 218 +++++++++++++++++++++
 2 files changed, 227 insertions(+), 207 deletions(-)
 create mode 100644 koha-tmpl/intranet-tmpl/prog/js/calendar.js


hooks/post-receive
-- 
main Koha release repository
_______________________________________________
koha-commits mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to