[ic] MV_ERROR_STD_LABEL: documentation wrong

Steffen Dettmer interchange-users@interchange.redhat.com
Fri Oct 12 11:05:01 2001


Hi,

the docs, i.e. 

http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags04%2e24

tell:

The HTML formating can bet set via the global variable
MV_ERROR_STD_LABEL with the default being:
<FONT COLOR=RED>label_str<SMALL><I>(%s)</I></SMALL></FONT>

That is not completly true, the default in
lib/Vend/Interpolate.pm is:

<FONT COLOR=RED>{LABEL} <SMALL><I>(%s)</I></SMALL></FONT>

This is very important, since {LABEL} gets substituted with the
std_label, but not <label_str> as documentated.

BTW, foundation uses __CONSTRAST__ for errors in some pages, so it
may be nice to use it with [error] too, so I wrote the follwoing
line in catalog.cfg:

Variable MV_ERROR_STD_LABEL \
	<FONT COLOR=__CONTRAST__>{LABEL}<SMALL><I>(%s)</I></SMALL></FONT>


oki,

Steffen

-- 
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.