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

Skip to content

Commit d236668

Browse files
[po] auto sync
1 parent bf0c7ad commit d236668

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

howto/clinic.po

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Shengjing Zhu <[email protected]>, 2021
1010
# df2dc1c92e792f7ae8417c51df43db8f_594d92a <0f49be28017426edb1db1a2ab6e67088_717605>, 2021
1111
# ppcfish <[email protected]>, 2021
12-
# Dai Xu <[email protected]>, 2022
1312
# Freesand Leo <[email protected]>, 2022
13+
# Dai Xu <[email protected]>, 2022
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
2121
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
22-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
22+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2022\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -2695,32 +2695,32 @@ msgstr ""
26952695

26962696
#: ../../howto/clinic.rst:1704
26972697
msgid "The #ifdef trick"
2698-
msgstr ""
2698+
msgstr "#ifdef 使用技巧"
26992699

27002700
#: ../../howto/clinic.rst:1706
27012701
msgid ""
27022702
"If you're converting a function that isn't available on all platforms, "
27032703
"there's a trick you can use to make life a little easier. The existing code"
27042704
" probably looks like this::"
2705-
msgstr ""
2705+
msgstr "若要转换的函数并非通用于所有平台,可以采用一个技巧。当前代码可能如下所示:"
27062706

27072707
#: ../../howto/clinic.rst:1717
27082708
msgid ""
27092709
"And then in the ``PyMethodDef`` structure at the bottom the existing code "
27102710
"will have:"
2711-
msgstr ""
2711+
msgstr "在底部的 ``PyMethodDef`` 结构中,当前代码如下:"
27122712

27132713
#: ../../howto/clinic.rst:1726
27142714
msgid ""
27152715
"In this scenario, you should enclose the body of your impl function inside "
27162716
"the ``#ifdef``, like so::"
2717-
msgstr ""
2717+
msgstr "这时应将 impl 函数体用 ``#ifdef`` 包裹起来,如下所示:"
27182718

27192719
#: ../../howto/clinic.rst:1740
27202720
msgid ""
27212721
"Then, remove those three lines from the ``PyMethodDef`` structure, replacing"
27222722
" them with the macro Argument Clinic generated:"
2723-
msgstr ""
2723+
msgstr "然后,从 ``PyMethodDef`` 结构中删除以下3行,替换成 Argument Clinic 生成的宏:"
27242724

27252725
#: ../../howto/clinic.rst:1747
27262726
msgid ""
@@ -2729,6 +2729,8 @@ msgid ""
27292729
" first line of your block, but with periods changed to underscores, "
27302730
"uppercased, and ``\"_METHODDEF\"`` added to the end.)"
27312731
msgstr ""
2732+
"(在生成的代码中可找到宏的真实名称。或者可以自行求一下值:块的第一行定义的函数名,句点改为下划线,全部大写,并在末尾加上 "
2733+
"``\"_METHODDEF\"`` )"
27322734

27332735
#: ../../howto/clinic.rst:1752
27342736
msgid ""

0 commit comments

Comments
 (0)