Index: openacs-4/packages/acs-templating/acs-templating.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/acs-templating.info,v diff -u -N -r1.66.2.4 -r1.66.2.5 --- openacs-4/packages/acs-templating/acs-templating.info 28 Feb 2020 13:59:24 -0000 1.66.2.4 +++ openacs-4/packages/acs-templating/acs-templating.info 26 Apr 2020 19:14:48 -0000 1.66.2.5 @@ -9,7 +9,7 @@ f t - + OpenACS Templating library. 2019-01-23 @@ -27,7 +27,7 @@ GPL version 2 3 - + Index: openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml,v diff -u -N -r1.15.2.1 -r1.15.2.2 --- openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml 25 Apr 2019 15:49:19 -0000 1.15.2.1 +++ openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml 26 Apr 2020 19:14:48 -0000 1.15.2.2 @@ -7,6 +7,7 @@ Ausgew�hltes Bild hinzuf�gen Jeder Internetnutzer Jeder auf diesem System + Sind sie sicher? aufsteigend sortiert W�hlen Sie bitte eine Datei, die angeh�ngt werden soll W�hlen Sie eine Datei Index: openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml,v diff -u -N -r1.25.2.1 -r1.25.2.2 --- openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml 25 Apr 2019 15:49:19 -0000 1.25.2.1 +++ openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml 26 Apr 2020 19:14:48 -0000 1.25.2.2 @@ -7,6 +7,7 @@ Add the selected image Anyone on the Internet Anyone on this system + Are you sure? ascending order Please choose a file to attach. Choose File Index: openacs-4/packages/acs-templating/tcl/head-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/head-procs.tcl,v diff -u -N -r1.45.2.18 -r1.45.2.19 --- openacs-4/packages/acs-templating/tcl/head-procs.tcl 1 Apr 2020 04:13:00 -0000 1.45.2.18 +++ openacs-4/packages/acs-templating/tcl/head-procs.tcl 26 Apr 2020 19:14:48 -0000 1.45.2.19 @@ -1023,7 +1023,7 @@ ad_proc template::add_confirm_handler { {-event click} - {-message "Are you sure?"} + {-message "#acs-templating.Are_you_sure#"} {-CSSclass "acs-confirm"} {-id} {-formfield} @@ -1039,8 +1039,14 @@ in a list of two elements in the form { form_id field_name } @param message Message to be displayed in the confirmation dialog + if the message looks like a message key + (starting and ending with a hash sign) + it is treated as a message key @author Gustaf Neumann } { + if {[regexp {^#(.*)*#$} $message . key]} { + set message [_ $key] + } set script [subst { if (!confirm('$message')) { event.preventDefault(); @@ -1087,7 +1093,7 @@ -class:required -property:required -value:required -} { +} { Set the specified CSS property in the DOM tree of the browser for elements for the specified class. This function should be used sparely in special situations, where CSS modification other