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

Commitc05a42a

Browse files
authored
Add more translations of library/io (#755)
1 parent5066292 commitc05a42a

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

‎library/io.po

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -729,45 +729,52 @@ msgid ""
729729
"to the position indicated by *whence*, and return the new absolute position. "
730730
"Values for *whence* are:"
731731
msgstr""
732+
"將串流位置改變到給定的位元組 *offset*,此位置是相對於由 *whence* 指示的位置解"
733+
"釋的,並回傳新的絕對位置。*whence* 的值可為:"
732734

733735
#:../../library/io.rst:413
734736
msgid""
735737
":data:`os.SEEK_SET` or ``0`` -- start of the stream (the default); *offset* "
736738
"should be zero or positive"
737739
msgstr""
740+
":data:`os.SEEK_SET` 或 ``0`` -- 串流的起點(預設值);*offset* 應為零或正數"
738741

739742
#:../../library/io.rst:415
740743
msgid""
741744
":data:`os.SEEK_CUR` or ``1`` -- current stream position; *offset* may be "
742745
"negative"
743-
msgstr""
746+
msgstr":data:`os.SEEK_CUR` 或 ``1`` -- 目前串流位置;*offset* 可以是負數"
744747

745748
#:../../library/io.rst:417
746749
msgid""
747750
":data:`os.SEEK_END` or ``2`` -- end of the stream; *offset* is usually "
748751
"negative"
749-
msgstr""
752+
msgstr":data:`os.SEEK_END` 或 ``2`` -- 串流的結尾;*offset* 通常是負數"
750753

751754
#:../../library/io.rst:420../../library/io.rst:930
752755
msgid"The :data:`!SEEK_*` constants."
753-
msgstr""
756+
msgstr":data:`!SEEK_*` 常數。"
754757

755758
#:../../library/io.rst:423
756759
msgid""
757760
"Some operating systems could support additional values, like :const:`os."
758761
"SEEK_HOLE` or :const:`os.SEEK_DATA`. The valid values for a file could "
759762
"depend on it being open in text or binary mode."
760763
msgstr""
764+
"某些作業系統可以支援額外的值,例如 :const:`os.SEEK_HOLE` 或 :const:`os."
765+
"SEEK_DATA`。檔案的合法值取決於它是以文字模式還是二進位模式開啟。"
761766

762767
#:../../library/io.rst:430
763768
msgid""
764769
"Return ``True`` if the stream supports random access. If ``False``, :meth:"
765770
"`seek`, :meth:`tell` and :meth:`truncate` will raise :exc:`OSError`."
766771
msgstr""
772+
"如果串流支援隨機存取,則回傳 ``True``。如果是 ``False``,則 :meth:`seek`、:"
773+
"meth:`tell` 和 :meth:`truncate` 會引發 :exc:`OSError`。"
767774

768775
#:../../library/io.rst:435
769776
msgid"Return the current stream position."
770-
msgstr""
777+
msgstr"回傳目前串流的位置。"
771778

772779
#:../../library/io.rst:439
773780
msgid""
@@ -777,10 +784,14 @@ msgid ""
777784
"the contents of the new file area depend on the platform (on most systems, "
778785
"additional bytes are zero-filled). The new file size is returned."
779786
msgstr""
787+
"將串流的大小調整為指定的 *size* 位元組(如果沒有指定 *size*,則調整為目前位"
788+
"置)。目前串流位置不會改變。這種調整可以擴展或縮減當前檔案大小。在擴展的情況"
789+
"下,新檔案區域的內容取決於平台(在大多數系統上,額外的位元組會被填充為零)。"
790+
"回傳新的檔案大小。"
780791

781792
#:../../library/io.rst:446
782793
msgid"Windows will now zero-fill files when extending."
783-
msgstr""
794+
msgstr"Windows 現在在擴展時會對檔案進行零填充 (zero-fill)。"
784795

785796
#:../../library/io.rst:451
786797
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp