Skip to content

Commit d71c63e

Browse files
committed
feat: add more translation from deprecations
1 parent 3ab1823 commit d71c63e

13 files changed

+707
-443
lines changed
Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2024, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
54
#
6-
#, fuzzy
75
msgid ""
86
msgstr ""
97
"Project-Id-Version: Python 3.12\n"
@@ -18,160 +16,191 @@ msgstr ""
1816
"Content-Transfer-Encoding: 8bit\n"
1917

2018
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:2
19+
#: ../../deprecations/pending-removal-in-3.14.rst:2
2120
msgid "Pending Removal in Python 3.14"
22-
msgstr ""
21+
msgstr "Python 3.14 中待移除的項目"
2322

2423
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:4
2524
msgid ""
2625
"The ``ma_version_tag`` field in :c:type:`PyDictObject` for extension modules "
2726
"(:pep:`699`; :gh:`101193`)."
2827
msgstr ""
28+
":c:type:`PyDictObject` 中的 ``ma_version_tag`` 欄位,用於擴充模組 (:pep:"
29+
"`699`;:gh:`101193`)。"
2930

3031
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:7
3132
msgid ""
3233
"Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable "
3334
"bases (:gh:`95388`)."
3435
msgstr ""
36+
"使用可變基底建立\\ :c:data:`不可變型別 <Py_TPFLAGS_IMMUTABLETYPE>` (:gh:"
37+
"`95388`)。"
3538

3639
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:10
3740
msgid ""
3841
"Functions to configure Python's initialization, deprecated in Python 3.11:"
39-
msgstr ""
42+
msgstr "設定 Python 初始化的函式,Python 3.11 中已被棄用:"
4043

4144
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:12
4245
msgid "``PySys_SetArgvEx()``: set :c:member:`PyConfig.argv` instead."
43-
msgstr ""
46+
msgstr "``PySys_SetArgvEx()``:請改以 :c:member:`PyConfig.argv` 設定。"
4447

4548
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:13
4649
msgid "``PySys_SetArgv()``: set :c:member:`PyConfig.argv` instead."
47-
msgstr ""
50+
msgstr "``PySys_SetArgv()``:請改以 :c:member:`PyConfig.argv` 設定。"
4851

4952
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:14
5053
msgid "``Py_SetProgramName()``: set :c:member:`PyConfig.program_name` instead."
5154
msgstr ""
55+
"``Py_SetProgramName()``:請改以 :c:member:`PyConfig.program_name` 設定。"
5256

5357
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:15
5458
msgid "``Py_SetPythonHome()``: set :c:member:`PyConfig.home` instead."
55-
msgstr ""
59+
msgstr "``Py_SetPythonHome()``:請改以 :c:member:`PyConfig.home` 設定。"
5660

5761
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:17
5862
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:45
5963
msgid ""
6064
"The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:"
6165
"`PyConfig` instead."
6266
msgstr ""
67+
":c:func:`Py_InitializeFromConfig` API 應該與 :c:type:`PyConfig` 一起使用。"
6368

6469
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:20
6570
msgid "Global configuration variables:"
66-
msgstr ""
71+
msgstr "全域設定變數:"
6772

6873
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:22
6974
msgid ":c:var:`Py_DebugFlag`: use :c:member:`PyConfig.parser_debug` instead."
70-
msgstr ""
75+
msgstr ":c:var:`Py_DebugFlag`:請改用 :c:member:`PyConfig.parser_debug`。"
7176

7277
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:23
7378
msgid ":c:var:`Py_VerboseFlag`: use :c:member:`PyConfig.verbose` instead."
74-
msgstr ""
79+
msgstr ":c:var:`Py_VerboseFlag`:請改用 :c:member:`PyConfig.verbose`。"
7580

7681
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:24
7782
msgid ":c:var:`Py_QuietFlag`: use :c:member:`PyConfig.quiet` instead."
78-
msgstr ""
83+
msgstr ":c:var:`Py_QuietFlag`:請改用 :c:member:`PyConfig.quiet`。"
7984

8085
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:25
8186
msgid ""
8287
":c:var:`Py_InteractiveFlag`: use :c:member:`PyConfig.interactive` instead."
83-
msgstr ""
88+
msgstr ":c:var:`Py_InteractiveFlag`:請改用 :c:member:`PyConfig.interactive`。"
8489

8590
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:26
8691
msgid ":c:var:`Py_InspectFlag`: use :c:member:`PyConfig.inspect` instead."
87-
msgstr ""
92+
msgstr ":c:var:`Py_InspectFlag`:請改用 :c:member:`PyConfig.inspect`。"
8893

8994
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:27
9095
msgid ""
9196
":c:var:`Py_OptimizeFlag`: use :c:member:`PyConfig.optimization_level` "
9297
"instead."
9398
msgstr ""
99+
":c:var:`Py_OptimizeFlag`:請改用 :c:member:`PyConfig.optimization_level`。"
94100

