1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-28 02:23:18 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
Yoshinari Takaoka f867b1fe62 Document exception chaining
https://github.com/php/doc-en/commit/ed956d714e3fcf42b90c23777b0eb105c681b97c
2025-08-27 21:11:13 +09:00
Yoshinari Takaoka 4cdde79502 Use new markup for indicating section should not be chunked
https://github.com/php/doc-en/commit/7a75b854c8c52226d38397e7e8177e339fdb273f
2023-10-21 11:01:30 +09:00
Yoshinari Takaoka cbe674d8ad Fix: Remove class declaration
https://github.com/php/doc-en/commit/6f9e433f4b4a591801c3a49fc459550ea1b5f613
2023-03-22 01:44:29 +09:00
Yoshinari Takaoka 2938da1363 例外は「投げる」ではなく、「スローする」に統一
これは決めの問題だが、私も含めて、「スローする」派が圧倒的に優勢だったので、そちらに倒す。
2022-11-12 15:55:49 +09:00
Yoshinari Takaoka 7e1a9d2fd6 サンプルコードのコメントの、日本語訳を追随 2022-11-12 10:39:22 +09:00
Yoshinari Takaoka c37eea904b Change simplesect to sect1 in exception chapter
This will fix the fact that the examples start their number at 3.
The reason for that is the numbering starts within the previous ``<sect1>`` but this is not rendered on the page, but in a follow-up page.
However, we cannot put this sections after the ``<simplesect>`` as that doesn't respect the DTD: https://tdg.docbook.org/tdg/5.0/chapter.html

Converting them to <sect1>, however, makes them render into different pages.
Therefore, we use our custom PhD DTD: ``xmlns:phd="http://www.php.net/ns/phd"`` and use the ``<sect1 phd:chunk="false">`` tag which will keep the current behaviour of not splitting the pages.

日本語版を追随させるにあたっては、以下の修正も追加している

- 「スローする」に統一
- その他細かい語尾の修正

https://github.com/php/doc-en/commit/491a7cc9cddf1e20cda76b16226d0bc020402476
2022-11-12 10:28:41 +09:00
msng e63c617505 Update exceptions.xml (#35)
>  finally ブロックの何かに書いたコードは

「何かに」を「中に」に修正しました。
2022-03-11 15:32:26 +09:00
Yoshinari Takaoka db1f3cc901 hyphenate "object-oriented" / Updated EN-Revision only
日本語版には影響しない、ハイフンを入れるだけの修正だった
https://github.com/php/doc-en/commit/2e8ef0a1bd98243cb2c6c5c627a195bb53a7a440
2021-08-09 17:09:07 +09:00
Yoshinari Takaoka 8474b5ffc1 Exception implements Throwable + fix message param type
We were getting an Error trying to pass null to construct an exception, and found that "" works but null doesn't.

Also correcting the inheritance keyword since Throwable is an interface.

This brings these docs more into line with the PHPStorm stubs.
2021-06-08 10:49:37 +09:00
Yuichi Sugiyama b2e509cd37 タイポ修正 (#7) 2021-05-13 19:56:30 +09:00
Yoshinari Takaoka 848991fbbb fixed typo 2021-05-02 08:57:14 +09:00
Yoshinari Takaoka 36d7312629 Allow Throwable for $previous param
In current PHP versions the Exception-class seems to allow all Throwable
values for its constructor's $previous param instead of only values of
type Exception.

Closes GH-442.
2021-02-14 01:46:44 +09:00
Yoshinari Takaoka e441d98f19 Exception updates
* Empty catch statements
* Throw as an expression
* Various other cleanup while I was there to remove comments

I also deleted a crapload of comments. It's so satisfying.

Closes GH-238.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351674 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-26 17:06:10 +00:00
Yoshinari Takaoka cd62eaf091 sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351663 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-26 01:50:29 +00:00
Yoshinari Takaoka 5d2df4a7cf Remove mention of PHP 5 in Language Reference section
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351114 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-01 06:37:26 +00:00
Yoshinari Takaoka fa54c62cf2 fixed typo (mostly updated EN-Revision only)
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349714 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 08:25:24 +00:00
Yoshinari Takaoka da95f1bedb Clarification on interaction between finally and return statements (doc bug #68290)
Patch by Sorin Nunca


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349136 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 21:22:57 +00:00
Yoshinari Takaoka 1c0c3b9690 translated some parts (status ready)
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348720 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-29 09:31:43 +00:00
Satoru Yoshida 2fb4d6408d sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@346936 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-01 03:56:20 +00:00
Satoru Yoshida 5755e9e97a sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@344811 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-23 14:50:24 +00:00
Satoru Yoshida b14faf6be4 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342724 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-29 00:49:33 +00:00
TAKAGI Masahiro 938305e037 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@337001 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-18 22:33:23 +00:00
TAKAGI Masahiro b0cf99c86b Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@335973 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-22 00:49:34 +00:00
TAKAGI Masahiro 18270701a8 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330900 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-11 21:35:58 +00:00
TAKAGI Masahiro 294565433c Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330603 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 08:50:12 +00:00
TAKAGI Masahiro 3518544a69 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@328432 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 16:14:11 +00:00
TAKAGI Masahiro 387091ee0e sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@316888 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 00:41:40 +00:00
TAKAGI Masahiro 1034b94174 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@313055 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-07 15:21:17 +00:00
TAKAGI Masahiro 8eee0778ac sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@301524 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-25 00:30:23 +00:00
TAKAGI Masahiro 4a9edc4bf7 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@301161 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-11 12:25:00 +00:00
TAKAGI Masahiro 274ae3c6bd sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@300416 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-13 02:48:54 +00:00
TAKAGI Masahiro adc83118c8 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@297782 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-10 06:47:55 +00:00
Torben Wilson 5ba20ff84e Resynched with en (bumped EN-Revision and updated sgml-default-dtd-file).
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@288881 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-28 05:30:52 +00:00
TAKAGI Masahiro 4f184d65fd sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@288283 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-12 19:17:25 +00:00
Nilgün Belma Bugüner cfe0f9e820 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@283941 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 16:24:00 +00:00
TAKAGI Masahiro cd57a0429c sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@279823 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-04 05:24:46 +00:00
TAKAGI Masahiro 2cee763ae3 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@274865 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-29 20:39:16 +00:00
TAKAGI Masahiro 8c0949d2a5 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@270067 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-29 09:29:04 +00:00
TAKAGI Masahiro 3d011bf1be sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@257862 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-18 23:38:26 +00:00
TAKAGI Masahiro 82c51082e6 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@241874 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-28 03:43:05 +00:00
TAKAGI Masahiro eddc9f4d43 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@241477 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 21:04:04 +00:00
Hannes Magnusson d0ac585542 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there
 - Bump EN-Revision where appropriate


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@238266 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-22 14:32:58 +00:00
TAKAGI Masahiro 454ca47fbc fixed typo (thanks kuroki-san).
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@205932 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-26 03:42:42 +00:00
TAKAGI Masahiro 940d4af9e4 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@203938 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-29 20:35:36 +00:00
Jakub Vrana 6ffc9fbdf3 Exceptions moved to Language Reference
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@175889 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-29 13:03:47 +00:00