Index: openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml,v diff -u -r1.34 -r1.35 --- openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml 6 Jan 2009 01:10:58 -0000 1.34 +++ openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml 15 Nov 2009 12:11:32 -0000 1.35 @@ -43,7 +43,7 @@ Minute Minuten Monat - Monate + Monaten H�ufigsten Besucher H�ufigst besuchten Seiten Neuer Eintrag @@ -92,5 +92,7 @@ mehr... Woche Wochen + Jahr + Jahren Pers�nliche Schlagworte Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -r1.129 -r1.130 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 15 Nov 2009 11:06:59 -0000 1.129 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 15 Nov 2009 12:11:32 -0000 1.130 @@ -851,6 +851,14 @@ categories-recent instproc initialize {} { my set style sections + # When pretty age is activated, this includedlet is not suited for + # caching (it could make sense e.g. when the age granularity is 1 + # minute or more). This measure here (turing off caching + # completely) is a little bit too much, but it is safe. + my get_parameters + if {[[my info class] cacheable] && $pretty_age ne "off"} { + [my info class] cacheable false + } } categories-recent instproc include_head_entries {} { Index: openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl 5 Nov 2009 12:34:16 -0000 1.7 +++ openacs-4/packages/xowiki/tcl/xowiki-utility-procs.tcl 15 Nov 2009 12:11:32 -0000 1.8 @@ -271,7 +271,8 @@ {-locale ""} {-levels 1} } { - # + + # # This is an internationalized pretty age functions, which prints # the rough date in a user friendly fashion. # @@ -327,11 +328,14 @@ } set time $msg set msg [::lang::message::lookup $locale xowiki.ago [list [list time $msg]]] - #append msg " ago" break } incr pos } + if {$msg eq ""} { + set time "0 [::lang::message::lookup $locale xowiki.seconds]" + set msg [::lang::message::lookup $locale xowiki.ago [list [list time $time]]] + } return $msg } }