Skip to content

docs(i18n): refresh translations for services and clubs#26

Merged
erbanku merged 3 commits into
mainfrom
codex/i18n-translate-docs-even-further
Mar 17, 2026
Merged

docs(i18n): refresh translations for services and clubs#26
erbanku merged 3 commits into
mainfrom
codex/i18n-translate-docs-even-further

Conversation

@erbanku

@erbanku erbanku commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • refresh language-specific docs for services, utilities, and student club categories across the i18n directories
  • ensure each localization JSON and associated markdown reflects the latest translated content

Changes

  • updated the translation metadata files and services/utils templates for every supported language
  • completed the student club category pages for the translated locales listed in the branch diff

Testing

  • Not run (not requested)

Related Issues

  • Closes #N/A

Screenshots (if applicable)

  • Not applicable

Copilot AI review requested due to automatic review settings March 16, 2026 15:23
@netlify

This comment was marked as outdated.

@vercel

vercel Bot commented Mar 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
thuwiki-production Ready Ready Preview, Comment Mar 16, 2026 3:40pm

Restrict Node.js version to 24.x in package.json to ensure compatibility.
- Update markdown links to use proper syntax in info.md and utils.md
- Replace placeholder link format with actual URLs for better accessibility

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a new automation script to (re)generate/fill localized documentation and sidebar strings via machine translation, and applies the resulting updates across multiple locales (notably in the thuservices docs and current.json sidebar label bundles).

Changes:

  • Add scripts/fill-untranslated-i18n.mjs to translate selected docs, normalize certain link labels, and update sidebar JSON messages.
  • Update multiple localized thuservices/*.md files (link-label normalization like “此 → here/ici/こちら/…”, plus broader translation refreshes).
  • Update multiple locale i18n/*/docusaurus-plugin-content-docs/current.json files with translated sidebar labels.

Reviewed changes

Copilot reviewed 128 out of 128 changed files in this pull request and generated 18 comments.

Show a summary per file
File Description
scripts/fill-untranslated-i18n.mjs New script to translate targeted docs/frontmatter and update sidebar labels with caching.
i18n/zh-Hant/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (e.g., 此→此處) in zh-Hant docs.
i18n/zh-Hant/docusaurus-plugin-content-docs/current/thuservices/templates.md Normalizes link labels and localized “清华云盘下载” text in zh-Hant docs.
i18n/zh-Hant/docusaurus-plugin-content-docs/current/thuservices/services.md Retranslated/updated zh-Hant services guide content.
i18n/ru/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→здесь) in ru docs.
i18n/ru/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with Russian translation for templates page.
i18n/ru/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to Russian.
i18n/pt/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→aqui) in pt docs.
i18n/pt/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with Portuguese translation for templates page.
i18n/pt/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to Portuguese.
i18n/ko/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→여기) in ko docs.
i18n/ko/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with Korean translation for templates page.
i18n/ko/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to Korean.
i18n/ja/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→こちら) in ja docs.
i18n/ja/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with Japanese translation for templates page.
i18n/ja/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to Japanese.
i18n/fr/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→ici) in fr docs.
i18n/fr/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with French translation for templates page.
i18n/fr/docusaurus-plugin-content-docs/current/thuservices/services.md Updates French services guide translation content.
i18n/fr/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to French.
i18n/es/docusaurus-plugin-content-docs/current/thuservices/utils.md Rewrites tokenized placeholders to real links in Spanish utils doc (plus broader translation changes).
i18n/es/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with Spanish translation for templates page.
i18n/es/docusaurus-plugin-content-docs/current/thuservices/services.md Updates Spanish services guide translation content.
i18n/es/docusaurus-plugin-content-docs/current/thuservices/README.md Updates Spanish thuservices README translation content and links.
i18n/es/docusaurus-plugin-content-docs/current/thuservices/info.md Updates Spanish info doc translation content and links.
i18n/es/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to Spanish.
i18n/de/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→hier) in de docs.
i18n/de/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with German translation for templates page.
i18n/de/docusaurus-plugin-content-docs/current/thuservices/services.md Updates German services guide translation content.
i18n/de/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to German.
i18n/ar/docusaurus-plugin-content-docs/current/thuservices/utils.md Normalizes link labels (此→هنا) in ar docs.
i18n/ar/docusaurus-plugin-content-docs/current/thuservices/templates.md Replaces Chinese content with Arabic translation for templates page.
i18n/ar/docusaurus-plugin-content-docs/current.json Translates sidebar UI strings to Arabic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +204 to 207
那麼你的 `NetworkManager` 可能由於 tls 1.0 連接被禁用而連不上 `Tsinghua-Secure`,此時有以下兩種解決方法,任何一種都能解決

