Skip to content

Commit 2851e68

Browse files
translate library/os (#1029)
* translate library/os rst:117,124,127,134,136,211,571 * update library/os rst:117,124,127,134,136,211,571 * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * Update library/os.po Co-authored-by: W. H. Wang <[email protected]> * update library/os * update os.rst:127 --------- Co-authored-by: W. H. Wang <[email protected]>
1 parent fa64c76 commit 2851e68

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

library/os.po

+12
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ msgid ""
200200
":func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlocale* "
201201
"argument has no effect)."
202202
msgstr ""
203+
":func:`locale.getpreferredencoding` 回傳 ``'utf-8'``\\ (*do_setlocale* "
204+
"引數並無任何效果)。"
203205

204206
#: ../../library/os.rst:119
205207
msgid ""
@@ -215,13 +217,18 @@ msgid ""
215217
"On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the "
216218
"device encoding."
217219
msgstr ""
220+
"在 Unix 中,:func:`os.device_encoding` 回傳 ``'utf-8'`` 而非"
221+
"裝置編碼。"
218222

219223
#: ../../library/os.rst:127
220224
msgid ""
221225
"Note that the standard stream settings in UTF-8 mode can be overridden by :"
222226
"envvar:`PYTHONIOENCODING` (just as they can be in the default locale-aware "
223227
"mode)."
224228
msgstr ""
229+
"請注意,在 UTF-8 模式中,標準的串流設定會被 "
230+
":envvar:`PYTHONIOENCODING` 覆蓋(如同在預設在地化覺察 "
231+
"模式一樣)。"
225232

226233
#: ../../library/os.rst:131
227234
msgid ""
@@ -234,10 +241,12 @@ msgid ""
234241
"Command line arguments, environment variables and filenames are decoded to "
235242
"text using the UTF-8 encoding."
236243
msgstr ""
244+
"命令列引數、環境變數及檔案名稱會以 UTF-8 編碼形式來被解碼成文字。"
237245

238246
#: ../../library/os.rst:136
239247
msgid ":func:`os.fsdecode` and :func:`os.fsencode` use the UTF-8 encoding."
240248
msgstr ""
249+
":func:`os.fsdecode` 和 :func:`os.fsencode` 使用 UTF-8 編碼。"
241250

242251
#: ../../library/os.rst:137
243252
msgid ""
@@ -438,6 +447,8 @@ msgid ""
438447
"Calling :func:`putenv` directly does not change :data:`os.environ`, so it's "
439448
"better to modify :data:`os.environ`."
440449
msgstr ""
450+
"呼叫 :func:`putenv` 並不會改變 :data:`os.environ`,"
451+
"所以建議直接修改 :data:`os.environ`。"
441452

442453
#: ../../library/os.rst:216
443454
msgid ""
@@ -727,6 +738,7 @@ msgstr ""
727738
#: ../../library/os.rst:571
728739
msgid "The function is now always available."
729740
msgstr ""
741+
"此函式現在都會是可用的。"
730742

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

0 commit comments

Comments
 (0)