Skip to content

[PHP 8.4] Document http_(get|clear)_last_response_headers() functions #204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

Ippey
Copy link
Contributor

@Ippey Ippey commented Dec 3, 2024

php/doc-en#4034 の変更を反映しました。

Copy link
Collaborator

@KentarouTakeda KentarouTakeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!

訳はバッチリだと思います。語句の統一で気になる箇所がありました。ご確認お願いします。

<void/>
</methodsynopsis>
<simpara>
<link linkend="wrappers.http">HTTP wrapper</link> を介して受け取った最後の <acronym>HTTP</acronym> レスポンスヘッダーを含む
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<link linkend="wrappers.http">HTTP wrapper</link> を介して受け取った最後の <acronym>HTTP</acronym> レスポンスヘッダーを含む
<link linkend="wrappers.http">HTTP ラッパー</link> を介して受け取った最後の <acronym>HTTP</acronym> レスポンスヘッダーを含む

http_clear_last_response_headers() 側が ラッパー という表現なのでそれに統一した方が良いかもしれません。

ja全体を検索してみました。語句の利用例自体が多くないのですが、他は ラッパー のようです。

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
<link linkend="wrappers.http">HTTP wrapper</link> を使って受け取った <acronym>HTTP</acronym> ヘッダーを
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<link linkend="wrappers.http">HTTP wrapper</link> を使って受け取った <acronym>HTTP</acronym> ヘッダーを
<link linkend="wrappers.http">HTTP ラッパー</link> を使って受け取った <acronym>HTTP</acronym> ヘッダーを

@Ippey
Copy link
Contributor Author

Ippey commented Dec 3, 2024

@KentarouTakeda ありがとうございます。修正しましたー!

Copy link
Collaborator

@KentarouTakeda KentarouTakeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!

@KentarouTakeda KentarouTakeda merged commit 4a0bf07 into php:master Dec 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants