Translate tutorial/datastructures.po#71
Merged
adrianliaw merged 3 commits intopython:3.9from May 24, 2021
Merged
Conversation
Minor revision.
back to "註解".
adrianliaw
reviewed
May 24, 2021
Collaborator
adrianliaw
left a comment
There was a problem hiding this comment.
大感謝啦!真的抓到超多從來沒有注意到的東西
| "key 在同一個 dictionary(字典)裡必須是獨一無二的。使用一對大括號可創建一個空" | ||
| "的字典 :``{}``。將一串由逗號分隔的鍵值對置於大括號則可初始化字典。這同樣也是" | ||
| "字典輸出時的格式。" | ||
| "思考 dictionary 最好的方式是把它想成是一組\\ *鍵值*\\ 對 (*key: value* pair) " |
Collaborator
There was a problem hiding this comment.
(討論)我在想是不是可以直接說 dict 就好,因為這邊所有的 dictionary 說的都是 Python 裡面的 dict,而且實際上也只有文件裡面才會出現「dictionary」,實際上用 python 的時候看到的都是「dict」,感覺如果統一用「dict」會對讀者來說比較好理解,你覺得呢?
Contributor
Author
There was a problem hiding this comment.
(討論)我的看法是,原文中目前並沒有使用 "dict" 這個術語,除了在rst 545: dict() 和 rst 551: dict comprehensions 之外,所以譯文中也不宜使用。
我個人覺得,如果擔心英文不易閱讀,其實也可以都翻為「字典」,只要第一次出現的時候有寫出 dictionary 就好。
這樣是否可以接受呢?
Collaborator
There was a problem hiding this comment.
我覺得可以考慮翻譯成字典然後第一次出現的地方用括弧註釋,可能再請教一下其他初學者才能做一個比較好的決定,這個 pr 可以先 merge。
Fix "entries", "數值", "對序列使用"。
beccalzh
pushed a commit
to beccalzh/python-docs-zh-tw
that referenced
this pull request
Sep 4, 2024
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Only minor revision to datastructures.po
And I believe this revision wouldn't take you too much time.
Reference: https://terms.naer.edu.tw/