Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0de8c92

Browse files
[po] auto sync
1 parentcf36d6e commit0de8c92

File tree

7 files changed

+107
-84
lines changed

7 files changed

+107
-84
lines changed

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"99.77%","updated_at":"2025-11-03T02:46:49Z"}
1+
{"translation":"99.78%","updated_at":"2025-11-03T07:15:27Z"}

‎reference/executionmodel.po‎

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.14\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-10-09 14:15+0000\n"
15+
"POT-Creation-Date:2025-11-01 14:13+0000\n"
1616
"PO-Revision-Date:2025-09-16 00:02+0000\n"
1717
"Last-Translator:Freesand Leo <yuqinju@163.com>, 2025\n"
1818
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -714,14 +714,14 @@ msgid ""
714714
"Processes are isolated and independent from one another. (The same is true "
715715
"for hosts.) The host manages the process' access to its assigned resources,"
716716
" in addition to coordinating between processes."
717-
msgstr""
717+
msgstr"进程之间是相互隔离与独立的。 (对于主机来说也是如此。) 主机管理进程对其所分配资源的访问,并在进程之间进行协调。"
718718

719719
#:../../reference/executionmodel.rst:433
720720
msgid""
721721
"Each thread represents the actual execution of the program's machine code, "
722722
"running relative to the resources assigned to the program's process. It's "
723723
"strictly up to the host how and when that execution takes place."
724-
msgstr""
724+
msgstr"每个线程代表程序的机器码的实际执行,它们相对于分配给程序的进程的资源来运行。 实际执行是如何以及何时发生完全取决于具体主机。"
725725

726726
#:../../reference/executionmodel.rst:438
727727
msgid""
@@ -732,6 +732,9 @@ msgid ""
732732
" one another. Specifically, all threads in a process share all of the "
733733
"process' resources."
734734
msgstr""
735+
"从 Python 的角度来看,程序开始时总是只有一个线程。 但是,程序可能会发展为在多个线程中同时运行。 "
736+
"并非所有主机都支持在每个进程中有多个线程,但多数确实如此。 与进程不同,进程中的线程并非相互隔离和独立的。 "
737+
"具体来说,一个进程中的所有线程都共享进程的所有资源。"
735738

736739
#:../../reference/executionmodel.rst:445
737740
msgid""
@@ -740,6 +743,8 @@ msgid ""
740743
"time (\"concurrently\") or physically (\"in parallel\"). Either way, the "
741744
"threads effectively run at a non-synchronized rate."
742745
msgstr""
746+
"线程的基本要点是每一个线程都独立 *运行*,并与其他线程同时运行。 这种同时可能只是概念上的(“并发”)也可能是物理上的(“并行”)。 "
747+
"无论哪种方式,线程实际上都是以非同步的速率运行的。"
743748

744749
#:../../reference/executionmodel.rst:453
745750
msgid""
@@ -752,40 +757,43 @@ msgid ""
752757
"other's use of some shared data. All this is true for both Python programs "
753758
"and the Python runtime."
754759
msgstr""
760+
"所谓非同步的速率意味着进程的任何内存都不保证对在任何给定线程中运行的代码是固定的。 因此多线程的程序必须小心协调对有意共享的资源的访问。 "
761+
"类似地,它们也必须非常小心注意不要访问多线程中的任何 *其它* 资源;否则同时运行的两个线程可能会意外地干涉彼此对某些共享数据的使用。 这一点对于 "
762+
"Python 程序和 Python 运行时来说都是如此。"
755763

756764
#:../../reference/executionmodel.rst:463
757765
msgid""
758766
"The cost of this broad, unstructured requirement is the tradeoff for the "
759767
"kind of raw concurrency that threads provide. The alternative to the "
760768
"required discipline generally means dealing with non-deterministic bugs and "
761769
"data corruption."
762-
msgstr""
770+
msgstr"这种宽泛、非结构化要求的代价就是对线程所提供的初级并发特性的权衡。 违反所要求的纪律通常就意味着需要处理非确定性的程序错误和数据损坏。"
763771

764772
#:../../reference/executionmodel.rst:469
765773
msgid"Python Runtime Model"
766-
msgstr""
774+
msgstr"Python 运行时模型"
767775

768776
#:../../reference/executionmodel.rst:471
769777
msgid""
770778
"The same conceptual layers apply to each Python program, with some extra "
771779
"data layers specific to Python:"
772-
msgstr""
780+
msgstr"相同的概念层级将应用于每个 Python 程序,并带有一些 Python 专属的数据层级:"
773781

774782
#:../../reference/executionmodel.rst:0
775783
msgid"Python global runtime (*state*)"
776-
msgstr""
784+
msgstr"Python 全局运行时 (*状态*)"
777785

