svn: /phpdoc/hk/trunk/ chapters/tutorial.xml how-to-make.txt language/constants.xml language/functions.xml language/oop.xml language/operators.xml language/types.xml language-snippets.ent readme.first reference/filepro/functions/filepro-fieldcount.xml reference/pspell/functions/pspell-new.xml

[email protected] (Richard Quadling) Thu, 06 Oct 2011 17:42:30 +0000
Newsgroups php.doc.hk
Message-ID <[email protected]>
rquadling                                Thu, 06 Oct 2011 17:42:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=317839

Log:
W/S, Tab removal

Changed paths:
    U   phpdoc/hk/trunk/chapters/tutorial.xml
    U   phpdoc/hk/trunk/how-to-make.txt
    U   phpdoc/hk/trunk/language/constants.xml
    U   phpdoc/hk/trunk/language/functions.xml
    U   phpdoc/hk/trunk/language/oop.xml
    U   phpdoc/hk/trunk/language/operators.xml
    U   phpdoc/hk/trunk/language/types.xml
    U   phpdoc/hk/trunk/language-snippets.ent
    U   phpdoc/hk/trunk/readme.first
    U   phpdoc/hk/trunk/reference/filepro/functions/filepro-fieldcount.xml
    U   phpdoc/hk/trunk/reference/pspell/functions/pspell-new.xml
svn-diffs-317839.txt (text/x-diff, 10.7 KB)
Modified: phpdoc/hk/trunk/chapters/tutorial.xml
===================================================================
--- phpdoc/hk/trunk/chapters/tutorial.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/chapters/tutorial.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -158,7 +158,7 @@
 <![CDATA[
 <?php
 if (strstr($_SERVER["HTTP_USER_AGENT"], "MSIE")) {
-	echo "You are using Internet Explorer<br />";
+    echo "You are using Internet Explorer<br />";
 }
 ?>
 ]]>

Modified: phpdoc/hk/trunk/how-to-make.txt
===================================================================
--- phpdoc/hk/trunk/how-to-make.txt	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/how-to-make.txt	2011-10-06 17:42:30 UTC (rev 317839)
@@ -1,15 +1,15 @@
 * Certain files are altered/added in order to make manual in language zh_hk (Chinese Hong Kong Cantonese).

 * Add these to the modular docbook directory: (if sgml)
-  dbl1zhhk.ent 		-> common/dbl1zhhk.ent
-  dbl1zhhk.dsl 		-> common/dbl1zhhk.dsl
-  dbl10n.dsl   		-> common/dbl10n.dsl
-  docbook.dsl.print	-> print/docbook.dsl
-  docbook.dsl.html	-> html/docbook.dsl
+  dbl1zhhk.ent      -> common/dbl1zhhk.ent
+  dbl1zhhk.dsl      -> common/dbl1zhhk.dsl
+  dbl10n.dsl        -> common/dbl10n.dsl
+  docbook.dsl.print -> print/docbook.dsl
+  docbook.dsl.html  -> html/docbook.dsl

 * Add these to the modular docbook directory: (if xml)
-  zh_hk.xml		-> common/zh_hk.xml
-  l10n.xml		-> common/l10n.xml
+  zh_hk.xml         -> common/zh_hk.xml
+  l10n.xml          -> common/l10n.xml

 * make by 'autoconf;./configure --with-lang=hk;make' should work.


Modified: phpdoc/hk/trunk/language/constants.xml
===================================================================
--- phpdoc/hk/trunk/language/constants.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/language/constants.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -106,7 +106,7 @@
      <term>E_ALL</term>
      <listitem>
       <simpara>
-    	??
+       ??
       </simpara>
      </listitem>
     </varlistentry>
@@ -117,14 +117,13 @@
    <para>
       這些由 E_ 打頭的常數通常是和
        <function>error_reporting</function>函數配合用來調整 error reporting level , 就是說調設有哪些錯誤會被處理, 有哪些會被忽略。
-	 </para>
+     </para>

    <para>
     如要定義自己的常數, 請用
     <function>define</function> 函數。 </para>
-
    <para>
-	留心這都是常數而不是 C 風格的巨集: 常數只能儲存合法的數據。
+    留心這都是常數而不是 C 風格的巨集: 常數只能儲存合法的數據。
     <example>
      <title>設定 常數</title>
      <programlisting>
