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

[NFC]fix chinese doc #105

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand All @@ -28,7 +27,6 @@ msgid "Overview"
msgstr "概述"

#: ../../development/integrate_scql_system.rst:7
#, fuzzy
msgid "As shown in FIG, SCQL System needs to work with **Client** and **GRM** :"
msgstr "如图所示,SCQL 系统需要与 **客户端(Client)** 和 **全局资源管理器(GRM)**配合工作:"

Expand Down Expand Up @@ -115,7 +113,6 @@ msgid "SCQL uses rpc API to communicate with GRM:"
msgstr "SCQL 使用 rpc API 与全局资源管理器(GRM)通信:"

#: ../../development/integrate_scql_system.rst:44
#, fuzzy
msgid ""
"``/GetTableMeta``: fetch metadata of table, GRM server should listen on "
"``${GRMServerHost}/GetTableMeta``"
Expand All @@ -124,7 +121,6 @@ msgstr ""
"``${GRMServerHost}/GetTableMeta``"

#: ../../development/integrate_scql_system.rst:45
#, fuzzy
msgid ""
"``/GetEngines``: get endpoints for specific SCQLEngines(parties), GRM "
"server should listen on ``${GRMServerHost}/GetEngines``"
Expand All @@ -133,7 +129,6 @@ msgstr ""
"``${GRMServerHost}/GetEngines``"

#: ../../development/integrate_scql_system.rst:46
#, fuzzy
msgid ""
"``/VerifyTableOwnership``: check whether user has ownership of table, GRM"
" server should listen on ``${GRMServerHost}/VerifyTableOwnership``"
Expand All @@ -150,4 +145,3 @@ msgid ""
"The custom GRM Server needs to support above services corresponding to "
"the GRM API."
msgstr "自定义的全局资源管理器服务器(Custom GRM server)需要支持上述与 GRM API 对应的服务。"

1 change: 0 additions & 1 deletion docs/locales/zh_CN/LC_MESSAGES/development/scql_api.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down
14 changes: 7 additions & 7 deletions docs/locales/zh_CN/LC_MESSAGES/getting_started/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand All @@ -21,31 +20,32 @@ msgstr ""

#: ../../getting_started/index.rst:4
msgid "Getting started"
msgstr ""
msgstr "Getting started"

#: ../../getting_started/index.rst:6
msgid "New to SCQL? This is the Beginner's Guide."
msgstr ""
msgstr "本文档主要用于初学者指南"

#: ../../getting_started/index.rst:8
msgid ""
"If you don't know anything about SCQL, please read "
":ref:`/getting_started/scql_intro.rst` first."
msgstr ""
"如果你对 SCQL 系统不了解,请阅读 "
":ref:`/getting_started/scql_intro.rst`."

#: ../../getting_started/index.rst:10
msgid ""
"After that, you can follow :ref:`/getting_started/quickstart.rst` to get "
"started with SCQL."
msgstr ""
msgstr "在了解完 SCQL 系统后,你可以按照 :ref:`/getting_started/quickstart.rst` 中的指南,快速上手 SCQL 系统"

#: ../../getting_started/index.rst:12
msgid "For all SCQL users, please check :ref:`/reference/index.rst` for details."
msgstr ""
msgstr "你可以通过阅读 :ref:`/reference/index.rst` 以了解更多"

#: ../../getting_started/index.rst:14
msgid ""
"For advanced users and contributors, we encourage you to investigate "
":ref:`/development/index.rst`."
msgstr ""

msgstr "对于高级用户和贡献者,我们推荐你阅读 :ref:`/development/index.rst` 以了解更多有关 SCQL 的设计。"
10 changes: 8 additions & 2 deletions docs/locales/zh_CN/LC_MESSAGES/getting_started/quickstart.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand All @@ -21,7 +20,7 @@ msgstr ""

#: ../../getting_started/quickstart.rst:2
msgid "Quickstart"
msgstr "快速入门"
msgstr "快速开始"

