From 30ab912812786f3178ef1da510634e4722f419c0 Mon Sep 17 00:00:00 2001 From: bshuttle Date: Wed, 16 Aug 2006 13:39:33 +0000 Subject: [PATCH] fix for KTS-1281: transaction types aren't translateable. --- i18n/transactions.c | 19 +++++++++++++++++++ templates/ktcore/document/transaction_history.smarty | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 i18n/transactions.c diff --git a/i18n/transactions.c b/i18n/transactions.c new file mode 100644 index 0000000..6111fd5 --- /dev/null +++ b/i18n/transactions.c @@ -0,0 +1,19 @@ +gettext('Create'); +gettext('Update'); +gettext('Delete'); +gettext('Rename'); +gettext('Move'); +gettext('Download'); +gettext('Check In'); +gettext('Check Out'); +gettext('Collaboration Step Rollback'); +gettext('View'); +gettext('Expunge'); +gettext('Force CheckIn'); +gettext('Email Link'); +gettext('Collaboration Step Approve'); +gettext('Email Attachment'); +gettext('Workflow state transition'); +gettext('Permissions changed'); +gettext('Role allocations changed'); +gettext('Bulk Export'); diff --git a/templates/ktcore/document/transaction_history.smarty b/templates/ktcore/document/transaction_history.smarty index 6b623db..9e7a043 100644 --- a/templates/ktcore/document/transaction_history.smarty +++ b/templates/ktcore/document/transaction_history.smarty @@ -18,7 +18,7 @@ {foreach item=aTransactionRow from=$transactions} {$aTransactionRow.user_name} - {$aTransactionRow.transaction_name} + {i18n}{$aTransactionRow.transaction_name}{i18n} {$aTransactionRow.datetime} {$aTransactionRow.version} {$aTransactionRow.comment} -- libgit2 0.21.4