Преглед изворни кода

Finished the bit that was left out

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21533 44c647ce-9c0f-0410-b52a-842ac1e357ba
tomeks пре 16 година
родитељ
комит
b690651fd5
1 измењених фајлова са 9 додато и 7 уклоњено
  1. 9 7
      documentation/manual/pl/ref/coding_standard.xml

+ 9 - 7
documentation/manual/pl/ref/coding_standard.xml

@@ -801,13 +801,15 @@ switch ($numPeople) {
                 </para>
 
                 <para>
-                    <emphasis>UWAGA:</emphasis> It is sometimes useful to write
-                    a <code>case</code> statement which falls through to the
-                    next case by not including a <code>break</code> or
-                    <code>return</code> in that case. To distinguish these cases
-                    from bugs, any <code>case</code> statement where <code>break</code>
-                    or <code>return</code> are omitted must contain the comment
-                    "// break intentionally omitted".
+                	<emphasis>UWAGA:</emphasis> W niektórych przypadkach przydatne
+                	jest zapisanie jednej klauzuli <code>case</code>, po której
+                	sterowanie powinno przejść do następnej klauzuli <code>case</code>
+                	poprzez nie umieszczanie polecenia <code>break</code> lub 
+                	<code>return</code> w wyjściowym <code>case</code>.
+                	Aby odróżnić takie sytuacje od niezamierzonych błędów, 
+                	wszystkie instrukcje <code>case</code> których intencjonalnie
+                	pozbawiono <code>break</code> lub <code>return</code> muszą
+                	zawierać komentarz: "// break intentionally omitted".
                 </para>
             </sect3>
         </sect2>