Small settings fix and update to i18n

This commit is contained in:
kmmiio99o 2025-12-07 16:20:30 +01:00
parent 9ad0f2f9bd
commit 4b1270d4cb
2 changed files with 9 additions and 0 deletions

View file

@ -39,6 +39,7 @@
"DEBUG": "Debug",
"DEBUGGER_URL": "Debugger URL",
"DELETE": "Delete",
"DEVTOOLS_URL": "DevTools URL",
"DESC_EXTRACT_FONTS_FROM_THEME": "Looks out for \"fonts\" field in your currently applied theme and install it.",
"DEVELOPER": "Developer",
"DEVELOPER_SETTINGS": "Developer Settings",
@ -68,6 +69,7 @@
"LOAD_FROM_CUSTOM_URL": "Load from custom URL",
"LOAD_FROM_CUSTOM_URL_DEC": "Load ShiggyCord from a custom endpoint.",
"LOAD_REACT_DEVTOOLS": "Load React DevTools",
"SHIGGY_URL": "ShiggyCord URL",
"LOADER": "Loader",
"MACHINE_ID": "Machine ID",
"MANUFACTURER": "Manufacturer",

View file

@ -33,3 +33,10 @@ export const loaderConfig = wrapSync(createStorage<LoaderConfig>(
}
})
));
export interface UpdaterSettings {
fetchPluginsOnStart?: boolean;
repoAutoFetchOverrides?: Record<string, boolean>;
}
export const updaterSettings = wrapSync(createStorage<UpdaterSettings>(createMMKVBackend("VENDETTA_UPDATER_SETTINGS")));