Index: openacs-4/packages/xowiki/xowiki.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/xowiki.info,v diff -u -r1.100 -r1.101 --- openacs-4/packages/xowiki/xowiki.info 9 Oct 2008 11:01:43 -0000 1.100 +++ openacs-4/packages/xowiki/xowiki.info 10 Oct 2008 18:21:41 -0000 1.101 @@ -8,11 +8,11 @@ f xowiki - + Gustaf Neumann A more generic xotcl-based wikis example with object types and subtypes based on the content repository (with category support) - 2008-10-09 + 2008-10-10 Gustaf Neumann, WU Wien <pre> XoWiki is a Wiki implementation for OpenACS in XOTcl. Instead of @@ -54,23 +54,24 @@ BSD-Style 0 - + - + - - + + + @@ -82,6 +83,7 @@ + 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.31 -r1.32 --- openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml 8 Oct 2008 11:03:13 -0000 1.31 +++ openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml 10 Oct 2008 18:21:41 -0000 1.32 @@ -3,14 +3,17 @@ Zusammenfassung Verwalten + Verwaltungsoptionen f�r dieses Paket ... Zur�ck Kategorien Neuen Eintrag vom Typ %type% erstellen Erzeuge diese Seite in der folgenden Sprache: L�schen + L�sche diese Seite ... N�here Information Bearbeiten bearbeiten + Editiere diese Seite ... Eintr�ge f�r das Formular %form%: Dieses Formular wird noch von %count% Eintr�gen verwendet. Bitte verwenden Sie diese, bevor Sie das Formular l�schen. Termin @@ -23,13 +26,21 @@ Einschr�nkungen Eintr�ge f�r dieses Formular Formular ausf�llen + Besucher + Besuche Index + Zur Startseite + Zuletzt besuchte Seiten + H�ufigsten Besucher + H�ufigst besuchten Seiten Neuer Eintrag Quelle Kurztext Verst�ndigungen - Creator + Verwalten der Verst�ndigungen ... + Ersteller Kurzbeschreibung + �nderungsdatum Name Eindeutige Kurzbezeichnung f�r einen Eintrag im Ordner; enth�lt meist nur Kleinbuchstaben Sprache @@ -51,12 +62,17 @@ �ndern Sie entweder den Namen des existierenden Portlets oder den Titel der Xowiki-Seite, die Sie zum Portal hinzuf�gen wollen. Es gibt bereits ein Portlet mit dem Titel '%page_title%' in diesem Portal. Freigegeben + Zuletzt ge�nderte Seiten + Zuletzt ge�nderte Seiten (nach Kategorien) Verweise auf diese Seite: Verlauf + RSS-Klient Suche + Suche in diesem Wiki... Titel Titel + Ungelesene Seiten Ansehen mehr... Pers�nliche Schlagworte Index: openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml,v diff -u -r1.46 -r1.47 --- openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml 8 Oct 2008 11:03:13 -0000 1.46 +++ openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml 10 Oct 2008 18:21:41 -0000 1.47 @@ -61,8 +61,13 @@ Cut&Paste URL of YouTube video (http://www.youtube.com/....) Assignee State + Visitors + Visits Index Go to the start page of this package ... + Last Visited Pages + Most Frequent Visitors + Most Popular Pages New Page Create a new page ... Source @@ -101,16 +106,20 @@ Please either change the existing portlets' name or the title of the xowiki page you want to add to the portal. A portlet with the title '%page_title%' already exists in this portal. Published + Recently Changed Pages + Recently Changed Pages (by categories) References to this Page: References of this Page: Revisions Show revisions of this page ... %errorMsg% + RSS Client Search Search pages of this package ... Title Title + Unread Items View View this page ... more... 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.65 -r1.66 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 10 Oct 2008 16:53:47 -0000 1.65 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 10 Oct 2008 18:21:41 -0000 1.66 @@ -339,9 +339,11 @@ set class [namespace tail [my info class]] set id [expr {[my exists id] ? "id='[my id]'" : ""}] set html [next] + set localized_title [::xo::localize $title] set link [expr {[string match "*:*" $name] ? - "$title" : - $title}] + "$localized_title" : + $localized_title}] + ::xo::render_localizer return [subst [[self class] set template]] } -set template [expr {[apm_version_names_compare [ad_acs_version] 5.3.0] == 1 ? {
@@ -500,7 +502,7 @@ -superclass ::xowiki::Includelet \ -cacheable true -personalized false -aggregating true \ -parameter { - {title "Categories"} + {title "#xowiki.categories#"} {parameter_declaration { {-tree_name ""} {-tree_style:boolean 1} @@ -679,7 +681,7 @@ -superclass ::xowiki::Includelet \ -cacheable true -personalized false -aggregating true \ -parameter { - {title "Recently Changed Pages by Categories"} + {title "#xowiki.recently_changed_pages_by_categories#"} {parameter_declaration { {-max_entries:integer 10} {-tree_name ""} @@ -749,7 +751,7 @@ ::xowiki::IncludeletClass create recent \ -superclass ::xowiki::Includelet \ -parameter { - {title "Recently Changed Pages"} + {title "#xowiki.recently_changed_pages#"} {parameter_declaration { {-max_entries:integer 10} {-allow_edit:boolean false} @@ -764,7 +766,7 @@ -set allow_edit $allow_edit \ -set allow_delete $allow_delete \ -columns { - Field date -label "Modification Date" + Field date -label [_ xowiki.Page-last_modified] if {[[my info parent] set allow_edit]} { ImageField_EditIcon edit -label "" -html {style "padding-right: 2px;"} } @@ -819,7 +821,7 @@ ::xowiki::IncludeletClass create last-visited \ -superclass ::xowiki::Includelet \ -parameter { - {title "Last Visited Pages"} + {title "#xowiki.last_visited_pages#"} {parameter_declaration { {-max_entries:integer 20} }} @@ -862,7 +864,7 @@ ::xowiki::IncludeletClass create most-popular \ -superclass ::xowiki::Includelet \ -parameter { - {title "Most Popular Pages"} + {title "#xowiki.most_popular_pages#"} {parameter_declaration { {-max_entries:integer "10"} {-interval} @@ -907,8 +909,8 @@ TableWidget t1 -volatile \ -columns { AnchorField title -label [::xowiki::Page::slot::title set pretty_name] - Field count -label Visits -html { align right } - Field users -label Visitors -html { align right } + Field count -label [_ xowiki.includelets-visits] -html { align right } + Field users -label [_ xowiki.includelet-visitors] -html { align right } } db_foreach [my qn get_pages] \ [::xo::db::sql select \ @@ -939,7 +941,7 @@ ::xowiki::IncludeletClass create rss-client \ -superclass ::xowiki::Includelet \ -parameter { - {title "RSS client"} + {title "#xowiki.rss_client#"} {parameter_declaration { {-url:required} {-max_entries:integer "15"} @@ -986,7 +988,7 @@ ::xowiki::IncludeletClass create most-frequent-visitors \ -superclass ::xowiki::Includelet \ -parameter { - {title "Most Frequent Visitors"} + {title "#xowiki.most_frequent_visitors#"} {parameter_declaration { {-max_entries:integer "15"} }} @@ -1033,7 +1035,7 @@ ::xowiki::IncludeletClass create unread-items \ -superclass ::xowiki::Includelet \ -parameter { - {title "Unread Items"} + {title "#xowiki.unread_items#"} {parameter_declaration { {-max_entries:integer 20} }} Index: openacs-4/packages/xowiki/www/admin/list.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/list.tcl,v diff -u -r1.24 -r1.25 --- openacs-4/packages/xowiki/www/admin/list.tcl 27 Sep 2008 17:27:57 -0000 1.24 +++ openacs-4/packages/xowiki/www/admin/list.tcl 10 Oct 2008 18:21:41 -0000 1.25 @@ -79,7 +79,7 @@ AnchorField title -label [_ xowiki.Page-title] -orderby title Field object_type -label [_ xowiki.page_type] -orderby object_type -html {style "padding: 2px;"} Field size -label "Size" -orderby size -html {align right style "padding: 2px;"} - Field last_modified -label "Last Modified" -orderby last_modified + Field last_modified -label [_ xowiki.Page-last_modified] -orderby last_modified Field mod_user -label "By User" -orderby mod_user ImageField_DeleteIcon delete -label "" ;#-html {onClick "return(confirm('Confirm delete?'));"} }