#: ../../getting_started/quickstart.rst:5
msgid "TL;DR"
Expand Down Expand Up @@ -72,6 +71,13 @@ msgid ""
"sure to manually replace these tokens to ensure scdbclient get right "
"tokens."
msgstr ""
"register.sh 脚本会用随机的字符串替代 "
"`examples/docker-compose/client/users.json "
"<https://github.com/secretflow/scql/tree/main/examples/docker-"
"compose/client/users.json>`_ 中的 ``__ALICE_TOKEN__`` 以及 "
"`examples/docker-compose/scdb/conf/toy_grm.json "
"<https://github.com/secretflow/scql/tree/main/examples/docker-"
"compose/scdb/conf/toy_grm.json>`_ 中的 ``__BOB_TOKEN__``"

#: ../../getting_started/quickstart.rst:42
msgid "Start SCQL Service"
Expand Down
9 changes: 4 additions & 5 deletions docs/locales/zh_CN/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand All @@ -21,7 +20,7 @@ msgstr ""

#: ../../index.rst:7
msgid "SCQL Documentation"
msgstr ""
msgstr "SCQL 文档"

#: ../../index.rst:9
msgid ""
Expand All @@ -30,7 +29,7 @@ msgid ""
"them on a federation of database systems. The MPC framework is powered by"
" `SPU <https://github.com/secretflow/spu>`_."
msgstr ""

"Secure Collaborative Query Language (SCQL) 是一种能够将 SQL 语句转换为明密文混合执行图,并在联合数据库系统上执行的系统。"
"该系统的 MPC 框架由 `SPU <https://github.com/secretflow/spu>`_ 提供支持。"
#~ msgid "Content"
#~ msgstr ""

#~ msgstr "目录"
11 changes: 1 addition & 10 deletions docs/locales/zh_CN/LC_MESSAGES/reference/grm.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down Expand Up @@ -87,7 +86,6 @@ msgstr ""
" 调用"

#: ../../reference/grm.rst:34
#, fuzzy
msgid "/VerifyTableOwnership"
msgstr "/VerifyTableOwnership"

Expand Down Expand Up @@ -257,7 +255,6 @@ msgid "Example"
msgstr "示例"

#: ../../reference/grm.rst:103
#, fuzzy
msgid "/GetTableMeta"
msgstr "/GetTableMeta"

Expand Down Expand Up @@ -328,9 +325,8 @@ msgid "The column information in the table"
msgstr "表中的列信息"

#: ../../reference/grm.rst:143
#, fuzzy
msgid "db_type"
msgstr "type"
msgstr "db_type"

#: ../../reference/grm.rst:143
msgid "DataSourceKind_"
Expand Down Expand Up @@ -425,7 +421,6 @@ msgid "response"
msgstr "响应"

#: ../../reference/grm.rst:220
#, fuzzy
msgid "/GetEngines"
msgstr "/GetEngines"

Expand All @@ -441,7 +436,6 @@ msgstr "party_codes"

#: ../../reference/grm.rst:230 ../../reference/grm.rst:252
#: ../../reference/grm.rst:254
#, fuzzy
msgid "string list"
msgstr "string list"

Expand All @@ -450,17 +444,14 @@ msgid "Parties whose SCQLEngine info need to be obtained"
msgstr "需要获得 SCQL 引擎信息的参与方"

#: ../../reference/grm.rst:232
#, fuzzy
msgid "Token used to authenticate the user"
msgstr "用来验证用户身份的 token"

#: ../../reference/grm.rst:243
#, fuzzy
msgid "engine_infos"
msgstr "engine_infos"

#: ../../reference/grm.rst:243
#, fuzzy
msgid "EngineInfo_ list"
msgstr "EngineInfo_ list"

Expand Down
5 changes: 2 additions & 3 deletions docs/locales/zh_CN/LC_MESSAGES/reference/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy

msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand All @@ -21,5 +21,4 @@ msgstr ""

#: ../../reference/index.rst:4
msgid "Reference"
msgstr ""