1. 升級 NetworkManager 到 `1.41.5-dev` 及以上,準確的說是確保 [这个 commit](https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/98dd4180ec163af63fe1e0fda00158ac7f0047df) 已經被包含。在上述設定檔的 `[802-1x]` 一節中加入一行 `phase1-auth-flags=32`(`NetworkManager` 中 `tls-1-0-enable` 此選項對應 `0x20`是換算成十進制,換算成十進制`32`,這項換算關係目前沒有在文件裡記錄,所以不保證 32 這個數字總是有效。
1. 升級 NetworkManager 到 `1.41.5-dev` 以上,準確的說是確保 [這個 commit](https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/98dd4180ec163af63fe1e0fda00158ac7f0047df) 已經被包含。在上述設定檔的 `[802-1x]` 一節中加入一行 `phase1-auth-flags=32`(`NetworkManager` 中 `tls-1-0-enable` 此選項對應 `0x20`,換算成十進位是 `32`,這一換算關係目前沒有在文件裡記錄,所以不保證 32 這個數字總是有效 `32`,這個換算關係目前沒有在文件裡記錄,所以不保證 32 這個數字總是有效@ @ @ `tls-1-0-enable`)
1. 給自己的 `wpa_supplicant` 打上前面提到的 patch。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Comment on lines 450 to 453
### 使用 Terminal 客戶端

Terminal 用戶端在 8.0.4 版本後以後支援使用 Token 進行同步,你可以在 [install_linux_client](https://help.seafile.com/syncing_client/install_linux_client/) 中找到大部分發行版 AMD64 架構的來源,如果你所使用的套件管理器中 `seafile` 或 __THU_WIKI_TOKEN_WI__ `8.0.4`,可以安裝並參考後面替換部分檔案的方法,也可以直接手動編譯最新版。
Terminal 用戶端在 8.0.4 版本後以後支援使用 Token 進行同步,你可以在 [install_linux_client](https://help.seafile.com/syncing_client/install_linux_client/) 中找到大部分發行版 AMD64 架構的來源,如果你所使用的套件管理器中 `seafile` 或 `seafile-cli` 版本號低於 `8.0.4`2@2@2.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Comment on lines 101 to 104
¡Ayudarte a detectar el estado de la lavadora, y conocer las tendencias de las lavadoras de todo el colegio con un clic sin salir de casa!

El código fuente está en el directorio aux del repositorio. Actualmente desplegado en trabajadores de cf en [https://washer.thu.services](https://washer.thu.services)
El código fuente está en el directorio aux del repositorio. Actualmente desplegado en trabajadores de cf en [https://washer.thu.services](@@0@@)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Comment on lines 282 to 285
### Isolation de deuxième couche/isolation par découverte de voisin

Une caractéristique majeure du réseau du campus est l’isolation de couche 2/découverte des voisins. Pour la v4, c'est le premier ; pour la v6, c'est ce dernier. Ce mécanisme est conçu pour la sécurité, mais il est peu pratique pour de nombreux développeurs/utilisateurs.
Une caractéristique majeure du réseau du campus est l’isolation de couche 2/découverte des voisins. Pour la v4, c'est le premier ; pour la v6, c'est ce dernier. This mechanism is designed for security, but it is inconvenient for many developers/users.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Comment on lines 322 to 325
Pour l'IP dynamique, nous pouvons utiliser DDNS pour le résoudre. Les principaux fournisseurs tels que DNSPod, dns.he.net et cloudflare proposent ce service.

En prenant dns.he.net comme exemple, ajoutez d'abord un enregistrement A/AAAA et choisissez d'utiliser DDNS. Après l'avoir créé, créez un jeton de mise à jour, marqué comme T. Nous écrivons le script suivant
Taking dns.he.net as an example, first add an A/AAAA record and choose to use DDNS. Après l'avoir créé, créez un jeton de mise à jour, marqué comme T. Nous écrivons le script suivant

Comment on lines 236 to 239
## Marca de registro (para billetes de tren)

Consulte [此网站](https://tuixue.online/zcimage/) para obtener fácilmente la marca de registro correspondiente cuando esté fuera del campus.
Consulte [este sitio web] (https://tuixue.online/zcimage/) para obtener calificaciones de registro relevantes cuando esté fuera de la escuela.

Comment on lines 100 to 103
## Sistema de cuestionarios de la Universidad de Tsinghua

__JUE_WIKI_TOKEN_0__
[Sistema de cuestionarios de la Universidad de Tsinghua] (https://wenjuan.tsinghua.edu.cn)

Comment on lines 104 to 107
## Código Tsinghua Bauhinia

El enlace es [https://zijing.tsinghua.edu.cn/tp\_jp/h6?m=jp#act=jp/serviceapplication](https://zijing.tsinghua.edu.cn/tp_jp/h6?m=jp#act=jp/serviceapplication)
El enlace es [https://zijing.tsinghua.edu.cn/tp\_jp/h6?m=jp#act=jp/serviceapplication](@@0@@)

Comment on lines +1 to +5
import fs from "node:fs";
import path from "node:path";
import { execFileSync } from "node:child_process";

const ROOT = process.cwd();
Comment on lines 117 to 120
Si desea implementar la admisión automática de `v6`, consulte `goauthing6.service` y `goauthing6@.service`. Si solo desea la admisión automática v4, debe cambiar `auth` en `goauthing.service` a `auth -C` y eliminar la línea `login`.

Si alguien empaqueta esto, por favor PR. El paquete `auth-thu-bin` existe actualmente en AUR (el paquete `auth-thu` está obsoleto).
Si alguien empaqueta esto, por favor PR. Actualmente hay paquetes `auth-thu-bin` en AUR (@los paquetes @1@@ están obsoletos).

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #27, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #28, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #29, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #30, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #31, to work on those changes. Once the pull request is ready, I'll request review from you.

@erbanku

erbanku commented Mar 16, 2026

Copy link
Copy Markdown
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #32, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@erbanku I've opened a new pull request, #33, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI added a commit that referenced this pull request Mar 16, 2026
Co-authored-by: erbanku <79493862+erbanku@users.noreply.github.com>
@erbanku erbanku merged commit d7947ad into main Mar 17, 2026
6 checks passed
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.

3 participants