Commit ac06826643d6746c2e869116736a44913840c5a9

Authored by Brad Shuttleworth
1 parent ca244a30

fix for KTS-1281: transaction types aren't translateable.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5840 c91229c3-7414-0410-bfa2-8a42b809f60b
i18n/transactions.c 0 → 100644
  1 +gettext('Create');
  2 +gettext('Update');
  3 +gettext('Delete');
  4 +gettext('Rename');
  5 +gettext('Move');
  6 +gettext('Download');
  7 +gettext('Check In');
  8 +gettext('Check Out');
  9 +gettext('Collaboration Step Rollback');
  10 +gettext('View');
  11 +gettext('Expunge');
  12 +gettext('Force CheckIn');
  13 +gettext('Email Link');
  14 +gettext('Collaboration Step Approve');
  15 +gettext('Email Attachment');
  16 +gettext('Workflow state transition');
  17 +gettext('Permissions changed');
  18 +gettext('Role allocations changed');
  19 +gettext('Bulk Export');
... ...
templates/ktcore/document/transaction_history.smarty
... ... @@ -18,7 +18,7 @@
18 18 {foreach item=aTransactionRow from=$transactions}
19 19 <tr class="{cycle options=even,odd}">
20 20 <td class="username">{$aTransactionRow.user_name}</td>
21   - <td class="action">{$aTransactionRow.transaction_name}</td>
  21 + <td class="action">{i18n}{$aTransactionRow.transaction_name}{i18n}</td>
22 22 <td class="date">{$aTransactionRow.datetime}</td>
23 23 <td class="contentversion">{$aTransactionRow.version}</td>
24 24 <td class="comment">{$aTransactionRow.comment}</td>
... ...