Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4069a6

Browse files
authored
Merge pull request#232 from mattwang44/library/getpass
Translate `library/getpass.po`
2 parents02daaa5 +6e7adc1 commitc4069a6

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

‎library/getpass.po

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2022, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
5+
# Matt Wang <mattwang44@gmail.com>, 2022
66
msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.10\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"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"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
1515
"Language:zh_TW\n"
1616
"MIME-Version:1.0\n"
1717
"Content-Type:text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding:8bit\n"
1919
"Plural-Forms:nplurals=1; plural=0;\n"
20+
"X-Generator:Poedit 3.0.1\n"
2021

2122
#:../../library/getpass.rst:2
2223
msgid":mod:`getpass` --- Portable password input"
23-
msgstr""
24+
msgstr":mod:`getpass` --- 可攜式密碼輸入工具"
2425

2526
#:../../library/getpass.rst:11
2627
msgid"**Source code:** :source:`Lib/getpass.py`"
2728
msgstr"**原始碼:**\\ :source:`Lib/getpass.py`"
2829

2930
#:../../library/getpass.rst:15
3031
msgid"The :mod:`getpass` module provides two functions:"
31-
msgstr""
32+
msgstr":mod:`getpass` 模組 (module) 提供了兩個函式:"
3233

3334
#:../../library/getpass.rst:20
3435
msgid""
@@ -39,27 +40,37 @@ msgid ""
3940
"dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is "
4041
"ignored on Windows)."
4142
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 上會被忽略)。"
4248

4349
#:../../library/getpass.rst:27
4450
msgid""
4551
"If echo free input is unavailable getpass() falls back to printing a warning "
4652
"message to *stream* and reading from ``sys.stdin`` and issuing a :exc:"
4753
"`GetPassWarning`."
4854
msgstr""
55+
"如果無回音輸入 (echo-free input) 無法使用則 getpass() 將回退為印出一條警告訊"
56+
"息到 *stream*\\ ,並從 ``sys.stdin`` 讀取且同時發出 :exc:`GetPassWarning`"
57+
"\\ 。"
4958

5059
#:../../library/getpass.rst:32
5160
msgid""
5261
"If you call getpass from within IDLE, the input may be done in the terminal "
5362
"you launched IDLE from rather than the idle window itself."
5463
msgstr""
64+
"如果你從 IDLE 內部呼叫 getpass,輸入可能會在你啟動 IDLE 的終端機中完成,而非"
65+
"在 IDLE 視窗中。"
5566

5667
#:../../library/getpass.rst:37
5768
msgid"A :exc:`UserWarning` subclass issued when password input may be echoed."
58-
msgstr""
69+
msgstr"當密碼輸入可能被回音時會發出的 :exc:`UserWarning` 子類別。"
5970

6071
#:../../library/getpass.rst:42
6172
msgid"Return the\"login name\" of the user."
62-
msgstr""
73+
msgstr"回傳使用者的\"登入名稱\""
6374

6475
#:../../library/getpass.rst:44
6576
msgid""
@@ -69,8 +80,12 @@ msgid ""
6980
"the login name from the password database is returned on systems which "
7081
"support the :mod:`pwd` module, otherwise, an exception is raised."
7182
msgstr""
83+
"此函式會按順序檢查環境變數 :envvar:`LOGNAME`\\\\ :envvar:`USER`\\\\ :"
84+
"envvar:`LNAME` 和 :envvar:`USERNAME`,並回傳其中第一個被設定成非空字串的值。"
85+
"如果均未設定,則在支援 :mod:`pwd` 模組的系統上將會回傳來自密碼資料庫的登入名"
86+
"稱,否則將引發一個例外。"
7287

7388
#:../../library/getpass.rst:51
7489
msgid""
7590
"In general, this function should be preferred over :func:`os.getlogin()`."
76-
msgstr""
91+
msgstr"大部分情況下,此函式應該要比 :func:`os.getlogin()` 優先使用。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp