[Koha-bugs] [Bug 4996] Untranslatable strings in budget/fund toolbar

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 20 20:35:44 CEST 2010


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|chris at bigballofwax.co.nz    |oleonard at myacpl.org

--- Comment #1 from Owen Leonard <oleonard at myacpl.org>  ---
Created attachment 2396
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2396
Proposed fix

I think the problem is that the template is mixing a TMPL_VAR with the string
to be translated:

{ text: _("Duplicate budget '<!-- TMPL_VAR NAME="budget_period_description"
-->'") }

My patch breaks that kind of construction into to parts with the translatable
string separate:

{ text: _("Duplicate budget") + " '<!-- TMPL_VAR
NAME="budget_period_description" -->'" }

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list