From 60fbe0b39b02e9d1ce4521883c86b4783f4b9d4e Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 18 Apr 2011 17:37:02 +0200 Subject: [PATCH] translate verb items at display time --- include/conversation.php | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 4c858d8187..a1ce19a7ab 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1,5 +1,34 @@ $item['id'], '$delete' => t('Delete'))); - + // + localize_item($item); $drop = replace_macros($droptpl,array('$id' => $item['id'])); $lock = '
'; @@ -384,6 +413,9 @@ function conversation(&$a, $items, $mode, $update) { if(strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC','now - 12 hours')) > 0) $indent .= ' shiny'; + // + localize_item($item); + // Build the HTML $tmp_item = replace_macros($template,array(