Skip to content

算術関数の訳の統一#3656

Open
noborus wants to merge 2 commits intopgsql-jp:doc_ja_18from
noborus:artihemetic
Open

算術関数の訳の統一#3656
noborus wants to merge 2 commits intopgsql-jp:doc_ja_18from
noborus:artihemetic

Conversation

@noborus
Copy link
Copy Markdown
Member

@noborus noborus commented Apr 5, 2026

算術関数の説明を統一しました。
加算、減算、乗算、除算。
単独の+ーは単項プラス、単項マイナス。

ビット論理和、ビット積、ビット反転は単語があると解釈して割当。
シフトはビット単位の左シフト、ビット単位の右シフトに統一

@noborus
Copy link
Copy Markdown
Member Author

noborus commented Apr 5, 2026

いくつかは他のドキュメントで統一されていないので、別の意見もあるかと思います。ご意見ください。

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

算術演算子・ビット演算子に関する日本語訳を、用語(加算/減算/乗算/除算、単項プラス/単項マイナス、ビット論理和/ビット積/ビット反転、ビット単位の左右シフト等)で統一し、ドキュメント全体の表現ゆれを減らすPRです。

Changes:

  • 算術演算子の説明語を「和/差/積/商」から「加算/減算/乗算/除算」へ統一
  • 単項演算(+/-)とビット演算(OR/XOR/AND/NOT/SHIFT等)の用語を統一
  • 一部説明文(row constructor comparison 等)の表現を微調整

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
doc/src/sgml/ref/pgbench.sgml pgbench 組み込み演算子表のビット演算用語を更新
doc/src/sgml/func4.sgml row constructor comparison の説明文を調整
doc/src/sgml/func3.sgml jsonpath/集約の説明内で単項演算・剰余・ビット演算の訳語を調整
doc/src/sgml/func2.sgml inet/macaddr のビット演算説明語を更新
doc/src/sgml/func1.sgml 演算子表・バイナリ文字列関数表などの訳語を統一
doc/src/sgml/func.sgml func1.sgml と同様の用語統一を反映

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 2264 to 2268
<!--
Bitwise OR
-->
ビット毎のOR
ビット論理和
</para>
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

この表では OR/XOR/AND を「ビット論理和/ビットの排他的論理和/ビット積」に統一していますが、直後の行に残っている「ビット毎のNOT」「ビット毎の左シフト」「ビット毎の右シフト」が同じ方針(PR説明ではシフトは「ビット単位の左/右シフト」、NOTは「ビット反転」)と揃っていません。pgbench内の演算子表も同じ用語に統一してください。

Copilot uses AI. Check for mistakes.
@noborus
Copy link
Copy Markdown
Member Author

noborus commented Apr 7, 2026

copilotの指摘分を統一しました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants