diff options
Diffstat (limited to 'includes/functions')
| -rw-r--r-- | includes/functions/functions_print_facts.php | 7 |
1 files changed, 5 insertions, 2 deletions
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 "<td class=\"descriptionbox $styleadd center width20\">"; 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);"); |
