docs/ja_JP: Convert SubmitChecklist into reST with belated updates
Subsystems (3)
Akira Yokosawa
reviewerPATCH 1/2 docs/ja_JP: Convert SubmitChecklist into reST with belated updates
This is actually a brand-new translation against commit 47c67ec1e8ef ("docs: submit-checklist: use subheadings"), rather than an update of existing SubmitChecklist.
As we now have two reST contents under the ja_JP translation, to avoid duplicated boiler plates, split out the disclaimer part into a new section and put reference to it at the beginning of each doc.
As there is no prospect of ja_JP to have a lot of translated docs, keep those .rst files in the toctree of ja_JP/index.rst.
--- .../translations/ja_JP/SubmitChecklist | 105 ----------- .../translations/ja_JP/disclaimer-ja_JP.rst | 22 +++ Documentation/translations/ja_JP/index.rst | 2 + .../translations/ja_JP/process/howto.rst | 37 ++-- .../ja_JP/process/submit-checklist.rst | 165 ++++++++++++++++++ 5 files changed, 199 insertions(+), 132 deletions(-) delete mode 100644 Documentation/translations/ja_JP/SubmitChecklist create mode 100644 Documentation/translations/ja_JP/disclaimer-ja_JP.rst create mode 100644 Documentation/translations/ja_JP/process/submit-checklist.rst
Documentation/translations/ja_JP/SubmitChecklist deleted +0 -105
@@ -1,105 +0,0 @@ -NOTE: -This is a version of Documentation/process/submit-checklist.rst into Japanese. -This document is maintained by Takenori Nagano <[email protected]> -and the JF Project team <http://www.linux.or.jp/JF/>. -If you find any difference between this document and the original file -or a problem with the translation, -please contact the maintainer of this file or JF project. - -Please also note that the purpose of this file is to be easier to read -for non English (read: Japanese) speakers and is not intended as a -fork. So if you have any comments or updates of this file, please try -to update the original English file first. - -Last Updated: 2008/07/14 -================================== -これは、 -linux-2.6.26/Documentation/process/submit-checklist.rst の和訳です。 - -翻訳団体: JF プロジェクト < http://www.linux.or.jp/JF/ > -翻訳日: 2008/07/14 -翻訳者: Takenori Nagano <t-nagano at ah dot jp dot nec dot com> -校正者: Masanori Kobayashi さん <zap03216 at nifty dot ne dot jp> -================================== - - -Linux カーネルパッチ投稿者向けチェックリスト -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -本書では、パッチをより素早く取り込んでもらいたい開発者が実践すべき基本的な事柄 -をいくつか紹介します。ここにある全ての事柄は、Documentation/process/submitting-patches.rst -などのLinuxカーネルパッチ投稿に際しての心得を補足するものです。 - - 1: 妥当なCONFIGオプションや変更されたCONFIGオプション、つまり =y, =m, =n - 全てで正しくビルドできることを確認してください。その際、gcc及びリンカが - warningやerrorを出していないことも確認してください。 - - 2: allnoconfig, allmodconfig オプションを用いて正しくビルドできることを - 確認してください。 - - 3: 手許のクロスコンパイルツールやOSDLのPLMのようなものを用いて、複数の - アーキテクチャにおいても正しくビルドできることを確認してください。 - - 4: 64bit長の'unsigned long'を使用しているppc64は、クロスコンパイルでの - チェックに適当なアーキテクチャです。 - - 5: カーネルコーディングスタイルに準拠しているかどうか確認してください(!) - - 6: CONFIGオプションの追加・変更をした場合には、CONFIGメニューが壊れていない - ことを確認してください。 - - 7: 新しくKconfigのオプションを追加する際には、必ずそのhelpも記述してください。 - - 8: 適切なKconfigの依存関係を考えながら慎重にチェックしてください。 - ただし、この作業はマシンを使ったテストできちんと行うのがとても困難です。 - うまくやるには、自分の頭で考えることです。 - - 9: sparseを利用してちゃんとしたコードチェックをしてください。 - -10: 'make checkstack' を利用し、問題が発見されたら修正してください。 - 'make checkstack' は明示的に問題を示しませんが、どれか - 1つの関数が512バイトより大きいスタックを使っていれば、修正すべき候補と - なります。 - -11: グローバルなkernel API を説明する kernel-doc をソースの中に含めてください。 - ( staticな関数においては必須ではありませんが、含めてもらっても結構です ) - そして、'make htmldocs' もしくは 'make mandocs' を利用して追記した - ドキュメントのチェックを行い、問題が見つかった場合には修正を行ってください。 - -12: CONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT, CONFIG_DEBUG_SLAB, - CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES, CONFIG_DEBUG_SPINLOCK, - CONFIG_DEBUG_ATOMIC_SLEEP これら全てを同時に有効にして動作確認を - 行ってください。 - -13: CONFIG_SMP, CONFIG_PREEMPT を有効にした場合と無効にした場合の両方で - ビルドした上、動作確認を行ってください。 - -14: lockdepの機能を全て有効にした上で、全てのコードパスを評価してください。 - -15: /proc に新しいエントリを追加した場合には、Documentation/ 配下に - 必ずドキュメントを追加してください。 - -16: 新しいブートパラメータを追加した場合には、 - 必ずDocumentation/admin-guide/kernel-parameters.rst に説明を追加してください。 - -17: 新しくmoduleにパラメータを追加した場合には、MODULE_PARM_DESC()を - 利用して必ずその説明を記述してください。 - -18: 新しいuserspaceインタフェースを作成した場合には、Documentation/ABI/ に - Documentation/ABI/README を参考にして必ずドキュメントを追加してください。 - -19: 少なくともslabアロケーションとpageアロケーションに失敗した場合の - 挙動について、fault-injectionを利用して確認してください。 - Documentation/fault-injection/ を参照してください。 - - 追加したコードがかなりの量であったならば、サブシステム特有の - fault-injectionを追加したほうが良いかもしれません。 - -20: 新たに追加したコードは、`gcc -W'でコンパイルしてください。 - このオプションは大量の不要なメッセージを出力しますが、 - "warning: comparison between signed and unsigned" のようなメッセージは、 - バグを見つけるのに役に立ちます。 - -21: 投稿したパッチが -mm パッチセットにマージされた後、全ての既存のパッチや - VM, VFS およびその他のサブシステムに関する様々な変更と、現時点でも共存 - できることを確認するテストを行ってください。
Documentation/translations/ja_JP/disclaimer-ja_JP.rst new file +22 -0
@@ -0,0 +1,22 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. _translations_ja_JP_disclaimer: + +===================== +免責条項 (DISCLAIMER) +===================== + +Documentation/translations/ja_JP/ 以下のファイルは、対応する +Documentation/ 以下のファイル (原文) の日本語訳です。 +翻訳と原文との違いや翻訳上の問題を見つけたら、 +MAINTAINERS に記載の維持管理者に知らせてください。 +翻訳が原文の更新に追いついていない場合は、それを日本語版に反映するパッチの +投稿も歓迎です。 + +なお、この翻訳の目的は非英語 (ここでは日本語) 話者への便宜提供であり、 +フォークを意図したものではない事を念頭においてください。したがって、 +このファイルの内容に対するコメントや更新すべきことがあれば、先に原文の +更新を検討してください。 + +日本語訳については、残念ながら、ごく一部の文書しか維持管理されていません。 +翻訳に関心があり、時間的経済的な余裕をお持ちの方は、ぜひ手を貸してください。
Documentation/translations/ja_JP/index.rst +2 -0
@@ -11,7 +11,9 @@ .. toctree:: :maxdepth: 1 + disclaimer-ja_JP process/howto + process/submit-checklist .. raw:: latex
Documentation/translations/ja_JP/process/howto.rst +10 -27
@@ -1,35 +1,18 @@ -.. raw:: latex +.. SPDX-License-Identifier: GPL-2.0 - \kerneldocCJKoff - -NOTE: -This is a version of Documentation/process/howto.rst translated into Japanese. -This document is maintained by Tsugikazu Shibata <[email protected]> -If you find any difference between this document and the original file or -a problem with the translation, please contact the maintainer of this file. - -Please also note that the purpose of this file is to be easier to -read for non English (read: Japanese) speakers and is not intended as -a fork. So if you have any comments or updates for this file, please -try to update the original English file first. - ----------------------------------- - -.. raw:: latex - - \kerneldocCJKon - -この文書は、 -Documentation/process/howto.rst -の和訳です。 - -翻訳者: Tsugikazu Shibata <[email protected]> - ----------------------------------- +.. Originally contributed by Tsugikazu Shibata Linux カーネル開発のやり方 ========================== +.. note:: + この文書は、 + Documentation/process/howto.rst + の翻訳です。 + 免責条項については、 + :ref:`translations_ja_JP_disclaimer` および + :ref:`translations_disclaimer` を参照してください。 + これは上のトピック( Linux カーネル開発のやり方)の重要な事柄を網羅した ドキュメントです。ここには Linux カーネル開発者になるための方法とLinux カーネル開発コミュニティと共に活動するやり方を学ぶ方法が含まれています。
Documentation/translations/ja_JP/process/submit-checklist.rst new file +165 -0
165 lines not on this page · raw message
base-commit: 66dbcd53241503dc72fe4b876312d59f5c98ec2f
Signature · 1 line
2.34.1
Akira Yokosawa
reviewerPATCH 2/2 docs: submit-checklist: Expand on build tests against different word sizes
Existing sentence on cross-compilation that mentions ppc64 does not make much sense in today's perspective.
Expand it for the benefits of testing against architectures of different word sizes and endianness.
--- Documentation/process/submit-checklist.rst | 9 ++++++--- .../translations/ja_JP/process/submit-checklist.rst | 10 ++++++---- 2 files changed, 12 insertions(+), 7 deletions(-)
Documentation/process/submit-checklist.rst +6 -3
@@ -91,9 +91,12 @@ Build your code fix any issues. 2) Builds on multiple CPU architectures by using local cross-compile tools - or some other build farm. Note that ppc64 is a good architecture for - cross-compilation checking because it tends to use ``unsigned long`` for - 64-bit quantities. + or some other build farm. + Note that testing against architectures of different word sizes + (32- and 64-bit) and different endianness (big- and little-) is effective + in catching various portability issues due to false assumptions on + representable quantity range, data alignment, or endianness, among + others. 3) Newly-added code has been compiled with ``gcc -W`` (use ``make KCFLAGS=-W``). This will generate lots of noise, but is good
Documentation/translations/ja_JP/process/submit-checklist.rst +6 -4
@@ -112,10 +112,12 @@ Kconfig 変更のレビュー が無いこと。 ``make htmldocs`` または ``make pdfdocs`` でビルドし、問題があれば修正。 -2) ローカルのクロス・コンパイル・ツール、その他のビルド環境を使って、 - 複数の CPU アーキテクチャ向けのビルドができるか。 - ``unsigned long`` を 64 ビットの数量に対して使ってしまうことが多いという - 点で ppc64 は、クロス・コンパイルの検査対象として好適である。 +2) ローカルのクロス・コンパイル・ツール、その他のビルド環境を使って、複数の + CPU アーキテクチャ向けのビルドをしたか。 + 特に、ワードサイズ (32 ビットと 64 ビット) やエンディアン (ビッグとリトル) + の異なるアーキテクチャを対象とするテストは、表現可能数値範囲・データ整列・ + エンディアンなどについての誤った仮定に起因する様々な移植上の問題を捕える + のに効果的。 3) 新規に追加されたコードについて (``make KCFLAGS=-W`` を使って) ``gcc -W`` でコンパイルしたか。
Signature · 1 line
2.34.1
Re: [PATCH 2/2] docs: submit-checklist: Expand on build tests against different word sizes
Hi,
Quoted 9 lines · Akira Yokosawa
Existing sentence on cross-compilation that mentions ppc64 does not make much sense in today's perspective.
Expand it for the benefits of testing against architectures of different word sizes and endianness.
Signed-off-by Akira Yokosawa <[email protected]>Cc Randy Dunlap <[email protected]>Cc Tsugikazu Shibata <[email protected]>
Thanks.
Quoted 5 lines
--- Documentation/process/submit-checklist.rst | 9 ++++++--- .../translations/ja_JP/process/submit-checklist.rst | 10 ++++++---- 2 files changed, 12 insertions(+), 7 deletions(-)
Signature · 1 line
~Randy
A message that is not in the archive (sent off-list or not yet received): CAO+cJp3JUJfumofwy3i5oE9Bp3DvsL6ULt5_EEvQmaSBt3Fekw@mail.gmail.com
Akira Yokosawa
reviewerHi, Shibata-san,
Glad to hearing from you!
That said, your reply was in the html format and the linux-doc list didn't accept it. You are supposed to send in plain text.
Here are my responses to your comments, with manual conversion of your message into plain text and indentation tweaks.
Quoted 62 lines · Tsugikazu Shibata
Hello, Here are my comments:
Quoted 23 lines · On Tue, Jan 28, 2025 at 7:38 PM Akira Yokosawa <[email protected]…
This is actually a brand-new translation against commit
47c67ec1e8ef("docs: submit-checklist: use subheadings"), rather than an update of existing SubmitChecklist.As we now have two reST contents under the
ja_JPtranslation, to avoid duplicated boiler plates, split out the disclaimer part into a new section and put reference to it at the beginning of each doc.As there is no prospect of
ja_JPto have a lot of translated docs, keep those .rst files in the toctree ofja_JP/index.rst.Signed-off-by Akira Yokosawa <[email protected]>Cc Tsugikazu Shibata <[email protected]>---
.../translations/ja_JP/SubmitChecklist | 105 ----------- .../translations/ja_JP/disclaimer-ja_JP.rst | 22 +++ Documentation/translations/ja_JP/index.rst | 2 + .../translations/ja_JP/process/howto.rst | 37 ++-- .../ja_JP/process/submit-checklist.rst | 165 ++++++++++++++++++...
Quoted 34 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +28
-0@@ -0,0 +1,165 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. Translated by Akira Yokosawa <[email protected] <mailto:[email protected]>> + +.. In the past, translation of this document of a different origin was + at Documentation/translations/ja_JP/SubmitChecklist, which can be found + in the pre-v6.14 tree if you are interested. + Please note that this translation is independent of the previous one. + +====================================== +Linux カーネルパッチ投稿チェックリスト +====================================== + +.. note:: + この文書は、 + Documentation/process/submit-checklist.rst + の翻訳です。 + 免責条項については、 + :ref:`translations_ja_JP_disclaimer` および + :ref:`translations_disclaimer` を参照してください。 + +以下は、カーネルパッチの投稿時に、そのスムーズな受け入れのために心がける +べき基本的な事項です。 + +これは、 Documentation/process/submitting-patches.rst およびその他の +Linux カーネルパッチ投稿に関する文書を踏まえ、それを補足するものです。 + +.. note::
Quoted 8 lines
Documentation/translations/ja_JP/process/submit-checklist.rst line 32
Quoted 5 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +4
-0+ 【訳註】チェックリストらしくするため、問い掛けの語尾を多用します。 + また、原義を損なわない範囲で、主語の省略、主語に係る修飾子の述語に係る + 修飾子への変更、能動態への言い換えなどを行い、より簡潔で把握しやすい + 箇条書きを目指します。I feel uncomfortable with these notes.
Original text of sumitting-patches is the list of TODOs.
Of course you mean submit-checklist.rst ...
Quoted 1 line
That is basically saying "Do something" type of lists.
Do you read the list that way?
I don't think so. It's a mixture of suggestions made in various grammatical structures.
For example, here is an item in original submit-checklist.rst:
3) All memory barriers {e.g., ``barrier()``, ``rmb()``, ``wmb()``} need a comment in the source code that explains the logic of what they are doing and why.
I don't think this is in the form of TODO. Rather, it implies what you should do, in a sentence whose subject is "All memory barriers". So I don't think it is worth preserving wording in the original. List of "What you are supposed to have done before submission" is much straight forward, isn't it?
Documentation/translation/index.rst has this paragraph in its "Disclaimer":
Translations try to be as accurate as possible but it is not possible to map one language directly to all other languages. Each language has its own grammar and culture, so the translation of an English statement may need to be adapted to fit a different language. For this reason, when viewing translations, you may find slight differences that carry the same message but in a different form.
Of course, I might be too aggressive in ignoring original wording.
Quoted 3 lines
However, your translation is being "Did you do something" type. That is not a straightforward translation and may not tell what the original version says.
Can you please tell me where my translation is *not* telling what the original does?
Quoted 2 lines
This document will live long years and straightforwardness is one of the keys to maintain.
If you have trouble with my way of translation, please submit a patch to "fix" it. I'd be glad to review your changes with my ja_JP documentation reviewer hat on.
Quoted 27 lines
I will add some examples below;
Documentation/translations/ja_JP/process/submit-checklist.rst line 40
Quoted 9 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +8
-0+ + +コードのレビュー +================ + +1) 利用している機能について、その機能が定義・宣言されているファイルを + ``#include`` したか。 + 他のヘッダーファイル経由での取り込みに依存しないこと。The recommended changes would be
1) 利用している機能について、その機能が定義・宣言されているファイルを ``#include`` すること。 他のヘッダーファイル経由での取り込みに依存しないこと。Documentation/translations/ja_JP/process/submit-checklist.rst line 43
Quoted 3 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +3
-0+ +2) Documentation/process/coding-style.rst に詳述されている一般的なスタイル + についてチェックしたか。2)
Documentation/process/coding-style.rstに詳述されている一般的なスタイル についてチェックすること。
All others are the same.
...
Quoted 11 lines
Documentation/translations/ja_JP/process/submit-checklist.rst line 165
Quoted 7 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +7
-0+ +.. note:: + 【訳註】採用した訳語 + + - build farm: ビルド環境 + - brainpower: 知力 + - fault injection: 誤り注入I believe the word "誤り注入" is not oftenly used in the Japanese kernel developers. Insted、 "フォールトインジェクション” could be used. It is enough.
Yes, I'm fully aware of that. Otherwise, I would not have added that note on my choices of translation words. Do I need to say "【訳註】一般的でない訳語の選択" or "[translation note] Choices of- uncommon translation terms" ?
I am a strong hater of transliteration which just bloats translated text and makes it harder to read. Why? It takes longer to recognize. Sometimes, my brain performs reverse transliteration of a *long* KATAKANA term when I see.
To me, keeping English terms as are in the translation would be a much better approach.
Jon, I'll post patch 2/2 in this set as an English-only change so that you can apply it sooner rather than later.
Thanks, Akira
Quoted 9 lines · Akira Yokosawa
Hi, Shibata-san,
Glad to hearing from you!
That said, your reply was in the html format and the linux-doc list didn't accept it. You are supposed to send in plain text.Here are my responses to your comments, with manual conversion of your message into plain text and indentation tweaks.
Thank you so much for the conversion to plain text.
I made a mistake in my previous email and that was rejected by linux-doc. I will try to explain some more as below.
Quoted 72 lines
Quoted 62 lines · Tsugikazu Shibata
Hello, Here are my comments:
Quoted 23 lines · On Tue, Jan 28, 2025 at 7:38 PM Akira Yokosawa <[email protected]…
This is actually a brand-new translation against commit
47c67ec1e8ef("docs: submit-checklist: use subheadings"), rather than an update of existing SubmitChecklist.As we now have two reST contents under the
ja_JPtranslation, to avoid duplicated boiler plates, split out the disclaimer part into a new section and put reference to it at the beginning of each doc.As there is no prospect of
ja_JPto have a lot of translated docs, keep those .rst files in the toctree ofja_JP/index.rst.Signed-off-by Akira Yokosawa <[email protected]>Cc Tsugikazu Shibata <[email protected]>---
.../translations/ja_JP/SubmitChecklist | 105 ----------- .../translations/ja_JP/disclaimer-ja_JP.rst | 22 +++ Documentation/translations/ja_JP/index.rst | 2 + .../translations/ja_JP/process/howto.rst | 37 ++-- .../ja_JP/process/submit-checklist.rst | 165 ++++++++++++++++++...
Quoted 34 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +28
-0@@ -0,0 +1,165 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. Translated by Akira Yokosawa <[email protected] <mailto:[email protected]>> + +.. In the past, translation of this document of a different origin was + at Documentation/translations/ja_JP/SubmitChecklist, which can be found + in the pre-v6.14 tree if you are interested. + Please note that this translation is independent of the previous one. + +====================================== +Linux カーネルパッチ投稿チェックリスト +====================================== + +.. note:: + この文書は、 + Documentation/process/submit-checklist.rst + の翻訳です。 + 免責条項については、 + :ref:`translations_ja_JP_disclaimer` および + :ref:`translations_disclaimer` を参照してください。 + +以下は、カーネルパッチの投稿時に、そのスムーズな受け入れのために心がける +べき基本的な事項です。 + +これは、 Documentation/process/submitting-patches.rst およびその他の +Linux カーネルパッチ投稿に関する文書を踏まえ、それを補足するものです。 + +.. note::Quoted 8 lines
Documentation/translations/ja_JP/process/submit-checklist.rst line 32
Quoted 5 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +4
-0+ 【訳註】チェックリストらしくするため、問い掛けの語尾を多用します。 + また、原義を損なわない範囲で、主語の省略、主語に係る修飾子の述語に係る + 修飾子への変更、能動態への言い換えなどを行い、より簡潔で把握しやすい + 箇条書きを目指します。I feel uncomfortable with these notes.
Original text of sumitting-patches is the list of TODOs.
Quoted 1 line
Of course you mean
submit-checklist.rst...
Ah, Thanks again for this!
Quoted 13 lines
Quoted 1 line
That is basically saying "Do something" type of lists.
Do you read the list that way?
I don't think so. It's a mixture of suggestions made in various grammatical structures.
For example, here is an item in original
submit-checklist.rst:3) All memory barriers {e.g., ``barrier()``, ``rmb()``, ``wmb()``} need a comment in the source code that explains the logic of what they are doing and why.
Quoted 5 lines
I don't think this is in the form of TODO. Rather, it implies what you should do, in a sentence whose subject is "All memory barriers". So I don't think it is worth preserving wording in the original. List of "What you are supposed to have done before submission" is much straight forward, isn't it?
In your translation, most of the sentence is saying "whether you have done" or "Have you done something" in Japanese. Those are asking each item to the readers as a result.
However, the original text is not asking the readers. That is what I pointed out.
I feel we, open source developers, are historically working for their own motivations.
So, this checklist would be written for the developers for their self checking purpose.
That is the reason, the list is just saying "Do something" and it became the TODO list..
It is not "Have you done something" because that sounds like "Another person is asking you"
and that's not preferable for the developers in my opinion.
I really hope that kind of non-written understanding would be included even in translated documents.
However, You still don't think so, I won't say further comments.
Quoted 8 lines
Documentation/translation/index.rsthas this paragraph in its "Disclaimer":Translations try to be as accurate as possible but it is not possible to map one language directly to all other languages. Each language has its own grammar and culture, so the translation of an English statement may need to be adapted to fit a different language. For this reason, when viewing translations, you may find slight differences that carry the same message but in a different form.
Yeah, I agree with it but the cultural background may be more important.
Quoted 62 lines
Of course, I might be too aggressive in ignoring original wording.
Quoted 3 lines
However, your translation is being "Did you do something" type. That is not a straightforward translation and may not tell what the original version says.
Can you please tell me where my translation is *not* telling what the original does?
Quoted 2 lines
This document will live long years and straightforwardness is one of the keys to maintain.
If you have trouble with my way of translation, please submit a patch to "fix" it. I'd be glad to review your changes with my
ja_JPdocumentation reviewer hat on.Quoted 27 lines
I will add some examples below;
Documentation/translations/ja_JP/process/submit-checklist.rst line 40
Quoted 9 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +8
-0+ + +コードのレビュー +================ + +1) 利用している機能について、その機能が定義・宣言されているファイルを + ``#include`` したか。 + 他のヘッダーファイル経由での取り込みに依存しないこと。The recommended changes would be
1) 利用している機能について、その機能が定義・宣言されているファイルを ``#include`` すること。 他のヘッダーファイル経由での取り込みに依存しないこと。Documentation/translations/ja_JP/process/submit-checklist.rst line 43
Quoted 3 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +3
-0+ +2) Documentation/process/coding-style.rst に詳述されている一般的なスタイル + についてチェックしたか。2)
Documentation/process/coding-style.rstに詳述されている一般的なスタイル についてチェックすること。
All others are the same....
Quoted 11 lines
Documentation/translations/ja_JP/process/submit-checklist.rst line 165
Quoted 7 lines
Documentation/translations/ja_JP/process/submit-checklist.rst new file +7
-0+ +.. note:: + 【訳註】採用した訳語 + + - build farm: ビルド環境 + - brainpower: 知力 + - fault injection: 誤り注入I believe the word "誤り注入" is not oftenly used in the Japanese kernel developers. Insted、 "フォールトインジェクション” could be used. It is enough.
Yes, I'm fully aware of that. Otherwise, I would not have added that note on my choices of translation words. Do I need to say "【訳註】一般的でない訳語の選択" or "[translation note] Choices of- uncommon translation terms" ?
Quoted 6 lines
I am a strong hater of transliteration which just bloats translated text and makes it harder to read. Why? It takes longer to recognize. Sometimes, my brain performs reverse transliteration of a *long* KATAKANA term when I see.
To me, keeping English terms as are in the translation would be a much better approach.
Fault injection on Linux was developed and contributed by Akinobu Mita, a Japanese guy.
He spoke about it at the Japan Linux Symposium in 2007.
In that time, we have discussed how "fault injection" can be called/translated into Japanese language.
As a result, he chose just "Fault Injection" in English, not using Japanese Kanji or Katakana.
You can see his presentation at
https://www.static.linuxfound.org/jp_uploads/seminar20070710/LinuxFaultInjection-2.pdf
With respect to him, I would recommend using English "Fault Injection" instead of Japanese words. I hope this may be a good solution. (I found the name of Jonathan Corbet at the symposium and saw Randy at the previous event :-)
Finally, I would like to say thank you for trying to refresh this Japanese document.
This one was frozen since 2008 and I hope the refreshed document will be helpful for Japanese developers.
Thanks again,
Tsugikazu Shibata
Quoted 6 lines
Jon, I'll post patch 2/2 in this set as an English-only change so that you can apply it sooner rather than later.
Thanks, Akira
Akira Yokosawa
reviewerQuoted 17 lines · Tsugikazu Shibata
Quoted 11 lines
Do you read the list that way?
I don't think so. It's a mixture of suggestions made in various grammatical structures.
For example, here is an item in original
submit-checklist.rst:3) All memory barriers {e.g., ``barrier()``, ``rmb()``, ``wmb()``} need a comment in the source code that explains the logic of what they are doing and why.
Quoted 5 lines
I don't think this is in the form of TODO. Rather, it implies what you should do, in a sentence whose subject is "All memory barriers". So I don't think it is worth preserving wording in the original. List of "What you are supposed to have done before submission" is much straight forward, isn't it?
Quoted 16 lines
In your translation, most of the sentence is saying "whether you have done" or "Have you done something" in Japanese. Those are asking each item to the readers as a result.
However, the original text is not asking the readers. That is what I pointed out.
I feel we, open source developers, are historically working for their own motivations.
So, this checklist would be written for the developers for their self checking purpose.
That is the reason, the list is just saying "Do something" and it became the TODO list..
It is not "Have you done something" because that sounds like "Another person is asking you"
and that's not preferable for the developers in my opinion.
I really hope that kind of non-written understanding would be included even in translated documents.
Thank you for elaborating.
So, you read authoritative tone/nuance in my translation.
Let me see ...
You suggested a change from:
+1) 利用している機能について、その機能が定義・宣言されているファイルを
+ ``#include`` したか。
to
+1) 利用している機能について、その機能が定義・宣言されているファイルを
+ ``#include`` すること。
Actually, I don't see much difference in the nuance/tone between them.
「〜すること」 is sometimes used to indicate authoritative ordering.
For example, "You should test both of cases A and B." can be translated into
A と B の両方をテストすること。
, and this can be translated back into:
I ask you to test both of cases A and B.
, depending on contexts.
Instead, if you just say without 「こと」:
A と B の両方をテストする。
in a list of what to do, chances of such an interpretation can be reduced.
Do you prefer this approach?
Following diff (on top of patch 1/2) is my attempt to address your concern for the first three items in the checklist:
Here, I changed each sentence to have "patch or change in the patch" as its implicit subject or "主語", and describe its preferred state.
コードのレビュー
================
-1) 利用している機能について、その機能が定義・宣言されているファイルを
- ``#include`` したか。
- 他のヘッダーファイル経由での取り込みに依存しないこと。
+1) 利用する機能について、その機能を定義・宣言しているファイルを
+ ``#include`` している。
+ 他のヘッダーファイル経由での取り込みに依存しない。
2) Documentation/process/coding-style.rst に詳述されている一般的なスタイル
- についてチェックしたか。
+ についてチェック済み。
-3) すべてのメモリバリアー (例, ``barrier()``, ``rmb()``, ``wmb()``) に、
- その作用と目的、及び必要理由についてソースコード内にコメントしたか。
+3) メモリバリアー (例, ``barrier()``, ``rmb()``, ``wmb()``) について、
+ その作用と目的、及び必要理由について説明するコメントが、ソースコード内
+ にすべて付いている。
Do they sound better/acceptable to you?
[...]
Quoted 9 lines
Fault injection on Linux was developed and contributed by Akinobu Mita, a Japanese guy.
He spoke about it at the Japan Linux Symposium in 2007. In that time, we have discussed how "fault injection" can be called/translated into Japanese language.
As a result, he chose just "Fault Injection" in English, not using Japanese Kanji or Katakana.
You can see his presentation at
https://www.static.linuxfound.org/jp_uploads/seminar20070710/LinuxFaultInjection-2.pdf
Good to know I'm not alone in disliking transliteration of the term!
Quoted 5 lines
With respect to him, I would recommend using English "Fault Injection" instead of Japanese words. I hope this may be a good solution. (I found the name of Jonathan Corbet at the symposium and saw Randy at the previous event :-)
So how about the following?
4) 最低限、slab と ページ・アロケーションの失敗に関する誤り注入
(訳註: fault injection) によるチェック済み。
This still diverges slightly from its English counterpart of:
4) Has been checked with injection of at least slab and page-allocation failures.
, though ...
Translation is hard!!
Thanks, Akira
Quoted 47 lines · Akira Yokosawa
Quoted 17 lines · Tsugikazu Shibata
Quoted 11 lines
Do you read the list that way?
I don't think so. It's a mixture of suggestions made in various grammatical structures.
For example, here is an item in original
submit-checklist.rst:3) All memory barriers {e.g., ``barrier()``, ``rmb()``, ``wmb()``} need a comment in the source code that explains the logic of what they are doing and why.
Quoted 5 lines
I don't think this is in the form of TODO. Rather, it implies what you should do, in a sentence whose subject is "All memory barriers". So I don't think it is worth preserving wording in the original. List of "What you are supposed to have done before submission" is much straight forward, isn't it?
Quoted 16 lines
In your translation, most of the sentence is saying "whether you have done" or "Have you done something" in Japanese. Those are asking each item to the readers as a result.
However, the original text is not asking the readers. That is what I pointed out.
I feel we, open source developers, are historically working for their own motivations.
So, this checklist would be written for the developers for their self checking purpose.
That is the reason, the list is just saying "Do something" and it became the TODO list..
It is not "Have you done something" because that sounds like "Another person is asking you"
and that's not preferable for the developers in my opinion.
I really hope that kind of non-written understanding would be included even in translated documents.Thank you for elaborating.
So, you read authoritative tone/nuance in my translation.
Let me see ...
You suggested a change from:
+1) 利用している機能について、その機能が定義・宣言されているファイルを
+ ``#include`` したか。
Quoted 6 lines
to
+1) 利用している機能について、その機能が定義・宣言されているファイルを
+ ``#include`` すること。Actually, I don't see much difference in the nuance/tone between them.
First one is a stronger question than the second one, I feel. So, the long list of stronger questions is becoming a pressure to the developers.
Quoted 12 lines
「〜すること」 is sometimes used to indicate authoritative ordering.
For example, "You should test both of cases A and B." can be translated into
A と B の両方をテストすること。
, and this can be translated back into:
I ask you to test both of cases A and B.
, depending on contexts.
Quoted 8 lines
Instead, if you just say without 「こと」:
A と B の両方をテストする。
in a list of what to do, chances of such an interpretation can be reduced.
Do you prefer this approach?
Yeah, This looks better than my opinion.
Quoted 26 lines
Following diff (on top of patch 1/2) is my attempt to address your concern for the first three items in the checklist:
Here, I changed each sentence to have "patch or change in the patch" as its implicit subject or "主語", and describe its preferred state.
コードのレビュー
================-1) 利用している機能について、その機能が定義・宣言されているファイルを
(quoted diff) +7
-5- ``#include`` したか。 - 他のヘッダーファイル経由での取り込みに依存しないこと。 +1) 利用する機能について、その機能を定義・宣言しているファイルを + ``#include`` している。 + 他のヘッダーファイル経由での取り込みに依存しない。 2) Documentation/process/coding-style.rst に詳述されている一般的なスタイル - についてチェックしたか。 + についてチェック済み。 -3) すべてのメモリバリアー (例, ``barrier()``, ``rmb()``, ``wmb()``) に、 - その作用と目的、及び必要理由についてソースコード内にコメントしたか。 +3) メモリバリアー (例, ``barrier()``, ``rmb()``, ``wmb()``) について、 + その作用と目的、及び必要理由について説明するコメントが、ソースコード内 + にすべて付いている。
Quoted 1 line
Do they sound better/acceptable to you?
This looks good to me!
Quoted 21 lines
[...]
Quoted 9 lines
Fault injection on Linux was developed and contributed by Akinobu Mita, a Japanese guy.
He spoke about it at the Japan Linux Symposium in 2007. In that time, we have discussed how "fault injection" can be called/translated into Japanese language.
As a result, he chose just "Fault Injection" in English, not using Japanese Kanji or Katakana.
You can see his presentation at
https://www.static.linuxfound.org/jp_uploads/seminar20070710/LinuxFaultInjection-2.pdfGood to know I'm not alone in disliking transliteration of the term!
Quoted 5 lines
With respect to him, I would recommend using English "Fault Injection" instead of Japanese words. I hope this may be a good solution. (I found the name of Jonathan Corbet at the symposium and saw Randy at the previous event :-)
So how about the following?
Quoted 7 lines
4) 最低限、slab と ページ・アロケーションの失敗に関する誤り注入
(訳註: fault injection) によるチェック済み。This still diverges slightly from its English counterpart of:
4) Has been checked with injection of at least slab and page-allocation failures.
Again, Looks good now.
Quoted 3 lines
, though ...
Translation is hard!!
Thanks,
Tsugikazu Shibata
Akira Yokosawa
reviewer[-CC: Randy]
Quoted 1 line · Tsugikazu Shibata
On Sun, Feb 2, 2025 at 8:27 PM Akira Yokosawa <[email protected]> wrote:
[...]
Quoted 13 lines
Quoted 13 lines
Thank you for elaborating.
So, you read authoritative tone/nuance in my translation.
Let me see ...
You suggested a change from:
+1) 利用している機能について、その機能が定義・宣言されているファイルを
+ ``#include`` したか。to
Quoted 9 lines
Quoted 4 lines
+1) 利用している機能について、その機能が定義・宣言されているファイルを
+ ``#include`` すること。Actually, I don't see much difference in the nuance/tone between them.
First one is a stronger question than the second one, I feel. So, the long list of stronger questions is becoming a pressure to the developers.
I think we need to agree to disagree on this. Given the context of a checklist, I still don't see much difference.
Anyway, it is not worth bike-shedding on this.
Quoted 14 lines
Quoted 14 lines
「〜すること」 is sometimes used to indicate authoritative ordering.
For example, "You should test both of cases A and B." can be translated into
A と B の両方をテストすること。
, and this can be translated back into:
I ask you to test both of cases A and B.
, depending on contexts.
Instead, if you just say without 「こと」:
Quoted 8 lines
Quoted 6 lines
A と B の両方をテストする。
in a list of what to do, chances of such an interpretation can be reduced.
Do you prefer this approach?
Yeah, This looks better than my opinion.
Nice!
Quoted 31 lines
Quoted 27 lines
Following diff (on top of patch 1/2) is my attempt to address your concern for the first three items in the checklist:
Here, I changed each sentence to have "patch or change in the patch" as its implicit subject or "主語", and describe its preferred state.
コードのレビュー
================-1) 利用している機能について、その機能が定義・宣言されているファイルを
(quoted diff) +7
-5- ``#include`` したか。 - 他のヘッダーファイル経由での取り込みに依存しないこと。 +1) 利用する機能について、その機能を定義・宣言しているファイルを + ``#include`` している。 + 他のヘッダーファイル経由での取り込みに依存しない。 2) Documentation/process/coding-style.rst に詳述されている一般的なスタイル - についてチェックしたか。 + についてチェック済み。 -3) すべてのメモリバリアー (例, ``barrier()``, ``rmb()``, ``wmb()``) に、 - その作用と目的、及び必要理由についてソースコード内にコメントしたか。 +3) メモリバリアー (例, ``barrier()``, ``rmb()``, ``wmb()``) について、 + その作用と目的、及び必要理由について説明するコメントが、ソースコード内 + にすべて付いている。Quoted 1 line
Do they sound better/acceptable to you?
This looks good to me!
[...]
Quoted 6 lines
Quoted 6 lines
So how about the following?
4) 最低限、slab と ページ・アロケーションの失敗に関する誤り注入
(訳註: fault injection) によるチェック済み。
Quoted 6 lines
Quoted 4 lines
This still diverges slightly from its English counterpart of:
4) Has been checked with injection of at least slab and page-allocation failures.
Again, Looks good now.
Thanks.
I'm going to prepare a v2 patch of this translation, hopefully within a week or so.
Regards, Akira