diff --git a/src/components/usage/UsageDashboard.tsx b/src/components/usage/UsageDashboard.tsx index 61ce89b9e..0d190fd61 100644 --- a/src/components/usage/UsageDashboard.tsx +++ b/src/components/usage/UsageDashboard.tsx @@ -758,12 +758,6 @@ export function UsageDashboard({ controls="usage-tabpanel" trailing={tabTrailing} /> - - {appType === "agy" && ( -

- {t("usage.agyUsageHint")} -

- )}
{ - it.each(["en", "ja", "zh", "zh-TW"])( - "resolves the dashboard hint from real %s resources", - async (lng) => { - const i18n = createInstance(); - await i18n.init({ - lng, - fallbackLng: "en", - resources: { - en: { translation: en }, - ja: { translation: ja }, - zh: { translation: zh }, - "zh-TW": { translation: zhTW }, - }, - }); - const text = i18n.t("usage.agyUsageHint"); - const expected = { en, ja, zh, "zh-TW": zhTW }[ - lng as "en" | "ja" | "zh" | "zh-TW" - ]; - expect(text).toBe(expected.usage.agyUsageHint); - expect(text).toContain("unknown"); - // 金额按 Gemini API 价格估算,不再是写死的 0 - expect(text).toContain("Gemini API"); - expect(text).not.toBe("usage.agyUsageHint"); - }, - ); -}); - describe("Antigravity locale parity", () => { const locales = { en, ja, zh, "zh-TW": zhTW } as Record; const collect = (node: unknown, path: string, out: string[]) => {