Skip to content

Commit c22d840

Browse files
committed
docs: add chinese translate
1 parent 996177f commit c22d840

File tree

4 files changed

+83
-13
lines changed

4 files changed

+83
-13
lines changed

docs/locale/zh_CN/LC_MESSAGES/autoapi/binaryai/binaryai_file/index.po

+26-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: BinaryAI SDK \n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2023-09-18 19:49+0000\n"
12+
"POT-Creation-Date: 2024-08-23 07:36+0000\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language: zh_CN\n"
@@ -18,7 +18,7 @@ msgstr ""
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=utf-8\n"
2020
"Content-Transfer-Encoding: 8bit\n"
21-
"Generated-By: Babel 2.12.1\n"
21+
"Generated-By: Babel 2.14.0\n"
2222

2323
#: ../../autoapi/binaryai/binaryai_file/index.rst:2
2424
msgid ":py:mod:`binaryai.binaryai_file`"
@@ -222,3 +222,27 @@ msgid ""
222222
"score and pseudocode. The List is sorted by score from high to low."
223223
msgstr ""
224224

225+
#: ../../autoapi/binaryai/binaryai_file/index.rst:179
226+
msgid ""
227+
"Return the KHash of this file. See website for detailed introduction on "
228+
"KHash."
229+
msgstr ""
230+
231+
#: ../../autoapi/binaryai/binaryai_file/index.rst:181
232+
msgid "KHash's value and version. Only compare if version is same."
233+
msgstr ""
234+
235+
#: ../../autoapi/binaryai/binaryai_file/index.rst:187
236+
msgid ""
237+
"Return the malware probability of this file. 0 usually mean a white file,"
238+
" while 1 mean the file is risky."
239+
msgstr ""
240+
241+
#: ../../autoapi/binaryai/binaryai_file/index.rst:189
242+
msgid "This is a experimental feature. This might be changed without noticed."
243+
msgstr ""
244+
245+
#: ../../autoapi/binaryai/binaryai_file/index.rst:191
246+
msgid "Probability of the file. None means no result is available."
247+
msgstr ""
248+

docs/locale/zh_CN/LC_MESSAGES/autoapi/binaryai/client/index.po

+36-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: BinaryAI SDK \n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2023-09-18 19:49+0000\n"
12+
"POT-Creation-Date: 2024-08-23 07:36+0000\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language: zh_CN\n"
@@ -18,7 +18,7 @@ msgstr ""
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=utf-8\n"
2020
"Content-Transfer-Encoding: 8bit\n"
21-
"Generated-By: Babel 2.12.1\n"
21+
"Generated-By: Babel 2.14.0\n"
2222

2323
#: ../../autoapi/binaryai/client/index.rst:2
2424
msgid ":py:mod:`binaryai.client`"
@@ -387,3 +387,37 @@ msgid ""
387387
"score and pseudocode. The List is sorted by score from high to low"
388388
msgstr ""
389389

390+
#: ../../autoapi/binaryai/client/index.rst:318
391+
msgid ""
392+
"Return the KHash of this file. See website for detailed introduction on "
393+
"KHash."
394+
msgstr ""
395+
396+
#: ../../autoapi/binaryai/client/index.rst:320
397+
msgid ""
398+
"KHash's value and version. Only compare if version is same."
399+
" You are not expected to parse version."
400+
msgstr ""
401+
402+
#: ../../autoapi/binaryai/client/index.rst:322
403+
msgid "KHash's value and version. Only compare if version is same."
404+
msgstr ""
405+
406+
#: ../../autoapi/binaryai/client/index.rst:323
407+
msgid "You are not expected to parse version."
408+
msgstr ""
409+
410+
#: ../../autoapi/binaryai/client/index.rst:329
411+
msgid ""
412+
"Return the malware probability of this file. 0 usually mean a white file,"
413+
" while 1 mean the file is risky."
414+
msgstr ""
415+
416+
#: ../../autoapi/binaryai/client/index.rst:331
417+
msgid "This is a experimental feature. This might be changed without noticed."
418+
msgstr ""
419+
420+
#: ../../autoapi/binaryai/client/index.rst:333
421+
msgid "Probability of the file. None means no result is available."
422+
msgstr ""
423+

docs/locale/zh_CN/LC_MESSAGES/index.po

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: BinaryAI SDK \n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2023-09-19 12:11+0000\n"
12+
"POT-Creation-Date: 2024-08-23 07:36+0000\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language: zh_CN\n"
@@ -18,7 +18,7 @@ msgstr ""
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=utf-8\n"
2020
"Content-Transfer-Encoding: 8bit\n"
21-
"Generated-By: Babel 2.12.1\n"
21+
"Generated-By: Babel 2.14.0\n"
2222

2323
#: ../../../README.md:2
2424
msgid "BinaryAI Python SDK"
@@ -121,11 +121,11 @@ msgid "Additional Reading"
121121
msgstr "更多资料"
122122

123123
#: ../../../README.md:51
124+
#, fuzzy
124125
msgid ""
125-
"Read the "
126-
"[Changelog](https://www.binaryai.cn/doc/zh/releasenotes/releasenotes.html)"
127-
" of our product, and hope you can also have fun reading papers related to"
128-
" our job:"
126+
"Read the [Changelog](https://www.binaryai.cn/doc/zh/releasenotes/) of our"
127+
" product, and hope you can also have fun reading papers related to our "
128+
"job:"
129129
msgstr ""
130130
"我们的 "
131131
"[发布记录](https://www.binaryai.cn/doc/zh/releasenotes/releasenotes.html)记录了历史版本,你也可以参考我们此前的论文:"

docs/locale/zh_CN/LC_MESSAGES/quick_start.po

+15-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: BinaryAI SDK \n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2023-09-19 12:15+0000\n"
12+
"POT-Creation-Date: 2024-08-23 07:36+0000\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language: zh_CN\n"
@@ -18,7 +18,7 @@ msgstr ""
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=utf-8\n"
2020
"Content-Transfer-Encoding: 8bit\n"
21-
"Generated-By: Babel 2.12.1\n"
21+
"Generated-By: Babel 2.14.0\n"
2222

2323
#: ../../quick_start.ipynb:9
2424
msgid "Quick start"
@@ -90,11 +90,23 @@ msgstr "或者,你也可以初始化一个文件对象并调用:"
9090

9191
#: ../../quick_start.ipynb:343
9292
msgid ""
93+
"You can also get a file's KHash, which can be used to compare "
94+
"similarities:"
95+
msgstr "通过获取一个文件的KHash,你可以计算文件之间的相似程度:"
96+
97+
#: ../../quick_start.ipynb:412
98+
msgid ""
99+
"In August 2024, we introduced a new feature to calculate a file's risky "
100+
"probability. A value ranged at ``[0, 1]`` might returned."
101+
msgstr "在2024年8月,我们推出了一个新特性,可用于计算文件的恶意程度,取值区间为``[0, 1]``。"
102+
103+
#: ../../quick_start.ipynb:461
104+
msgid ""
93105
"As shown above, you can always give a file hash (md5 or sha256) to get "
94106
"its analysis result."
95107
msgstr "如上所示,只要给出文件的哈希,即可访问结果。"
96108

97-
#: ../../quick_start.ipynb:345
109+
#: ../../quick_start.ipynb:463
98110
msgid ""
99111
"Read ``examples/`` in SDK repository or read the SDK API document for "
100112
"more info."

0 commit comments

Comments
 (0)