mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
i18n: add Traditional Chinese (zh-TW) locale (#587)
* i18n: add Traditional Chinese (zh-TW) locale
- locales/zh-TW.yml: converted 1:1 from the freshly reviewed zh.yml (#584),
8459 keys, key parity and {placeholder} parity both verified (0 diffs)
- src/tools/fstab-generator/locales/zh-TW.yml: per-tool locale converted as well
- src/components/NavbarButtons.vue: register the display name
Method: OpenCC s2twp + a manual Taiwan terminology pass
(104 phrase fixes). Locales are auto-discovered via import.meta.glob,
so the new file needs no further wiring.
* fix(i18n): correct Traditional Chinese terminology and spacing
* i18n: zh-TW second-pass terminology audit
Full-file sweep for s2twp conversion artifacts beyond dc031df:
- 許可權→權限 ×26, 轉義→跳脫 ×33, 質量→品質 ×14, 攝像頭→攝影機 ×6
- 佔點陣圖→佔位圖 ×1 (s2twp hit 位图 inside 占位图), 原始原始碼→原始碼 ×1
- 超時→逾時 ×7, 倒計時→倒數計時 ×3, 檢測器→偵測器 ×2, 分隔符→分隔符號 ×13
Both files re-validated: key parity (8459 / 26), placeholder parity 0 diffs,
no replacement-chain duplication left.
* fix(i18n): refine zh-TW terminology with context checks
This commit is contained in:
3 files changed
+9727
No files matched your search
+9697
File diff suppressed because it is too large.
Load diff
@@ -35,6 +35,7 @@ const localesLong: Record<string, string> = {
|
||||
uk: 'Українська',
|
||||
ko: '한국인',
|
||||
zh: '中文',
|
||||
'zh-TW': '繁體中文',
|
||||
vi: 'Tiếng Việt',
|
||||
ar: 'عربي',
|
||||
hi: 'हिन्दी',
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
tools:
|
||||
fstab-generator:
|
||||
options:
|
||||
defaults: 標準掛載選項(rw, suid, dev, exec, auto, nouser, async)。
|
||||
noatime: 不更新訪問時間,以提升效能。
|
||||
nodiratime: 不更新目錄的訪問時間。
|
||||
relatime: 僅在檔案被修改或重啟後訪問時才更新訪問時間。
|
||||
ro: 以只讀方式掛載檔案系統。
|
||||
rw: 以讀寫方式掛載檔案系統。
|
||||
sync: 同步寫入,以提升資料完整性。
|
||||
async: 非同步寫入,以提升效能。
|
||||
user: 允許普通使用者掛載該檔案系統。
|
||||
nouser: 僅 root 可以掛載。
|
||||
exec: 允許執行二進位制檔案。
|
||||
noexec: 禁止執行二進位制檔案(安全措施)。
|
||||
errors-remount-ro: 發生錯誤時以只讀方式重新掛載。
|
||||
auto: 開機時自動掛載。
|
||||
noauto: 需要手動掛載。
|
||||
dev: 解析檔案系統上的字元裝置或塊裝置。
|
||||
nodev: 不解析檔案系統上的字元裝置或塊裝置。
|
||||
suid: 允許 suid 和 sgid 位的生效。
|
||||
nosuid: 阻止 suid 和 sgid 位的生效。
|
||||
vers3: 使用 NFS 協議版本 3。
|
||||
soft: 伺服器不可達時逾時後失敗。
|
||||
hard: 伺服器不可達時無限重試。
|
||||
rsize8192-wsize8192: 可調的讀寫緩衝區大小。
|
||||
sec-ntlm: 使用 NTLM 安全協議。
|
||||
size512m: 定義 tmpfs 大小限制。
|
||||
mode1777: 設定 tmpfs 掛載點的權限。
|
||||
Reference in new issue
Block a user