-
-
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 howto/gdb_helpers.po
#903
Conversation
76c87f1
to
3a1122a
Compare
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.
review p1.
98b7222
to
d261a5c
Compare
d261a5c
to
06592bb
Compare
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.
late review p2
howto/gdb_helpers.po
Outdated
|
||
#: ../../howto/gdb_helpers.rst:189 | ||
msgid "" | ||
"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 內" |
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.
看這樣會不會比較順
"``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 堆疊的頂端。" |
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.
語意上這邊要不要加個現在
,看了一下原文排版,如果只打所以的話好像跟上面的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 堆疊的底部。" |
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.
一樣看要不要補個 now ,只是因為順暢度
howto/gdb_helpers.po
Outdated
|
||
#: ../../howto/gdb_helpers.rst:392 | ||
msgid "" | ||
"The extension commands complement GDB's built-in commands. For example, you " | ||
"can use a frame numbers shown by ``py-bt`` with the ``frame`` command to go " | ||
"a specific frame within the selected thread, like this::" | ||
msgstr "" | ||
"擴充命令補充了 GDB 的內建命令。例如,你可以使用 ``py-bt`` 顯示的 frame 編號" | ||
"和 ``frame`` 命令來轉到所選執行緒中的特定 frame ,如下所示: ::" |
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.
這邊的 with the frame
command,應該比較接近於 frame 編號會跟 frame
命令一同出現吧?
你可以使用 ``py-bt`` 中與 ``frame`` 命令一同顯示的 frame 編號...
我看原文應該比較像是這樣
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.
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
resolve #902
Details