



























@@ -8,7 +8,7 @@ import { es } from "../locales/es.ts";
88import { fa } from "../locales/fa.ts";
99import { fr } from "../locales/fr.ts";
1010import { id } from "../locales/id.ts";
11-import { it } from "../locales/it.ts";
11+import { it as itLocale } from "../locales/it.ts";
1212import { ja_JP } from "../locales/ja-JP.ts";
1313import { ko } from "../locales/ko.ts";
1414import { nl } from "../locales/nl.ts";
@@ -17,7 +17,7 @@ import { pt_BR } from "../locales/pt-BR.ts";
1717import { th } from "../locales/th.ts";
1818import { tr } from "../locales/tr.ts";
1919import { uk } from "../locales/uk.ts";
20-import { vi } from "../locales/vi.ts";
20+import { vi as viLocale } from "../locales/vi.ts";
2121import { zh_CN } from "../locales/zh-CN.ts";
2222import { zh_TW } from "../locales/zh-TW.ts";
2323@@ -112,7 +112,7 @@ describe("i18n", () => {
112112expect((fa.common as { version?: string }).version).toBeTruthy();
113113expect((fr.common as { version?: string }).version).toBeTruthy();
114114expect((id.common as { version?: string }).version).toBeTruthy();
115-expect((it.common as { version?: string }).version).toBeTruthy();
115+expect((itLocale.common as { version?: string }).version).toBeTruthy();
116116expect((ja_JP.common as { version?: string }).version).toBeTruthy();
117117expect((ko.common as { version?: string }).version).toBeTruthy();
118118expect((nl.common as { version?: string }).version).toBeTruthy();
@@ -121,7 +121,7 @@ describe("i18n", () => {
121121expect((th.common as { version?: string }).version).toBeTruthy();
122122expect((tr.common as { version?: string }).version).toBeTruthy();
123123expect((uk.common as { version?: string }).version).toBeTruthy();
124-expect((vi.common as { version?: string }).version).toBeTruthy();
124+expect((viLocale.common as { version?: string }).version).toBeTruthy();
125125expect((zh_CN.common as { version?: string }).version).toBeTruthy();
126126expect((zh_TW.common as { version?: string }).version).toBeTruthy();
127127});
@@ -135,7 +135,7 @@ describe("i18n", () => {
135135 fa,
136136 fr,
137137 id,
138- it,
138+it: itLocale,
139139 ja_JP,
140140 ko,
141141 nl,
@@ -144,7 +144,7 @@ describe("i18n", () => {
144144 th,
145145 tr,
146146 uk,
147- vi,
147+vi: viLocale,
148148 zh_CN,
149149 zh_TW,
150150})) {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。