@@ -148,7 +147,7 @@
 ?&gt;
      </programlisting>
     </example></para>
-
+
   </chapter>

  <!-- Keep this comment at the end of the file

Modified: phpdoc/hk/trunk/language/functions.xml
===================================================================
--- phpdoc/hk/trunk/language/functions.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/language/functions.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -207,7 +207,7 @@

    <sect2 xml:id="functions.variable-arg-list">
     <title>Variable-length argument lists</title>
-
+
     <simpara>
      PHP 4 has support for variable-length argument lists in
      user-defined functions. This is really quite easy, using the

Modified: phpdoc/hk/trunk/language/oop.xml
===================================================================
--- phpdoc/hk/trunk/language/oop.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/language/oop.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -187,19 +187,19 @@
     function foo($name) {
         // create a reference inside the global array $globalref
         global $globalref;
-		$globalref[] = &amp;$this;
+        $globalref[] = &amp;$this;
         // set name to passed value
         $this->setName($name);
-		// and put it out
+        // and put it out
         $this->echoName();
     }

     function echoName() {
         echo "&lt;br&gt;",$this->Name;
     }
-
-	function setName($name)	{
-		$this->Name = $name;
+
+    function setName($name) {
+        $this->Name = $name;
     }
 }
     </programlisting>

Modified: phpdoc/hk/trunk/language/operators.xml
===================================================================
--- phpdoc/hk/trunk/language/operators.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/language/operators.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -141,28 +141,28 @@
        <entry>$a ^ $b</entry>
        <entry>Xor</entry>
        <entry>
-	當 $a 和 $b 的相對應位元中只有一個是 '1' 時才會傳回 1 。
+        當 $a 和 $b 的相對應位元中只有一個是 '1' 時才會傳回 1 。
        </entry>
       </row>
       <row>
        <entry>~ $a</entry>
        <entry>Not</entry>
        <entry>
-	把 $a 裏的位元取反相: 1 變 0 、 0 變 1 。
+        把 $a 裏的位元取反相: 1 變 0 、 0 變 1 。
        </entry>
       </row>
       <row>
        <entry>$a &lt;&lt; $b</entry>
        <entry>Shift left</entry>
        <entry>
-把 $a 的位元向左移動 $b 那麼多位。(每移一次代表把 $a 乘以 2)
+        把 $a 的位元向左移動 $b 那麼多位。(每移一次代表把 $a 乘以 2)
        </entry>
       </row>
       <row>
        <entry>$a &gt;&gt; $b</entry>
        <entry>Shift right</entry>
        <entry>
-	把 $a 的位元向右移動 $b 那麼多位。(每移一次代表把 $a 除以 2)
+        把 $a 的位元向右移動 $b 那麼多位。(每移一次代表把 $a 除以 2)
        </entry>
       </row>
      </tbody>
@@ -195,7 +195,7 @@
        <entry>$a === $b</entry>
        <entry>全等</entry>
        <entry>
-	當兩者相等且形態一樣時成立(PHP4 才有)
+        當兩者相等且形態一樣時成立(PHP4 才有)
        </entry>
       </row>
       <row>
@@ -207,8 +207,8 @@
        <entry>$a !== $b</entry>
        <entry>Not identical</entry>
        <entry>
-	&true; if $a is not equal to $b, or they are not of the same
-	type. (PHP 4 only)
+        &true; if $a is not equal to $b, or they are not of the same
+        type. (PHP 4 only)
        </entry>
       </row>
       <row>

Modified: phpdoc/hk/trunk/language/types.xml
===================================================================
--- phpdoc/hk/trunk/language/types.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/language/types.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -271,7 +271,7 @@
 /* Get the last character of a string. */
 $str = 'This is still a test.';
 $last = $str[strlen($str)-1];
-?&gt;
+?&gt;
      </programlisting>
     </example>
    </para>
@@ -416,11 +416,11 @@
       <programlisting role="php">
 # Example 1:

