Bugzilla – Attachment 64723 Details for
Bug 18654
Translatability: Get rid of tt directives starting with [%% in translation for itemsearch.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18654 - Translatability: Get rid of tt directives starting with [%% in translation for itemsearch.tt
Bug-18654---Translatability-Get-rid-of-tt-directiv.patch (text/plain), 3.36 KB, created by
Marc Véron
on 2017-06-29 13:26:42 UTC
(
hide
)
Description:
Bug 18654 - Translatability: Get rid of tt directives starting with [%% in translation for itemsearch.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-06-29 13:26:42 UTC
Size:
3.36 KB
patch
obsolete
>From 9c0dddf09887a20894afffba2596f88476bea33d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Thu, 29 Jun 2017 15:22:54 +0200 >Subject: [PATCH] Bug 18654 - Translatability: Get rid of tt directives > starting with [%% in translation for itemsearch.tt > >This patch removes entries like the following in translations of itemsearch.tt: >"[%% INCLUDE form_field_select name=\"homebranch\" options = branches " >"empty_option = \"All libraries\" %%] [%% INCLUDE form_field_select name=" >"\"holdingbranch\" options = branches empty_option = \"All libraries\" %%] %s " >"[%% INCLUDE form_field_select name=\"location\" options = locations " >"empty_option = \"All locations\" %%] %s " > >New patch on top of Bug 18633 that resolves parts of initial comment. > >To test: >- Verify that in itemsearch.tt no tt directives are splitted by new lines > (search for [% INCLUDE ) >- Verify that itemsearch.tt works as before >--- > .../prog/en/modules/catalogue/itemsearch.tt | 36 ++++------------------ > 1 file changed, 6 insertions(+), 30 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index f7d5a3c..ff5b090 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -358,41 +358,17 @@ > </fieldset> > </div> > <fieldset> >- [% INCLUDE form_field_select >- name="homebranch" >- options = branches >- empty_option = "All libraries" >- %] >- [% INCLUDE form_field_select >- name="holdingbranch" >- options = branches >- empty_option = "All libraries" >- %] >+ [% INCLUDE form_field_select name="homebranch" options = branches empty_option = "All libraries" %] >+ [% INCLUDE form_field_select name="holdingbranch" options = branche empty_option = "All libraries" %] > [% IF locations.size %] >- [% INCLUDE form_field_select >- name="location" >- options = locations >- empty_option = "All locations" >- %] >+ [% INCLUDE form_field_select name="location" options = locations empty_option = "All locations" %] > [% END %] > </fieldset> > <fieldset> >- [% INCLUDE form_field_select >- name="itype" >- options = itemtypes >- empty_option = "All item types" >- %] >- [% INCLUDE form_field_select >- name="ccode" >- options = ccodes >- empty_option = "All collection codes" >- %] >+ [% INCLUDE form_field_select name="itype" options = itemtypes empty_option = "All item types" %] >+ [% INCLUDE form_field_select name="ccode" options = ccodes empty_option = "All collection codes" %] > [% IF notforloans.size %] >- [% INCLUDE form_field_select >- name="notforloan" >- options = notforloans >- empty_option = "All statuses" >- %] >+ [% INCLUDE form_field_select name="notforloan" options = notforloans empty_option = "All statuses" %] > [% END %] > </fieldset> > <fieldset> >-- >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 18654
:
63643
|
63773
|
64177
|
64723
|
65407
|
66640
|
67082