8000 translate library/os rst:117,124,127,134,136,211,571 · python/python-docs-zh-tw@2c396f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c396f5

Browse files
authored
translate library/os rst:117,124,127,134,136,211,571
1 parent fa64c76 commit 2c396f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

library/os.po

Lines changed: 12 additions & 0 deletions
221
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'`` (the *do_setlocale* "
204+
"argument has no effect)."
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'`` 而非 "
+
"device encoding."
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模式中,stream的預設參數會被 :"
230+
"envvar:`PYTHONIOENCODING` 取代(如同在 default locale-aware "
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 編碼"
241< 8000 /td>250

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)
0