Skip to content

Conversation

@zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Oct 31, 2024

以下のコミットの変更に追従しました

が空の文字列(<literal>""</literal>)以外に設定されているとき、
<link xlink:href="&url.rfc;4180">RFC 4180</link>
に準拠しない CSV が生成されたり、PHP の CSV
関数を介してラウンドトリップ(往復変換)でデータが壊れる可能性があります。
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ここが翻訳に迷うところで、直訳すると「ラウンドトリップを生き残ることができない」。

https://github.com/php/doc-en/blob/cef78b0fbe0fbe02003699b027ab50200097e949/language-snippets.ent#L1064-L1070

Copy link
Contributor

Choose a reason for hiding this comment

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

つまり、例えば「CSVをPHPのcsv関数(fgetcsvとかstr_getcsvとか)で読み込んで、fputcsvとかで書き込んだときの内容が保証されない」という意味ですよね。round tripは往復の旅行ですから、それをCSVのデータに例えているということですかね。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

そういうことです

簡単に習得することができます。この言語は、動的に生成されるウェブページを
Web 開発者が速やかに作成できるようにすることを主な目標として
つくられました。しかし、それだけにとどまらず、
もっと多くのことを PHP を使って行うことができます。
Copy link
Contributor Author

Choose a reason for hiding this comment

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

翻訳は変更なし

@zonuexe zonuexe marked this pull request as draft October 31, 2024 12:13
@zonuexe zonuexe marked this pull request as ready for review October 31, 2024 12:51
@zonuexe
Copy link
Contributor Author

zonuexe commented Oct 31, 2024

ビルドが失敗しているように見えるのは php/doc-en@4cb53ec が影響してそうに見えるので別ブランチで作業を進めます

Copy link
Contributor

@youkidearitai youkidearitai left a comment

Choose a reason for hiding this comment

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

LGTM!
ラウンドトリップの件で特になければ、おいおいマージさせていただきます。

@youkidearitai youkidearitai merged commit 5510f67 into php:master Oct 31, 2024
1 check failed
@zonuexe zonuexe deleted the follow/doc-en-1 branch October 31, 2024 14:44
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