cvs: peardoc /en/package/internationalization/translation2/translation2 get.xml getraw.xml
| From: | Lorenzo Alberton | Date: | Sun, 30 Jan 2005 17:17:42 +0000 |
| Subject: | cvs: peardoc /en/package/internationalization/translation2/translation2 get.xml getraw.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5496@lists.php.net to get a copy of this message | ||
quipo Sun Jan 30 12:17:42 2005 EDT
Modified files:
/peardoc/en/package/internationalization/translation2/translation2
get.xml
getraw.xml
Log:
explain $errorText parameter usage
http://cvs.php.net/diff.php/peardoc/en/package/internationalization/translation2/translation2/get.xml?r1=1.2&r2=1.3&ty=u
Index: peardoc/en/package/internationalization/translation2/translation2/get.xml
diff -u peardoc/en/package/internationalization/translation2/translation2/get.xml:1.2
peardoc/en/package/internationalization/translation2/translation2/get.xml:1.3
--- peardoc/en/package/internationalization/translation2/translation2/get.xml:1.2 Mon May 3
19:28:23 2004
+++ peardoc/en/package/internationalization/translation2/translation2/get.xml Sun Jan 30 12:17:42
2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.internationalization.translation2.translation2.get">
<refnamediv>
<refname><function>Translation2::get</function></refname>
@@ -21,7 +21,10 @@
<refsect1 id="package.internationalization.translation2.translation2.get.desc">
&title.desc;
- <para>Fetch the string from the container. If the string is empty, check the fallback
language; if the latter is empty too, then return the $defaultText.</para>
+ <para>
+ Fetch the string from the container. If the string is empty and the DefaultText
+ decorator is used, then return the $defaultText.
+ </para>
</refsect1>
<refsect1 id="package.internationalization.translation2.translation2.get.param">
&title.param;
@@ -73,8 +76,8 @@
</term>
<listitem>
<para>
- Text to display when the strings in both the
- default and the fallback lang are empty
+ Text to display when the string is empty.
+ NB: This parameter is only used in the DefaultText decorator
</para>
</listitem>
</varlistentry>
http://cvs.php.net/diff.php/peardoc/en/package/internationalization/translation2/translation2/getraw.xml?r1=1.2&r2=1.3&ty=u
Index: peardoc/en/package/internationalization/translation2/translation2/getraw.xml
diff -u peardoc/en/package/internationalization/translation2/translation2/getraw.xml:1.2
peardoc/en/package/internationalization/translation2/translation2/getraw.xml:1.3
--- peardoc/en/package/internationalization/translation2/translation2/getraw.xml:1.2 Tue Jan 4
04:09:29 2005
+++ peardoc/en/package/internationalization/translation2/translation2/getraw.xml Sun Jan 30 12:17:42
2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.internationalization.translation2.translation2.getraw">
<refnamediv>
<refname><function>Translation2::getRaw</function></refname>
@@ -21,7 +21,9 @@
<refsect1
id="package.internationalization.translation2.translation2.getraw.desc">
&title.desc;
- <para>Fetch the string from the container. If the string is empty, return the
$defaultText.</para>
+ <para>
+ Fetch the string from the container. If the string is empty return $defaultText.
+ </para>
</refsect1>
<refsect1
id="package.internationalization.translation2.translation2.getraw.param">
&title.param;