Index: openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl,v diff -u -r1.4.2.4 -r1.4.2.5 --- openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl 25 Jun 2005 01:31:23 -0000 1.4.2.4 +++ openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl 9 Sep 2005 16:56:53 -0000 1.4.2.5 @@ -45,6 +45,19 @@ apm_parameter_register "RegistrationImplName" "Name of the implementation used in the registration process" "acs-subsite" "asm_url" "string" "user-login" } } + 5.2.0a2 5.2.0a3 { + db_transaction { + db_foreach select_group_name {select group_id, group_name from groups} { + if { ![empty_string_p [info procs "::lang::util::convert_to_i18n"]] } { + set pretty_name [lang::util::convert_to_i18n -message_key "group_title_${group_id}" -text "$group_name"] + } else { + set pretty_name "$group_name" + } + + db_dml title_update "update acs_objects set title=:pretty_name where object_id = :group_id" + } + } + } } } Index: openacs-4/packages/acs-subsite/tcl/group-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/group-procs.tcl,v diff -u -r1.25.2.5 -r1.25.2.6 --- openacs-4/packages/acs-subsite/tcl/group-procs.tcl 9 Sep 2005 14:19:29 -0000 1.25.2.5 +++ openacs-4/packages/acs-subsite/tcl/group-procs.tcl 9 Sep 2005 16:57:03 -0000 1.25.2.6 @@ -128,7 +128,7 @@ # groups to the title at the appropriate places. if { ![empty_string_p [info procs "::lang::util::convert_to_i18n"]] } { - set pretty_name [lang::util::convert_to_i18n -message_key "group_title.${group_id}" -text "$pretty_name"] + set pretty_name [lang::util::convert_to_i18n -message_key "group_title_${group_id}" -text "$pretty_name"] } # Update the title to the pretty name