1
- # SOME DESCRIPTIVE TITLE.
2
1
# Copyright (C) 2001-2022, Python Software Foundation
3
2
# This file is distributed under the same license as the Python package.
4
3
#
5
4
# Translators:
5
+ # Matt Wang <mattwang44@gmail.com>, 2022
6
6
msgid ""
7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.10\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2018-06-26 18:54+0800\n "
11
- "PO-Revision-Date : 2018-05-23 16:02+0000 \n "
12
- "Last-Translator : Adrian Liaw <adrianliaw2000 @gmail.com>\n "
11
+ "PO-Revision-Date : 2022-02-11 12:04+0800 \n "
12
+ "Last-Translator : Matt Wang <mattwang44 @gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
15
15
"Language : zh_TW\n "
16
16
"MIME-Version : 1.0\n "
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
+ "X-Generator : Poedit 3.0.1\n "
20
21
21
22
#: ../../library/getpass.rst:2
22
23
msgid ":mod:`getpass` --- Portable password input"
23
- msgstr ""
24
+ msgstr ":mod:`getpass` --- 可攜式密碼輸入工具 "
24
25
25
26
#: ../../library/getpass.rst:11
26
27
msgid "**Source code:** :source:`Lib/getpass.py`"
27
28
msgstr "**原始碼:**\\ :source:`Lib/getpass.py`"
28
29
29
30
#: ../../library/getpass.rst:15
30
31
msgid "The :mod:`getpass` module provides two functions:"
31
- msgstr ""
32
+ msgstr ":mod:`getpass` 模組 (module) 提供了兩個函式: "
32
33
33
34
#: ../../library/getpass.rst:20
34
35
msgid ""
@@ -39,27 +40,37 @@ msgid ""
39
40
"dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is "
40
41
"ignored on Windows)."
41
42
msgstr ""
43
+ "提示使用者輸入一個密碼且不會有回音 (echo)。使用者會看到字串 *prompt* 作為提"
44
+ "示,其預設值為 ``'Password: '``。在 Unix 上,如有必要的話會使用替換錯誤處理函"
45
+ "式 (replace error handler) 寫入到類檔案物件 (file-like object) *stream*\\ "
46
+ "中。\\ *stream* 預設為主控終端機 (controlling terminal) (\\ :file:`/dev/tty`"
47
+ "\\ ),如果不可用則為 ``sys.stderr`` (此引數在 Windows 上會被忽略)。"
42
48
43
49
#: ../../library/getpass.rst:27
44
50
msgid ""
45
51
"If echo free input is unavailable getpass() falls back to printing a warning "
46
52
"message to *stream* and reading from ``sys.stdin`` and issuing a :exc:"
47
53
"`GetPassWarning`."
48
54
msgstr ""
55
+ "如果無回音輸入 (echo-free input) 無法使用則 getpass() 將回退為印出一條警告訊"
56
+ "息到 *stream*\\ ,並從 ``sys.stdin`` 讀取且同時發出 :exc:`GetPassWarning`"
57
+ "\\ 。"
49
58
50
59
#: ../../library/getpass.rst:32
51
60
msgid ""
52
61
"If you call getpass from within IDLE, the input may be done in the terminal "
53
62
"you launched IDLE from rather than the idle window itself."
54
63
msgstr ""
64
+ "如果你從 IDLE 內部呼叫 getpass,輸入可能會在你啟動 IDLE 的終端機中完成,而非"
65
+ "在 IDLE 視窗中。"
55
66
56
67
#: ../../library/getpass.rst:37
57
68
msgid "A :exc:`UserWarning` subclass issued when password input may be echoed."
58
- msgstr ""
69
+ msgstr "當密碼輸入可能被回音時會發出的 :exc:`UserWarning` 子類別。 "
59
70
60
71
#: ../../library/getpass.rst:42
61
72
msgid "Return the \" login name\" of the user."
62
- msgstr ""
73
+ msgstr "回傳使用者的 \" 登入名稱 \" 。 "
63
74
64
75
#: ../../library/getpass.rst:44
65
76
msgid ""
@@ -69,8 +80,12 @@ msgid ""
69
80
"the login name from the password database is returned on systems which "
70
81
"support the :mod:`pwd` module, otherwise, an exception is raised."
71
82
msgstr ""
83
+ "此函式會按順序檢查環境變數 :envvar:`LOGNAME`\\ 、\\ :envvar:`USER`\\ 、\\ :"
84
+ "envvar:`LNAME` 和 :envvar:`USERNAME`,並回傳其中第一個被設定成非空字串的值。"
85
+ "如果均未設定,則在支援 :mod:`pwd` 模組的系統上將會回傳來自密碼資料庫的登入名"
86
+ "稱,否則將引發一個例外。"
72
87
73
88
#: ../../library/getpass.rst:51
74
89
msgid ""
75
90
"In general, this function should be preferred over :func:`os.getlogin()`."
76
- msgstr ""
91
+ msgstr "大部分情況下,此函式應該要比 :func:`os.getlogin()` 優先使用。 "
0 commit comments