-
-
Notifications
You must be signed in to change notification settings - Fork 214
Translate library/urllib.robotparser.po
#208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,24 +3,27 @@ | |||||
# This file is distributed under the same license as the Python package. | ||||||
# | ||||||
# Translators: | ||||||
# Adrian Liaw <[email protected]>, 2018 | ||||||
# Phil Lin <[email protected]>, 2022 | ||||||
msgid "" | ||||||
msgstr "" | ||||||
"Project-Id-Version: Python 3.10\n" | ||||||
"Report-Msgid-Bugs-To: \n" | ||||||
"POT-Creation-Date: 2021-10-26 16:47+0000\n" | ||||||
"PO-Revision-Date: 2018-05-23 16:14+0000\n" | ||||||
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n" | ||||||
"PO-Revision-Date: 2022-01-23 14:36+0800\n" | ||||||
"Last-Translator: Phil Lin <linooohon@gmail.com>\n" | ||||||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||||||
"tw)\n" | ||||||
"Language: zh_TW\n" | ||||||
"MIME-Version: 1.0\n" | ||||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||||
"Content-Transfer-Encoding: 8bit\n" | ||||||
"Plural-Forms: nplurals=1; plural=0;\n" | ||||||
"X-Generator: Poedit 3.0.1\n" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:2 | ||||||
msgid ":mod:`urllib.robotparser` --- Parser for robots.txt" | ||||||
msgstr "" | ||||||
msgstr ":mod:`urllib.robotparser` --- robots.txt 的解析器" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:10 | ||||||
msgid "**Source code:** :source:`Lib/urllib/robotparser.py`" | ||||||
|
@@ -34,42 +37,52 @@ msgid "" | |||||
"on the structure of :file:`robots.txt` files, see http://www.robotstxt.org/" | ||||||
"orig.html." | ||||||
msgstr "" | ||||||
"此模組提供了一個單獨的類別 :class:`RobotFileParser`, 它可以知道某個特定 user " | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"agent (使用者代理)是否能在有發布 :file:`robots.txt` 文件的網站 fetch(擷" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
"取)此網站特定的 URL。有關 :file:`robots.txt` 文件結構的更多細節,請參閱 " | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
"http://www.robotstxt.org/orig.html 。" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:28 | ||||||
msgid "" | ||||||
"This class provides methods to read, parse and answer questions about the :" | ||||||
"file:`robots.txt` file at *url*." | ||||||
msgstr "" | ||||||
"此類別提供了一些方法可以讀取、解析和回答關於 *url* 上的 :file:`robots.txt` 文" | ||||||
"件的問題。" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:33 | ||||||
msgid "Sets the URL referring to a :file:`robots.txt` file." | ||||||
msgstr "" | ||||||
msgstr "設置指向 :file:`robots.txt` 文件的 URL。" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:37 | ||||||
msgid "Reads the :file:`robots.txt` URL and feeds it to the parser." | ||||||
msgstr "" | ||||||
msgstr "讀取 :file:`robots.txt` URL 並將其輸入到解析器。" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:41 | ||||||
msgid "Parses the lines argument." | ||||||
msgstr "" | ||||||
msgstr "解析行參數(此參數為 ``robots.txt`` 文件裡的行)。" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
#: ../../library/urllib.robotparser.rst:45 | ||||||
msgid "" | ||||||
"Returns ``True`` if the *useragent* is allowed to fetch the *url* according " | ||||||
"to the rules contained in the parsed :file:`robots.txt` file." | ||||||
msgstr "" | ||||||
"如果根據被解析的 :file:`robots.txt` 文件中的規則,*useragent* 被允許 fetch " | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
"*url* 的話,則返回 ``True``。" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
#: ../../library/urllib.robotparser.rst:51 | ||||||
msgid "" | ||||||
"Returns the time the ``robots.txt`` file was last fetched. This is useful " | ||||||
"for long-running web spiders that need to check for new ``robots.txt`` files " | ||||||
"periodically." | ||||||
msgstr "" | ||||||
"返回最近一次 fetch ``robots.txt`` 文件的時間。這適用於需要定期檢查 ``robots." | ||||||
"txt`` 文件更新情況的長時間運行網頁爬蟲。" | ||||||
|
||||||
#: ../../library/urllib.robotparser.rst:57 | ||||||
msgid "" | ||||||
"Sets the time the ``robots.txt`` file was last fetched to the current time." | ||||||
msgstr "" | ||||||
msgstr "將最後一次獲取 ``robots.txt`` 文件的時間設置為當前時間。" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
#: ../../library/urllib.robotparser.rst:62 | ||||||
msgid "" | ||||||
|
@@ -78,6 +91,9 @@ msgid "" | |||||
"apply to the *useragent* specified or the ``robots.txt`` entry for this " | ||||||
"parameter has invalid syntax, return ``None``." | ||||||
msgstr "" | ||||||
"針對指定的 *useragent* 從 ``robots.txt`` 返回 ``Crawl-delay`` 參數的值。如果" | ||||||
"此參數不存在或不適用於指定的 *useragent* ,或是此參數在 ``robots.txt`` 存在語" | ||||||
"法錯誤,則返回 ``None``。" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
#: ../../library/urllib.robotparser.rst:71 | ||||||
msgid "" | ||||||
|
@@ -86,16 +102,21 @@ msgid "" | |||||
"such parameter or it doesn't apply to the *useragent* specified or the " | ||||||
"``robots.txt`` entry for this parameter has invalid syntax, return ``None``." | ||||||
msgstr "" | ||||||
"以 :term:`named tuple` ``RequestRate(requests, seconds)`` 的形式從 ``robots." | ||||||
"txt`` 返回 ``Request-rate`` 參數的內容。如果此參數不存在或不適用於指定的 " | ||||||
"*useragent* ,或是此參數在 ``robots.txt`` 存在語法錯誤,則返回 ``None``。" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
#: ../../library/urllib.robotparser.rst:81 | ||||||
msgid "" | ||||||
"Returns the contents of the ``Sitemap`` parameter from ``robots.txt`` in the " | ||||||
"form of a :func:`list`. If there is no such parameter or the ``robots.txt`` " | ||||||
"entry for this parameter has invalid syntax, return ``None``." | ||||||
msgstr "" | ||||||
"以 :func:`list` 的形式從 ``robots.txt`` 返回 ``Sitemap`` 參數的內容。如果此參" | ||||||
"數不存在或此參數在 ``robots.txt`` 存在語法錯誤,則返回 ``None``。" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
#: ../../library/urllib.robotparser.rst:89 | ||||||
msgid "" | ||||||
"The following example demonstrates basic use of the :class:`RobotFileParser` " | ||||||
"class::" | ||||||
msgstr "" | ||||||
msgstr "下面的範例展示了 :class:`RobotFileParser` 類別的基本用法::" | ||||||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.