[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.04-48-gb17412d

Git repo owner gitmaster at git.koha-community.org
Fri Sep 29 15:54:11 CEST 2017


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, 17.05.x has been updated
       via  b17412da1b14dca4d42ed534482abdeff1c2fd2f (commit)
       via  b1bce06e515e22482ca555b85da19f965b475f5f (commit)
      from  78e527129b0b547eff7311c3f25a4b1f679d2a97 (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 b17412da1b14dca4d42ed534482abdeff1c2fd2f
Author: Marc Véron <veron at veron.ch>
Date:   Sun Jun 11 20:16:46 2017 +0200

    Bug 18777: Translatability: Get rid of exposed tt directives in opac-memberentry.tt
    
    The file opac-memberentry.tt exposes template directives to translation where
    translators should not be confronted with.
    
    Example from po file:
    "%s [%% UNLESS hidden.defined('B_address') && hidden.defined('B_address2') && "
    "hidden.defined('B_city') && hidden.defined('B_state') && hidden."
    "defined('B_zipcode') && hidden.defined('B_country') && hidden."
    "defined('B_phone') && hidden.defined('B_email') && hidden."
    "defined('contactnote') %%] "
    
    To test:
    - Apply patch
    - Verify that advanced search in OPAC the page 'your personal details'
      behaves as before
    - Verify that you can change values and submit an update request
    - Create a new translation for a 'language' aa-AA (perl translate create aa-AA)
    - Verify that template directives ar no longer exposed in aa-AA-opac-bootstrap.p
    
    NOTE: Followed test plan similar to bug 18776 comment 3.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 9ed4bdc87e92506ba4a51f92cc198f3c5ce282eb)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit b1bce06e515e22482ca555b85da19f965b475f5f
Author: Marc Véron <veron at veron.ch>
Date:   Sun Jun 11 16:54:28 2017 +0200

    Bug 18776: Translatability: Get rid of exposed tt directives in opac-advsearch.tt
    
    The file opac-advsearch.tt exposes template directives to translation where translators should not be confronted with.
    Example in po file:
    "[%% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype')."
    "size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and "
    "OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) "
    "%%] "
    
    To test:
    - Apply patch
    - Verify that advanced search in OPAC behaves as before
    - Create a new translation for a 'language' aa-AA (perl translate create aa-AA)
    - Verify that template directives ar no longer exposed in aa-AA-opac-bootstrap.po
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit ae684fc9491102ba0b560ca6f414a325e763b31a)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 .../bootstrap/en/modules/opac-advsearch.tt         |   24 +-
 .../bootstrap/en/modules/opac-memberentry.tt       |  244 ++++++++------------
 2 files changed, 106 insertions(+), 162 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list