feat(ui): add hash search option and de-emphasized hash display in model modal

This commit is contained in:
Will Miao
2026-08-23 10:09:55 +08:00
parent 25e72b43ce
commit 030a32f8fa
26 changed files with 638 additions and 12 deletions
+4 -1
View File
@@ -49,7 +49,10 @@ class I18nManager {
}
try {
const response = await fetch(`/locales/${normalizedLocale}.json`);
// 'no-cache' forces revalidation (cheap 304 via ETag) so locale
// edits are picked up on a plain reload instead of serving a
// stale cached copy.
const response = await fetch(`/locales/${normalizedLocale}.json`, { cache: 'no-cache' });
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}