Skip to content

translate library/os #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 11, 2025
12 changes: 12 additions & 0 deletions library/os.po
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ msgid ""
":func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlocale* "
"argument has no effect)."
msgstr ""
":func:`locale.getpreferredencoding` 回傳 ``'utf-8'`` (the *do_setlocale* "
"argument has no effect)."

#: ../../library/os.rst:119
msgid ""
Expand All @@ -215,13 +217,18 @@ msgid ""
"On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the "
"device encoding."
msgstr ""
"在Unix中, :func:`os.device_encoding` 回傳 ``'utf-8'`` 而非 "
"device encoding."

#: ../../library/os.rst:127
msgid ""
"Note that the standard stream settings in UTF-8 mode can be overridden by :"
"envvar:`PYTHONIOENCODING` (just as they can be in the default locale-aware "
"mode)."
msgstr ""
"請注意,在UTF-8模式中,stream的預設參數會被 :"
"envvar:`PYTHONIOENCODING` 取代(如同在 default locale-aware "
"模式一樣)."

#: ../../library/os.rst:131
msgid ""
Expand All @@ -234,10 +241,12 @@ msgid ""
"Command line arguments, environment variables and filenames are decoded to "
"text using the UTF-8 encoding."
msgstr ""
"命令列中的參數、環境變數及檔案名稱使用UTF-8編碼 "

#: ../../library/os.rst:136
msgid ":func:`os.fsdecode` and :func:`os.fsencode` use the UTF-8 encoding."
msgstr ""
":func:`os.fsdecode` 和 :func:`os.fsencode` 使用 UTF-8 編碼"

#: ../../library/os.rst:137
msgid ""
Expand Down Expand Up @@ -438,6 +447,8 @@ msgid ""
"Calling :func:`putenv` directly does not change :data:`os.environ`, so it's "
"better to modify :data:`os.environ`."
msgstr ""
"直接呼叫 :func:`putenv` 並不會改變 :data:`os.environ`, "
":data:`os.environ`會更適合用於修正 "

#: ../../library/os.rst:216
msgid ""
Expand Down Expand Up @@ -727,6 +738,7 @@ msgstr ""
#: ../../library/os.rst:571
msgid "The function is now always available."
msgstr ""
"此函式並非永遠可用"

#: ../../library/os.rst:577
msgid "Set the current process's effective group id."
Expand Down