From 79338bde3e01708fe331a54745f45c620c121805 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Fri, 4 Aug 2017 10:52:13 +0200 Subject: [PATCH] Bug 18649: Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt New patch without trailing IF construction in tt directives as requested in comment #28 To test: Verify that translation tool no longer shows tt directives as described in comment #1 New patch, needs SO. Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 6 +++++- .../prog/en/modules/onboarding/onboardingstep2.tt | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt index 2f965dd099..4bdb146a54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt @@ -89,7 +89,11 @@
  1. - months + [% IF category.enrolmentperiod %] + months + [% ELSE %] + months + [% END %]
  2. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt index 45e5f3dea8..6a9bdfabb3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt @@ -101,7 +101,11 @@
  3. - + [% IF category.enrolmentperiod %] + + [% ELSE %] + + [% END %]
  4. -- 2.39.5