-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Update Translation howto/sorting.po
#906
base: 3.13
Are you sure you want to change the base?
Conversation
howto/sorting.po
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最後面 comment out 的翻譯可以都刪掉
|
||
#: ../../howto/sorting.rst:104 | ||
msgid "Operator Module Functions and Partial Function Evaluation" | ||
msgstr "" | ||
msgstr "Operator 模組函式以及部份函式 (partial function) 評估" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- partial function 好像都不是這樣翻譯的,有什麼相關文章支持這種翻譯嗎?我過去是習慣直接寫原文不翻譯,維基百科頁面也沒有相對應的中文翻譯
- evaluation 之前應該是說翻成「計算」、「給值」或「求值」(ref: evaluate 的翻譯 #748)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parial function
我目前看到有人翻譯:
部份函式
: https://openhome.cc/Gossip/Scala/PartialFunction.html部份函數
: https://terms.naer.edu.tw/detail/fa8474c4fca82b66c72dcfe81247c877/?startswith=zh&seq=1
所以我才會寫上這樣的翻譯,看你覺得如何?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
partial function 應該都蠻普遍的只是不一定有包成 lib or function,有包的像是 scala, Haskell 等文件都沒被中文化QQ,沒包的像是 C++ & javascript 都是用 bind()
實作就沒提到 partial function 相關字眼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
也可以開個 discussion 後就先放著
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這邊好像還是沒有合適的內容,明早來開一下 discussion
howto/sorting.po
Outdated
@@ -159,6 +162,9 @@ msgid "" | |||
"<https://en.wikipedia.org/wiki/Arity>`_ of a multi-argument function making " | |||
"it suitable for use as a key-function." | |||
msgstr "" | |||
"模組 :mod:`functools` 提供了另一個製作鍵函式的好用工具。:func:`~functools." | |||
"partial` 函式可以減少多引數函式的\\ `引數數目 <https://en.wikipedia.org/wiki/" | |||
"Arity>`_,並使它被當作鍵函式使用時來的更合適。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最後一句語意好像怪怪的?
howto/sorting.po
Outdated
@@ -387,6 +393,10 @@ msgid "" | |||
"six comparison methods be implemented. The :func:`~functools.total_ordering` " | |||
"decorator is provided to make that task easier." | |||
msgstr "" | |||
"然而,請注意,當 :meth:`~object.__lt__` 沒有被實做時,``<`` 可以回退 (fall " | |||
"back) 使用 :meth:`~object.__gt__`\\ (有關技術上的細節資訊請看 :func:`object." | |||
"__lt__` )。為了避免意外發生,:pep:`8` 建議所有六種的比較函式需要被實做。裝飾" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"__lt__` )。為了避免意外發生,:pep:`8` 建議所有六種的比較函式需要被實做。裝飾" | |
"__lt__` )。為了避免意外發生,:pep:`8` 建議所有六種的比較函式都需要被實作。裝飾" |
howto/sorting.po
Outdated
"然而,請注意,當 :meth:`~object.__lt__` 沒有被實做時,``<`` 可以回退 (fall " | ||
"back) 使用 :meth:`~object.__gt__`\\ (有關技術上的細節資訊請看 :func:`object." | ||
"__lt__` )。為了避免意外發生,:pep:`8` 建議所有六種的比較函式需要被實做。裝飾" | ||
"子 :func:`~functools.total_ordering` 被提供用來讓任務更為簡單。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"子 :func:`~functools.total_ordering` 被提供用來讓任務更為簡單。" | |
"器 :func:`~functools.total_ordering` 被提供用來讓任務更為簡單。" |
@@ -159,6 +162,9 @@ msgid "" | |||
"<https://en.wikipedia.org/wiki/Arity>`_ of a multi-argument function making " | |||
"it suitable for use as a key-function." | |||
msgstr "" | |||
"模組 :mod:`functools` 提供了另一個製作鍵函式的好用工具。:func:`~functools." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(亂入
這邊的 key-function的 key 要不要不要翻出來
因為原文他比較像是在解釋 sorted() 內的 key argument,轉成中文配程式碼的話我覺得有機會會卡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這邊是指 key-function 不要翻出來 嗎?XD
怕誤會意思
因應下週 python 正式 release 3.13,main branch 已經切換成 3.13 文件,要再麻煩你 rebase 並切換 target branch 🙏🏽 |
Rebased, 然後之前 comment out 的內容都被移除了 |
screenshot