Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Translate untranslated entries from PR 1109 (Sync with CPython 3.13)#1110

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

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
11 commits
Select commitHold shift + click to select a range
0f23326
sync with cpython fac28e47
github-actions[bot]Jul 13, 2025
1c28c89
Initial plan
CopilotJul 13, 2025
2107dad
Translate untranslated entries from PR 1109: CPython reference counts…
CopilotJul 13, 2025
e163fb3
Rebase translations onto cron/sync/3.13 branch per @josix feedback
CopilotJul 13, 2025
79a4514
Merge branch 'cron/sync/3.13' into copilot/fix-d2d1eef6-7ea2-43b9-b1f…
josixJul 13, 2025
b5af846
Fix CI build error: add missing closing backtick in :ref: directive
CopilotJul 13, 2025
d5da31e
Update terminology dictionaries with new parsing terms: token, lexica…
CopilotJul 13, 2025
19067eb
Add English term "tokenizer" in parentheses for clarity per @josix su…
CopilotJul 13, 2025
8a27e92
Update CSV files to include English term in parentheses for tokenizer…
CopilotJul 13, 2025
4e88397
Keep token and tokenizer terms in original English per @mattwang44 fe…
CopilotJul 14, 2025
1fe6281
Merge branch '3.13' into copilot/fix-d2d1eef6-7ea2-43b9-b1f8-a74ec25d…
josixJul 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions.scripts/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,16 +2,11 @@

Useful scripts for the translation.

##Translation Dictionary

The repository includes terminology dictionaries (`terminology_dictionary.csv` and`focused_terminology_dictionary.csv`) that provide standard translations for important Python terms to maintain consistency across documents. These dictionaries are maintained using LLM knowledge and can be referenced by translators.

See`TERMINOLOGY_DICTIONARY.md` for detailed usage and integration with translation workflow.

##From Google Translation

Translate all untranslated entries of the given .po file with Google Translate.


```sh
.scripts/google_translate.sh library/csv.po
```
Expand Down
3 changes: 3 additions & 0 deletionsfocused_terminology_dictionary.csv
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -117,3 +117,6 @@ sequence,序列,512,154,Medium,Common Terms,glossary.po; tutorial/classes.po; re
slice,切片,515,155,Medium,Common Terms,glossary.po; tutorial/classes.po; reference/datamodel.po; library/functions.po; howto/descriptor.po
special method,特殊方法,518,156,Medium,Common Terms,glossary.po; tutorial/classes.po; reference/datamodel.po; library/functions.po; howto/descriptor.po
statement,陳述式,521,157,Medium,Common Terms,glossary.po; tutorial/classes.po; reference/datamodel.po; library/functions.po; howto/descriptor.po
token,token,5,3,High,Parsing Terms,glossary.po; library/token.po; library/tokenize.po
lexical analyzer,詞法分析器,3,2,Medium,Parsing Terms,glossary.po; library/tokenize.po
tokenizer,tokenizer,4,2,Medium,Parsing Terms,glossary.po; library/tokenize.po
12 changes: 9 additions & 3 deletionsglossary.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1798,11 +1798,11 @@ msgstr ""

#: ../../glossary.rst:789
msgid "lexical analyzer"
msgstr ""
msgstr "lexical analyzer(詞法分析器)"

#: ../../glossary.rst:792
msgid "Formal name for the *tokenizer*; see :term:`token`."
msgstr ""
msgstr "tokenizer 的正式名稱;請參閱 :term:`token`。"

#: ../../glossary.rst:793
msgid "list"
Expand DownExpand Up@@ -2663,6 +2663,8 @@ msgid ""
"defined values; the number of references to an object, and how that number "
"is affected by Python code, may be different between versions."
msgstr ""
"在 :term:`CPython` 中,參照計數不被視為穩定或明確定義的值;對物件的參照數量,"
"以及該數量如何受到 Python 程式碼的影響,在不同版本之間可能會有所不同。"

#: ../../glossary.rst:1170
msgid "regular package"
Expand DownExpand Up@@ -2981,20 +2983,24 @@ msgstr ""

#: ../../glossary.rst:1302
msgid "token"
msgstr ""
msgstr "token"

#: ../../glossary.rst:1305
msgid ""
"A small unit of source code, generated by the :ref:`lexical analyzer "
"<lexical>` (also called the *tokenizer*). Names, numbers, strings, "
"operators, newlines and similar are represented by tokens."
msgstr ""
"原始碼的小單位,由 :ref:`詞法分析器 <lexical>` (也稱為 *tokenizer*)產生。名"
"稱、數字、字串、運算子、換行符號等都以 token 表示。"

#: ../../glossary.rst:1310
msgid ""
"The :mod:`tokenize` module exposes Python's lexical analyzer. The :mod:"
"`token` module contains information on the various types of tokens."
msgstr ""
":mod:`tokenize` 模組公開了 Python 的詞法分析器。:mod:`token` 模組包含各種 token "
"類型的資訊。"

#: ../../glossary.rst:1313
msgid "triple-quoted string"
Expand Down
3 changes: 3 additions & 0 deletionsterminology_dictionary.csv
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -195,3 +195,6 @@ execution,執行,779,243,library/core.po,library,glossary.po; tutorial/classes.p
runtime,runtime,782,244,library/core.po,library,glossary.po; tutorial/classes.po; reference/datamodel.po; library/functions.po; howto/descriptor.po
compile time,編譯時期,785,245,library/core.po,library,glossary.po; tutorial/classes.po; reference/datamodel.po; library/functions.po; howto/descriptor.po
import time,引入時期,788,246,library/core.po,library,glossary.po; tutorial/classes.po; reference/datamodel.po; library/functions.po; howto/descriptor.po
token,token,5,3,glossary.po,,glossary.po; library/token.po; library/tokenize.po
lexical analyzer,詞法分析器,3,2,glossary.po,,glossary.po; library/tokenize.po
tokenizer,tokenizer,4,2,glossary.po,,glossary.po; library/tokenize.po

[8]ページ先頭

©2009-2025 Movatter.jp