Item9437: maketext and wikiwebmaster
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component:
Branches:
see attached screenshot for the example.

but summary is that
%wikiwebmaster%
is fine until it passes through maketext function.
--
TerryRankine - 05 Aug 2010
What does the %MAKETEXT% string look like? If you want a translatable string to work properly, it has to be constant. If it contains a variable, it should be something like
%MAKETEXT{"E-mail address: [_1]" args="[[mailto:%WIKIWEBMASTER%]]"}%
Test:
E-mail address:
mailto:webmaster@foswiki.org
Test2:
E-mail address:
webmaster@foswiki.org
--
PaulHarvey - 05 Aug 2010
%IF{
"context passwords_modifyable"
then="<strong>%MAKETEXT{"After submitting this form, you will receive an e-mail with your new, *system-generated* password, and a link to a page where you can change it."}%</strong>"
else="<strong>%MAKETEXT{"Sorry, the password system is currently read only, please contact [_1]" args="%WIKIWEBMASTER%"}%</strong> %MAKETEXT{"E-mail address: [_1]" args="[[mailto:%WIKIWEBMASTER%][%WIKIWEBMASTER%]]"}% "
}%
you can see your test in that there now. new screenshot coming
--
TerryRankine - 06 Aug 2010
--
PaulHarvey - 10 Aug 2010
Checked 1.1.2 and trunk
Only issue is trailing dot. Adding one space fixes it
--
KennethLavrsen - 19 Nov 2010
cheers!
--
TerryRankine - 19 Nov 2010