Index: openacs-4/packages/dotlrn/www/community-edit-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/community-edit-2.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/dotlrn/www/community-edit-2.tcl 9 Aug 2002 18:39:26 -0000 1.7 +++ openacs-4/packages/dotlrn/www/community-edit-2.tcl 23 Oct 2002 12:38:39 -0000 1.8 @@ -35,7 +35,7 @@ set creation_ip [ad_conn peeraddr] set community_id [dotlrn_community::get_community_id] dotlrn::require_user_admin_community -user_id $user_id -community_id $community_id -set page_title Preview +set page_title [_ dotlrn.Preview] set header_text [dotlrn_community::get_community_header_name $community_id] # @@ -61,7 +61,9 @@ && $tmp_size > 0 && $tmp_size > [ad_parameter MaximumFileSize] } { - ad_return_complaint 1 "
Here is the actual error message:
" + [_ dotlrn.lt_There_was_an_error_tr] +$errmsg
+ [_ dotlrn.lt_Here_is_the_actual_er] +
+" ad_script_abort } @@ -126,7 +135,7 @@ set style_fragment "font-family: $header_font_fragment Verdana, Arial, Helvetica, sans-serif; font-size: $header_font_size;" if {[empty_string_p $header_font_color]} { - set header_font_color_text "Black (None chosen)" + set header_font_color_text "[_ dotlrn.Black_None_chosen]" set header_font_color "black" } else { set header_font_color_text $header_font_color @@ -135,16 +144,16 @@ append style_fragment " " "color: $header_font_color;" form create header_form -set yes_label "Save and use this header" +set yes_label "[_ dotlrn.lt_Save_and_use_this_hea]" element create header_form no_button \ - -label "Go back and try again" \ + -label "[_ dotlrn.lt_Go_back_and_try_again]" \ -datatype text \ -widget submit \ -value "1" element create header_form yes_button \ - -label "Save and use this header" \ + -label "[_ dotlrn.lt_Save_and_use_this_hea]" \ -datatype text \ -widget submit @@ -208,3 +217,4 @@ } ad_return_template ++ $errmsg ++