feat: add translation feature and ban character set functionality

This commit is contained in:
Kwaroran
2024-12-29 04:03:21 +09:00
parent ebdcd5ffcd
commit cd092a5a01
12 changed files with 221 additions and 56 deletions

View File

@@ -467,6 +467,7 @@ export function setDatabase(data:Database){
data.enableCustomFlags ??= false
data.assetMaxDifference ??= 4
data.showSavingIcon ??= false
data.banCharacterset ??= []
changeLanguage(data.language)
setDatabaseLite(data)
}
@@ -866,6 +867,7 @@ export interface Database{
pluginV2: RisuPlugin[]
showSavingIcon:boolean
presetRegex: customscript[]
banCharacterset:string[]
}
interface SeparateParameters{