95101
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:28
96102
msgid ":c:var:`Py_NoSiteFlag`: use :c:member:`PyConfig.site_import` instead."
97-
msgstr ""
103+
msgstr ":c:var:`Py_NoSiteFlag`:請改用 :c:member:`PyConfig.site_import`。"
98104

99105
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:29
100106
msgid ""
101107
":c:var:`Py_BytesWarningFlag`: use :c:member:`PyConfig.bytes_warning` instead."
102108
msgstr ""
109+
":c:var:`Py_BytesWarningFlag`:請改用 :c:member:`PyConfig.bytes_warning`。"
103110

104111
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:30
105112
msgid ""
106113
":c:var:`Py_FrozenFlag`: use :c:member:`PyConfig.pathconfig_warnings` instead."
107114
msgstr ""
115+
":c:var:`Py_FrozenFlag`:請改用 :c:member:`PyConfig.pathconfig_warnings`。"
108116

109117
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:31
110118
msgid ""
111119
":c:var:`Py_IgnoreEnvironmentFlag`: use :c:member:`PyConfig.use_environment` "
112120
"instead."
113121
msgstr ""
122+
":c:var:`Py_IgnoreEnvironmentFlag`:請改用 :c:member:`PyConfig."
123+
"use_environment`。"
114124

115125
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:32
116126
msgid ""
117127
":c:var:`Py_DontWriteBytecodeFlag`: use :c:member:`PyConfig.write_bytecode` "
118128
"instead."
119129
msgstr ""
130+
":c:var:`Py_DontWriteBytecodeFlag`:請改用 :c:member:`PyConfig."
131+
"write_bytecode`。"
120132

121133
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:33
122134
msgid ""
123135
":c:var:`Py_NoUserSiteDirectory`: use :c:member:`PyConfig."
124136
"user_site_directory` instead."
125137
msgstr ""
138+
":c:var:`Py_NoUserSiteDirectory`:請改用 :c:member:`PyConfig."
139+
"user_site_directory`。"
126140

127141
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:34
128142
msgid ""
129143
":c:var:`Py_UnbufferedStdioFlag`: use :c:member:`PyConfig.buffered_stdio` "
130144
"instead."
131145
msgstr ""
146+
":c:var:`Py_UnbufferedStdioFlag`:請改用 :c:member:`PyConfig.buffered_stdio`。"
132147

133148
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:35
134149
msgid ""
135150
":c:var:`Py_HashRandomizationFlag`: use :c:member:`PyConfig.use_hash_seed` "
136151
"and :c:member:`PyConfig.hash_seed` instead."
137152
msgstr ""
153+
":c:var:`Py_HashRandomizationFlag`:請改用 :c:member:`PyConfig.use_hash_seed` "
154+
"和 :c:member:`PyConfig.hash_seed`。"
138155

139156
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:37
140157
msgid ":c:var:`Py_IsolatedFlag`: use :c:member:`PyConfig.isolated` instead."
141-
msgstr ""
158+
msgstr ":c:var:`Py_IsolatedFlag`:請改用 :c:member:`PyConfig.isolated`。"
142159

143160
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:38
144161
msgid ""
145162
":c:var:`Py_LegacyWindowsFSEncodingFlag`: use :c:member:`PyPreConfig."
146163
"legacy_windows_fs_encoding` instead."
147164
msgstr ""
165+
":c:var:`Py_LegacyWindowsFSEncodingFlag`:請改用 :c:member:`PyPreConfig."
166+
"legacy_windows_fs_encoding`。"
148167

149168
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:39
150169
msgid ""
151170
":c:var:`Py_LegacyWindowsStdioFlag`: use :c:member:`PyConfig."
152171
"legacy_windows_stdio` instead."
153172
msgstr ""
173+
":c:var:`Py_LegacyWindowsStdioFlag`:請改用 :c:member:`PyConfig."
174+
"legacy_windows_stdio`。"
154175

155176
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:40
156177
msgid ""
157178
":c:var:`!Py_FileSystemDefaultEncoding`: use :c:member:`PyConfig."
158179
"filesystem_encoding` instead."
159180
msgstr ""
181+
":c:var:`!Py_FileSystemDefaultEncoding`:請改用 :c:member:`PyConfig."
182+
"filesystem_encoding`。"
160183

161184
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:41
162185
msgid ""
163186
":c:var:`!Py_HasFileSystemDefaultEncoding`: use :c:member:`PyConfig."
164187
"filesystem_encoding` instead."
165188
msgstr ""
189+
":c:var:`!Py_HasFileSystemDefaultEncoding`:請改用 :c:member:`PyConfig."
190+
"filesystem_encoding`。"
166191

