Skip to content

Commit

Permalink
[PHP8.4] Pharの翻訳 (#230)
Browse files Browse the repository at this point in the history
* pharを翻訳

* EN-Revisionの更新

* `EN-Revision`を`master`ブランチのコミットIDへ修正

* 原文側のタグ変更を翻訳側にも反映

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
  • Loading branch information
natsuki-engr and KentarouTakeda authored Dec 27, 2024
1 parent 5d50ddd commit 8b18790
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 10 deletions.
24 changes: 23 additions & 1 deletion reference/phar/Phar.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 18900b16944d69c38808c42d30f7150e83faec0d Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<reference xml:id="class.phar" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Phar クラス</title>
Expand Down Expand Up @@ -155,6 +155,28 @@
<!-- }}} -->

</section>

<section role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Zip アーカイブの Unix タイムスタンプ拡張のサポートが追加されました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>

&reference.phar.entities.Phar;
Expand Down
32 changes: 28 additions & 4 deletions reference/phar/Phar/setAlias.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f03806fcd8fe03a0501bd40b6e3939ff6589a1d2 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 661e08a17aee0d717536cd80c8b199c6eef088ab Maintainer: takagi Status: ready -->
<refentry xml:id="phar.setalias" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Phar::setAlias</refname>
Expand All @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="Phar">
<modifier>public</modifier> <type>bool</type><methodname>Phar::setAlias</methodname>
<modifier>public</modifier> <type>true</type><methodname>Phar::setAlias</methodname>
<methodparam><type>string</type><parameter>alias</parameter></methodparam>
</methodsynopsis>
&phar.write;
Expand Down Expand Up @@ -45,8 +45,9 @@
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
</para>
<simpara>
&return.true.always;
</simpara>
</refsect1>

<refsect1 role="errors">
Expand All @@ -60,6 +61,29 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<methodname>Phar::setAlias</methodname> は、
現在暫定的に <type>true</type> を返すようになりました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
17 changes: 12 additions & 5 deletions reference/phar/Phar/setDefaultStub.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f03806fcd8fe03a0501bd40b6e3939ff6589a1d2 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 661e08a17aee0d717536cd80c8b199c6eef088ab Maintainer: takagi Status: ready -->
<refentry xml:id="phar.setdefaultstub" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Phar::setDefaultStub</refname>
Expand All @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="Phar">
<modifier>public</modifier> <type>bool</type><methodname>Phar::setDefaultStub</methodname>
<modifier>public</modifier> <type>true</type><methodname>Phar::setDefaultStub</methodname>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>index</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>webIndex</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -49,9 +49,9 @@

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
<simpara>
&return.true.always;
</simpara>
</refsect1>

<refsect1 role="errors">
Expand All @@ -76,6 +76,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<methodname>Phar::setDefaultStub</methodname> は、
現在暫定的に <type>true</type> を返すようになりました。
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down

0 comments on commit 8b18790

Please sign in to comment.