i18n: use zh-Hant for Chinese (Traditional)

This commit is contained in:
German Khokhlov committed 2026-10-27 10:20:54 +04:00
1 parent ddae593bb7
commit 8f16cf263b
15 files changed
+139 -110

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ for (const [age, zh, en, tw] of cases) {
assert.equal(methods.getStats().loadingLabel, `LIVE · updated ${en}`);
setLocale('zh-CN');
assert.equal(methods.getStats().loadingLabel, `实时 · 更新于 ${zh}`);
setLocale('zh-TW');
setLocale('zh-Hant');
assert.equal(methods.getStats().loadingLabel, `即時 · 更新於 ${tw}`);
} finally {
setLocale(previousLocale);