[Koha-bugs] [Bug 13474] Untranslatable log actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 20 21:43:18 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13474

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtompset at hotmail.com

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
I think this is a good start. However:

mtompset at debian:~/kohaclone$ git grep "[         ]logaction(" | cut -f2 -d":" |
cut -f2 -d"," | cut -f2 -d"(" | sed -e "s#^ *##g" | sed -e "s#\"#'#g" | sort -u

'ADD'
'ADDCIRCMESSAGE'
'CHANGE PASS'
'CREATE'
'DELCIRCMESSAGE'
'DELETE'
'ISSUE'
'MODIFY'
'RENEW'
'RETURN'
'Run'
mtompset at debian:~/kohaclone$

[% BLOCK translate_log_action %]
[%    SWITCH action %]
[%        CASE 'ADD'    %]Add
[%        CASE 'DELETE' %]Delete
[%        CASE 'MODIFY' %]Modify
[%        CASE 'ISSUE'  %]Checkout
[%        CASE 'RETURN' %]Return
[%        CASE 'CREATE' %]Create
[%        CASE %][% action %]
[%    END %]
[% END %]

SCRATCH PAD:
'ADDCIRCMESSAGE'
'CHANGE PASS'
'DELCIRCMESSAGE'
'RENEW'
'Run'

There is one more action missing: 'Run'.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list