Index: openacs-4/packages/news-aggregator/www/subscriptions.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news-aggregator/www/subscriptions.tcl,v diff -u -r1.7.2.7 -r1.7.2.8 --- openacs-4/packages/news-aggregator/www/subscriptions.tcl 27 Jul 2006 11:39:13 -0000 1.7.2.7 +++ openacs-4/packages/news-aggregator/www/subscriptions.tcl 20 Nov 2006 19:41:18 -0000 1.7.2.8 @@ -15,7 +15,7 @@ -object_id $aggregator_id \ -privilege write -set page_title "Manage Subscriptions" +set page_title "[_ news-aggregator.Manage_Subscriptions]" array set ag_info [news_aggregator::aggregator::aggregator_info -aggregator_id $aggregator_id] set context [list [list "." "$ag_info(aggregator_name)"] "$page_title"] @@ -45,9 +45,9 @@ incr delete_count } if { $delete_count > 1 } { - set message "You have been unsubscribed from $delete_count sources." + set message "[_ news-aggregator.You_have_been_unsubscribed_from]" } else { - set message "You have been unsubscribed from one source." + set message "[_ news-aggregator.You_have_been_unsubscribed]" } ad_returnredirect -message $message subscriptions ad_script_abort @@ -60,7 +60,7 @@ } set bulk_actions { - Unsubscribe subscriptions Unsubscribe + #news-aggregator.Unsubscribe# subscriptions #news-aggregator.Unsubscribe# } if { $aggregator_count > 1 } { @@ -71,8 +71,8 @@ set title [db_string select_name {}] } lappend bulk_actions \ - Copy subscription-copy "Copy selected subscriptions to $title" \ - Move subscription-move "Move selected subscriptions to $title" + \#news-aggregator.Copy\# Copy subscription-copy "\#news-aggregator.Copy_Selected\#" \ + \#news-aggregator.Move\# subscription-move "\#news-aggregator.Move_Selected\#" } @@ -82,31 +82,30 @@ -key source_id \ -row_pretty_plural "subscriptions" \ -actions { - "Export Subscriptions" "opml" "Export your subscriptions as an OPML file" + "\#news-aggregator.Export_Subscriptions\#" "opml" "\#news-aggregator.Export_your_subscriptions_as_an_OPML_file\#" } -bulk_actions $bulk_actions -elements { title { - label "Name" + label "\#news-aggregator.Name\#" link_url_eval $link } last_scanned { - label "Last Scan" + label "\#news-aggregator.Last_Scan\#" } last_modified { - label "Last Update" + label "\#news-aggregator.Last_Update\#" } show_description_p { - label "Titles Only?" + label "\#news-aggregator.Titles_Only\#" display_template { -
NoYes toggle
+
\#news-aggregator.No\#\#news-aggregator.Yes\# toggle
} } feed_url { - label "Source" + label "\#news-aggregator.Source\#" display_template { - View the XML source for this subscription + alt="\#news-aggregator.View_the_XML\#" border="0"> } } } -orderby { @@ -145,21 +144,21 @@ lappend other_feeds [list $title $source_id] } -ad_form -name add_subscription -action subscriptions -form { +ad_form -name add_subscription -form { {subscription_id:integer(hidden),key} {aggregator_id:integer(hidden) {value $aggregator_id}} {feed_url:text(text),optional {value $feed_url_val} - {label "URL"} + {label "#news-aggregator.URL#"} {value "http://"} {html {size 55}} } {new_source_id:integer(select),optional - {label "Feed"} + {label "\#news-aggregator.Feed\#"} {options $other_feeds} } {add_submit:text(submit),optional - {label "Add"} + {label "[_ news-aggregator.Add]"} } } -validate { {feed_url