svn: /phpdoc/ja/trunk/ language-snippets.ent

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 29 Jan 2020 00:49:40 +0000

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

Log:
updated. excluding monogodb related.

Changed paths:
    U   phpdoc/ja/trunk/language-snippets.ent

Modified: phpdoc/ja/trunk/language-snippets.ent
===================================================================
--- phpdoc/ja/trunk/language-snippets.ent	2020-01-29 00:24:28 UTC (rev 349046)
+++ phpdoc/ja/trunk/language-snippets.ent	2020-01-29 00:49:40 UTC (rev 349047)
@@ -40,10 +40,7 @@
 プログラムの出力をファイルや別の出力ストリームにリダイレクトする必要があります。
 そうしないと、プログラムが実行を終えるまで PHP はハングしてしまいます。</para></note>'>

-<!-- to be translated -->
-<!ENTITY note.exec-bypass-shell '<note xmlns="http://docbook.org/ns/docbook"><para>On Windows <function>exec</function>
-will first start cmd.exe to launch the command. If you want to start an external program without starting cmd.exe
-use <function>proc_open</function> with the <parameter>bypass_shell</parameter> option set.</para></note>'>
+<!ENTITY note.exec-bypass-shell '<note xmlns="http://docbook.org/ns/docbook"><para>Windowsでは、<function>exec</function> 関数はコマンドを起動するために最初に cmd.exe を起動します。cmd.exe を起動せずに外部プログラムを起動したい場合は、<function>proc_open</function> 関数を <parameter>bypass_shell</parameter> オプションを指定して使うようにしてください。</para></note>'>

 <!ENTITY note.func-callback '<note xmlns="http://docbook.org/ns/docbook"><simpara>関数名の代わりに、オブジェクトへの
 リファレンスを格納した配列とメソッド名を指定することもできます。</simpara></note>'>
@@ -634,7 +631,6 @@
 font_index</parameter></term><listitem><para><function>imagepsloadfont</function> により返されるフォントリソース
 </para></listitem></varlistentry>'>

-<!-- to be translated -->
 <!ENTITY gd.ttf.fontfile "
     <varlistentry xmlns='http://docbook.org/ns/docbook'>
      <term><parameter>fontfile</parameter></term>
@@ -643,22 +639,25 @@
        使用したい TrueType フォントへのパス。
       </para>
       <para>
-       Depending on which version of the GD library PHP is using, <emphasis>when
-       <parameter>fontfile</parameter> does not begin with a leading
-       <literal>/</literal> then <literal>.ttf</literal> will be appended</emphasis>
-       to the filename and the library will attempt to search for that
-       filename along a library-defined font path.
+       どの GDライブラリをPHPが使っているかによって、
+       <emphasis>いつ
+       <parameter>fontfile</parameter> パラメータの先頭が
+       <literal>/</literal> で始まらず、
+       <literal>.ttf</literal> がファイル名に付加されるかが違います。</emphasis>
+       そして、ライブラリは自らが定義したフォントパスに従ってそのファイル名を探そうとします。
       </para>
       <para>
-       When using versions of the GD library lower than 2.0.18, a <literal>space</literal> character,
-       rather than a semicolon, was used as the 'path separator' for different font files.
-       Unintentional use of this feature will result in the warning message:
-       <literal>Warning: Could not find/open font</literal>. For these affected versions, the
-       only solution is moving the font to a path which does not contain spaces.
+       GD ライブラリ 2.0.18 より前のバージョンを使っている場合、
+       セミコロンではなく、<literal>space</literal> 文字が 異なるフォントファイルの
+       'pathのセパレータ' として使われていました。
+       この機能を意図せず使ってしまうと、次のような警告が発生します:
+       <literal>Warning: Could not find/open font</literal>.
+       この事象の影響を受けてしまうバージョンでは、
+       唯一の解決策はフォントをスペースを含まないパスに移動させることだけです。
       </para>
       <para>
-       In many cases where a font resides in the same directory as the script using it
-       the following trick will alleviate any include problems.
+       多くの場合、スクリプトが使っているフォントと同じディレクトリにある場合、
+       次のようなテクニックで問題を軽減できるでしょう。
        <programlisting role='php'>
 <![CDATA[
 <?php
@@ -673,8 +672,8 @@
       </para>
       <note>
        <para>
-        Note that <link linkend='ini.open-basedir'>open_basedir</link> does
-        <emphasis>not</emphasis> apply to <parameter>fontfile</parameter>.
+        <link linkend='ini.open-basedir'>open_basedir</link> は
+        <parameter>fontfile</parameter> には適用され <emphasis>ない</emphasis> ことに注意してください。
        </para>
       </note>
      </listitem>
@@ -2008,7 +2007,6 @@
 <!ENTITY win32service.noerror.false.error '成功した場合に <constant xmlns="http://docbook.org/ns/docbook">WIN32_NO_ERROR</constant> を返します。&win32service.false.error;'>

 <!-- SNMP -->
-<!-- to be translated -->
 <!ENTITY snmp.set.type.values '<para xmlns="http://docbook.org/ns/docbook">
  <acronym>MIB</acronym> は、オブジェクトIDごとのタイプを定義します。
  これは、以下の一覧から指定される一文字でなければなりません。
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.