From 3ffe1f7679138d802b32adadcd6ef2cc38f118b6 Mon Sep 17 00:00:00 2001 From: Ɓukasz Wilenski Date: Sat, 24 Apr 2010 14:42:15 +0000 Subject: translate image and file size --- includes/functions/functions_print_facts.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'includes/functions/functions_print_facts.php') diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index 4ebfd1dae1..92d5dc7772 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -192,8 +192,11 @@ function print_fact(&$eventObj, $noedit=false) { echo ""; if ($SHOW_FACT_ICONS) echo $eventObj->Icon(), ' '; - if ($ct>0) echo $factref; - else echo translate_fact($factref, $label_person); + if ($ct>0) { + if ($factref=='image_size') echo i18n::translate('Image Dimensions'); + else if ($factref=='file_size') echo i18n::translate('File Size'); + else echo $factref; + } else echo translate_fact($factref, $label_person); if (!$noedit && WT_USER_CAN_EDIT && $styleadd!="change_old" && $linenum>0 && $view!="preview" && !FactEditRestricted($pid, $factrec)) { $menu = new Menu(i18n::translate('Edit'), "#", "right", "down"); $menu->addOnclick("return edit_record('$pid', $linenum);"); -- cgit v1.3