diff options
| author | Fuwn <[email protected]> | 2026-04-15 01:18:00 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-04-15 01:18:00 +0000 |
| commit | d06a7a9bb689849b2b7beced2606ceb98513f4bb (patch) | |
| tree | 8f54fc3fa12c70b21bf4bf421608c9b9400064da /src/lib/Locale | |
| parent | feat(command-palette): add clear anime and manga list caches action (diff) | |
| download | due.moe-d06a7a9bb689849b2b7beced2606ceb98513f4bb.tar.xz due.moe-d06a7a9bb689849b2b7beced2606ceb98513f4bb.zip | |
feat(cache): instant list revalidation from command palette and debug menu
Replaces one-shot boolean revalidateAnime with a counter store so
multiple components can subscribe without race conditions. Adds
revalidateManga store and reactive refresh blocks to DueAnimeList
and MangaListTemplate. Extracts shared invalidateListCaches function
used by both the command palette action and the debug settings button.
Renames palette item to "Refresh" and debug button to "Invalidate".
Diffstat (limited to 'src/lib/Locale')
| -rw-r--r-- | src/lib/Locale/english.ts | 2 | ||||
| -rw-r--r-- | src/lib/Locale/japanese.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Locale/english.ts b/src/lib/Locale/english.ts index 09a5f057..9918d98f 100644 --- a/src/lib/Locale/english.ts +++ b/src/lib/Locale/english.ts @@ -271,7 +271,7 @@ const English: Locale = { }, }, debug: { - clearCaches: "Clear anime and manga list caches", + clearCaches: "Invalidate anime and manga list caches", showListTimings: "Show media list timings", resetAllSettings: { title: "Reset ALL settings", diff --git a/src/lib/Locale/japanese.ts b/src/lib/Locale/japanese.ts index 3030a65f..79e15e96 100644 --- a/src/lib/Locale/japanese.ts +++ b/src/lib/Locale/japanese.ts @@ -271,7 +271,7 @@ const Japanese: Locale = { }, }, debug: { - clearCaches: "ブラウザのAniListアニメと漫画リストのキャッシュを消去する", + clearCaches: "ブラウザのAniListアニメと漫画リストのキャッシュを無効化する", showListTimings: "メディアリストの処理時間を表示する", resetAllSettings: { title: "すべての設定をリセット", |