https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36357 --- Comment #23 from Julian Maurice <julian.maurice@biblibre.com> --- (In reply to Jonathan Druart from comment #21)
To be honest I would prefer to have only one solution. If we decide to move to this one, then adjust the previous occurrences. Would you agree with that, Julian? Then we would need to also add the "context variants" (see commit message). Not a problem, just a little more work.
I'm not sure I completely agree though. Functions can be useful where filters cannot be easily used. But we can drop the MACROs that pollute global namespace and keep functions under the i18n namespace. Filters would be always available (so they would become naturally the preferred method), and, only when needed, we could USE I18N and its functions. It's not a strong opinion. If more people believe they should be removed, I'm fine with it. -- You are receiving this mail because: You are watching all bug changes.