Bug 11392: Allow translating the viewlog module and action names
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Fri, 9 May 2014 10:40:14 +0000 (13:40 +0300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 23 May 2014 14:55:25 +0000 (14:55 +0000)
commit47f7cc89008313444c40e2051355e8b4684d342d
treed89957068eeec94470c7ab3942b4e9ff18a2a63f
parent41def6af1dc574cee0b88ce99a2af1d983809b1c
Bug 11392: Allow translating the viewlog module and action names

When viewing the logs, the user can see module and action,
such as "SYSTEMPREFERENCE", "MEMBERS" or "CREATE", "MODIFY", etc.
These texts are not translatable.

This patch allows translating those. It also adds the missing "CREATE"
action to the pulldown.

To test:

1) Go browse the system logs. Note the contents of the "Action" and
"Module" -pulldowns, and the contents of those columns in the log table.
2) Apply patch
3) Go browse the system logs again. The pull-downs should work, and
show the same values as before (plus "Create" for Action), and the
Action and Module -columns in the log table should not be in ALL CAPS.
4) cd misc/translator
5) perl translate update xx-YY
6) Check that the po/xx-YY-i-staff-t-prog-v-3006000.po contains the
values for the pull-downs in it. (Look for eg. "System prefs")

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt