Skip to content
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

<type>型名</type><type>typeName</type> に修正 #210

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

KentarouTakeda
Copy link
Collaborator

多くの箇所にあった <type>型名</type><type>typeName</type> に修正し必要に応じて前後の訳を調整しました。

修正の概要

en:

Returns the <type>string</type>.

Returns the string.

ja: 修正前

<type>文字列</type>を返します。

文字列を返します。

ja: 修正後

<type>string</type> を返します。

string を返します。

方針

  • <type> の使用有無は原文に準拠
  • 原則すべての <type>型名</type><type>typeName</type> に修正
  • 型それ自体の説明の際は括弧書きで補注
    • 例: 「配列」それ自体を説明する文章で唐突に array は、」 と書き出したりしない。
      冒頭のみ 「配列(array)は、」 と用語定義に相当する文。
  • 必要に応じて訳の微調整
    • 例: 「ほげ文字列を返します」 => 「ほげを string として返します」
    • 例: 「ふがリソースを返します」 => 「ふがを示す resource を返します」

その他

  • 「配列」での $arr[キー] = 値;$arr[key] = value; に修正
  • それらに対応する文中のリテラル表記を key, value に修正

@KentarouTakeda
Copy link
Collaborator Author

@mumumu
過去の経緯が解らないのですが、現時点で原文の意図を反映できていない気がしたので見つけた箇所すべて修正しました。理由あって現在の状態だとしたらすみません。ご確認頂けると幸いです。

@KentarouTakeda
Copy link
Collaborator Author

conflict解消

@KentarouTakeda
Copy link
Collaborator Author

問題なさそうなのでマージさせて頂きます。

@KentarouTakeda KentarouTakeda merged commit 180a2c1 into php:master Dec 31, 2024
1 check passed
@KentarouTakeda KentarouTakeda deleted the use-exist-type-name branch December 31, 2024 03:26
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.

1 participant