Index: openacs-4/packages/contacts/www/contact-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact-edit.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/contacts/www/contact-edit.tcl 18 May 2005 16:45:50 -0000 1.1 +++ openacs-4/packages/contacts/www/contact-edit.tcl 7 Jun 2005 07:45:40 -0000 1.2 @@ -10,7 +10,7 @@ } -validate { contact_exists -requires {party_id} { if { ![contact::exists_p -party_id $party_id] && ![ad_form_new_p -key party_id] } { - ad_complain "The contact specified does not exist" + ad_complain "[_ contacts.lt_The_contact_specified]" } } } @@ -69,7 +69,7 @@ } # make the error message multiple item aware if { [llength $missing_elements] > 0 } { - ad_return_error "Configuration Error" "Some of the required elements for this form are missing. Please contact an administrator and make sure that the following attributes are included:" + ad_return_error "[_ contacts.Configuration_Error]" "[_ contacts.lt_Some_of_the_required__1]"
  • "]
  • " } } -edit_request { @@ -92,14 +92,14 @@ if { $object_type == "person" } { if { ![exists_and_not_null first_names] } { - template::element::set_error party_ae first_names "First Names is required" + template::element::set_error party_ae first_names "[_ contacts.lt_First_Names_is_requir]" } if { ![exists_and_not_null last_name] } { - template::element::set_error party_ae last_name "Last Name is required" + template::element::set_error party_ae last_name "[_ contacts.lt_Last_Name_is_required]" } } else { if { ![exists_and_not_null name] } { - template::element::set_error party_ae name "Name is required" + template::element::set_error party_ae name "[_ contacts.Name_is_required]" } } if { ![template::form::is_valid party_ae] } {