]> git.koha-community.org Git - koha.git/commit
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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 4 Aug 2016 20:01:31 +0000 (20:01 +0000)
commit13004a8c649f1098f1ddd3be5a02b75bad27f3d8
treea1ac79fb45fcf9b600b861da4f8b4fd3c6ca054d
parent92626f55c88661d1e5b8dea57bdca412df004123
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt