88msgstr ""
99"Project-Id-Version : Python 3.14\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2026-07-31 00:31 +0000\n "
11+ "POT-Creation-Date : 2026-08-25 00:10 +0000\n "
1212"PO-Revision-Date : 2022-06-12 15:17+0800\n "
1313"Last-Translator : Matt Wang <mattwang44@gmail.com>\n "
1414"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -578,54 +578,56 @@ msgid "A platform-specific location:"
578578msgstr "與平臺相關的位置:"
579579
580580#: ../../library/tempfile.rst:324
581+ #, fuzzy
581582msgid ""
582- "On Windows, the directories :file:`C:\\\\ TEMP`, :file:`C:\\\\ TMP`, :file:`\\ "
583- "\\ TEMP`, and :file:`\\\\ TMP`, in that order."
583+ "On Windows, the directories :file:`%USERPROFILE%\\\\ AppData\\\\ Local\\ "
584+ "\\ Temp`, :file:`%SYSTEMROOT%\\\\ Temp`, :file:`C:\\\\ TEMP`, :file:`C:\\ "
585+ "\\ TMP`, :file:`\\\\ TEMP`, and :file:`\\\\ TMP`, in that order."
584586msgstr ""
585587"在 Windows 上,目錄依次為 :file:`C:\\\\ TEMP`、:file:`C:\\\\ TMP`、:file:`\\ "
586588"\\ TEMP` 和 :file:`\\\\ TMP`。"
587589
588- #: ../../library/tempfile.rst:327
590+ #: ../../library/tempfile.rst:330
589591msgid ""
590592"On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and :"
591593"file:`/usr/tmp`, in that order."
592594msgstr ""
593595"在所有其他平臺上,目錄依次為 :file:`/tmp`、:file:`/var/tmp` 和 :file:`/usr/"
594596"tmp`。"
595597
596- #: ../../library/tempfile.rst:330
598+ #: ../../library/tempfile.rst:333
597599msgid "As a last resort, the current working directory."
598600msgstr "不得已時,使用目前工作目錄。"
599601
600- #: ../../library/tempfile.rst:332
602+ #: ../../library/tempfile.rst:335
601603msgid ""
602604"The result of this search is cached, see the description of :data:`tempdir` "
603605"below."
604606msgstr "搜尋的結果會被 cache(快取)起來,請見下面 :data:`tempdir` 的描述。"
605607
606- #: ../../library/tempfile.rst:337
608+ #: ../../library/tempfile.rst:340
607609msgid ""
608610"Always returns a str. Previously it would return any :data:`tempdir` value "
609611"regardless of type so long as it was not ``None``."
610612msgstr ""
611613"回傳一個字串。在之前的版本中它會回傳任意 :data:`tempdir` 的值而不考慮它的型"
612614"別,只要它不為 ``None``。"
613615
614- #: ../../library/tempfile.rst:342
616+ #: ../../library/tempfile.rst:345
615617msgid "Same as :func:`gettempdir` but the return value is in bytes."
616618msgstr "與 :func:`gettempdir` 相同,但回傳值為位元組串型別。"
617619
618- #: ../../library/tempfile.rst:348
620+ #: ../../library/tempfile.rst:351
619621msgid ""
620622"Return the filename prefix used to create temporary files. This does not "
621623"contain the directory component."
622624msgstr "回傳用於建立臨時檔案的檔名前綴,它不包含目錄部分。"
623625
624- #: ../../library/tempfile.rst:353
626+ #: ../../library/tempfile.rst:356
625627msgid "Same as :func:`gettempprefix` but the return value is in bytes."
626628msgstr "與 :func:`gettempprefix` 相同,但回傳值為位元組串型別。"
627629
628- #: ../../library/tempfile.rst:357
630+ #: ../../library/tempfile.rst:360
629631msgid ""
630632"The module uses a global variable to store the name of the directory used "
631633"for temporary files returned by :func:`gettempdir`. It can be set directly "
@@ -639,7 +641,7 @@ msgstr ""
639641"式都接受一個 *dir* 引數,它可被用於指定目錄。這是個推薦的做法,它不會透過改變"
640642"全域性 API 行為而對其他不預期此行為的程式造成影響。"
641643
642- #: ../../library/tempfile.rst:366
644+ #: ../../library/tempfile.rst:369
643645msgid ""
644646"When set to a value other than ``None``, this variable defines the default "
645647"value for the *dir* argument to the functions defined in this module, "
@@ -649,7 +651,7 @@ msgstr ""
649651"預設值,包括確定其型別為位元組串還是字串。它不可以為 :term:`path-like "
650652"object`。"
651653
652- #: ../../library/tempfile.rst:371
654+ #: ../../library/tempfile.rst:374
653655msgid ""
654656"If ``tempdir`` is ``None`` (the default) at any call to any of the above "
655657"functions except :func:`gettempprefix` it is initialized following the "
@@ -658,7 +660,7 @@ msgstr ""
658660"如果在呼叫除 :func:`gettempprefix` 外的上述任何函式時 ``tempdir`` 為 "
659661"``None`` (預設值) 則它會按照 :func:`gettempdir` 中所描述的演算法來初始化。"
660662
661- #: ../../library/tempfile.rst:377
663+ #: ../../library/tempfile.rst:380
662664msgid ""
663665"Beware that if you set ``tempdir`` to a bytes value, there is a nasty side "
664666"effect: The global default return type of :func:`mkstemp` and :func:"
@@ -672,16 +674,16 @@ msgstr ""
672674"``prefix``、``suffix`` 或 ``dir`` 時被改為位元組串。請不要編寫預期此行為或依"
673675"賴於此行為的程式。這個奇怪的行為是為了維持與以往實作版本的相容性。"
674676
675- #: ../../library/tempfile.rst:388
677+ #: ../../library/tempfile.rst:391
676678msgid "Examples"
677679msgstr "範例"
678680
679- #: ../../library/tempfile.rst:390
681+ #: ../../library/tempfile.rst:393
680682msgid ""
681683"Here are some examples of typical usage of the :mod:`!tempfile` module::"
682684msgstr "以下是 :mod:`!tempfile` module 的一些常見用法範例: ::"
683685
684- #: ../../library/tempfile.rst:392
686+ #: ../../library/tempfile.rst:395
685687msgid ""
686688">>> import tempfile\n"
687689"\n"
@@ -763,11 +765,11 @@ msgstr ""
763765">>>\n"
764766"# 目錄及其內容已被刪除"
765767
766- #: ../../library/tempfile.rst:435
768+ #: ../../library/tempfile.rst:438
767769msgid "Deprecated functions and variables"
768770msgstr "已棄用的函式和變數"
769771
770- #: ../../library/tempfile.rst:437
772+ #: ../../library/tempfile.rst:440
771773msgid ""
772774"A historical way to create temporary files was to first generate a file name "
773775"with the :func:`mktemp` function and then create a file using this name. "
@@ -782,11 +784,11 @@ msgstr ""
782784"之間的時間裡,其他程式可能會使用該名稱建立檔案。解決方案是將兩個步驟結合起"
783785"來,並立即建立檔案。這個方案目前被 :func:`mkstemp` 和上述其他函式所採用。"
784786
785- #: ../../library/tempfile.rst:448
787+ #: ../../library/tempfile.rst:451
786788msgid "Use :func:`mkstemp` instead."
787789msgstr "使用 :func:`mkstemp` 代替。"
788790
789- #: ../../library/tempfile.rst:451
791+ #: ../../library/tempfile.rst:454
790792msgid ""
791793"Return an absolute pathname of a file that did not exist at the time the "
792794"call is made. The *prefix*, *suffix*, and *dir* arguments are similar to "
@@ -797,7 +799,7 @@ msgstr ""
797799"與 :func:`mkstemp` 中所用的類似,除了在於不支援位元組串型別的檔名且不支援 "
798800"``suffix=None`` 和 ``prefix=None``。"
799801
800- #: ../../library/tempfile.rst:458
802+ #: ../../library/tempfile.rst:461
801803msgid ""
802804"Use of this function may introduce a security hole in your program. By the "
803805"time you get around to doing anything with the file name it returns, someone "
@@ -809,7 +811,7 @@ msgstr ""
809811"作時,可能有人已經捷足先登了。:func:`mktemp` 的功能可以很輕鬆地用帶有 "
810812"``delete=False`` 參數的 :func:`NamedTemporaryFile` 代替: ::"
811813
812- #: ../../library/tempfile.rst:464
814+ #: ../../library/tempfile.rst:467
813815msgid ""
814816">>> f = NamedTemporaryFile(delete=False)\n"
815817">>> f.name\n"
0 commit comments