Index: openacs-4/packages/news/catalog/news.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/catalog/news.en_US.ISO-8859-1.xml,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/news/catalog/news.en_US.ISO-8859-1.xml 29 Oct 2002 08:01:12 -0000 1.1 @@ -0,0 +1,119 @@ + + + + + Select + Plain Text + The text is formatted as + One Revision + Thank You! + Show archived news + Log Entry + One Item - add revision + Could not find the requested news item + prev + Note that the + And be live until revoked. + Published + Archive as of Next Month + All + Release + Do you really want to perform this action: + Create a news item + Body + Revision + Publication Date + Please supply the body of the news item. + Select the publication date and archive date: + Active Revision + The database did not accept your input. + (show it permanently) + Author + Could not find corresponding revision to requested news item + revoke + The text is formatted as + rev. + Database Error + Archived + Create News Item + To the readers it will look like: + red fields are required + cannot be applied to the following item(s): + There are no news items available. + Can't upload a publication in the text-field and a non-empty file. + It will move into the archive on + Your news item will be presented using the Default template defined in news.adp. + Add a new revision + Archive as of Next Week + Preview + Back to news list + has been submitted and will go live as soon as it is approved. + Your document is larger than the maximum size allowed + You must supply a revision log information. + Preview news item + HTML + Please supply the title of the news item. + Comments + Approve item(s) + Revision Number + next + Administer + Click on "revise" to edit an item. + never + One Item + make active + There are no items available. + Use the following form to define your news item. +Note that the + Creation Date + Publish body is missing. Either upload file or enter something in the textarea. + Delete + active + Click on item ID# to approve/revoke an item. + Confirm + Administration + bytes + or upload text file: + It will go live after it is approved by the News Administrator. + manage + Yes + Approved + News Item + News item submitted + Show live news + Submit a news item + administer item + Go + Do the following to the selected items: + Make Permanent + Revision log + Your news item + Error + . +When you're done click 'Preview' to see how the news item will appear. + Confirm Action: + See details for the error message below + Manage the items individually for approval first. + It will go live on + Unapproved + Contributed by + Creation IP + News + Archive Now + The action + revise + Scheduling Error + on + the following news item(s)? + Title + Status + Please check the items which you want to process. + approve + Search + . +When you're done click 'Preview' to see how the news item will look. + Release Date + News Archive + The archive date must be AFTER the release date. + Archive Date + Index: openacs-4/packages/news/tcl/news-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/tcl/news-procs.tcl,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/news/tcl/news-procs.tcl 10 Sep 2002 22:23:10 -0000 1.4 +++ openacs-4/packages/news/tcl/news-procs.tcl 29 Oct 2002 08:01:13 -0000 1.5 @@ -122,3 +122,9 @@ return $url } + + + + + + Index: openacs-4/packages/news/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/index.adp,v diff -u -N -r1.7 -r1.8 --- openacs-4/packages/news/www/index.adp 6 Sep 2002 21:50:52 -0000 1.7 +++ openacs-4/packages/news/www/index.adp 29 Oct 2002 08:01:14 -0000 1.8 @@ -7,22 +7,22 @@
- [Administer] + [#news.Administer#]
-

There are no news items available. +

#news.lt_There_are_no_news_ite#

- +
Search#news.Search#
@@ -48,13 +48,13 @@

@@ -63,4 +63,8 @@
  • @view_switch_link@
- \ No newline at end of file + + + + + Index: openacs-4/packages/news/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/index.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/news/www/index.tcl 5 Sep 2002 10:49:47 -0000 1.5 +++ openacs-4/packages/news/www/index.tcl 29 Oct 2002 08:01:14 -0000 1.6 @@ -47,7 +47,7 @@ # view switch in live | archived news if { [string equal "live" $view] } { - set title "News" + set title "[_ news.News]" set view_clause [db_map view_clause_live] if { [db_string archived_p " @@ -56,14 +56,14 @@ where publish_date < sysdate and archive_date < sysdate and package_id = :package_id"]} { - set view_switch_link "Show archived news" + set view_switch_link "[_ news.Show_archived_news]" } else { set view_switch_link "" } } else { - set title "News Archive" + set title "[_ news.News_Archive]" set view_clause [db_map view_clause_archived] if { [db_string live_p " @@ -73,7 +73,7 @@ and (archive_date is null or archive_date > sysdate) and package_id = :package_id"] } { - set view_switch_link "Show live news" + set view_switch_link "[_ news.Show_live_news]" } else { set view_switch_link "" } @@ -111,13 +111,13 @@ if { $count < [expr $start + $max_dspl] } { set next_start "" } else { - set next_start "next" + set next_start "[_ news.next]" } if { $start == 1 } { set prev_start "" } else { - set prev_start "prev" + set prev_start "[_ news.prev]" } if { ![empty_string_p $next_start] && ![empty_string_p $prev_start] } { @@ -129,3 +129,9 @@ set pagination_link "$prev_start$divider$next_start" ad_return_template + + + + + + Index: openacs-4/packages/news/www/item-create-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item-create-3.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/news/www/item-create-3.tcl 18 Sep 2002 12:08:49 -0000 1.5 +++ openacs-4/packages/news/www/item-create-3.tcl 29 Oct 2002 08:01:14 -0000 1.6 @@ -106,7 +106,7 @@ if { ![string equal "open" [ad_parameter ApprovalPolicy "news" "wait"]] } { # case: user submitted news item, is returned to a Thank-you page - set title "News item submitted" + set title "[_ news.News_item_submitted]" set context [list $title] ad_return_template item-create-thankyou } @@ -115,3 +115,5 @@ # case: administrator returned to index page ad_returnredirect "" } + + Index: openacs-4/packages/news/www/item-create-thankyou.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item-create-thankyou.adp,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/news/www/item-create-thankyou.adp 6 Sep 2002 21:50:52 -0000 1.4 +++ openacs-4/packages/news/www/item-create-thankyou.adp 29 Oct 2002 08:01:14 -0000 1.5 @@ -4,11 +4,15 @@ @title@

- Your news item @publish_title@ - has been submitted and will go live as soon as it is approved. + #news.Your_news_item# @publish_title@ + #news.lt_has_been_submitted_an#

- Thank You! + #news.Thank_You#

-Back to news list +#news.Back_to_news_list# + + + + Index: openacs-4/packages/news/www/item-create.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item-create.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/item-create.adp 6 Sep 2002 21:50:52 -0000 1.3 +++ openacs-4/packages/news/www/item-create.adp 29 Oct 2002 08:01:14 -0000 1.4 @@ -2,62 +2,60 @@ @context@ @title@ -

Use the following form to define your news item. -Note that the red fields are required. -When you're done click 'Preview' to see how the news item will appear. +

#news.lt_Use_the_following_for# #news.lt_red_fields_are_requir##news.lt__When_youre_done_clic# - + - + - - + - + + #news.never# #news.show_it_permanently#
Title#news.Title#
Body#news.Body#
- +
or upload text file:
#news.or_upload_text_file#
The text is formatted as   - Plain Text  - HTML + #news.The_text_is_formatted_as#   + #news.Plain_text#  + #news.HTML#
Release Date#news.Release_Date# @publish_date_select@
Archive Date#news.Archive_Date# @archive_date_select@
- never (show it permanently)
- +
@@ -70,3 +68,8 @@ + + + + + Index: openacs-4/packages/news/www/item-create.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item-create.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/news/www/item-create.tcl 5 Sep 2002 10:49:47 -0000 1.2 +++ openacs-4/packages/news/www/item-create.tcl 29 Oct 2002 08:01:14 -0000 1.3 @@ -33,7 +33,7 @@ set immediate_approve_p 0 } -set title "Create News Item" +set title "[_ news.Create_News_Item]" set context [list $title] set proj_archival_date [db_string week "select sysdate + [ad_parameter ActiveDays "news" 14] from dual"] @@ -42,3 +42,8 @@ set archive_date_select [dt_widget_datetime -default $proj_archival_date archive_date days] ad_return_template + + + + + Index: openacs-4/packages/news/www/item.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/item.adp 6 Sep 2002 21:50:52 -0000 1.3 +++ openacs-4/packages/news/www/item.adp 29 Oct 2002 08:01:14 -0000 1.4 @@ -5,7 +5,7 @@ -