167192
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:42
168193
msgid ""
169194
":c:var:`!Py_FileSystemDefaultEncodeErrors`: use :c:member:`PyConfig."
170195
"filesystem_errors` instead."
171196
msgstr ""
197+
":c:var:`!Py_FileSystemDefaultEncodeErrors`:請改用 :c:member:`PyConfig."
198+
"filesystem_errors`。"
172199

173200
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:43
174201
msgid ""
175202
":c:var:`!Py_UTF8Mode`: use :c:member:`PyPreConfig.utf8_mode` instead. (see :"
176203
"c:func:`Py_PreInitialize`)"
177204
msgstr ""
205+
":c:var:`!Py_UTF8Mode`:請改用 :c:member:`PyPreConfig.utf8_mode`。(請見 :c:"
206+
"func:`Py_PreInitialize`)"

deprecations/c-api-pending-removal-in-3.15.po

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#, fuzzy
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: Python 3.12\n"
@@ -18,68 +17,75 @@ msgstr ""
1817
"Content-Transfer-Encoding: 8bit\n"
1918

2019
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:2
20+
#: ../../deprecations/pending-removal-in-3.15.rst:2
2121
msgid "Pending Removal in Python 3.15"
22-
msgstr ""
22+
msgstr "Python 3.15 中待移除的項目"
2323

2424
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
2525
msgid "The bundled copy of ``libmpdecimal``."
26-
msgstr ""
26+
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
2727

2828
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
2929
msgid ""
3030
":c:func:`PyImport_ImportModuleNoBlock`: use :c:func:`PyImport_ImportModule` "
3131
"instead."
3232
msgstr ""
33+
":c:func:`PyImport_ImportModuleNoBlock`:請改用 :c:func:"
34+
"`PyImport_ImportModule`。"
3335

3436
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
3537
msgid ""
3638
":c:func:`PyWeakref_GET_OBJECT`: use :c:func:`!PyWeakref_GetRef` instead."
37-
msgstr ""
39+
msgstr ":c:func:`PyWeakref_GET_OBJECT`:請改用 :c:func:`!PyWeakref_GetRef`。"
3840

3941
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
4042
msgid ":c:func:`PyWeakref_GetObject`: use :c:func:`!PyWeakref_GetRef` instead."
41-
msgstr ""
43+
msgstr ":c:func:`PyWeakref_GetObject`:請改用 :c:func:`!PyWeakref_GetRef`。"
4244

4345
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
4446
msgid ":c:type:`!Py_UNICODE_WIDE` type: use :c:type:`wchar_t` instead."
45-
msgstr ""
47+
msgstr ":c:type:`!Py_UNICODE_WIDE` type:請改用 :c:type:`wchar_t`。"
4648

4749
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
4850
msgid ":c:type:`Py_UNICODE` type: use :c:type:`wchar_t` instead."
49-
msgstr ""
51+
msgstr ":c:type:`Py_UNICODE` type:請改用 :c:type:`wchar_t`。"
5052

5153
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:10
5254
msgid "Python initialization functions:"
53-
msgstr ""
55+
msgstr "Python 初始化函式:"
5456

5557
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
5658
msgid ""
5759
":c:func:`PySys_ResetWarnOptions`: clear :data:`sys.warnoptions` and :data:`!"
5860
"warnings.filters` instead."
5961
msgstr ""
62+
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions` 和 :"
63+
"data:`!warnings.filters`。"
6064

6165
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
6266
msgid ":c:func:`Py_GetExecPrefix`: get :data:`sys.exec_prefix` instead."
63-
msgstr ""
67+
msgstr ":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.exec_prefix`。"
6468

6569
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
6670
msgid ":c:func:`Py_GetPath`: get :data:`sys.path` instead."
67-
msgstr ""
71+
msgstr ":c:func:`Py_GetPath`:請改用 :data:`sys.path`。"
6872

6973
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:16
7074
msgid ":c:func:`Py_GetPrefix`: get :data:`sys.prefix` instead."
71-
msgstr ""
75+
msgstr ":c:func:`Py_GetPrefix`:請改用 :data:`sys.prefix`。"
7276

7377
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:17
7478
msgid ":c:func:`Py_GetProgramFullPath`: get :data:`sys.executable` instead."
75-
msgstr ""
79+
msgstr ":c:func:`Py_GetProgramFullPath`:請改用 :data:`sys.executable`。"
7680

7781
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
7882
msgid ":c:func:`Py_GetProgramName`: get :data:`sys.executable` instead."
79-
msgstr ""
83+
msgstr ":c:func:`Py_GetProgramName`:請改用 :data:`sys.executable`。"
8084

8185
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
8286
msgid ""
8387
":c:func:`Py_GetPythonHome`: get :c:member:`PyConfig.home` or the :envvar:"
8488
"`PYTHONHOME` environment variable instead."
8589
msgstr ""
90+
":c:func:`Py_GetPythonHome`:請改用 :c:member:`PyConfig.home` 或 :envvar:"
91+
"`PYTHONHOME` 環境變數。"

0 commit comments

Comments
 (0)