Index: openacs-4/packages/captcha/captcha.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/captcha/captcha.info,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/captcha/captcha.info 26 Jun 2022 10:32:04 -0000 1.1.2.1 +++ openacs-4/packages/captcha/captcha.info 26 Jun 2022 11:05:02 -0000 1.1.2.2 @@ -9,7 +9,7 @@ f f - + Antonio Pisano A captcha implementation for the template system 2022-06-26 @@ -22,7 +22,7 @@ work on macOS 0 - + Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/captcha/catalog/captcha.de_DE.ISO-8859-1.xml'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/captcha/catalog/captcha.en_US.ISO-8859-1.xml'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/captcha/catalog/captcha.it_IT.ISO-8859-1.xml'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/captcha/resources/fonts/LiberationSans-Regular.ttf'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/captcha/tcl/captcha-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/captcha/tcl/captcha-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/captcha/tcl/captcha-procs.tcl 26 Jun 2022 10:32:04 -0000 1.1.2.1 +++ openacs-4/packages/captcha/tcl/captcha-procs.tcl 26 Jun 2022 11:05:02 -0000 1.1.2.2 @@ -103,7 +103,7 @@ # overlapping with the others. set width [expr {int(max($width, $n_chars * $height * pow(2, -2)))}] - set font "[acs_root_dir]/packages/acs-templating/resources/fonts/LiberationSans-Regular.ttf" + set font "[acs_root_dir]/packages/captcha/resources/fonts/LiberationSans-Regular.ttf" # Rule of thumb to calculate the font size set font_size [expr {($height / 500.0) * 300.0}] @@ -354,7 +354,7 @@ } if {!$valid_p} { - set message [_ acs-templating.Your_captcha_is_invalid] + set message [_ captcha.Your_captcha_is_invalid] } return $valid_p Index: openacs-4/packages/captcha/tcl/test/captcha-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/captcha/tcl/test/captcha-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/captcha/tcl/test/captcha-procs.tcl 26 Jun 2022 10:32:04 -0000 1.1.2.1 +++ openacs-4/packages/captcha/tcl/test/captcha-procs.tcl 26 Jun 2022 11:05:02 -0000 1.1.2.2 @@ -7,15 +7,14 @@ aa_register_case -cats { api smoke - stress } -procs { template::widget::captcha template::data::validate::captcha } captcha_widget { Test the captcha widget API } { try { - set endpoint_name /acs-templating-test-captcha-widget + set endpoint_name /captcha-test-captcha-widget ns_register_proc GET $endpoint_name { array set element { mode edit