Skip to content

[UPDATE] Translate library/os.path #482

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

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: deploy-gh-page
on:
push:
branches:
- "3.11"
- "3.12"

jobs:
cd:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: python-3.11-sync-with-cpython
name: python-3.12-sync-with-cpython

on:
push:
branches:
- "3.11"
- "3.12"
schedule:
- cron: "0 0 * * *"

jobs:
sync:
runs-on: ubuntu-latest
env:
VERSION: "3.11"
BRANCH: "cron/sync/3.11"
VERSION: "3.12"
BRANCH: "cron/sync/3.12"
steps:
- uses: actions/checkout@v2
with:
Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Python 官方說明文件臺灣繁體中文翻譯計畫
:target: https://discord.gg/44XheGXhWH
:alt: Join Chat on Discord

這是 Python 3.11 官方說明文件的臺灣繁體中文(zh_TW)翻譯。
這是 Python 3.12 官方說明文件的臺灣繁體中文(zh_TW)翻譯。

翻譯之前,請務必詳讀並同意\ `授權與 License`_。參與方式請參考\ `參與翻譯`_。

Expand Down Expand Up @@ -122,11 +122,11 @@ the PSF for inclusion in the documentation.

接著在 terminal 裡按照以下步驟:

1. 基於最新版本的 ``upstream/3.11`` 開啟一個 branch,現在假設我們想要翻譯 Glossary \
1. 基於最新版本的 ``upstream/3.12`` 開啟一個 branch,現在假設我們想要翻譯 Glossary \
所以把這個 branch 叫做 ``glossary`` ::

git fetch upstream
git checkout -b glossary upstream/3.11
git checkout -b glossary upstream/3.12

2. 接著就可以開始翻譯(翻譯時可參考 `翻譯守則`_),你可以手動開啟 Poedit 應用程式再選檔案或用以下指令請 Poedit 將檔案\
打開,翻譯不同檔案時將 glossary 換成別的檔名) ::
Expand All @@ -135,7 +135,7 @@ the PSF for inclusion in the documentation.

3. 存檔以後,執行以下列指令編譯輸出文件,以確保你的修改沒有 rST 的語法錯誤或警告 ::

VERSION=3.11 make all
VERSION=3.12 make all

如果你還沒有執行 `維護、預覽`_ 的 clone CPython 的動作,此指令會自動幫你 clone CPython,\
並且會使用 Sphinx 幫你檢查 rST 語法錯誤,我們盡量保持沒有 warning \
Expand Down Expand Up @@ -178,7 +178,7 @@ the PSF for inclusion in the documentation.

- 從 upstream(我們的主要 GitHub repo)做 fetch 的動作
- 對 origin(你的 fork)做 push
- 永遠不對 ``3.11`` branch 進行修改,請保持讓這個 branch 唯讀,可以避免\
- 永遠不對 ``3.12`` branch 進行修改,請保持讓這個 branch 唯讀,可以避免\
掉很多問題。

要翻譯哪些東西
Expand Down
5 changes: 3 additions & 2 deletions about.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# hsiao yi <[email protected]>, 2015
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-05 00:19+0000\n"
"PO-Revision-Date: 2022-05-12 00:11+0800\n"
Expand Down Expand Up @@ -65,7 +65,8 @@ msgid ""
"the `Docutils <https://docutils.sourceforge.io/>`_ project for creating "
"reStructuredText and the Docutils suite;"
msgstr ""
"創造 reStructuredText 和 Docutils 工具組的 `Docutils <https://docutils.sourceforge.io/>`_ 專案;"
"創造 reStructuredText 和 Docutils 工具組的 `Docutils <https://docutils."
"sourceforge.io/>`_ 專案;"

#: ../../about.rst:26
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion bugs.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Steven Hsu <[email protected]>, 2021-2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 00:17+0000\n"
"PO-Revision-Date: 2022-08-31 12:34+0800\n"
Expand Down
2 changes: 1 addition & 1 deletion c-api/abstract.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
"PO-Revision-Date: 2021-12-09 21:20+0800\n"
Expand Down
2 changes: 1 addition & 1 deletion c-api/allocation.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-06 00:17+0000\n"
"PO-Revision-Date: 2022-10-16 15:35+0800\n"
Expand Down
6 changes: 3 additions & 3 deletions c-api/apiabiversion.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Matt Wang <[email protected]>, 2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-18 00:16+0000\n"
"PO-Revision-Date: 2022-01-24 22:34+0800\n"
Expand Down Expand Up @@ -186,8 +186,8 @@ msgid ""
"the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the "
"Python version used at run time."
msgstr ""
"編碼為單個常數整數的 Python 執行環境版本號,格式與 :c:macro:`PY_VERSION_HEX` 巨集相同。"
"這包含在執行環境使用的 Python 版本。"
"編碼為單個常數整數的 Python 執行環境版本號,格式與 :c:macro:`PY_VERSION_HEX` "
"巨集相同。這包含在執行環境使用的 Python 版本。"

#: ../../c-api/apiabiversion.rst:73
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
Expand Down
Loading