cvs: peardoc /en/package/internationalization/translation2 intro.xml

From: Date: Sun, 20 Jun 2004 07:52:47 +0000
Subject: cvs: peardoc /en/package/internationalization/translation2 intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4449@lists.php.net to get a copy of this message
quipo Sun Jun 20 03:52:47 2004 EDT Modified files: /peardoc/en/package/internationalization/translation2 intro.xml Log: add internal links to decorator descriptions http://cvs.php.net/diff.php/peardoc/en/package/internationalization/translation2/intro.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/internationalization/translation2/intro.xml diff -u peardoc/en/package/internationalization/translation2/intro.xml:1.4 peardoc/en/package/internationalization/translation2/intro.xml:1.5 --- peardoc/en/package/internationalization/translation2/intro.xml:1.4 Sat Jun 19 16:56:36 2004 +++ peardoc/en/package/internationalization/translation2/intro.xml Sun Jun 20 03:52:46 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.internationalization.translation2.intro"> <refnamediv> <refname>Introduction</refname> @@ -29,11 +29,36 @@ one on top of the other, in any number. This approach should suit everyone's needs. Currently, the following decorators are provided: <itemizedlist> - <listitem><para>CacheLiteFunction (for fast file-based caching)</para></listitem> - <listitem><para>CacheMemory (for memory-based caching)</para></listitem> - <listitem><para>DefaultText (to replace empty strings with their keys or a default text)</para></listitem> - <listitem><para>Lang (resort to fallback languages for empty strings)</para></listitem> - <listitem><para>SpecialChars (replace html entities with their hex codes)</para></listitem> + <listitem> + <para> + <link linkend="package.internationalization.translation2.translation2-decorator-cachelitefunction-summary"> + CacheLiteFunction</link> (for fast file-based caching) + </para> + </listitem> + <listitem> + <para> + <link linkend="package.internationalization.translation2.translation2-decorator-cachememory-summary"> + CacheMemory</link> (for memory-based caching) + </para> + </listitem> + <listitem> + <para> + <link linkend="package.internationalization.translation2.translation2-decorator-defaulttext-summary"> + DefaultText</link> (to replace empty strings with their keys or a default text) + </para> + </listitem> + <listitem> + <para> + <link linkend="package.internationalization.translation2.translation2-decorator-lang-summary"> + Lang</link> (resort to fallback languages for empty strings) + </para> + </listitem> + <listitem> + <para> + <link linkend="package.internationalization.translation2.translation2-decorator-specialchars-summary"> + SpecialChars</link> (replace html entities with their hex codes) + </para> + </listitem> </itemizedlist> </para> </refsect1> @@ -133,7 +158,7 @@ </programlisting> </para> <para> - As you can see, the main methods are + As you can see, the main methods are <link linkend="package.internationalization.translation2.translation2.get"> <function>get</function> </link>, @@ -217,10 +242,10 @@ <refsect1 id="package.internationalization.translation2.intro.example4"> <title>Translate a string to another language</title> <para> - The + The <link linkend="package.internationalization.translation2.translation2.translate"> <function>translate</function> - </link> method allows translating an entire string to another language, + </link> method allows translating an entire string to another language, without having to know the associated stringID <programlisting role="php"> <![CDATA[

« previous php.pear.doc (#4449) next »