Skip to content

Commit 46ed315

Browse files
committed
fix
1 parent f5d6e0b commit 46ed315

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

library/zipfile.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ msgid ""
298298
"statement. In the example, *myzip* is closed after the :keyword:`!with` "
299299
"statement's suite is finished---even if an exception occurs::"
300300
msgstr ""
301-
"ZipFile 也是一個上下文管理器,因此支援 :keyword:`with` 陳述式。在範例中,"
301+
"ZipFile 也是一個情境管理器,因此支援 :keyword:`with` 陳述式。在範例中,"
302302
"*myzip* 在 :keyword:`!with` 陳述式的程式碼區塊執行完畢後會被關閉 --- 即使發生"
303303
"例外也是如此: ::"
304304

@@ -334,7 +334,7 @@ msgstr ""
334334

335335
#: ../../library/zipfile.rst:221
336336
msgid "Added the ability to use :class:`ZipFile` as a context manager."
337-
msgstr "新增 :class:`ZipFile` 作為上下文管理器使用的能力。"
337+
msgstr "新增 :class:`ZipFile` 作為情境管理器使用的能力。"
338338

339339
#: ../../library/zipfile.rst:224
340340
msgid "Added support for :mod:`bzip2 <bz2>` and :mod:`lzma` compression."
@@ -425,7 +425,7 @@ msgid ""
425425
":meth:`~ZipFile.open` is also a context manager and therefore supports the :"
426426
"keyword:`with` statement::"
427427
msgstr ""
428-
":meth:`~ZipFile.open` 也是一個上下文管理器,因此支援 :keyword:`with` 陳述"
428+
":meth:`~ZipFile.open` 也是一個情境管理器,因此支援 :keyword:`with` 陳述"
429429
"式: ::"
430430

431431
#: ../../library/zipfile.rst:288
@@ -899,15 +899,15 @@ msgstr "列舉目前目錄的子項目。"
899899

900900
#: ../../library/zipfile.rst:590
901901
msgid "Return ``True`` if the current context references a directory."
902-
msgstr "如果目前上下文參照到一個目錄,則回傳 ``True``。"
902+
msgstr "如果目前情境參照到一個目錄,則回傳 ``True``。"
903903

904904
#: ../../library/zipfile.rst:594
905905
msgid "Return ``True`` if the current context references a file."
906-
msgstr "如果目前上下文參照到一個檔案,則回傳 ``True``。"
906+
msgstr "如果目前情境參照到一個檔案,則回傳 ``True``。"
907907

908908
#: ../../library/zipfile.rst:598
909909
msgid "Return ``True`` if the current context references a symbolic link."
910-
msgstr "如果目前上下文參照到一個符號連結,則回傳 ``True``。"
910+
msgstr "如果目前情境參照到一個符號連結,則回傳 ``True``。"
911911

912912
#: ../../library/zipfile.rst:602
913913
msgid "Previously, ``is_symlink`` would unconditionally return ``False``."
@@ -917,7 +917,7 @@ msgstr "先前,``is_symlink`` 會無條件地回傳 ``False``。"
917917
msgid ""
918918
"Return ``True`` if the current context references a file or directory in the "
919919
"zip file."
920-
msgstr "如果目前上下文參照到 zip 檔案中的一個檔案或目錄,則回傳 ``True``。"
920+
msgstr "如果目前情境參照到 zip 檔案中的一個檔案或目錄,則回傳 ``True``。"
921921

922922
#: ../../library/zipfile.rst:612
923923
msgid ""
@@ -952,7 +952,7 @@ msgid ""
952952
"implied by the context)."
953953
msgstr ""
954954
"將目前檔案讀取為 unicode 文字。位置引數和關鍵字引數會被傳遞給 :class:`io."
955-
"TextIOWrapper`\\ (但 ``buffer`` 會根據上下文隱式處理)。"
955+
"TextIOWrapper`\\ (但 ``buffer`` 會根據情境隱式處理)。"
956956

957957
#: ../../library/zipfile.rst:647
958958
msgid "Read the current file as bytes."

0 commit comments

Comments
 (0)