web/settings/advanced: add cache clearing, refactor data management

This commit is contained in:
wukko
2025-02-06 23:44:05 +06:00
parent cff47da742
commit 1f79bf6e52
8 changed files with 105 additions and 38 deletions

View File

@@ -21,5 +21,6 @@
"show_input": "show input",
"hide_input": "hide input",
"restore_input": "restore input",
"clear_input": "clear input"
"clear_input": "clear input",
"clear_cache": "clear cache"
}

View File

@@ -1,6 +1,6 @@
{
"reset.title": "reset all data?",
"reset.body": "are you sure you want to reset all data? this action is immediate and irreversible.",
"reset_settings.title": "reset all settings?",
"reset_settings.body": "are you sure you want to reset all settings? this action is immediate and irreversible.",
"picker.title": "select what to save",
"picker.description.desktop": "click an item to save it. images can also be saved via the right click menu.",
@@ -21,5 +21,8 @@
"safety.custom_instance.body": "custom instances can potentially pose privacy & safety risks.\n\nbad instances can:\n1. redirect you away from cobalt and try to scam you.\n2. log all information about your requests, store it forever, and use it to track you.\n3. serve you malicious files (such as malware).\n4. force you to watch ads, or make you pay for downloading.\n\nafter this point, we can't protect you. please be mindful of what instances to use and always trust your gut. if anything feels off, come back to this page, reset the custom instance, and report it to us on github.",
"processing.ongoing": "cobalt is currently processing media in this tab. going away will abort it. are you sure you want to do this?",
"processing.title.ongoing": "processing will be cancelled"
"processing.title.ongoing": "processing will be cancelled",
"clear_cache.title": "clear all cache?",
"clear_cache.body": "all files from the processing queue will be removed and on-device features will take longer to load. this action is immediate and irreversible."
}

View File

@@ -111,8 +111,6 @@
"advanced.debug.title": "enable features for nerds",
"advanced.debug.description": "gives you easy access to app info that can be useful for debugging. enabling this does not affect functionality of cobalt in any way.",
"advanced.data": "data management",
"advanced.local-processing": "local processing",
"advanced.local-processing.title": "mux and convert media on device",
"advanced.local-processing.description": "when downloading media, cobalt will use on-device processing to mux or convert it. exclusive local features such as remux or convert are not affected, they always run locally.",
@@ -126,5 +124,8 @@
"processing.access_key.description": "cobalt will use this key to make requests to the processing instance instead of other authentication methods. make sure the instance supports api keys!",
"processing.custom_instance.input.alt_text": "custom instance domain",
"processing.access_key.input.alt_text": "u-u-i-d access key"
"processing.access_key.input.alt_text": "u-u-i-d access key",
"advanced.settings_data": "settings data",
"advanced.local_storage": "local storage"
}