]> git.koha-community.org Git - koha.git/commit
Bug 18660: Translatability: Get rid of template directives [%% in translation for...
authorMarc Véron <veron@veron.ch>
Tue, 23 May 2017 15:09:49 +0000 (17:09 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 15 Sep 2017 23:00:21 +0000 (01:00 +0200)
commit353d5a1560976c34152ada5895d15446b8cc1754
tree9d6c6b5a9af77cc3cd951750f878dda68684cdbb
parent3e561bb3d6b1cca470340dd1aa22dab44fc8d193
Bug 18660: Translatability: Get rid of template directives [%% in translation for patroncards-errors.inc

Translation for koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc
contains a lot of (partial) template directives like:
%%]%s %sLayout: [%%

This patch fixes it

To test:
- Verify that code changes make sense
- Apply patch
- Create a translation (cd misc/translator , then: perl translate create aa-AA
- Verify that in po/aa-AA-staff-prog.po contains no fragments like %%] or [%%
  for patroncards-errors.inc
- Try to get an error: Try a link like
  http://[YOUR SERVER]/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=1&template_id=999&layout_id=999&start_card=1
  ...where template_id and layout_id do not exist

(Amended for comment #2 2017-06-05 mv)
(Amended for comment #6 2017-08-02 mv)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7e39bbc61aedd6383f4d6a1b4728711c6922e877)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 036b317c0c0e96b0eb344d767cca7f87da4fb875)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc