[Koha-bugs] [Bug 29695] Centralize columns' descriptions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 18 16:23:19 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29695
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |In Discussion
--- Comment #40 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Ok, it works. Tests pass.
The question is: is this what we want?
We are basically moving column descriptions handling into a better place (i.e.
a Koha class that is more normal that what we had before), we are getting rid
of a mix XML (columns.def) or json where those descriptions lived.
But on doing so we are:
- Moving translatable strings to Koha::*
- Adding some overhead by the way we use __.
It feels like overall is ok, but the descriptions should live in an external
per-language file that is translated 'the usual way' and loaded only once when
the class is instantiated (class?, it should be a proper class, so each process
that instantiates it can initialize it with the current language).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list