-$a["color"]	= "red";
-$a["taste"]	= "sweet";
-$a["shape"]	= "round";
-$a["name"]	= "apple";
-$a[3]		= 4;
+$a["color"] = "red";
+$a["taste"] = "sweet";
+$a["shape"] = "round";
+$a["name"]  = "apple";
+$a[3]       = 4;

 # Example 2:
 $a = array(

Modified: phpdoc/hk/trunk/language-snippets.ent
===================================================================
--- phpdoc/hk/trunk/language-snippets.ent	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/language-snippets.ent	2011-10-06 17:42:30 UTC (rev 317839)
@@ -27,7 +27,7 @@
 <!ENTITY warn.imaprecodeyaz '<warning><simpara>由於所使用的內部符號相同﹐<link linkend="ref.imap">IMAP</link> 函數不能與 <link linkend="ref.recode">recode</link> 或 <link linkend="ref.yaz">YAZ</link> 延伸同時使用﹐</simpara></warning>'>

 <!ENTITY note.registerglobals '<note><title>register_globals: 注意</title><para>自 PHP 4.2.0 版起,<link linkend="ini.register-globals">register_globals</link>的指令已預設為 <emphasis>off</emphasis>。PHP 社群鼓勵所有使用者不要依賴此指令,轉而使用其他方法,如 &link.superglobals;。</para></note>'>
-
+
 <!ENTITY note.superglobals '<note><title>Superglobals: 可用性說明</title><para>自 PHP 4.1.0 版起,superglobal 陣列如 <varname>$_GET</varname>,<varname>$_POST</varname> 和 <varname>$_SERVER</varname> 等已可使用。詳情請參閱使用手冊中的 &link.superglobals; 部份。</para></note>'>

 <!ENTITY avail.register-long-arrays '由 PHP 5.0.0 開始,較長的 PHP <link linkend="language.variables.predefined">先前定義的變數</link>陳列可以通過設定 <link linkend="ini.register-long-arrays">register_long_arrays</link> 來關閉。'>

Modified: phpdoc/hk/trunk/readme.first
===================================================================
--- phpdoc/hk/trunk/readme.first	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/readme.first	2011-10-06 17:42:30 UTC (rev 317839)
@@ -1 +1 @@
-«Ü¦hªº functions ÁÙ¨Sͦn. ¦ý¥ý©ñ¤W¨Ó¦A»¡
+很多的 functions 還沒譯好. 但先放上來再說

Modified: phpdoc/hk/trunk/reference/filepro/functions/filepro-fieldcount.xml
===================================================================
--- phpdoc/hk/trunk/reference/filepro/functions/filepro-fieldcount.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/reference/filepro/functions/filepro-fieldcount.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -13,7 +13,7 @@
       <void/>
      </methodsynopsis>
     <para>
-	傳回已開啟的資料庫中有多少個欄位 (列)。</para>
+     傳回已開啟的資料庫中有多少個欄位 (列)。</para>
     <para>
      See also <function>filepro</function>.</para>
    </refsect1>

Modified: phpdoc/hk/trunk/reference/pspell/functions/pspell-new.xml
===================================================================
--- phpdoc/hk/trunk/reference/pspell/functions/pspell-new.xml	2011-10-06 17:06:02 UTC (rev 317838)
+++ phpdoc/hk/trunk/reference/pspell/functions/pspell-new.xml	2011-10-06 17:42:30 UTC (rev 317839)
@@ -46,23 +46,23 @@
      <itemizedlist>
       <listitem>
        <simpara>
-	PSPELL_FAST - 快速 (提供最少的建議)
+        PSPELL_FAST - 快速 (提供最少的建議)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
-	PSPELL_NORMAL - 正常 (多點建議)
+        PSPELL_NORMAL - 正常 (多點建議)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
-	PSPELL_BAD_SPELLERS - 慢速 (很多拼法建議)
+        PSPELL_BAD_SPELLERS - 慢速 (很多拼法建議)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
-	PSPELL_RUN_TOGETHER - 把合成字當作是拼法正確的字。 譬如 "thecat" 會當作是正確的。 這個模式只影響 <function>pspell_check</function> 函數;
-	<function>pspell_suggest</function> 依然會提出修改建議。
+        PSPELL_RUN_TOGETHER - 把合成字當作是拼法正確的字。 譬如 "thecat" 會當作是正確的。 這個模式只影響 <function>pspell_check</function> 函數;
+        <function>pspell_suggest</function> 依然會提出修改建議。
        </simpara>
       </listitem>
      </itemizedlist>