Bugzilla – Attachment 63732 Details for
Bug 18675
Translatability: Get rid of [%% in translation for csv-profiles.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18675: Translatability: Get rid of [%% in translation for csv-profiles.tt
Bug-18675-Translatability-Get-rid-of--in-translati.patch (text/plain), 1.69 KB, created by
Marc Véron
on 2017-05-26 09:11:14 UTC
(
hide
)
Description:
Bug 18675: Translatability: Get rid of [%% in translation for csv-profiles.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-05-26 09:11:14 UTC
Size:
1.69 KB
patch
obsolete
>From 67ed2fa6199216ca48b18932bf56ea5fc82e4935 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Fri, 26 May 2017 11:06:56 +0200 >Subject: [PATCH] Bug 18675: Translatability: Get rid of [%% in translation for > csv-profiles.tt > >Translation tool for file csv-profiles.tt picks following line: >%s [%% IF csv_profile.encoding == encoding OR NOT csv_profile AND encoding == 'utf8' %%] >It is is due to a line break inside a template directive. This patch removes it. > >To test: >- Verify that code change makes sense >- Apply patch >- Verify that csv exports behave as before >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >index 45a1193..11bb166 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >@@ -161,8 +161,7 @@ function reloadPage(p) { > <li class="marc_specific"><label for="encoding">Encoding: </label> > <select name="encoding" id="encoding"> > [% FOREACH encoding IN encodings %] >- [% IF csv_profile.encoding == encoding >- OR NOT csv_profile AND encoding == 'utf8' %] >+ [% IF csv_profile.encoding == encoding OR NOT csv_profile AND encoding == 'utf8' %] > <option selected="selected">[% encoding %]</option> > [% ELSE %] > <option>[% encoding %]</option> >-- >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 18675
:
63732
|
63998