[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230811153554.84571-3-minhuadotchen@gmail.com>
Date: Fri, 11 Aug 2023 23:35:54 +0800
From: Min-Hua Chen <minhuadotchen@...il.com>
To: Hu Haowen <src.res@...il.cn>, Jonathan Corbet <corbet@....net>
Cc: Min-Hua Chen <minhuadotchen@...il.com>,
Randy Dunlap <rdunlap@...radead.org>,
linux-doc-tw-discuss@...ts.sourceforge.net,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst
Follow Randy's advice [1] to move
Documentation/translations/zh_TW/dev-tools/sparse.txt
to
Documentation/translations/zh_TW/dev-tools/sparse.rst
[1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/
Cc: Randy Dunlap <rdunlap@...radead.org>
Signed-off-by: Min-Hua Chen <minhuadotchen@...il.com>
---
.../dev-tools/{sparse.txt => sparse.rst} | 31 ++++++-------------
1 file changed, 10 insertions(+), 21 deletions(-)
rename Documentation/translations/zh_TW/dev-tools/{sparse.txt => sparse.rst} (71%)
diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.rst
similarity index 71%
rename from Documentation/translations/zh_TW/dev-tools/sparse.txt
rename to Documentation/translations/zh_TW/dev-tools/sparse.rst
index 6d2d088b1060..2f632f6ce8e8 100644
--- a/Documentation/translations/zh_TW/dev-tools/sparse.txt
+++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst
@@ -1,33 +1,22 @@
-Chinese translated version of Documentation/dev-tools/sparse.rst
-
-If you have any comment or update to the content, please contact the
-original document maintainer directly. However, if you have a problem
-communicating in English you can also ask the Chinese maintainer for
-help. Contact the Chinese maintainer if this translation is outdated
-or if there is a problem with the translation.
+Copyright 2004 Linus Torvalds
+Copyright 2004 Pavel Machek <pavel@....cz>
+Copyright 2006 Bob Copeland <me@...copeland.com>
-Traditional Chinese maintainer: Hu Haowen <src.res@...il.cn>
----------------------------------------------------------------------
-Documentation/dev-tools/sparse.rst 的繁體中文翻譯
+.. include:: ../disclaimer-zh_TW.rst
-如果想評論或更新本文的內容,請直接聯繫原文檔的維護者。如果你使用英文
-交流有困難的話,也可以向繁體中文版維護者求助。如果本翻譯更新不及時或
-者翻譯存在問題,請聯繫繁體中文版維護者。
+:Original: Documentation/dev-tools/sparse.rst
-繁體中文版維護者: 胡皓文 Hu Haowen <src.res@...il.cn>
-繁體中文版翻譯者: 胡皓文 Hu Haowen <src.res@...il.cn>
+:翻譯:
-以下爲正文
----------------------------------------------------------------------
+Traditional Chinese maintainer: Hu Haowen <src.res@...il.cn>
-Copyright 2004 Linus Torvalds
-Copyright 2004 Pavel Machek <pavel@....cz>
-Copyright 2006 Bob Copeland <me@...copeland.com>
+Sparse
+======
使用 sparse 工具做類型檢查
~~~~~~~~~~~~~~~~~~~~~~~~~~
-"__bitwise" 是一種類型屬性,所以你應該這樣使用它:
+"__bitwise" 是一種類型屬性,所以你應該這樣使用它::
typedef int __bitwise pm_request_t;
--
2.34.1
Powered by blists - more mailing lists