Bugzilla – Attachment 121434 Details for
Bug 28462
TT tag on several lines break the translator tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28462: Remove TT tag on several lines - opac-advsearch.tt
Bug-28462-Remove-TT-tag-on-several-lines---opac-ad.patch (text/plain), 1.94 KB, created by
Jonathan Druart
on 2021-05-26 14:27:35 UTC
(
hide
)
Description:
Bug 28462: Remove TT tag on several lines - opac-advsearch.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-26 14:27:35 UTC
Size:
1.94 KB
patch
obsolete
>From 5affe88f0d9a6440ca3b386bcdf3636fdc58c082 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 26 May 2021 16:24:32 +0200 >Subject: [PATCH] Bug 28462: Remove TT tag on several lines - opac-advsearch.tt > >It fixes the translation in case the operators have been translated > >Test plan: >1. update/install pt-BR >2. Use pt-BR and hit opac-advsearch.pl >3. Notice the error >Template process failed: file error - parse error - /kohadevbox/koha/koha-tmpl/opac-tmpl/bootstrap/pt-BR/modules/opac-advsearch.tt line 409: unexpected token (e) [% IF (OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size> 0 e extended_options) ou (OpacAdvSearchOptions and OpacAdvSearchOptions.size> 0 e n expandido_options) %] at /kohadevbox/koha/C4/Templates.pm >4. Apply the patch and repeat 1 and 2 >Note that it's now working >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 3db62831e88..8f5a4ffe71e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -421,8 +421,7 @@ > [% END %] > [% END # / IF expanded_options %] > >- [% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or >- ( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not expanded_options ) %] >+ [% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or ( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not expanded_options ) %] > <div class="text-center"> > <fieldset class="action"> > <!-- SEARCH BUTTONS --> >-- >2.20.1
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 28462
:
121434
|
122309
|
122311
|
122498
|
122499
|
122589
|
122590