778786
#:../../reference/executionmodel.rst:0
779787
msgid"Python interpreter (*state*)"
780-
msgstr""
788+
msgstr"Python 解释器 (*状态*)"
781789

782790
#:../../reference/executionmodel.rst:0
783791
msgid"**thread** (runs Python bytecode and\"C-API\")"
784-
msgstr""
792+
msgstr"**线程** (运行 Python 字节码和\"C-API\")"
785793

786794
#:../../reference/executionmodel.rst:0
787795
msgid"Python thread *state*"
788-
msgstr""
796+
msgstr"Python 线程 *状态*"
789797

790798
#:../../reference/executionmodel.rst:481
791799
msgid""
@@ -794,6 +802,8 @@ msgid ""
794802
"interpreters, and each interpreter may grow to include multiple thread "
795803
"states."
796804
msgstr""
805+
"在概念层级上:当一个 Python 程序启动时,它会完全符合上图的样子,每层各有一个。 "
806+
"运行时可能发展为包括多个解释器,而每个解释器可能发展为包括多个线程状态。"
797807

798808
#:../../reference/executionmodel.rst:488
799809
msgid""
@@ -802,13 +812,15 @@ msgid ""
802812
"layers are directly specified or exposed to users, like through the "
803813
":mod:`threading` module."
804814
msgstr""
815+
"一个 Python 具体实现不一定需要实现单独甚至实体的层级。 唯一的例外是将单独的层级直接指明或暴露给用户,例如通过 :mod:`threading`"
816+
" 模块的情况。"
805817

806818
#:../../reference/executionmodel.rst:495
807819
msgid""
808820
"The initial interpreter is typically called the\"main\" interpreter. Some "
809821
"Python implementations, like CPython, assign special roles to the main "
810822
"interpreter."
811-
msgstr""
823+
msgstr"初始的解释器通常称为“主”解释器。 某些 Python 实现,像是 CPython,会给主解释器分配特殊角色。"
812824

813825
#:../../reference/executionmodel.rst:499
814826
msgid""

‎using/mac.po‎

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#,fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version:Python 3.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-08-15 14:18+0000\n"
15+
"POT-Creation-Date:2025-11-01 14:13+0000\n"
1516
"PO-Revision-Date:2025-09-16 00:02+0000\n"
16-
"Last-Translator:python-doc bot, 2025\n"
17+
"Last-Translator:Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version:1.0\n"
1920
"Content-Type:text/plain; charset=UTF-8\n"
@@ -682,25 +683,25 @@ msgid ""
682683
msgstr""
683684
"RELEASE=\"python-\\ |version|\\ 0b2-macos11.pkg\"\n"
684685
"\n"
685-
"#下载 installer pkg\n"
686+
"#download installer pkg\n"
686687
"curl -O\\https://www.python.org/ftp/python/\\ |version|\\ .0/${RELEASE}\n"
687688
"\n"
688-
"#创建 installer choicechanges文件来定制安装:\n"
689-
"#启用PythonTFramework-\\ |version|\\\n"
690-
"#并接受其他默认选项(安装所有其他包)\n"
689+
"#create installer choicechangesto customize the install:\n"
690+
"# enable thePythonTFramework-\\ |version|\\ package\n"
691+
"# while accepting the other defaults (install all other packages)\n"
691692
"cat > ./choicechanges.plist <<EOF\n"
692693
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
693694
"<!DOCTYPE plist PUBLIC\"-//Apple//DTD PLIST 1.0//EN\"\"\\http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n"
694695
"<plist version=\"1.0\">\n"
695696
"<array>\n"
696-
"<dict>\n"
697-
"<key>attributeSetting</key>\n"
698-
"<integer>1</integer>\n"
699-
"<key>choiceAttribute</key>\n"
700-
"<string>selected</string>\n"
701-
"<key>choiceIdentifier</key>\n"
702-
"<string>org.python.Python.PythonTFramework-\\ |version|\\ </string>\n"
703-
"</dict>\n"
697+
"<dict>\n"
698+
"<key>attributeSetting</key>\n"
699+
"<integer>1</integer>\n"
700+
"<key>choiceAttribute</key>\n"
701+
"<string>selected</string>\n"
702+
"<key>choiceIdentifier</key>\n"
703+
"<string>org.python.Python.PythonTFramework-\\ |version|\\ </string>\n"
704+
"</dict>\n"
704705
"</array>\n"
705706
"</plist>\n"
706707
"EOF\n"
@@ -727,17 +728,17 @@ msgid ""
727728
"$ python\\ |version|\\ -VV\n"
728729
"Python\\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]"
729730
msgstr""
730-
"$ #Unix Command Tools包被启用时测试自由线程解释器是否已安装\n"
731+
"$ #test that the free-threaded interpreter was installed if theUnix Command Toolspackage was enabled\n"
731732
"$ /usr/local/bin/python\\ |version|\\ t -VV\n"
732-
"Python\\ |version|\\ .0b2experimentalfree-threading build (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
733-
"$ #并测试传统解释器\n"
734-
"$ /usr/local/bin/python\\ |version|\\ -VV\n"
735-
"Python\\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
736-
"$ #/usr/local/bin$PATH 中时测试它们在不带前缀的情况下是否可用\n"
733+
"Python\\ |version|\\ .0b2 free-threading build (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
734+
"$ # and the traditional interpreter\n"
735+
"$ /usr/local/bin/python\\ |version|\\-VV\n"
736+
"Python\\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
737+
"$ #test that they are also available without the prefix if/usr/local/binis on$PATH\n"
737738
"$ python\\ |version|\\ t -VV\n"
738-
"Python\\ |version|\\ .0b2experimentalfree-threading build (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
739-
"$ python\\ |version|\\ -VV\n"
740-
"Python\\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]"
739+
"Python\\ |version|\\ .0b2 free-threading build (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
740+
"$ python\\ |version|\\-VV\n"
741+
"Python\\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]"
741742

