Translation tool for file csv-profiles.tt picks following line: %s [%% IF csv_profile.encoding == encoding OR NOT csv_profile AND encoding == 'utf8' %%] This is due to a line break inside a template directive.
Created attachment 63732 [details] [review] 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
I have added a check to our QA script: commit 594843834db69745d4bd0debc1dfb71433542500 TT tags should not be defined on several lines That breaks our translate script See bug 18675.
(In reply to Jonathan Druart from comment #2) > I have added a check to our QA script: > > commit 594843834db69745d4bd0debc1dfb71433542500 > TT tags should not be defined on several lines > That breaks our translate script > See bug 18675. Great!
Created attachment 63998 [details] [review] 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 Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Trivial, skipping QA.
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, will be in 17.05.01
This patch has been pushed to 16.11.x and will be in 16.11.09.
Pushed to 16.05.x, for 16.05.15 release