Translate howto/gdb_helpers.po#903
Merged
mattwang44 merged 3 commits intopython:3.12from Sep 11, 2024
Merged
Conversation
76c87f1 to
3a1122a
Compare
98b7222 to
d261a5c
Compare
d261a5c to
06592bb
Compare
ken71301
reviewed
Jul 5, 2024
howto/gdb_helpers.po
Outdated
| "A similar confusion can arise with the ``str`` type, where the output looks " | ||
| "a lot like gdb's built-in printer for ``char *``::" | ||
| msgstr "" | ||
| "``str`` 型別也會出現類似的混亂,其中的輸出看起來很像對於 ``char *`` 的 gdb 內" |
Collaborator
There was a problem hiding this comment.
看這樣會不會比較順
Suggested change
| "``str`` 型別也會出現類似的混亂,其中的輸出看起來很像對於 ``char *`` 的 gdb 內" | |
| "使用 ``str`` 型別時也會出現類似的困惑,其中的輸出看起來很像對於 ``char *`` 的 gdb 內" |
howto/gdb_helpers.po
Outdated
| #: ../../howto/gdb_helpers.rst:261 | ||
| msgid "so we're at the top of the Python stack." | ||
| msgstr "" | ||
| msgstr "所以我們處於 Python 堆疊的頂端。" |
Collaborator
There was a problem hiding this comment.
語意上這邊要不要加個現在,看了一下原文排版,如果只打所以的話好像跟上面的code block連接不太起來
so (now) we're at the top of the Python stack.
howto/gdb_helpers.po
Outdated
| #: ../../howto/gdb_helpers.rst:289 | ||
| msgid "and we're at the bottom of the Python stack." | ||
| msgstr "" | ||
| msgstr "我們處於 Python 堆疊的底部。" |
howto/gdb_helpers.po
Outdated
| "a specific frame within the selected thread, like this::" | ||
| msgstr "" | ||
| "擴充命令補充了 GDB 的內建命令。例如,你可以使用 ``py-bt`` 顯示的 frame 編號" | ||
| "和 ``frame`` 命令來轉到所選執行緒中的特定 frame ,如下所示: ::" |
Collaborator
There was a problem hiding this comment.
這邊的 with the frame command,應該比較接近於 frame 編號會跟 frame 命令一同出現吧?
你可以使用 ``py-bt`` 中與 ``frame`` 命令一同顯示的 frame 編號...
我看原文應該比較像是這樣
Collaborator
Author
There was a problem hiding this comment.
py-bt 會顯示 frame number,而 GDB 的 frame 則是會跳到給定 frame no 的 frame 上方便查看該 frame。這邊的敘述應該是可以拿這個 py-bt 輸出的 frame no 來和 frame 一起使用。小修一下使其更貼近原意。
Co-authored-by: Payon <ken71301@hotmail.com>
06592bb to
dee083d
Compare
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.
resolve #902
Details