-
-
Notifications
You must be signed in to change notification settings - Fork 214
Translate library/pathlib::General properties #455
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 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b7d240e
translate General properties
sweslo17 f82bcf0
fix term: hashable translate conflict
sweslo17 b348035
fix according to reviewer's recommandation
sweslo17 f1d3329
Merge branch '3.11' into trans/pathlib
sweslo17 f92375f
fix translation
sweslo17 b186f67
fix duplicated wording
sweslo17 15831da
Merge branch '3.11' into trans/pathlib
mattwang44 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ msgstr "" | |
"Project-Id-Version: Python 3.11\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-05-11 00:16+0000\n" | ||
"PO-Revision-Date: 2018-05-23 16:07+0000\n" | ||
"PO-Revision-Date: 2023-07-08 17:01+0800\n" | ||
"Last-Translator: Adrian Liaw <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
"tw)\n" | ||
|
@@ -17,6 +17,7 @@ msgstr "" | |
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"X-Generator: Poedit 3.3.1\n" | ||
|
||
#: ../../library/pathlib.rst:3 | ||
msgid ":mod:`pathlib` --- Object-oriented filesystem paths" | ||
|
@@ -189,22 +190,24 @@ msgstr "" | |
|
||
#: ../../library/pathlib.rst:188 | ||
msgid "General properties" | ||
msgstr "" | ||
msgstr "通用性質" | ||
|
||
#: ../../library/pathlib.rst:190 | ||
msgid "" | ||
"Paths are immutable and :term:`hashable`. Paths of a same flavour are " | ||
"comparable and orderable. These properties respect the flavour's case-" | ||
"folding semantics::" | ||
msgstr "" | ||
"路徑物件是不可被修改 (immutable) 且 :term: `hashable`(可以被hash)的。相同類" | ||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"型的路徑物件可以被比較和排序。這些特性遵守該類型的大小寫規則:" | ||
|
||
#: ../../library/pathlib.rst:203 | ||
msgid "Paths of a different flavour compare unequal and cannot be ordered::" | ||
msgstr "" | ||
msgstr "不同類型的路徑物件在比較時視為不相等且無法被排序:" | ||
|
||
#: ../../library/pathlib.rst:214 | ||
msgid "Operators" | ||
msgstr "" | ||
msgstr "運算子" | ||
|
||
#: ../../library/pathlib.rst:216 | ||
msgid "" | ||
|
@@ -213,12 +216,15 @@ msgid "" | |
"the drive is not reset when the argument is a rooted relative path (e.g., " | ||
"``r'\\foo'``)::" | ||
msgstr "" | ||
"斜線運算符(slash operator)用於創建子路徑,就像是 :func:`os.path.join` 函數" | ||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"一樣。如果參數是絕對路徑,則忽略前一個路徑。在Windows系統上,當參數是以根目錄" | ||
mattwang44 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"為基礎的相對路徑(例如,``r’\\foo’``),磁碟路徑不會被重置:" | ||
|
||
#: ../../library/pathlib.rst:234 | ||
msgid "" | ||
"A path object can be used anywhere an object implementing :class:`os." | ||
"PathLike` is accepted::" | ||
msgstr "" | ||
msgstr "路徑物件可以被用在任何可以使用 :class:`os.PathLike` 的地方:" | ||
|
||
#: ../../library/pathlib.rst:242 | ||
msgid "" | ||
|
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.