Skip to content

Complete translation of all tutorial .po files #1114

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

Merged
merged 8 commits into from
Jul 14, 2025
Merged

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 14, 2025

This PR completes the translation of all .po files under the tutorial directory, addressing all untranslated strings, fuzzy entries, and ensuring terminology consistency as requested in the issue.

Summary of Changes

  • Fixed 2 fuzzy entries in tutorial/interpreter.po and tutorial/index.po
  • Translated 55 untranslated strings across 8 tutorial files
  • Ensured terminology consistency with the predefined dictionary
  • All 17 tutorial .po files now have 0 untranslated strings and 0 fuzzy entries

Files Modified

File Untranslated → 0 Fuzzy → 0 Status
tutorial/introduction.po 21 → 0 - ✅ Complete
tutorial/controlflow.po 15 → 0 - ✅ Complete
tutorial/classes.po 7 → 0 - ✅ Complete
tutorial/stdlib2.po 4 → 0 - ✅ Complete
tutorial/modules.po 2 → 0 - ✅ Complete
tutorial/interpreter.po 2 → 0 1 → 0 ✅ Complete
tutorial/floatingpoint.po 2 → 0 - ✅ Complete
tutorial/datastructures.po 2 → 0 - ✅ Complete
tutorial/index.po - 1 → 0 ✅ Complete

Translation Approach

  • Code examples preserved: All Python code snippets kept as-is to maintain executable correctness
  • Terminology consistency: Used established translations from the terminology dictionary:
    • function函式
    • class類別
    • method方法
    • module模組
    • object物件
  • Minimal changes: Only translated what was needed, no unnecessary modifications

Verification

All tutorial files now pass validation:

# No untranslated strings
$ make todo | grep tutorial/
# (no output)

# No fuzzy entries
$ make fuzzy | grep tutorial/
# (no output)

The tutorial documentation is now fully accessible to Traditional Chinese readers!

Fixes #1113.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits July 14, 2025 04:07
…flow.po

Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
…d and 2 fuzzy entries fixed

Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Translate all .po files under tutorial directory Complete translation of all tutorial .po files Jul 14, 2025
@Copilot Copilot AI requested a review from mattwang44 July 14, 2025 04:15
Copilot finished work on behalf of mattwang44 July 14, 2025 04:15
Copy link
Collaborator

@mattwang44 mattwang44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for those translation of code blocks, the docstring and code commets are ought to be translated. please review all your transaltions again.

Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
@Copilot Copilot AI requested a review from mattwang44 July 14, 2025 05:52
Copilot finished work on behalf of mattwang44 July 14, 2025 05:52
Copilot AI and others added 2 commits July 14, 2025 06:16
Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
@Copilot Copilot AI requested a review from mattwang44 July 14, 2025 06:30
Copilot finished work on behalf of mattwang44 July 14, 2025 06:30
Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
@Copilot Copilot AI requested a review from mattwang44 July 14, 2025 07:06
Copilot finished work on behalf of mattwang44 July 14, 2025 07:06
@mattwang44 mattwang44 marked this pull request as ready for review July 14, 2025 07:31
@Copilot Copilot AI requested a review from mattwang44 July 14, 2025 07:31
@mattwang44 mattwang44 merged commit 0a5b23f into 3.13 Jul 14, 2025
1 check passed
@mattwang44 mattwang44 deleted the copilot/fix-1113 branch July 14, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translate all .po files under tutorial directory
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy