[Koha-bugs] [Bug 14485] HTML comment disables translation in cataloguing/addbooks.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 3 17:46:03 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14485

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40754|0                           |1
        is obsolete|                            |

--- Comment #5 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 40782
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40782&action=edit
Bug 14485 - HTML comment disables translation in cataloguing/addbooks.tt

In cataloguing/addbooks.tt, the line :
  [% total %] result(s) found in catalog,
is not present in PO files even after an update.
I've found that the cause is the previous HTML comment line.

This patch converts HTML comment into TT comment and adds a div to have a more
comprehensive string to translate.

Test plan :
- without patch
- go into <sources>/misc/translator
- run PO update for example in french : translate update fr-FR
=> the text "result(s) found in catalog" is missing from PO file :
fr-FR-staff-prog.po
- restore default PO files
- apply patch
- go into <sources>/misc/translator
- run PO update for example in french : translate update fr-FR
=> You find text "result(s) found in catalog" in PO file : fr-FR-staff-prog.po

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


More information about the Koha-bugs mailing list