Could not find the requested news item

+

#news.lt_Could_not_find_the_re#

-

Comments

+

#news.Comments#

@comments@
@@ -28,3 +28,7 @@
+ + + + Index: openacs-4/packages/news/www/item.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item.tcl,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/news/www/item.tcl 17 Sep 2002 21:51:05 -0000 1.6 +++ openacs-4/packages/news/www/item.tcl 29 Oct 2002 08:01:14 -0000 1.7 @@ -75,7 +75,7 @@ } else { set context {} - set title "Error" + set title "[_ news.Error]" } @@ -96,3 +96,8 @@ + + + + + Index: openacs-4/packages/news/www/news.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/news.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/news/www/news.adp 17 Sep 2002 21:51:05 -0000 1.2 +++ openacs-4/packages/news/www/news.adp 29 Oct 2002 08:01:14 -0000 1.3 @@ -3,9 +3,13 @@
@publish_body@ -

Contributed by @creator_link@ +

#news.Contributed_by# @creator_link@

+ + + + Index: openacs-4/packages/news/www/preview.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/preview.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/preview.adp 6 Sep 2002 21:50:52 -0000 1.3 +++ openacs-4/packages/news/www/preview.adp 29 Oct 2002 08:01:14 -0000 1.4 @@ -4,21 +4,21 @@

    -
  • Your news item will be presented using the Default template defined in news.adp. +
  • #news.lt_Your_news_item_will_b# -
  • It will go live on @publish_date_ansi@. +
  • #news.It_will_go_live_on# @publish_date_ansi@.
  • - And be live until revoked. + #news.lt_And_be_live_until_rev# - It will move into the archive on @archive_date_ansi@. + #news.It_will_move_into_archive_on# @archive_date_ansi@. -
  • It will go live after it is approved by the News Administrator. +
  • #news.lt_It_will_go_live_after# -
  • To the readers it will look like: +
  • #news.lt_To_the_readers_it_wil#

