mirror of
https://github.com/basketikun/infinite-canvas.git
synced 2026-08-07 01:54:24 +08:00
feat(settings): add local storage tab to display IndexedDB usage and site quota
This commit is contained in:
@@ -357,12 +357,29 @@ export default {
|
||||
config: {
|
||||
title: "Settings & Preferences",
|
||||
invalidFile: "The settings file format is invalid",
|
||||
description: "Provider aggregation, model selection, and sync preferences",
|
||||
modalDescription: "Provider aggregation, default models, and sync preferences",
|
||||
description: "Providers, model selection, sync, and local storage",
|
||||
modalDescription: "Providers, default models, sync, and local storage",
|
||||
tabs: {
|
||||
channels: "Providers",
|
||||
preferences: "Preferences",
|
||||
promptSources: "Prompt sources",
|
||||
localStorage: "Local storage",
|
||||
},
|
||||
localStorage: {
|
||||
title: "IndexedDB storage usage",
|
||||
description: "View browser data saved by Infinite Canvas, grouped by object store.",
|
||||
indexedDbUsage: "IndexedDB usage",
|
||||
siteUsage: "Total site usage",
|
||||
quota: "Available quota",
|
||||
contentEstimate: "Estimated from stored content",
|
||||
siteUsageHint: "Includes IndexedDB and other site data",
|
||||
quotaHint: "Allocated dynamically by the browser",
|
||||
quotaProgress: "Site quota usage",
|
||||
mainDatabase: "Infinite Canvas data",
|
||||
records: "{{count}} records",
|
||||
refresh: "Refresh usage",
|
||||
readFailed: "Failed to read local storage",
|
||||
stores: { appState: "App state", images: "Image files", media: "Audio and video files", imageLogs: "Image history", videoLogs: "Video history", agentMessages: "Agent messages", promptCache: "Prompt cache" },
|
||||
},
|
||||
promptSources: {
|
||||
add: "Add source",
|
||||
|
||||
Reference in New Issue
Block a user