Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8e22ab

Browse files
[po] auto sync
1 parent 04392d9 commit d8e22ab

6 files changed

Lines changed: 136 additions & 58 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.28%", "updated_at": "2023-11-17T17:41:09Z"}
1+
{"translation": "90.43%", "updated_at": "2023-11-18T02:42:00Z"}

glossary.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.11\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-11-10 16:49+0000\n"
15+
"POT-Creation-Date: 2023-11-17 16:53+0000\n"
1616
"PO-Revision-Date: 2023-05-24 02:11+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -2244,6 +2244,8 @@ msgid ""
22442244
"such as incorrect types. See also :term:`type hints <type hint>` and the "
22452245
":mod:`typing` module."
22462246
msgstr ""
2247+
"读取 Python 代码并进行分析,以查找问题例如拼写错误的外部工具。 另请参阅 :term:`类型提示 <type hint>` 以及 "
2248+
":mod:`typing` 模块。"
22472249

22482250
#: ../../glossary.rst:1137
22492251
msgid "strong reference"
@@ -2390,6 +2392,8 @@ msgid ""
23902392
"to :term:`static type checkers <static type checker>`. They can also aid "
23912393
"IDEs with code completion and refactoring."
23922394
msgstr ""
2395+
"类型提示是可选的而不是 Python 的强制要求,但它们对 :term:`静态类型检查器 <static type checker>` 很有用处。 "
2396+
"它们还能协助 IDE 实现代码补全与重构。"
23932397

23942398
#: ../../glossary.rst:1217
23952399
msgid ""

howto/pyporting.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-11-10 16:49+0000\n"
14+
"POT-Creation-Date: 2023-11-17 16:53+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:11+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -743,3 +743,8 @@ msgid ""
743743
"textual or binary data, helping to make sure everything functions as "
744744
"expected in both versions of Python."
745745
msgstr ""
746+
"另一个帮助移植你的代码的办法是在你的代码上使用 :term:`static type checker` 如 mypy_ 或 pytype_。 "
747+
"这些工具可以用来分析你的代码,就像它在 Python 2 中运行一样,然后你可以第二次运行这个工具,就像你的代码在 Python 3 中运行一样。 "
748+
"通过像这样两次运行静态类型检查器,你可以发现你在不同的 Python 版本中是否错误地使用了二进制数据类型。 "
749+
"如果你在你的代码中添加了可选的类型提示,你还可以明确说明你的 API 是使用文本还是二进制数据,这有助于确保在两个版本的 Python "
750+
"中所有的功能都符合预期。."

0 commit comments

Comments
 (0)