Bugzilla – Attachment 65494 Details for
Bug 18649
Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18649: (New patch) Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt
Bug-18649-New-patch-Translatability-Get-rid-of-tt-.patch (text/plain), 3.58 KB, created by
Marc Véron
on 2017-08-04 09:01:17 UTC
(
hide
)
Description:
Bug 18649: (New patch) Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-08-04 09:01:17 UTC
Size:
3.58 KB
patch
obsolete
>From df803cabc29f3a50f2cf575afe55ccad0c7a752d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Fri, 4 Aug 2017 10:52:13 +0200 >Subject: [PATCH] Bug 18649: (New patch) 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. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 6 +++++- > .../intranet-tmpl/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 e33b36f..495bebb 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 @@ > <ol> > <li> > <label for="enrolmentperiod" style="width:6em;">In months: </label> >- <input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[% IF category.enrolmentperiod %][% category.enrolmentperiod %][% END %]" /> months >+ [% IF category.enrolmentperiod %] >+ <input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[% category.enrolmentperiod %]" /> months >+ [% ELSE %] >+ <input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="" /> months >+ [% END %] > </li> > <li> > <label for="enrolmentperioddate" style="width:6em;">Until date: </label> >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 45e5f3d..6a9bdfa 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 @@ > </li> > <li> > <label for="enrolmentperiod">In months: </label> >- <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% IF category.enrolmentperiod %][% category.enrolmentperiod %][% END %]" /> >+ [% IF category.enrolmentperiod %] >+ <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% category.enrolmentperiod %]" /> >+ [% ELSE %] >+ <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="" /> >+ [% END %] > </li> > <li> > <label for="enrolmentperioddate">Until date: </label> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18649
:
63626
|
63724
|
63757
|
63937
|
64049
|
64079
|
65494
|
65495
|
65501