-
-
Notifications
You must be signed in to change notification settings - Fork 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
Translate the second half of library/pdb.po
#991
base: 3.13
Are you sure you want to change the base?
Conversation
"為零時,斷點將變為有效狀態。當非零時,每次到達斷點時 *count* 都會遞減,且斷點" | ||
"不會被禁用,而任何關聯的條件都會被求值為 true。" |
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.
零要用數字嗎
然後它的意思是三個條件都符合才會遞減?
"為零時,斷點將變為有效狀態。當非零時,每次到達斷點時 *count* 都會遞減,且斷點" | |
"不會被禁用,而任何關聯的條件都會被求值為 true。" | |
"為 0 時,斷點將變為有效狀態。當非 0 時,每次到達斷點,且斷點沒有被禁用," | |
"且任何關聯的條件被求值為 true,則 *count* 就會遞減。" |
|
||
#: ../../library/pdb.rst:394 | ||
msgid "" | ||
"Set a new *condition* for the breakpoint, an expression which must evaluate " | ||
"to true before the breakpoint is honored. If *condition* is absent, any " | ||
"existing condition is removed; i.e., the breakpoint is made unconditional." | ||
msgstr "" | ||
"為斷點設定一個新 *condition*,為一個運算式,且其求值結果為 true 時斷點才會起" | ||
"作用。如果沒有給定 *condition*,則刪除任何現有條件,也就是為斷點不設定條件。" |
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.
這樣會順一點嗎
"作用。如果沒有給定 *condition*,則刪除任何現有條件,也就是為斷點不設定條件。" | |
"作用。如果沒有給定 *condition*,則刪除任何現有條件,也就是不為斷點設定條件。" |
"為編號是 *bpnumber* 的斷點指定一系列命令。命令內容將顯示在後續的幾列中。輸入" | ||
"僅包含 ``end`` 的一列來結束命令列表。舉個例子: ::" |
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.
命令列表是輸入的不是顯示的對嗎?這樣會不會比較明確一點
"為編號是 *bpnumber* 的斷點指定一系列命令。命令內容將顯示在後續的幾列中。輸入" | |
"僅包含 ``end`` 的一列來結束命令列表。舉個例子: ::" | |
"為編號是 *bpnumber* 的斷點指定一系列命令。命令內容出現在後續的幾列中。輸入" | |
"僅包含 ``end`` 的一列來結束命令列表。例如: ::" |
|
||
#: ../../library/pdb.rst:412 | ||
msgid "" | ||
"With no *bpnumber* argument, ``commands`` refers to the last breakpoint set." | ||
msgstr "" | ||
msgstr "不帶有 *bpnumber* 引數則 ``commands`` 指的是上一組斷點。" |
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.
msgstr "不帶有 *bpnumber* 引數則 ``commands`` 指的是上一組斷點。" | |
msgstr "不帶有 *bpnumber* 引數則 ``commands`` 會關聯到上一個設定的斷點。" |
|
||
#: ../../library/pdb.rst:450 | ||
msgid "" | ||
"With *lineno*, continue execution until a line with a number greater or " | ||
"equal to *lineno* is reached. In both cases, also stop when the current " | ||
"frame returns." | ||
msgstr "" | ||
"如帶有 *lineno* 則繼續執行,直到到達編號大於或等於 *lineno* 的那一列。在這兩" |
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.
"如帶有 *lineno* 則繼續執行,直到到達編號大於或等於 *lineno* 的那一列。在這兩" | |
"如帶有 *lineno* 則繼續執行,直到到達列號大於或等於 *lineno* 的那一列。在這兩" |
@@ -796,6 +876,9 @@ msgid "" | |||
"current scope. Use ``exit()`` or ``quit()`` to exit the interpreter and " | |||
"return to the debugger." | |||
msgstr "" | |||
"在從目前作用域的區域和全域命名空間初始化的新全域命名空間中啟動互動式直譯器" | |||
"(使用 :mod:`code` 模組)。可使用 ``exit()`` 或 ``quit()`` 退出直譯器並回傳到" |
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.
"(使用 :mod:`code` 模組)。可使用 ``exit()`` 或 ``quit()`` 退出直譯器並回傳到" | |
"(使用 :mod:`code` 模組)。可使用 ``exit()`` 或 ``quit()`` 退出直譯器並回到" |
@@ -804,17 +887,22 @@ msgid "" | |||
"modifications to any referenced mutable objects will be reflected in the " | |||
"original namespaces as usual." | |||
msgstr "" | |||
"由於 ``interact`` 為程式碼執行建立了一個新的專用命名空間,因此變數的賦值不會" | |||
"影響原始命名空間,但是對任何已參照可變物件的修改將像往常一樣反映在原始命名空" |
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.
"影響原始命名空間,但是對任何已參照可變物件的修改將像往常一樣反映在原始命名空" | |
"影響原始命名空間,但是對任何被參照的可變物件的修改將像往常一樣反映在原始命名空" |
@@ -824,6 +912,10 @@ msgid "" | |||
"parameters. If *command* is omitted, the current alias for *name* is shown. " | |||
"If no arguments are given, all aliases are listed." | |||
msgstr "" | |||
"建立一個名為 *name* 的別名,用於執行 *command*。*command* *不得*\\ 用引號包起" | |||
"來。可被替換的參數要用 ``%1``, ``%2``, ... 和 ``%9`` 標示,而 ``%*`` 則被所有" |
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.
要用全形嗎
"來。可被替換的參數要用 ``%1``, ``%2``, ... 和 ``%9`` 標示,而 ``%*`` 則被所有" | |
"來。可被替換的參數要用 ``%1``、``%2``、 ... 和 ``%9`` 標示,而 ``%*`` 則被所有" |
|
||
#: ../../library/pdb.rst:682 | ||
msgid "List or jump between chained exceptions." | ||
msgstr "" | ||
msgstr "列出鍊結例外 (chained exceptions),或在其間跳轉。" |
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.
可參考:
library/unittest.mock-examples.po chained call 是翻鏈接呼叫
library/exceptions.po chained exception 是翻連鎖的例外
"許使用者使用 ``exceptions`` 命令在鍊結例外之間移動以列出例外,並使用 " | ||
"``exception <number>`` 切換到該例外。" |
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.
"許使用者使用 ``exceptions`` 命令在鍊結例外之間移動以列出例外,並使用 " | |
"``exception <number>`` 切換到該例外。" | |
"許使用者在鍊結例外之間移動,使用 ``exceptions`` 命令以列出例外,並使用 " | |
"``exception <number>`` 切換到該例外。" |
resolve #153
preview