Index: openacs-4/packages/lorsm/www/shared/add-shared-course-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/shared/Attic/add-shared-course-2.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/lorsm/www/shared/add-shared-course-2.tcl 27 Oct 2004 07:46:54 -0000 1.2 +++ openacs-4/packages/lorsm/www/shared/add-shared-course-2.tcl 3 Dec 2004 17:52:54 -0000 1.3 @@ -32,7 +32,7 @@ # check if the course is actually shared if {[db_string isshared {select isshared from ims_cp_manifests where man_id = :man_id}] == "f"} { # if it ain't complain and quit - ad_complain "The course you are trying to add to your class is not shared." + ad_complain "[_ lorsm.lt_The_course_you_are_tr]" } @@ -41,7 +41,8 @@ if {![db_0or1row exists {select man_id, lorsm_instance_id from ims_cp_manifest_class where man_id = :man_id \ and lorsm_instance_id = :package_id \ and community_id = :community_id}]} { - ad_complain "The course [lorsm::get_course_name -manifest_id $man_id], is already part of your class" + set var1 [lorsm::get_course_name -manifest_id $man_id] + ad_complain "[_ lorsm.lt_The_course_var1_is_al]" }