Index: openacs-4/packages/photo-album/www/album-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/album-edit.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/photo-album/www/album-edit.tcl 12 Jun 2003 06:55:45 -0000 1.2 +++ openacs-4/packages/photo-album/www/album-edit.tcl 18 Nov 2003 18:27:52 -0000 1.3 @@ -12,7 +12,7 @@ } -validate { valid_album -requires {album_id:integer} { if [string equal [pa_is_album_p $album_id] "f"] { - ad_complain "The specified album is not valid." + ad_complain "[_ photo-album._The_1]" } } } -properties { @@ -22,7 +22,7 @@ ad_require_permission $album_id "write" set user_id [ad_conn user_id] -set context_list [pa_context_bar_list -final "Edit Album Attributes" $album_id] +set context_list [pa_context_bar_list -final "[_ photo-album._Edit]" $album_id] template::form create edit_album @@ -39,16 +39,16 @@ -datatype integer -widget hidden -optional template::element create edit_album title -html { size 30 } \ - -label "Album Name" -datatype text + -label "[_ photo-album._Album_2]" -datatype text template::element create edit_album photographer -html { size 50} \ - -label "Photographer" -datatype text -optional + -label "<#_ Photographer#>" -datatype text -optional template::element create edit_album description -html { size 50} \ - -label "Album Description" -datatype text -optional + -label "[_ photo-album._Album]" -datatype text -optional template::element create edit_album story -html { cols 50 rows 4 wrap soft } \ - -label "Album Story" -datatype text -widget textarea -optional + -label "[_ photo-album._Album_1]" -datatype text -widget textarea -optional # this needs to be outside of the s_request block so title attribute @@ -86,8 +86,7 @@ db_exec_plsql set_live_album {} } on_error { - ad_return_complaint 1 "An error occurred while processing your input. Please let the system owner know about this. -
$errmsg
" + ad_return_complaint 1 "[_ photo-album._An]" ad_script_abort }