Bugzilla – Attachment 63625 Details for
Bug 18641
Translatability: Get rid of template directives in translations for *reserves.tt files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18649: Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt
Bug-18649-Translatability-Get-rid-of-tt-directive-.patch (text/plain), 3.16 KB, created by
Marc Véron
on 2017-05-22 16:07:40 UTC
(
hide
)
Description:
Bug 18649: Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-05-22 16:07:40 UTC
Size:
3.16 KB
patch
obsolete
>From 88e72d700405b5dda29b424eb01f98e0197a44f8 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 22 May 2017 18:03:01 +0200 >Subject: [PATCH] Bug 18649: Translatability: Get rid of tt directive in > translation for admin/categories.tt and onboardingstep2.tt > >Translation tool shows >[% IF category.enrolmentperiod %][% category.enrolmentperiod %][% END %] >for en/modules/admin/categories.tt and >koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt > >This patch fixes it. > >To test: >- Apply patch >- Verify that code changes make sense >- Verify that template directive is no longer picked by translation > >https://bugs.koha-community.org/show_bug.cgi?id=18641 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt | 2 +- > 2 files changed, 2 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..c5b8b03 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,7 @@ > <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 >+ <input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[%- category.enrolmentperiod IF category.enrolmentperiod -%]" /> months > </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 e58616a..2236955 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,7 @@ > </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 %]" /> >+ <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% category.enrolmentperiod IF category.enrolmentperiod %]" /> > </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 18641
:
63584
|
63608
|
63625
|
63928
|
63965
|
64078