@@ -32,9 +32,13 @@ @form_action@ @hidden_vars@
- +

+ + + + Index: openacs-4/packages/news/www/preview.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/preview.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/news/www/preview.tcl 17 Sep 2002 21:51:05 -0000 1.5 +++ openacs-4/packages/news/www/preview.tcl 29 Oct 2002 08:01:14 -0000 1.6 @@ -22,8 +22,8 @@ } -errors { - publish_title:notnull "Please supply the title of the news item." - publish_body:notnull "Please supply the body of the news item." + publish_title:notnull "[_ news.lt_Please_supply_the_tit]" + publish_body:notnull "[_ news.lt_Please_supply_the_bod]" } -validate { @@ -39,7 +39,7 @@ check_revision_log -requires {action revision_log} { if { ![string match $action "News Item"] && [empty_string_p $revision_log]} { - ad_complain "You must supply a revision log information." + ad_complain "[_ news.lt_You_must_supply_a_rev]" return } } @@ -48,10 +48,10 @@ set file_size [file size ${text_file.tmpfile}] # !XOR condition (don't want to have both) if { [empty_string_p $publish_body] && $file_size==0 } { - ad_complain "Publish body is missing. Either upload file or enter something in the textarea." + ad_complain "[_ news.lt_Publish_body_is_missi]" return } elseif { ![empty_string_p $publish_body] && $file_size > 0 } { - ad_complain "Can't upload a publication in the text-field and a non-empty file." + ad_complain "[_ news.lt_Cant_upload_a_publica]" return } } @@ -61,7 +61,7 @@ set b_max [expr 1000*[ad_parameter MaxFileSizeKb "news" 1024]] if { $b > $b_max } { - ad_complain "Your document is larger than the maximum size allowed ([util_commify_number $b_max] bytes)" + ad_complain "[_ news.lt_Your_document_is_larg] ([util_commify_number $b_max] [_ news.bytes])" return } } @@ -91,7 +91,11 @@ set news_admin_p [ad_permission_p $package_id news_admin] -set title "Preview $action" +if { [string match $action "News Item"] } { + set title "[_ news.Preview_news_item]" +} else { + set title "[_ news.Preview] $action" +} set context [list $title] @@ -104,8 +108,8 @@ set archive_date_ansi "$archive_date(year)-$archive_date(month)-$archive_date(day)" if { [dt_interval_check $archive_date_ansi $publish_date_ansi] >= 0 } { - ad_return_error "Scheduling Error" \ - "The archive date must be AFTER the release date." + ad_return_error "[_ news.Scheduling_Error]" \ + "[_ news.lt_The_archive_date_must]" return } } @@ -153,3 +157,8 @@ ad_return_template + + + + + Index: openacs-4/packages/news/www/admin/approve-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/approve-2.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/news/www/admin/approve-2.tcl 18 Sep 2002 12:08:50 -0000 1.2 +++ openacs-4/packages/news/www/admin/approve-2.tcl 29 Oct 2002 08:01:15 -0000 1.3 @@ -32,8 +32,8 @@ set archive_date_ansi $archive_date(date) if { [dt_interval_check $archive_date_ansi $publish_date_ansi] >= 0 } { - ad_return_error "Scheduling Error" \ - "The archive date must be AFTER the release date." + ad_return_error "[_ news.Scheduling_Error]" \ + "[_ news.lt_The_archive_date_must]" ad_script_abort } @@ -67,3 +67,9 @@ ad_returnredirect "$return_url" + + + + + + Index: openacs-4/packages/news/www/admin/approve.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/approve.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/approve.adp 6 Sep 2002 21:50:53 -0000 1.3 +++ openacs-4/packages/news/www/admin/approve.adp 29 Oct 2002 08:01:15 -0000 1.4 @@ -4,9 +4,9 @@

- - - + + + @@ -17,7 +17,7 @@
TitleCreation DateAuthor
#news.Title##news.Creation_Date##news.Author#
@items.publish_title@
-

Select the publication date and archive date: +

#news.lt_Select_the_publicatio#

@@ -26,21 +26,27 @@ - + - + + #news.never# #news.show_it_permanently#
Publication Date#news.Publication_Date# @publish_date_select@
Archive Date#news.Archive_Date# @archive_date_select@
- never (show it permanently)

- +
+ + + + + + Index: openacs-4/packages/news/www/admin/approve.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/approve.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/approve.tcl 5 Sep 2002 10:49:47 -0000 1.3 +++ openacs-4/packages/news/www/admin/approve.tcl 29 Oct 2002 08:01:15 -0000 1.4 @@ -24,7 +24,7 @@ } -set title "Approve item(s)" +set title "[_ news.Approve_items]" set context [list $title] @@ -63,3 +63,9 @@ set hidden_vars [export_form_vars return_url] ad_return_template + + + + + + Index: openacs-4/packages/news/www/admin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/index.adp,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/news/www/admin/index.adp 17 Sep 2002 21:51:06 -0000 1.6 +++ openacs-4/packages/news/www/admin/index.adp 29 Oct 2002 08:01:15 -0000 1.7 @@ -4,14 +4,14 @@ @title@

