@@ -149,7 +149,7 @@ msgid ""
149149msgstr ""
150150"這些時區也支援 :pep:`495` 中引入的 :attr:`~datetime.datetime.fold` 屬性。在會"
151151"引發時間模糊的時差轉換期間(例如日光節約時間到標準時間的轉換),當 "
152- "``fold=0`` 時,會使用轉換*前*的時差,而當 ``fold=1`` 時,會使用轉換*後*的時"
152+ "``fold=0`` 時,會使用轉換\\ *前*\\ 的時差,而當 ``fold=1`` 時,會使用轉換\\ *後*\\ 的時"
153153"差,例如: ::"
154154
155155#: ../../library/zoneinfo.rst:69
@@ -192,11 +192,11 @@ msgstr ""
192192">>> LOS_ANGELES = ZoneInfo(\" America/Los_Angeles\" )\n"
193193">>> dt_utc = datetime(2020, 11, 1, 8, tzinfo=timezone.utc)\n"
194194"\n"
195- ">>> # Before the PDT -> PST transition \n"
195+ ">>> # 在 PDT 轉換為 PST 之前 \n"
196196">>> print(dt_utc.astimezone(LOS_ANGELES))\n"
197197"2020-11-01 01:00:00-07:00\n"
198198"\n"
199- ">>> # After the PDT -> PST transition \n"
199+ ">>> # 在 PDT 轉換為 PST 之後 \n"
200200">>> print((dt_utc + timedelta(hours=1)).astimezone(LOS_ANGELES))\n"
201201"2020-11-01 01:00:00-08:00"
202202
@@ -241,8 +241,8 @@ msgid ""
241241"The default :data:`TZPATH` when not otherwise specified can be configured "
242242"at :ref:`compile time <zoneinfo_data_compile_time_config>`."
243243msgstr ""
244- "未另外指定時的預設 :data:`TZPATH` 可以在 :ref:`編譯時期 "
245- "<zoneinfo_data_compile_time_config>` 設定。"
244+ "未另外指定時的預設 :data:`TZPATH` 可以在\\ :ref:`編譯時期 "
245+ "<zoneinfo_data_compile_time_config>`\\ 設定。"
246246
247247#: ../../library/zoneinfo.rst:115
248248msgid ""
@@ -257,7 +257,7 @@ msgid ""
257257"At :ref:`runtime <zoneinfo_data_runtime_config>`, the search path can be "
258258"manipulated using the :func:`reset_tzpath` function."
259259msgstr ""
260- "在 :ref:`執行時期 <zoneinfo_data_runtime_config>`,可以使用 :func:"
260+ "在 :ref:`runtime <zoneinfo_data_runtime_config>`,可以使用 :func:"
261261"`reset_tzpath` 函式來操作搜尋路徑。"
262262
263263#: ../../library/zoneinfo.rst:123
@@ -328,7 +328,7 @@ msgstr "要讓系統忽略系統資料並改用 tzdata 套件,請設定 ``PYTH
328328
329329#: ../../library/zoneinfo.rst:163
330330msgid "Runtime configuration"
331- msgstr "執行時期設定 "
331+ msgstr "Runtime 設定 "
332332
333333#: ../../library/zoneinfo.rst:165
334334msgid ""
@@ -338,7 +338,7 @@ msgid ""
338338"a specific time zone path (or require disabling access to the system time "
339339"zones)."
340340msgstr ""
341- "TZ 搜尋路徑也可以在執行時期使用 :func:`reset_tzpath` 函式進行設定。這通常不是"
341+ "TZ 搜尋路徑也可以在 Runtime 使用 :func:`reset_tzpath` 函式進行設定。這通常不是"
342342"一個建議的操作,儘管在需要使用特定時區路徑(或需要停用對系統時區的存取)的測"
343343"試函式中使用它是合理的。"
344344
@@ -411,7 +411,7 @@ msgstr ""
411411#: ../../library/zoneinfo.rst:207
412412msgid ""
413413"Objects created via this constructor cannot be pickled (see `pickling`_)."
414- msgstr "透過此建構函式建立的物件無法被 pickle 封裝 (參閱 `pickling`_)。"
414+ msgstr "透過此建構函式建立的物件無法被封裝 (參閱 `pickling`_)。"
415415
416416#: ../../library/zoneinfo.rst:211
417417msgid ""
@@ -501,7 +501,7 @@ msgid ""
501501msgstr ""
502502"雖然將這些值暴露給終端使用者是一種相當普遍的做法,但這些值被設計為表示相關時"
503503"區的主鍵,而不一定是面向使用者的元素。像 CLDR(Unicode 通用地區資料儲存庫)這"
504- "樣的專案可以用來從這些鍵中獲取更友善的使用者字串 。"
504+ "樣的專案可以用來從這些鍵中取得更友善的使用者字串 。"
505505
506506#: ../../library/zoneinfo.rst:269
507507msgid "String representations"
@@ -547,7 +547,7 @@ msgstr ""
547547
548548#: ../../library/zoneinfo.rst:291
549549msgid "Pickle serialization"
550- msgstr "Pickle 序列化 "
550+ msgstr "封裝序列化 "
551551
552552#: ../../library/zoneinfo.rst:293
553553msgid ""
@@ -556,7 +556,7 @@ msgid ""
556556"those with a value for ``key`` specified) cannot be pickled."
557557msgstr ""
558558"``ZoneInfo`` 物件不是序列化所有轉換資料,而是按鍵進行序列化,而從檔案建構的 "
559- "``ZoneInfo`` 物件(即使是那些指定了 ``key`` 值的物件)也無法被 pickle 封裝 。"
559+ "``ZoneInfo`` 物件(即使是那些指定了 ``key`` 值的物件)也無法被封裝 。"
560560
561561#: ../../library/zoneinfo.rst:297
562562msgid "The behavior of a ``ZoneInfo`` file depends on how it was constructed:"
@@ -575,7 +575,7 @@ msgstr ""
575575"``ZoneInfo(key)``:當使用主要建構函式建構時,``ZoneInfo`` 物件會按鍵序列化,"
576576"而在去序列化時,去序列化過程會使用主要建構函式,因此預期這些物件會與指向相同"
577577"時區的其他參照是同一個物件。例如,如果 ``europe_berlin_pkl`` 是一個包含從 "
578- "``ZoneInfo(\" Europe/Berlin\" )`` 建構的 pickle 封包的字串 ,會預期以下行為:"
578+ "``ZoneInfo(\" Europe/Berlin\" )`` 建構並封裝的字串 ,會預期以下行為:"
579579
580580#: ../../library/zoneinfo.rst:307
581581msgid ""
@@ -601,7 +601,7 @@ msgstr ""
601601"``ZoneInfo.no_cache(key)``:當從繞過快取的建構函式建構時,``ZoneInfo`` 物件也"
602602"會按鍵序列化,但在去序列化時,去序列化過程會使用繞過快取的建構函式。如果 "
603603"``europe_berlin_pkl_nc`` 是一個包含從 ``ZoneInfo.no_cache(\" Europe/Berlin"
604- "\" )`` 建構的 pickle 封包的字串 ,會預期以下行為:"
604+ "\" )`` 建構並封裝的字串 ,會預期以下行為:"
605605
606606#: ../../library/zoneinfo.rst:321
607607msgid ""
@@ -640,7 +640,7 @@ msgid ""
640640msgstr ""
641641"這種序列化方法要求所需鍵的時區資料在序列化和去序列化兩端都可用,這與對類別和"
642642"函式的參照預期存在於序列化和去序列化環境中的方式相似。這也意味著,當在具有不"
643- "同版本時區資料的環境中拆封一個 ``ZoneInfo`` pickle 封包時 ,不保證結果的一致"
643+ "同版本時區資料的環境中拆封一個封裝的 ``ZoneInfo`` 時 ,不保證結果的一致"
644644"性。"
645645
646646#: ../../library/zoneinfo.rst:342
@@ -682,7 +682,7 @@ msgid ""
682682"cautionary note on :attr:`ZoneInfo.key`."
683683msgstr ""
684684"這些值並非設計來暴露給終端使用者;對於面向使用者的元素,應用程式應使用像 "
685- "CLDR(Unicode 通用地區資料儲存庫)這樣的工具來獲取更友善的使用者字串 。另請參"
685+ "CLDR(Unicode 通用地區資料儲存庫)這樣的工具來取得更友善的使用者字串 。另請參"
686686"閱關於 :attr:`ZoneInfo.key` 的警示說明。"
687687
688688#: ../../library/zoneinfo.rst:369
0 commit comments