[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.05-57-ge47f2132ad

Git repo owner gitmaster at git.koha-community.org
Fri Nov 13 23:06:50 CET 2020


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  e47f2132add2b132806caeeff1631059b0f1cba8 (commit)
      from  8232e315ad9b08a33e0f7b0a5a5c06a5a00f823d (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 e47f2132add2b132806caeeff1631059b0f1cba8
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Tue Oct 20 11:22:07 2020 +0000

    Bug 26619: Cart - The "Print" button is only translated when you are in "More details" mode
    
    This patch adds the "Print" string to datatables.js so that it can be
    picked up for translation.
    
    To test, apply the patch and add some items to the cart in the OPAC.
    
    - Open the cart. You should see a button labeled "Print."
    - The print button should work correctly.
    
    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,
      misc/translator/po/fr-FR-messages-js.po
    - Locate strings pulled from
      koha-tmpl/opac-tmpl/bootstrap/js/datatables.js for translation:
    
      msgid "Print"
      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 OPAC and
      repeat the test plan above. The translated strings should appear.
    
    Signed-off-by: David Nind <david at davidnind.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 599a6cb92e26e37857b344484d6c8b233555f0dc)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 koha-tmpl/opac-tmpl/bootstrap/js/datatables.js | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list