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.191.2.22 -r1.191.2.23 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 21 Feb 2015 14:30:17 -0000 1.191.2.22 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 3 Mar 2015 16:00:12 -0000 1.191.2.23 @@ -656,14 +656,14 @@ # set href "[[my package_id] package_url]?edit-category-tree&object_id=$object_id&tree_id=$tree_id" return [[my set __including_page] include \ - [list edit-item-button -link $href -title "Edit Category Tree" -target _blank]] + [list edit-item-button -link $href -title [_ xowiki.Edit_category] -target _blank]] } else { # # ... otherwise, manage categories (allow defining new category trees, map/unmap, etc.) # set href "[[my package_id] package_url]?manage-categories&object_id=$object_id" return [[my set __including_page] include \ - [list edit-item-button -link $href -title "Manage Categories" -target _blank]] + [list edit-item-button -link $href -title [_ xowiki.Manage_categories] -target _blank]] } } return "" @@ -1114,7 +1114,7 @@ TableWidget t1 -volatile \ -columns { AnchorField title -label [::xowiki::Page::slot::title set pretty_name] - Field users -label Visitors -html { align right } + Field users -label [_ xowiki.includelet-visitors] -html { align right } } set since_condition [::xo::dc since_interval_condition time $interval] xo::dc foreach get_pages \ @@ -1228,8 +1228,8 @@ TableWidget t1 -volatile \ -columns { - Field user -label Visitors -html { align right } - Field count -label Visits -html { align right } + Field user -label [_ xowiki.includelet-visitors] -html { align right } + Field count -label [_ xowiki.includelets-visits] -html { align right } } ::xo::dc foreach most-frequent-visistors \ [::xo::dc select \ @@ -3605,7 +3605,7 @@ } if {$sum == 0} { - return "no data
\n" + return "[_ xowiki.no_data]
\n" } if {$renderer eq "highcharts"} { @@ -3618,7 +3618,7 @@ } set h [highcharts new -volatile -id [my js_name] \ -title [::xowiki::Includelet js_encode \ - "$sum Answers for Survey '[$form_item_ids title]'"]] + "$sum $total_text [_ learning-app.Answers_for_Survey] '[$form_item_ids title]'"]] return [$h pie [list value count] $percentages] } else { @@ -3671,7 +3671,11 @@ title: {text: '$title'}, tooltip: { formatter: function() { - return ''+ this.point.name +': '+ this.y +' %'; + if (this.point.name.length < 70) { + return ''+ this.point.name +': '+ this.y +' %'; + } else { + return this.point.name.substr(0,70) + '... : ' + this.y +' %'; + } } }, plotOptions: {