]> git.koha-community.org Git - koha.git/commit
Bug 11672: Untranslatable dropdown on Guided Reports and dictionary
authorTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 24 Aug 2014 05:11:50 +0000 (02:11 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 23 Sep 2014 18:32:21 +0000 (15:32 -0300)
commit3f2dda2f3380b341bd9575d5626cdb9ac8889191
treee6a47968719140deefa3e30f54eb41e356f53400
parentb04f5ba8a0071609f756e96c50b0cad19780f3e2
Bug 11672: Untranslatable dropdown on Guided Reports and dictionary

This patch removes hardcoded descriptions and sets them in the templates
using the variable content as id.

To test, create a new guided report and verify the 'module to report on' dropdown
shows as usual [1]. Functionality shouldn't get changed.

The patch also changes the dictionary pages where 'area' should be displayed/selectable
with the same strings as the guided reports. Try all the possible disctionary pages.

The last page when creating a dictionary now shows the 'area description' instead of the
code. The same happens to the dictionary list once you have dictionaries saved.

[1] The following texts get changed:
    Catalogue -> Catalog
    Acquisition -> Acquisitions

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Reports/Guided.pm
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
reports/dictionary.pl
reports/guided_reports.pl