742743
#:../../using/mac.rst:424
743744
msgid""

‎whatsnew/2.4.po‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#,fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version:Python 3.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-05-09 14:19+0000\n"
15+
"POT-Creation-Date:2025-11-01 14:13+0000\n"
1516
"PO-Revision-Date:2025-09-16 00:02+0000\n"
16-
"Last-Translator:python-doc bot, 2025\n"
17+
"Last-Translator:Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version:1.0\n"
1920
"Content-Type:text/plain; charset=UTF-8\n"
@@ -2707,11 +2708,11 @@ msgid ""
27072708
"2 passed and 0 failed.\n"
27082709
"Test passed."
27092710
msgstr""
2710-
"1项通过了所有测试:\n"
2711-
" 2个测试在 f 中\n"
2712-
"1 项中的 2 个测试。\n"
2713-
"2个通过,0 个失败。\n"
2714-
"测试通过。"
2711+
"1items passed all tests:\n"
2712+
" 2tests in f\n"
2713+
"2 tests in 1 items.\n"
2714+
"2passed and 0 failed.\n"
2715+
"Test passed."
27152716

27162717
#:../../whatsnew/2.4.rst:1388
27172718
msgid""

‎whatsnew/2.5.po‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#,fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version:Python 3.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-05-09 14:19+0000\n"
15+
"POT-Creation-Date:2025-11-01 14:13+0000\n"
1516
"PO-Revision-Date:2025-09-16 00:02+0000\n"
16-
"Last-Translator:python-doc bot, 2025\n"
17+
"Last-Translator:Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version:1.0\n"
1920
"Content-Type:text/plain; charset=UTF-8\n"
@@ -1582,11 +1583,11 @@ msgid ""
15821583
"|- Exception\n"
15831584
" |- (all other current built-in exceptions)"
15841585
msgstr""
1585-
"BaseException # Python 2.5新增\n"
1586+
"BaseException #New inPython 2.5\n"
15861587
"|- KeyboardInterrupt\n"
15871588
"|- SystemExit\n"
15881589
"|- Exception\n"
1589-
" |-(所有其他当前内置异常)"
1590+
" |-(all other current built-in exceptions)"
15901591

15911592
#:../../whatsnew/2.5.rst:828
15921593
msgid""

‎whatsnew/2.7.po‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.14\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-10-11 14:13+0000\n"
15+
"POT-Creation-Date:2025-11-01 14:13+0000\n"
1616
"PO-Revision-Date:2025-09-16 00:02+0000\n"
1717
"Last-Translator:Freesand Leo <yuqinju@163.com>, 2025\n"
1818
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -702,16 +702,16 @@ msgstr ""
702702
"-> ./python.exe argparse-example.py --help\n"
703703
"usage: argparse-example.py [-h] [-v] [-o FILE] [-C NUM] [inputs [inputs ...]]\n"
704704
"\n"
705-
"命令行示例。\n"
705+
"Command-line example.\n"
706706
"\n"
707707
"positional arguments:\n"
708708
" inputs input filenames (default is stdin)\n"
709709
"\n"
710710
"optional arguments:\n"
711711
" -h, --help show this help message and exit\n"
712-
" -v生成详细输出\n"
713-
" -o FILE将输出重定向到FILE而不是 stdout\n"
714-
" -C NUM显示 NUM行的附加上下文"
712+
" -vproduce verbose output\n"
713+
" -o FILEdirect output toFILEinstead of stdout\n"
714+
" -C NUMdisplay NUMlines of added context"
715715

716716
#:../../whatsnew/2.7.rst:410
717717
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp