Bug 16871: Translatability: Avoid [%%-problem and fix related sentence splitting...
authorMarc Véron <veron@veron.ch>
Tue, 5 Jul 2016 05:14:26 +0000 (07:14 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 5 Aug 2016 06:58:24 +0000 (08:58 +0200)
commit536acf312012b29df27191683a313d097b176c1e
tree050452e6b2d808856271398ccf067b41eaafe7a4
parentdf0efd70da3486969b0601a5d3018f2f8cd49a52
Bug 16871: Translatability: Avoid [%%-problem and fix related sentence splitting in catalogue/detail.tt

In koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt,
fix line splitted TT directives and sentence splitting leading
to translatability problems. (See first comment).

To test:
- Apply patch
- Go to detail pages of biblios with waiting holds
- Verify that messages in column 'Status' are OK
- Examine code in patch to make sure that the simplification in logic
  makes sense and that no TT directive is splitted
- Bonus test:
  - Go to folder misc/translator. Run perl translate create xx-XX
  - Verify that monster mentioned in first comment no longer exists
    (in po/xx-XX-staff-prog.po)

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Amended for wording (comment #5) 2016-07-26 mv

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 13004a8c649f1098f1ddd3be5a02b75bad27f3d8)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt