[PR #239] Chinese-language changes #530

Open
opened 2026-03-01 17:26:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/abh/ntppool/pull/239
Author: @Artoria2e5
Created: 9/22/2024
Status: 🔄 Open

Base: mainHead: zh


📝 Commits (5)

  • 5f2c762 i18n: zh changes
  • 28e3f15 docs: Rename zh to zh_CN
  • 087ab5a docs: improve zh-CN translation
  • 662838a Do language fallbacks for zh-Hans and zh-Hant
  • b62841b docs: add zh_TW translation by conversion

📊 Changes

14 files changed (+357 additions, -104 deletions)

View changed files

docs/ntppool/zh/use.html (+0 -95)
📝 docs/ntppool/zh_CN/homepage/intro.html (+0 -0)
📝 docs/ntppool/zh_CN/join.html (+0 -0)
📝 docs/ntppool/zh_CN/join/configuration.html (+0 -0)
📝 docs/ntppool/zh_CN/tpl/server/graph_explanation.html (+0 -0)
docs/ntppool/zh_CN/use.html (+79 -0)
docs/ntppool/zh_TW/homepage/intro.html (+23 -0)
docs/ntppool/zh_TW/join.html (+51 -0)
docs/ntppool/zh_TW/join/configuration.html (+79 -0)
docs/ntppool/zh_TW/tpl/server/graph_explanation.html (+22 -0)
docs/ntppool/zh_TW/use.html (+78 -0)
📝 i18n/zh.po (+6 -5)
📝 i18n/zh_TW.po (+2 -2)
📝 lib/NTPPool/Control.pm (+17 -2)

📄 Description

A lot of things changed here:

  • Rename zh to zh_CN to make room for zh_TW.
  • Improve existing zh_CN translation.
  • Make a new zh_TW thing.
  • Change perl code to add zh_TW.
  • Change perl code to handle other things browsers ask for: zh-HK, MO, and the lesser-known Chinese variants.

The most dubious thing here is the perl code. Please, tell me if it's working at all.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/abh/ntppool/pull/239 **Author:** [@Artoria2e5](https://github.com/Artoria2e5) **Created:** 9/22/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `zh` --- ### 📝 Commits (5) - [`5f2c762`](https://github.com/abh/ntppool/commit/5f2c762fc072e19bc7bc9888907917e2b49a763e) i18n: zh changes - [`28e3f15`](https://github.com/abh/ntppool/commit/28e3f155c281d37de41e472f863eadd28af5f4ec) docs: Rename zh to zh_CN - [`087ab5a`](https://github.com/abh/ntppool/commit/087ab5a713905c44c17cb8885d62015281de56e8) docs: improve zh-CN translation - [`662838a`](https://github.com/abh/ntppool/commit/662838ab9cfc37425acc908d10d15dd41c0a782c) Do language fallbacks for zh-Hans and zh-Hant - [`b62841b`](https://github.com/abh/ntppool/commit/b62841bf3451ac89ace681ae7bebce1c80c362d4) docs: add zh_TW translation by conversion ### 📊 Changes **14 files changed** (+357 additions, -104 deletions) <details> <summary>View changed files</summary> ➖ `docs/ntppool/zh/use.html` (+0 -95) 📝 `docs/ntppool/zh_CN/homepage/intro.html` (+0 -0) 📝 `docs/ntppool/zh_CN/join.html` (+0 -0) 📝 `docs/ntppool/zh_CN/join/configuration.html` (+0 -0) 📝 `docs/ntppool/zh_CN/tpl/server/graph_explanation.html` (+0 -0) ➕ `docs/ntppool/zh_CN/use.html` (+79 -0) ➕ `docs/ntppool/zh_TW/homepage/intro.html` (+23 -0) ➕ `docs/ntppool/zh_TW/join.html` (+51 -0) ➕ `docs/ntppool/zh_TW/join/configuration.html` (+79 -0) ➕ `docs/ntppool/zh_TW/tpl/server/graph_explanation.html` (+22 -0) ➕ `docs/ntppool/zh_TW/use.html` (+78 -0) 📝 `i18n/zh.po` (+6 -5) 📝 `i18n/zh_TW.po` (+2 -2) 📝 `lib/NTPPool/Control.pm` (+17 -2) </details> ### 📄 Description A lot of things changed here: * Rename zh to zh_CN to make room for zh_TW. * Improve existing zh_CN translation. * Make a new zh_TW thing. * Change perl code to add zh_TW. * Change perl code to handle other things browsers ask for: zh-HK, MO, and the lesser-known Chinese variants. The *most* dubious thing here is the perl code. Please, tell me if it's working at all. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntppool#530
No description provided.