Index: openacs-4/packages/contacts/tcl/contacts-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/tcl/contacts-init.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/contacts/tcl/contacts-init.tcl 18 May 2005 16:45:49 -0000 1.3 +++ openacs-4/packages/contacts/tcl/contacts-init.tcl 25 May 2005 10:49:58 -0000 1.4 @@ -7,13 +7,12 @@ @cvs-id $Id$ } - set attribute_id [attribute::new \ -object_type "person" \ - -attribute_name "first_names" \ + -attribute_name "last_name" \ -datatype "string" \ - -pretty_name "First Names" \ - -pretty_plural "First Names" \ + -pretty_name "#ams.person_last_name#" \ + -pretty_plural "#ams.person_last_name_plural#" \ -table_name "" \ -column_name "" \ -default_value "" \ @@ -24,17 +23,20 @@ -static_p "f" \ -if_does_not_exist] +lang::message::register en_US ams person_last_name "First Names" +lang::message::register en_US ams person_last_name_plural "First Names" + ams::attribute::new \ -attribute_id $attribute_id \ -widget "textbox" \ -dynamic_p "f" set attribute_id [attribute::new \ -object_type "person" \ - -attribute_name "last_name" \ + -attribute_name "first_names" \ -datatype "string" \ - -pretty_name "Last Name" \ - -pretty_plural "Last Names" \ + -pretty_name "#ams.person_first_names#" \ + -pretty_plural "#ams.person_first_names_plural#" \ -table_name "" \ -column_name "" \ -default_value "" \ @@ -45,6 +47,9 @@ -static_p "f" \ -if_does_not_exist] +lang::message::register en_US ams person_first_names "Last Name" +lang::message::register en_US ams person_first_names_plural "Last Names" + ams::attribute::new \ -attribute_id $attribute_id \ -widget "textbox" \ @@ -54,8 +59,8 @@ -object_type "party" \ -attribute_name "email" \ -datatype "string" \ - -pretty_name "Email Address" \ - -pretty_plural "Email Addresses" \ + -pretty_name "#ams.party_email#" \ + -pretty_plural "#ams.party_email_plural#" \ -table_name "" \ -column_name "" \ -default_value "" \ @@ -66,6 +71,9 @@ -static_p "f" \ -if_does_not_exist] +lang::message::register en_US ams party_email "Email Address" +lang::message::register en_US ams party_email_plural "Email Addresses" + ams::attribute::new \ -attribute_id $attribute_id \ -widget "email" \ @@ -75,8 +83,8 @@ -object_type "organization" \ -attribute_name "name" \ -datatype "string" \ - -pretty_name "Name" \ - -pretty_plural "Names" \ + -pretty_name "#ams.organization_name#" \ + -pretty_plural "#ams.organization_name_plural#" \ -table_name "" \ -column_name "" \ -default_value "" \ @@ -87,6 +95,9 @@ -static_p "f" \ -if_does_not_exist] +lang::message::register en_US ams organization_name "Organization Name" +lang::message::register en_US ams organization_name_plural "Organization Names" + ams::attribute::new \ -attribute_id $attribute_id \ -widget "textbox" \