Index: openacs-4/packages/ams/www/attribute-options-update.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/www/attribute-options-update.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ams/www/attribute-options-update.tcl 7 Jun 2005 07:44:14 -0000 1.4 +++ openacs-4/packages/ams/www/attribute-options-update.tcl 17 Jun 2005 00:52:11 -0000 1.5 @@ -16,12 +16,10 @@ set option_string [string trim $option(${option_key})] if {[exists_and_not_null option_string]} { - # Replace the pretty_name and pretty_plural with the message key, so it is inserted correctly in the database - set option_string [lang::util::convert_to_i18n -text $option_string -prefix "ams_option"] - set option_id [ams::option::new \ -attribute_id $attribute_id \ -option $option_string] + set sort_key(${option_id}) $sort_key(${option_key}) } }