cvs: peardoc /ja/package/logging/log init.xml log.xml
| From: | Tadashi Jokagi | Date: | Sun, 22 Feb 2004 08:53:08 +0000 |
| Subject: | cvs: peardoc /ja/package/logging/log init.xml log.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2679@lists.php.net to get a copy of this message | ||
elf Sun Feb 22 03:53:08 2004 EDT
Modified files:
/peardoc/ja/package/logging/log init.xml log.xml
Log:
o translation updated.
http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/init.xml?r1=1.1&r2=1.2&ty=u
Index: peardoc/ja/package/logging/log/init.xml
diff -u peardoc/ja/package/logging/log/init.xml:1.1 peardoc/ja/package/logging/log/init.xml:1.2
--- peardoc/ja/package/logging/log/init.xml:1.1 Sun Oct 19 22:01:00 2003
+++ peardoc/ja/package/logging/log/init.xml Sun Feb 22 03:53:08 2004
@@ -1,5 +1,5 @@
-<!-- $Revision: 1.1 $ -->
-<!-- Sync: 1.2 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.2 -->
<refentry id="package.logging.log.init">
<refnamediv>
<refname>åæå</refname>
@@ -32,26 +32,30 @@
</programlisting>
</example>
<para>
- Directly initializing an instance of the <classname>Log</classname> is
- probably the easiest method to understand.
+
ç´æ¥<classname>Log</classname>ã®ã¤ã³ã¹ã¿ã³ã¹ãåæåãããã¨ã¯ã
+
æããçè§£ããæã容æãªæ¹æ³ã§ãã
</para>
<para>
- The second two approaches make use of software engineering design
- patterns (the "factory" and "singleton" metaphors).
- </para>
- <para>
- Specifically, calling the <function>factory</function> method will
- create a new instance of one of the <classname>Log_</classname>
- subclasses. The type of subclass that is returned is specified by the
- first parameter (<parameter>log_type</parameter>) passed to the
- <function>factory</function> method. This approach effectively hides
+
次ã®2ã¤ã®ã¢ããã¼ãã¯ã½ããã¦ã§ã¢å·¥å¦ãã¶ã¤ã³ãã¿ã¼ã³
+ ("factory"ã¨"singleton"ã¡ã¿ãã¡ã¼)
+ ã§ãã
+ </para>
+ <para>
+
ç¹ã«<function>factory</function>ã¡ã½ãããå¼ã¶ãã¨ã¯ã
+ <classname>Log_</classname>
+
ãµãã¯ã©ã¹ã®ãã¡ä¸ã¤ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ã使ãã¾ãã
+ è¿ããããµãã¯ã©ã¹ã®ã¿ã¤ãã¯ã
+
<function>factory</function>ã«æ¸¡ãããæåã®ãã©ã¡ã¼ã¿ã¼
+
(<parameter>log_type</parameter>)ã«ãã£ã¦æå®ããã¾ãã
+ This approach effectively hides
the subclasses while still allowing the programmer to request a
- concrete instance of a certain subclass. This is useful in cases where
- the subclass type needs to be chosen at runtime.
+ concrete instance of a certain subclass.
+
ããã¯ãã©ã³ã¿ã¤ã ã§ãµãã¯ã©ã¹ã¿ã¤ããé¸ã¶å¿
è¦ã®ããæã«å½¹ç«ã¡ã¾ãã
</para>
<para>
- The <function>factory</function> method must always be called using
- PHP's static method notation - <literal>Log::factory</literal>.
+ <function>factory</function>ã¯ã
+
常ã«PHPã®éæ¢ã¡ã½ããè¡¨è¨æ³ã使ç¨ãã¦å¼ã³ã¾ãã
+ - <literal>Log::factory</literal>.
</para>
<para>
The <function>singleton</function> method is identical to the
@@ -65,9 +69,9 @@
simply return a reference to the existing instance.
</para>
<para>
- The <function>singleton</function> method must also be called
- statically. In addition, it requires PHP's reference notation -
- <literal>&Log::singleton</literal>.
+
<function>singleton</function>ã¡ã½ãããå¿
ãéçã«å¼ã°ãã¾ãã
+
ããã¦ããã¯PHPã®åç
§è¡¨è¨æ³ãè¦æ±ãã¾ãã
+ - <literal>&Log::singleton</literal>
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/log.xml?r1=1.1&r2=1.2&ty=u
Index: peardoc/ja/package/logging/log/log.xml
diff -u peardoc/ja/package/logging/log/log.xml:1.1 peardoc/ja/package/logging/log/log.xml:1.2
--- peardoc/ja/package/logging/log/log.xml:1.1 Sun Oct 19 22:01:00 2003
+++ peardoc/ja/package/logging/log/log.xml Sun Feb 22 03:53:08 2004
@@ -1,5 +1,5 @@
-<!-- $Revision: 1.1 $ -->
-<!-- Sync: 1.1 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
<refentry id="package.logging.log.log">
<refnamediv>
<refname>Log</refname>
@@ -9,7 +9,7 @@
<synopsis>require_once "Log.php";</synopsis>
</refsynopsisdiv>
<refsect1>
- <title>Description</title>
+ <title>説æ</title>
<simpara>
ãã®ã³ã°ã¤ã³ã¿ã¼ãã§ã¼ã¹é¢æ°ã
</simpara>