Index: openacs-4/packages/acs-admin/www/apm/version-i18n-process-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-i18n-process-2.tcl,v diff -u -r1.23 -r1.24 --- openacs-4/packages/acs-admin/www/apm/version-i18n-process-2.tcl 17 Jul 2018 11:42:26 -0000 1.23 +++ openacs-4/packages/acs-admin/www/apm/version-i18n-process-2.tcl 3 Sep 2024 15:37:29 -0000 1.24 @@ -9,8 +9,8 @@ {files:multiple,notnull} {file_action:multiple} {number_of_keys:integer,notnull ""} - {replace_p:boolean,array ""} - {message_keys:array ""} + {replace_p:boolean,array,notnull ""} + {message_keys:array,notnull ""} skip_button:optional } @@ -50,8 +50,8 @@ set context_bar [ad_context_bar $page_title] # Figure out which actions to take on the selected adp:s -set replace_text_p [ad_decode [lsearch -exact $file_action replace_text] "-1" "0" "1"] -set replace_tags_p [ad_decode [lsearch -exact $file_action replace_tags] "-1" "0" "1"] +set replace_text_p [expr {"replace_text" in $file_action}] +set replace_tags_p [expr {"replace_tags" in $file_action}] # We need either or both of the actions to be selected if { ! $replace_text_p && ! $replace_tags_p } {