Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork214
trans: how venv work#609
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
Hi 阿紝!
請你先修正以下幾個地方,等改完後我會針對語句流暢性再仔細看一遍 🙏🏽
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
library/venv.po Outdated
#: ../../library/venv.rst:93 | ||
msgid "" | ||
"You don't specifically *need* to activate a virtual environment, as you can " | ||
"just specify the full path to that environment's Python interpreter when " | ||
"invoking Python. Furthermore, all scripts installed in the environment " | ||
"should be runnable without activating it." | ||
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.
你的譯文有單行過長的問題,雖然不影響 doc build 結果,但建議還是做一下 formatting 讓 po 檔的可讀性更高。
可以使用 powrap 這項工具:
pip install powrappowrap library/venv.po
Uh oh!
There was an error while loading.Please reload this page.
@hsiangjenli 大部分 review comment 都還沒修掉歐,請繼續修正 🙏🏽 |
hsiangjenli commentedAug 22, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@mattwang44 抱歉抱歉,我第一次使用 pull request 還不是很熟悉,請問我是不是不能直接在上面修改然後 commit?我是像下面那張圖用 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@mattwang44 這樣應該有改到了吧!!! 再麻煩了!!! |
hmmm 不過沒關係,還有很多練習機會XD |
mattwang44 commentedAug 22, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
再請你從 local 下指令修正這個問題後再推上來 |
library/venv.po Outdated
"為了實現這一點,安裝在虛擬環境中的腳本會有一個 ``#!`` 列,此列指向該環境的 Python 直譯器,例如: :samp:`#!/{<path-to-venv>}/bin/python`。" | ||
"這代表無論 :envvar:`!PATH` 的值為何,該腳本都會在直譯器上運行" | ||
"在 Windows 上,如果你安裝了 :ref:`launcher`,則支援 ``#!`` 行處理。" |
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.
原文的\"shebang\"
都被改成了``#!``
?
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.
是,還是使用 shebang 比較合適?
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.
我覺得還是盡量忠實呈現原文比較好
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@mattwang44 拍謝,我真的很不熟,麻煩你了!!感謝感謝🙏🙏🙏 |
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
978a1de
toceeb386
Compareeebe32f
to819c9a6
CompareThere 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.
LGTM!
我有小修幾個地方,是因為原文有更新所以翻譯要跟著更正
* trans: venv* feat: trans venv* feat: trans venv* Update library/venv.poCo-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Update library/venv.poCo-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Update library/venv.po* Update library/venv.po* Update library/venv.po* Update library/venv.po* Update library/venv.po* Update library/venv.po* Update library/venv.po* Update library/venv.po* Update library/venv.poCo-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Update library/venv.poCo-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* trans: format* fix: ``#!`` to \"shebang\"* fix: 修正語句、標點符號* fix: 修正語句* chore(library/venv): format with powrap* fix(library/venv): fix incorrect translation---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
No description provided.