[Koha-bugs] [Bug 18701] Translatability: Get rid of exposed tt directives in matching-rules.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 30 17:56:03 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18701

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 63849
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63849&action=edit
Bug 18701: Translatability: Get rid of exposed tt directives in
matching-rules.tt

Translation for file matching-rules.tt exposes a lot of template directives.

Translators should not be confronted with internal code like the following:

[%% PROCESS norms_select selected_norm=\"none\" id=\"mc_1_src_c_1_n_1_norm\"
"name=\"mc_1_src_c_1_n_1_norm\" %%]

To test:
- Apply patch
- Verify that code changes make sense (removes line breaks in directives)
- Run QA tools in newset version (tests for line breaks in tt)
- Bonus test: create a new translation e.g. fpr language 'aa-AA', verify
  that such lines no longer appear in po/aa-AA-staff-prog.po
  (for matching-rules.tt)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list