- Search
+ #news.Search#
+
+
+
+
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 @@
-Title
- Creation Date
- Author
+#news.Title#
+ #news.Creation_Date#
+ #news.Author#
@items.publish_title@
@@ -17,7 +17,7 @@
-Select the publication date and archive date:
+
#news.lt_Select_the_publicatio#
@@ -26,21 +26,27 @@
-
+
+
+
+
+
+
+
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 @@
- Select
+ #news.Select#
ID#
- Title
- Author
- Release Date
- Archive Date
- Status
+ #news.Title#
+ #news.Author#
+ #news.Release_Date#
+ #news.Archive_Date#
+ #news.Status#
@@ -37,7 +37,7 @@
@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@
@@ -49,19 +49,19 @@
- 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#
@select_actions@
- Delete
+ #news.Delete#
-
+
@@ -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 "Make Permanent" }
default {
set select_actions "
- Archive Now
- Archive as of Next Week
- Archive as of Next Month
- Make Permanent"
+ [_ news.Archive_Now]
+ [_ news.lt_Archive_as_of_Next_We]
+ [_ news.lt_Archive_as_of_Next_Mo]
+ [_ news.Make_Permanent]"
}
}
-set title "Administration"
+set title "[_ news.Administration]"
set context {}
@@ -92,3 +92,9 @@
+
+
+
+
+
+
Index: openacs-4/packages/news/www/admin/item.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/item.adp,v
diff -u -N -r1.3 -r1.4
--- openacs-4/packages/news/www/admin/item.adp 6 Sep 2002 21:50:53 -0000 1.3
+++ openacs-4/packages/news/www/admin/item.adp 29 Oct 2002 08:01:15 -0000 1.4
@@ -3,19 +3,19 @@
@title@
-
Add a new revision
+#news.Add_a_new_revision#
@hidden_vars@
+
+
+
+
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#
- Title Creation Date Author
+ #news.Title# #news.Creation_Date# #news.Author#
@news_items.publish_title@
@news_items.creation_date@
@@ -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@
@@ -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"
+
+
+
+
+
+