Index: openacs-4/packages/wp-slim/www/search.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/search.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/wp-slim/www/search.tcl 18 Jun 2002 15:13:23 -0000 1.1
+++ openacs-4/packages/wp-slim/www/search.tcl 22 Sep 2003 18:41:27 -0000 1.2
@@ -40,27 +40,26 @@
# this is an administrator
if { [empty_string_p $keyword] } {
incr exception_count
- append exception_text "
You forgot to type a search string!\n"
+ append exception_text "[_ wp-slim.lt_You_forgot_to_type_a_]\n"
}
} else {
# from one of the user pages
if { (![info exists email] || [empty_string_p $email]) && \
(![info exists last_name] || [empty_string_p $last_name]) } {
incr exception_count
- append exception_text "You must specify either an email address or last name to search for.\n"
+ append exception_text "[_ wp-slim.lt_You_must_specify_eith]\n"
}
if { [info exists email] && [info exists last_name] && \
![empty_string_p $email] && ![empty_string_p $last_name] } {
incr exception_count
- append exception_text "You can only specify either email or last name, not both.\n"
+ append exception_text "[_ wp-slim.lt_You_can_only_specify_]\n"
}
if { ![info exists target] || [empty_string_p $target] } {
incr exception_count
- append exception_text "Target was not specified. This shouldn't have happened,
-please contact the administrator
-and let them know what happened.\n"
+ set host_administrator [ad_host_administrator]
+ append exception_text "[_ wp-slim.lt_Target_was_not_specif]\n"
}
}