Skip to content
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'``\\ (*do_setlocale* "
"引數並無任何效果)。"

#: ../../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'`` 而非"
"裝置編碼。"

#: ../../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 模式中,標準的串流設定會被 "
":envvar:`PYTHONIOENCODING` 覆蓋(如同在預設在地化覺察 "
"模式一樣)。"

#: ../../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