Index: openacs-4/packages/news/www/image-choose.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/Attic/image-choose.adp,v
diff -u -r1.1 -r1.1.6.1
--- openacs-4/packages/news/www/image-choose.adp 24 Feb 2005 18:03:05 -0000 1.1
+++ openacs-4/packages/news/www/image-choose.adp 16 Feb 2007 17:36:03 -0000 1.1.6.1
@@ -1,10 +1,8 @@
-Upload Image
+#news.Upload_Image#
-Choose an image to upload and press the 'Upload' button to preview
-it. When you're happy, press 'Accept' to use that image in the
-article.
+#news.Choose_an_image_to_upload_and_press#
Index: openacs-4/packages/news/www/image-choose.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/Attic/image-choose.tcl,v
diff -u -r1.1 -r1.1.6.1
--- openacs-4/packages/news/www/image-choose.tcl 24 Feb 2005 18:03:05 -0000 1.1
+++ openacs-4/packages/news/www/image-choose.tcl 16 Feb 2007 17:36:03 -0000 1.1.6.1
@@ -30,8 +30,10 @@
if {[info exists item_id]} { lappend vars item_id revision_log }
+set button [list [list [list [_ news.Upload] ok]]]
+
form create img -html {enctype multipart/form-data} \
- -edit_buttons {{{Upload} {ok}}}
+ -edit_buttons $button
foreach var $vars {
element create img $var -datatype string -widget hidden -optional
@@ -40,12 +42,11 @@
element create img upload \
-datatype file \
-widget file \
- -label {File} \
+ -label {#news.File#} \
-html [list accept [parameter::get -parameter ImageUploadTypes]] \
-validate [list img_type \
{test_file_type [ns_queryget upload.tmpfile]} \
- "Image must be one of the following types: [parameter::get -parameter ImageUploadTypes]" \
- ]
+ "[_ news.Image_must_be_one_of_the_following_types] [parameter::get -parameter ImageUploadTypes]"]
# clear the upload file value on every request, as it otherwise it displays
# filename, tmppath, mime type which isn't at all useful
Index: openacs-4/packages/news/www/item.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/item.tcl,v
diff -u -r1.14 -r1.14.2.1
--- openacs-4/packages/news/www/item.tcl 8 Aug 2006 21:27:04 -0000 1.14
+++ openacs-4/packages/news/www/item.tcl 16 Feb 2007 17:36:03 -0000 1.14.2.1
@@ -76,7 +76,7 @@
}
if {[permission::permission_p -object_id $item_id -privilege write] } {
- set edit_link "Revise"
+ set edit_link "[_ news.Revise]"
} else {
set edit_link ""
}
Index: openacs-4/packages/news/www/preview.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/preview.tcl,v
diff -u -r1.16 -r1.16.2.1
--- openacs-4/packages/news/www/preview.tcl 15 Dec 2006 22:45:38 -0000 1.16
+++ openacs-4/packages/news/www/preview.tcl 16 Feb 2007 17:36:03 -0000 1.16.2.1
@@ -55,7 +55,7 @@
ad_complain "[_ news.lt_Publish_body_is_missi]"
return
} elseif { ![empty_string_p $publish_body] && $file_size > 0 } {
- ad_complain "You can either upload a news item or enter text in the box provided, but not both."
+ ad_complain "[_ news.You_can_either_upload_a_news_item_or_enter_text_in_the_box_provided_but_not_both]"
return
}
}
@@ -150,7 +150,7 @@
publish_date(year) publish_date(month) publish_date(day)]
|| ![regexp $exp $archive_date_ansi match \
archive_date(year) archive_date(month) archive_date(day)] } {
- ad_return_complaint 1 {Publish/archive dates incorrect}
+ ad_return_complaint 1 "[_ news.Publish_archive_dates_incorrect]"
}
}
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 -r1.14 -r1.14.6.1
--- openacs-4/packages/news/www/admin/index.adp 24 Feb 2005 18:03:05 -0000 1.14
+++ openacs-4/packages/news/www/admin/index.adp 16 Feb 2007 17:36:03 -0000 1.14.6.1
@@ -60,6 +60,7 @@
+
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 -r1.9 -r1.9.6.1
--- openacs-4/packages/news/www/admin/revision-add.adp 24 Feb 2005 18:03:05 -0000 1.9
+++ openacs-4/packages/news/www/admin/revision-add.adp 16 Feb 2007 17:36:03 -0000 1.9.6.1
@@ -3,8 +3,7 @@
@title;noquote@
-Use the following form to define your news item.Note that the fields marked with * are required.
-When you're done click 'Preview' to see how the news item will look and to choose an image for the article.
+#news.Use_the_following_form_to_define#