@view_link@ - There are no items available.

+ #news.lt_There_are_no_items_av#

@@ -20,13 +20,13 @@

- + - - - - - + + + + + @@ -37,7 +37,7 @@ - + @@ -49,19 +49,19 @@ @@ -71,3 +71,9 @@ + + + + + + Index: openacs-4/packages/news/www/admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/index.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/news/www/admin/index.tcl 5 Sep 2002 10:49:47 -0000 1.2 +++ openacs-4/packages/news/www/admin/index.tcl 29 Oct 2002 08:01:15 -0000 1.3 @@ -29,15 +29,15 @@ set package_id [ad_conn package_id] -set view_slider { - {view "News Items" published { - {published "Published" {where "status like 'published%'"}} - {unapproved "Unapproved" {where "status = 'unapproved'"}} - {approved "Approved" {where "status like 'going live%'"}} - {archived "Archived" {where "status = 'archived'"}} - {all "All" {} } - }} -} +set view_slider [list \ + [list view "News Items" published [list \ + [list published "[_ news.Published]" {where "status like 'published%'"}] \ + [list unapproved "[_ news.Unapproved]" {where "status = 'unapproved'"}] \ + [list approved "[_ news.Approved]" {where "status like 'going live%'"}] \ + [list archived "[_ news.Archived]" {where "status = 'archived'"}] \ + [list all "[_ news.All]" {} ] \ + ]] +] set view_link [ad_dimensional $view_slider] set view_option [ad_dimensional_sql $view_slider] @@ -48,16 +48,16 @@ "approved" { set select_actions " - - - + + +
Select#news.Select# ID#TitleAuthorRelease DateArchive DateStatus#news.Title##news.Author##news.Release_Date##news.Archive_Date##news.Status#
@news_items.item_id@@news_items.publish_title@ (rev. @news_items.revision_no@) [revise]@news_items.publish_title@ (#news.rev# @news_items.revision_no@) [#news.revise#] @news_items.item_creator@ @news_items.publish_date@ @news_items.archive_date@
- Click on item ID# to approve/revoke an item.
- Click on "revise" to edit an item. + #news.lt_Click_on_item_ID_to_a#
+ #news.lt_Click_on_revise_to_ed#
- Do the following to the selected items: + #news.lt_Do_the_following_to_t# - +
- - - - - + + + + + @@ -32,11 +32,11 @@ @@ -46,14 +46,18 @@
Revision #Active RevisionTitleAuthorLog EntryStatus#news.Active_Revision##news.Title##news.Author##news.Log_Entry##news.Status#
- active + #news.active# - make active + #news.make_active# @item.log_entry@ @item.status@ - | approve + | #news.approve# - | revoke + | #news.revoke#
+ + + + Index: openacs-4/packages/news/www/admin/item.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/item.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/news/www/admin/item.tcl 5 Sep 2002 10:49:47 -0000 1.2 +++ openacs-4/packages/news/www/admin/item.tcl 29 Oct 2002 08:01:15 -0000 1.3 @@ -33,7 +33,7 @@ set package_id [ad_conn package_id] -set title "One Item" +set title "[_ news.One_Item]" set context [list $title] @@ -62,3 +62,9 @@ ad_return_template + + + + + + Index: openacs-4/packages/news/www/admin/news.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/news.adp,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/news/www/admin/news.adp 20 Apr 2001 20:51:14 -0000 1.1 +++ openacs-4/packages/news/www/admin/news.adp 29 Oct 2002 08:01:15 -0000 1.2 @@ -5,5 +5,9 @@ @publish_body@ -

Contributed by @creator_link@ +

#news.Contributed_by# @creator_link@ + + + + Index: openacs-4/packages/news/www/admin/process-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/process-2.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/process-2.tcl 10 Sep 2002 22:23:10 -0000 1.3 +++ openacs-4/packages/news/www/admin/process-2.tcl 29 Oct 2002 08:01:15 -0000 1.4 @@ -17,7 +17,7 @@ } -errors { - n_items:notnull "Please check the items you want to process." + n_items:notnull "[_ news.lt_Please_check_the_item]" } @@ -132,3 +132,9 @@ + + + + + + Index: openacs-4/packages/news/www/admin/process.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/process.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/process.adp 6 Sep 2002 21:50:53 -0000 1.3 +++ openacs-4/packages/news/www/admin/process.adp 29 Oct 2002 08:01:15 -0000 1.4 @@ -5,26 +5,25 @@

-

Error

- The action @action@ cannot be applied to the following item(s): +

#news.Error#

+ #news.The_action# @action@ #news.lt_cannot_be_applied_to_#
  • @unapproved.publish_title@ - @unapproved.creation_date@ contributed by @unapproved.item_creator@ - [ manage ] + [ #news.manage# ]

-Manage the items individually for approval first. +#news.lt_Manage_the_items_indi#

- Do you really want to perform this action: @action@
on - the following news item(s)?
+ #news.lt_Do_you_really_want_to# @action@
#news.lt_on_the_following_news#

- + @@ -36,7 +35,7 @@
@hidden_vars@ - +
@@ -46,3 +45,8 @@ + + + + + Index: openacs-4/packages/news/www/admin/process.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/process.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/process.tcl 18 Sep 2002 12:08:51 -0000 1.3 +++ openacs-4/packages/news/www/admin/process.tcl 29 Oct 2002 08:01:15 -0000 1.4 @@ -18,7 +18,7 @@ } -errors { - n_items:notnull "Please check the items which you want to process." + n_items:notnull "[_ news.lt_Please_check_the_item]" } -properties { @@ -41,7 +41,7 @@ ad_script_abort } -set title "Confirm Action: $action" +set title "[_ news.Confirm_Action] $action" set context [list $title] @@ -100,3 +100,9 @@ + + + + + + Index: openacs-4/packages/news/www/admin/revision-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revision-add-3.tcl,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/news/www/admin/revision-add-3.tcl 18 Sep 2002 12:08:51 -0000 1.4 +++ openacs-4/packages/news/www/admin/revision-add-3.tcl 29 Oct 2002 08:01:15 -0000 1.5 @@ -76,13 +76,19 @@ } errmsg ] { - set complaint " The database did not accept your input. - See details for the error message below\n\n\t

$errmsg" - ad_return_error "Database Error" "$complaint" + set complaint " [_ news.lt_The_database_did_not_] + [_ news.lt_See_details_for_the_e]\n\n\t

$errmsg" + ad_return_error "[_ news.Database_Error]" "$complaint" ad_script_abort } else { ad_returnredirect "item?item_id=$item_id" } + + + + + + Index: openacs-4/packages/news/www/admin/revision-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revision-add.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/revision-add.adp 6 Sep 2002 21:50:53 -0000 1.3 +++ openacs-4/packages/news/www/admin/revision-add.adp 29 Oct 2002 08:01:15 -0000 1.4 @@ -3,72 +3,69 @@ @title@ -

Use the following form to add a revision to this news item. -The available fields from the current active revision are -already filled in.
-Note that the red fields are required. -When you're done click 'Preview' to see how the news item will look. +

#news.lt_Use_the_following_for#
+#news.Note_that_the# #news.lt_red_fields_are_requir##news.lt_When_youre_done_click#

@hidden_vars@

TitleCreation DateAuthor
#news.Title##news.Creation_Date##news.Author#
  • @news_items.publish_title@
  • @news_items.creation_date@
    - + - + - - + - + + #news.never# #news.show_it_permanently# - +
    Title#news.Title#
    Body#news.Body#
    - +
    or upload text file:
    #news.or_upload_text_file#
    The text is formatted as + #news.lt_The_text_is_formatted# - Plain Text  - HTML + #news.Plain_text#  + #news.HTML# - Plain Text  - HTML + #news.Plain_text#  + #news.HTML#
    Release Date#news.Release_Date# @publish_date_select@
    Archive Date#news.Archive_Date# @archive_date_select@
    @never_checkbox@ - never (show it permanently)
    Revision log#news.Revision_log#
    - +
    @@ -78,3 +75,8 @@ + + + + + Index: openacs-4/packages/news/www/admin/revision-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revision-add.tcl,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/news/www/admin/revision-add.tcl 5 Sep 2002 10:49:47 -0000 1.4 +++ openacs-4/packages/news/www/admin/revision-add.tcl 29 Oct 2002 08:01:15 -0000 1.5 @@ -38,7 +38,7 @@ where item_id = :item_id } -set title "One Item - add revision" +set title "[_ news.lt_One_Item_-_add_revisi]" set context [list $title] # get active revision of news item @@ -80,8 +80,14 @@ set archive_date_select [dt_widget_datetime -default $archive_date archive_date days] -set action "Revision" +set action "[_ news.Revision]" set hidden_vars [export_form_vars item_id action] ad_return_template + + + + + + Index: openacs-4/packages/news/www/admin/revision-set-active.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revision-set-active.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/news/www/admin/revision-set-active.tcl 20 Apr 2001 20:51:14 -0000 1.1 +++ openacs-4/packages/news/www/admin/revision-set-active.tcl 29 Oct 2002 08:01:15 -0000 1.2 @@ -23,3 +23,9 @@ } ad_returnredirect "item?item_id=$item_id" + + + + + + Index: openacs-4/packages/news/www/admin/revision.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revision.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/news/www/admin/revision.adp 6 Sep 2002 21:50:53 -0000 1.3 +++ openacs-4/packages/news/www/admin/revision.adp 29 Oct 2002 08:01:15 -0000 1.4 @@ -4,27 +4,27 @@ -

    Could not find corresponding revision to requested news item

    +

    #news.lt_Could_not_find_corres#

      -
    • Author: @creator_link@ -
    • Revision Number: @revision_no@ -
    • Creation Date: @creation_date@ -
    • Creation IP: @creation_ip@ -
    • Release Date: @publish_date@ -
    • Archive Date: @archive_date@ +
    • #news.Author#: @creator_link@ +
    • #news.Revision_number#: @revision_no@ +
    • #news.Creation_Date#: @creation_date@ +
    • #news.Creation_IP#: @creation_ip@ +
    • #news.Release_Date#: @publish_date@ +
    • #news.Archive_Date#: @archive_date@


    @@ -53,3 +53,7 @@ + + + + Index: openacs-4/packages/news/www/admin/revision.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revision.tcl,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/news/www/admin/revision.tcl 5 Sep 2002 10:49:47 -0000 1.4 +++ openacs-4/packages/news/www/admin/revision.tcl 29 Oct 2002 08:01:15 -0000 1.5 @@ -60,12 +60,13 @@ if {[info exists html_p] && ![string equal $html_p "t"]} { set publish_body "

    [ad_quotehtml $publish_body]
    " } - set title "One Revision" + set title "[_ news.One_Revision]" set context [list $title] } else { set context {} - set title "Error" + set title "[_ news.Error]" } -ad_return_template \ No newline at end of file +ad_return_template + Index: openacs-4/packages/news/www/admin/revoke.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/revoke.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/news/www/admin/revoke.tcl 20 Apr 2001 20:51:14 -0000 1.1 +++ openacs-4/packages/news/www/admin/revoke.tcl 29 Oct 2002 08:01:15 -0000 1.2 @@ -27,3 +27,9 @@ ad_returnredirect "item?item_id=$item_id" + + + + + +