head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2010.06.16.05.11.51;	author TWikiContributor;	state Exp;
branches;
next	1.3;

1.3
date	2008.01.22.03.21.29;	author TWikiContributor;	state Exp;
branches;
next	1.2;

1.2
date	2007.01.16.04.11.58;	author TWikiContributor;	state Exp;
branches;
next	1.1;

1.1
date	2006.06.25.16.26.29;	author TWikiContributor;	state Exp;
branches;
next	;


desc
@buildrelease
@


1.4
log
@buildrelease
@
text
@%META:TOPICINFO{author="TWikiContributor" date="1276665111" format="1.1" version="4"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarMAKETEXT
---+++ MAKETEXT -- creates text using TWiki's <nop>I18N infrastructure
   * Syntax: =%<nop>MAKETEXT{"string" args="..."}%=
   * Supported parameters:
     | *Parameter* | *Description* | *Default* |
     | ="text"= or =string="text"= | The text to be displayed. | _none_ |
     | =args="param1, param2"= | a comma-separated list of arguments to be interpolated in the string, replacing the =[_N]= placeholders in it. | _none_ |
   * Examples:
      * =%<nop>MAKETEXT{string="Notes:"}%=
        %BR% expands to %BR%
        <em> %MAKETEXT{string="Notes:"}% </em>
      * =%<nop>MAKETEXT{"If you have any questions, please contact [_1]." args="%<nop>WIKIWEBMASTER%"}%=
        %BR% expands to %BR%
        <em> %MAKETEXT{"If you have any questions, please contact [_1]." args="%WIKIWEBMASTER%"}% </em>
      * =%<nop>MAKETEXT{"Did you want to [<nop>[<nop>[<nop>_1]<nop>]<nop>[reset [_2]'s password]<nop>]<nop>?" args="%<nop>SYSTEMWEB%.ResetPassword,%<nop>WIKIUSERNAME%"}%=
        %BR% expands to %BR%
        <em> %MAKETEXT{"Did you want to [[[_1]][reset [_2]'s password]]?" args="%SYSTEMWEB%.ResetPassword,%WIKIUSERNAME%"}% </em>
   * __Notes:__
      * TWiki will translate the =string= to the current user's language _only_ if it has such string in its translation table for that language.
      * Ampersands (<code>&amp;</code>) followed by one letter (one of =a...z=, =A...Z= -- say, =X=) in the translatable string will be translated to <code>&lt;span class='twikiAccessKey'&gt;X&lt;/span&gt;</code>. This is used to implement access keys. If you want to write an actual amperstand that stays just before a letter, write two consecutive amperstands (<code>&amp;&amp;</code>): they will be transformed in just one.
      * Translatable string starting with underscores (<code>_</code>) are reserved. You *must not* use translatable phrases starting with an underscore.
      * Make sure that the translatable string is _constant_. Specially, do *not* include <code>%<nop>VARIABLES%</code> inside the translatable strings (since they will get expanded *before* the <code>%<nop>MAKETEXT{...}%</code> itself is handled).
@


1.3
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1197443560" format="1.1" version="3"}%
d19 1
a19 1
        <em> %MAKETEXT{"Did you want to [[[_1]][reset [_2]'s password]]?" args="TWiki.ResetPassword,%WIKIUSERNAME%"}% </em>
d21 4
a24 16
      * TWiki will translate the =string= to the current user's language _only_
        if it has such string in its translation table for that language.
      * Amperstands (<code>&amp;</code>) followed by one letter (one of a...z, A...Z)
        (say, =X=) in the translatable string will be translated to 
        <code>&lt;span class='twikiAccessKey'&gt;X&lt;/span&gt;</code>.
        This is used to implement access keys.
        If you want to write an actual amperstand that stays just before a letter,
        write two consecutive amperstands (<code>&amp;&amp;</code>): they will
        be transformed in just one.
      * translatable string starting with underscores (<code>_</code>) are reserved. You
        *cannot* use translatable phrases starting with an underscore.
      * Make sure that the translatable string is _constant_. Specially, do *not*
        include <code>%<nop>VARIABLES%</code> inside the translatable strings
        (since they will get expanded *before* the <code>%<nop>MAKETEXT{...}%</code>
        itself is handled).

@


1.2
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1160971176" format="1.2" version="2"}%
a3 1

d5 1
a5 1
   * Syntax: =%<nop>MAKETEXT{"string" args="..."}=
d17 1
a17 1
      * =%<nop>MAKETEXT{"Did you want to [<nop>[<nop>[<nop>_1]<nop>]<nop>[reset [_2]'s password]<nop>]<nop>?" args="%<nop>TWIKIWEB%.ResetPassword,%<nop>WIKIUSERNAME%"}%=
@


1.1
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
d5 1
a5 1
---+++ MAKETEXT -- creates text using TWiki's I18N infrastructure
@
