]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 13:38:13 +0000 (15:38 +0200)
commit0b3afeef401d7e082c6c43ccfe486f74f29881dc
treeb31e6f354a4ce206776efbbb46d1215862bddb98
parent9a19c7d35af569beb6a40a13d3b35be7506334c2
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>
(cherry picked from commit 536acf312012b29df27191683a313d097b176c1e)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt