Bug 29695: Add new module Koha::Database::Columns
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 Dec 2021 16:27:37 +0000 (17:27 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Apr 2022 09:40:16 +0000 (11:40 +0200)
commitaae7c26aaba30caa7fe8e2f2374862ec1c97b709
tree6c2b82a22aab01cced0e0e4ac967241efaeb6ccb
parent6a3f1027ea33b38258088d1f651898facc6beb6c
Bug 29695: Add new module Koha::Database::Columns

This module will contain new strings and make them translatable using
Koha::I18N.

We will need to improve this module to prevent the dozens of __ calls
each time we retrieve the column list. We could either use memcached or
add a method to only retrieve columns for a given table.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Database/Columns.pm [new file with mode: 0644]
t/Koha/Database/Columns.t [new file with mode: 0755]
t/Koha/I18N/po/xx_XX/LC_MESSAGES/Koha.mo