Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

【OSCP】+文档 [What is SPU?]翻译成中文文档 #1040

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/locales/zh_CN/LC_MESSAGES/getting_started.po
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,14 @@ msgstr ""

#: ../../getting_started/introduction.rst:2
msgid "What is SPU?"
msgstr ""
msgstr "什么是 SPU?"
Comment on lines 360 to +361

Choose a reason for hiding this comment

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

medium

While the translation "什么是 SPU?" is technically correct, it might be more natural to use "SPU 是什么?" for better readability in Chinese. Consider if this alternative phrasing would be more appropriate in this context.

msgstr "SPU 是什么?"


#: ../../getting_started/introduction.rst:4
msgid ""
"SPU (Secure Processing Unit) is a domain-specific **compiler and runtime "
"suite**, that aims to provide a **secure computation** service with "
"**provable security**."
msgstr ""
msgstr "SPU (安全处理单元)是一个特定领域的编译器和运行时套件,其旨在提供具备安全性证明的安全计算服务。"

Choose a reason for hiding this comment

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

medium

The translation "SPU (安全处理单元)是一个特定领域的编译器和运行时套件,其旨在提供具备安全性证明的安全计算服务。" is a bit lengthy and could be more concise. Consider rephrasing it to improve readability and flow in Chinese. For example, you could try: "SPU (安全处理单元) 是一种特定领域的编译器和运行时套件,旨在提供可证明安全性的安全计算服务。"

msgstr "SPU (安全处理单元) 是一种特定领域的编译器和运行时套件,旨在提供可证明安全性的安全计算服务。"


#: ../../getting_started/introduction.rst:6
msgid ""
Expand All @@ -377,7 +377,7 @@ msgid ""
"by SPU runtime. Currently, SPU team highly recommends using `JAX "
"<https://github.com/google/jax>`_ and its sibling - `Flax "
"<https://github.com/google/flax>`_."
msgstr ""
msgstr "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言,这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。"

Choose a reason for hiding this comment

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

medium

The phrase "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言,这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。" is a long sentence. Consider breaking it into smaller sentences for better readability. For example: "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言。这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。"

msgstr "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言。这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。"


#: ../../getting_started/introduction.rst:8
msgid ""
Expand All @@ -387,7 +387,7 @@ msgid ""
"extensible**, protocol developers can hack into MPC protocols with "
"minimum effort and let the SPU compiler/runtime translate and interpret "
"complicated frontend logic on it."
msgstr ""
msgstr "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。 SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。"

Choose a reason for hiding this comment

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

medium

The translation "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。 SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。" could be improved by adding a conjunction to connect the two sentences. For example: "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。而且,SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。"

msgstr "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。而且,SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。"


#: ../../getting_started/introduction.rst:14
msgid "High-level system architecture of SPU"
Expand Down