docs(i18n): refresh translations for services and clubs#26
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
There was a problem hiding this comment.
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.mjsto translate selected docs, normalize certain link labels, and update sidebar JSON messages. - Update multiple localized
thuservices/*.mdfiles (link-label normalization like “此 → here/ici/こちら/…”, plus broader translation refreshes). - Update multiple locale
i18n/*/docusaurus-plugin-content-docs/current.jsonfiles 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.
| 那麼你的 `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。 |
There was a problem hiding this comment.
@copilot apply changes based on this feedback
| ### 使用 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. | ||
|
|
There was a problem hiding this comment.
@copilot apply changes based on this feedback
| ¡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@@) | ||
|
|
There was a problem hiding this comment.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
@copilot apply changes based on this feedback
| ### 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. | ||
|
|
There was a problem hiding this comment.
@copilot apply changes based on this feedback
| 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 | ||
|
|
| ## 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. | ||
|
|
| ## 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) | ||
|
|
| ## 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@@) | ||
|
|
| import fs from "node:fs"; | ||
| import path from "node:path"; | ||
| import { execFileSync } from "node:child_process"; | ||
|
|
||
| const ROOT = process.cwd(); |
| 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 open a new pull request to apply changes based on the comments in this thread |
Co-authored-by: erbanku <79493862+erbanku@users.noreply.github.com>
Summary
Changes
Testing
Related Issues
Screenshots (if applicable)