msgstr "Reference"
17 changes: 5 additions & 12 deletions docs/locales/zh_CN/LC_MESSAGES/reference/mysql_compatibility.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down Expand Up @@ -66,7 +65,6 @@ msgid "CREATE Table"
msgstr "创建表"

#: ../../reference/mysql_compatibility.rst:23
#, fuzzy
msgid ""
"SCQL get table schemas from GRM, so CREATE TABLE statement must include "
"keyword TID which uniquely identifies a table in GRM. For more "
Expand Down Expand Up @@ -150,7 +148,6 @@ msgid "GRANT/REVOKE"
msgstr "GRANT/REVOKE"

#: ../../reference/mysql_compatibility.rst:53
#, fuzzy
msgid ""
"Except permissions same with mysql such as read/write/create/drop..., ccl"
" settings are also required before executing a query. You can change CCL "
Expand Down Expand Up @@ -206,32 +203,30 @@ msgid "Compare(>, <, <=, >=, <>, =, !=)"
msgstr "比较运算 (>, <, <=, >=, <>, =, !=)"

#: ../../reference/mysql_compatibility.rst:88
#, fuzzy
msgid "Both arguments in a comparison operation shouldn't be string."
msgstr "比较操作中的两个参数都不能是 string 类型。"

#: ../../reference/mysql_compatibility.rst:89
msgid "If both arguments are long, they are compared as long."
msgstr "如果两个参数都是 long 类型,则使用 long 的方式比较。"
msgstr "如果两个参数都是 long 类型,则它们将按照 long 类型进行比较。"

#: ../../reference/mysql_compatibility.rst:90
msgid ""
"If one of the arguments is float32, the other argument will be compared "
"as float32."
msgstr "如果其中一个参数是 float32 类型,则会将另一个参数转换为 float32 进行比较。"
msgstr "如果其中一个参数是 float32 类型,则会将另一个参数转换为 float32 类型进行比较。"

#: ../../reference/mysql_compatibility.rst:93
msgid "Arithmetic(+, -, \\*, /, %)"
msgstr "算术运算 (+, -, \\*, /, %)"

#: ../../reference/mysql_compatibility.rst:94
#, fuzzy
msgid "Both arguments in a arithmetic operation shouldn't be string."
msgstr "算术运算中的两个参数都不能是 string 类型。"

#: ../../reference/mysql_compatibility.rst:95
msgid "If both arguments are long, they are calculated as long."
msgstr "如果两个参数都是 long 类型,则使用 long 的方式比较。"
msgstr "如果两个参数都是 long 类型,则它们将按照 long 类型进行计算。"

#: ../../reference/mysql_compatibility.rst:96
#: ../../reference/mysql_compatibility.rst:102
Expand All @@ -245,11 +240,9 @@ msgid "Aggregation(sum, count, avg, min, max)"
msgstr "聚合操作 (sum, count, avg, min, max)"

#: ../../reference/mysql_compatibility.rst:100
#, fuzzy
msgid "All arguments in a aggregation function shouldn't be string."
msgstr "累加操作中的所有参数都不能是 string 类型。"
msgstr "聚合操作中的所有参数都不能是 string 类型。"

#: ../../reference/mysql_compatibility.rst:101
msgid "If all arguments are long, they are calculated as long."
msgstr "如果所有参数都是 long 类型,则按照 long 类型的方式进行计算。"

msgstr "如果所有参数都是 long 类型,则它们将按照 long 类型进行计算。"
1 change: 0 additions & 1 deletion docs/locales/zh_CN/LC_MESSAGES/reference/scql_ccl_intro.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down
1 change: 0 additions & 1 deletion docs/locales/zh_CN/LC_MESSAGES/reference/scql_manual.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# This file is distributed under the same license as the SCQL package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SCQL \n"
Expand Down Expand Up @@ -234,4 +233,3 @@ msgid ""
"provider implementation that does not rely on third parties."
msgstr "SPU SEMI2K 协议实现时为了效率采用了可信第三方来生成 Beaver triples,将来会考虑增加不依赖第三方的 Beaver provider 实现。"


Loading