German Khokhlov
5d28d614e0
i18n: generate zh-Hant from zh-CN
...
zh-Hant is the zh-CN text in Traditional characters, but contributors
still translated it by hand from `--missing zh-Hant`, and a model asked
for Traditional Chinese writes Taiwan vocabulary (影片, 伺服器, 載入).
`npm run i18n -- --zh-hant` now rewrites zh-Hant.json from zh-CN.json
with OpenCC s2tw (opencc-js 1.4.2, cn -> tw, characters only), then the
fixed list of characters it picks wrongly. The check that `npm test`
runs fails when zh-Hant differs from that conversion, naming the key,
and `--missing zh-Hant` points to the command instead of printing a
template.
The conversion reproduces every one of the 3346 entries on main. 25
keys were out of zh-CN order and move; no value changes.
The converter loads on first use, so a copy of the script without
node_modules (stale-index.test.mjs) still extracts messages.
2026-11-13 18:46:27 +04:00
..
2026-11-03 14:32:03 +00:00
2026-11-03 18:05:11 +00:00
2026-10-16 11:01:25 +01:00
2026-11-09 00:24:22 +01:00
2026-10-20 13:56:44 +04:00
2026-10-30 19:02:47 +05:30
2026-09-28 19:07:57 -05:00
2026-10-20 13:56:44 +04:00
2026-11-08 19:45:01 -08:00
2026-10-02 18:29:42 -07:00
2026-11-11 16:06:22 +01:00
2026-08-24 17:02:16 -05:00
2026-11-08 15:55:13 -08:00
2026-10-30 20:47:20 +05:30
2026-10-25 17:21:41 -07:00
2026-09-24 16:25:55 +05:30
2026-11-08 19:35:30 -08:00
2026-09-10 23:01:51 -07:00
2026-11-07 17:53:55 +00:00
2026-09-14 07:35:38 -07:00
2026-10-19 23:23:52 +01:00
2026-08-24 17:02:16 -05:00
2026-09-15 07:26:32 -07:00
2026-11-12 22:07:13 -08:00
2026-10-30 16:11:48 -07:00
2026-10-13 18:54:58 -04:00
2026-09-11 15:08:23 -07:00
2026-11-13 18:46:27 +04:00
2026-11-12 12:26:45 +00:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-14 21:12:01 -07:00
2026-09-24 16:25:55 +05:30
2026-09-14 07:35:38 -07:00
2026-10-30 19:02:47 +05:30
2026-11-12 22:07:13 -08:00
2026-11-03 22:01:08 +05:30
2026-10-16 15:28:39 -07:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-08-31 17:49:45 -05:00
2026-09-14 19:34:23 -05:00
2026-10-19 17:02:06 +01:00
2026-09-14 07:35:38 -07:00
2026-10-21 15:22:00 +02:00
2026-10-02 22:32:46 +05:30
2026-10-02 15:12:37 -06:00
2026-09-28 19:07:57 -05:00
2026-10-21 14:21:14 +04:00
2026-09-11 17:03:35 -07:00
2026-09-10 23:08:26 -07:00
2026-10-07 22:41:29 +04:00
2026-08-24 17:02:16 -05:00
2026-08-24 17:02:16 -05:00
2026-10-14 15:36:35 -07:00
2026-10-22 22:09:37 -07:00
2026-10-19 23:31:52 +01:00
2026-10-20 15:12:33 +01:00
2026-10-22 19:26:09 -07:00
2026-11-09 20:36:03 -08:00
2026-11-09 20:36:03 -08:00
2026-11-12 22:37:34 +00:00
2026-10-29 11:12:46 +00:00
2026-09-15 16:53:26 -07:00
2026-09-15 19:16:49 -07:00
2026-09-15 17:59:53 -07:00
2026-10-31 18:37:14 -07:00
2026-10-28 14:35:01 +00:00
2026-11-02 17:01:31 +00:00
2026-11-09 20:36:03 -08:00
2026-10-03 23:10:32 -07:00
2026-10-22 18:09:37 -07:00
2026-10-22 19:08:10 -07:00
2026-10-14 14:48:53 -07:00
2026-10-31 22:53:03 -07:00
2026-10-29 11:28:56 +00:00
2026-10-03 23:10:32 -07:00
2026-09-10 23:08:26 -07:00
2026-10-11 13:52:30 -07:00
2026-08-24 17:02:16 -05:00
2026-08-31 17:49:45 -05:00
2026-09-10 23:08:26 -07:00
2026-10-11 13:52:30 -07:00
2026-11-09 20:36:03 -08:00
2026-10-29 12:41:12 +00:00
2026-10-13 23:48:21 +02:00
2026-10-15 04:10:41 +02:00
2026-10-15 04:10:41 +02:00
2026-10-29 11:53:15 +00:00
2026-11-06 17:25:01 +01:00
2026-10-14 17:53:19 +02:00
2026-11-09 20:36:03 -08:00
2026-09-10 23:08:26 -07:00
2026-09-11 08:59:32 -07:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-09-28 19:07:57 -05:00
2026-10-25 03:15:11 +01:00
2026-09-10 23:08:26 -07:00
2026-10-22 18:09:37 -07:00
2026-11-02 16:43:49 +00:00
2026-09-24 16:25:55 +05:30
2026-10-20 14:37:57 +01:00
2026-11-01 13:43:57 -08:00
2026-10-31 12:11:35 -07:00
2026-10-31 12:11:35 -07:00
2026-09-28 19:07:57 -05:00
2026-09-16 12:14:15 +05:30
2026-10-30 19:02:47 +05:30
2026-10-03 23:10:32 -07:00
2026-10-20 00:15:49 +01:00
2026-10-30 22:41:07 -07:00
2026-11-09 20:36:03 -08:00
2026-11-02 17:19:53 +04:00
2026-10-14 15:36:35 -07:00
2026-10-31 23:04:31 -07:00
2026-10-31 18:37:14 -07:00
2026-10-29 14:04:28 +00:00
2026-10-29 12:41:12 +00:00
2026-10-21 14:21:14 +04:00
2026-11-09 20:36:03 -08:00
2026-10-30 21:54:42 -07:00
2026-11-06 17:52:55 +00:00
2026-09-28 19:07:57 -05:00
2026-09-10 23:08:26 -07:00
2026-10-14 14:48:53 -07:00
2026-09-28 19:07:57 -05:00
2026-09-13 14:47:26 -07:00
2026-10-22 19:08:10 -07:00
2026-10-14 14:48:53 -07:00
2026-10-23 12:12:27 +01:00
2026-11-10 11:30:59 -08:00
2026-10-20 14:07:13 +01:00
2026-10-20 14:07:13 +01:00
2026-10-14 15:36:35 -07:00
2026-10-20 15:12:33 +01:00
2026-10-20 15:12:33 +01:00
2026-11-05 03:39:15 -03:00
2026-10-31 20:28:24 -07:00
2026-10-22 19:08:10 -07:00
2026-09-10 23:08:26 -07:00
2026-09-11 14:43:13 -07:00
2026-10-29 11:20:49 +00:00
2026-11-01 09:56:47 -08:00
2026-10-30 17:47:52 -07:00
2026-10-04 23:03:09 +05:00
2026-09-28 21:19:23 -05:00
2026-11-06 00:23:42 +00:00
2026-09-15 12:05:01 -07:00
2026-10-31 23:51:47 -07:00
2026-09-22 17:45:39 -05:00
2026-10-22 18:09:37 -07:00
2026-10-20 14:37:05 +01:00
2026-09-22 17:45:39 -05:00
2026-11-03 14:32:30 +00:00
2026-08-24 17:02:16 -05:00
2026-11-05 16:17:12 -05:00
2026-11-03 16:17:34 +00:00
2026-11-02 07:06:14 -08:00
2026-11-10 11:30:59 -08:00
2026-10-20 15:12:32 +01:00
2026-09-28 21:19:23 -05:00
2026-10-30 20:47:20 +05:30