Index: openacs-4/packages/acs-admin/www/apm/version-i18n.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-i18n.adp,v diff -u -N -r1.7 -r1.8 --- openacs-4/packages/acs-admin/www/apm/version-i18n.adp 29 Oct 2002 08:14:24 -0000 1.7 +++ openacs-4/packages/acs-admin/www/apm/version-i18n.adp 7 Nov 2002 18:08:53 -0000 1.8 @@ -213,6 +213,22 @@

+Alternatively, the variable values in the message can be fetched with upvar, so that in the tcl file in the example above, +we would have simply: +

+ +
+set subject [parameter::get -localize -parameter classes_pretty_name] 
+set class_instances [parameter::get -localize -parameter class_instances_pretty_plural]
+
+ad_return_complaint 1 [_ dotlrn.class_may_not_be_deleted]
+
+ +

+This kind of interpolation also works in adp files where adp variable values will be inserted into the message. +

+ +

When we were done going through the tcl files we ran the following commands to check for mistakes: