diff --git a/src/lang/en.ts b/src/lang/en.ts
index 8006ff04..7a0ece2d 100644
--- a/src/lang/en.ts
+++ b/src/lang/en.ts
@@ -343,5 +343,6 @@ export const languageEnglish = {
creationSuccess: "Creation Success",
noweb: "This feature cannot be used on web version.",
createBotInternet: "Create Bot from Internet with AI",
- createBotInternetAlert: "Please provide the character's name and the corresponding series/game."
+ createBotInternetAlert: "Please provide the character's name and the corresponding series/game.",
+ able:"Able"
}
\ No newline at end of file
diff --git a/src/lib/Setting/Pages/PluginSettings.svelte b/src/lib/Setting/Pages/PluginSettings.svelte
index 095abb01..ef446b85 100644
--- a/src/lib/Setting/Pages/PluginSettings.svelte
+++ b/src/lib/Setting/Pages/PluginSettings.svelte
@@ -4,56 +4,58 @@
import { alertConfirm } from "src/ts/alert";
import { DataBase } from "src/ts/storage/database";
import { importPlugin } from "src/ts/plugins/plugins";
+ import Check from "src/lib/Others/Check.svelte";
{language.plugin}
+
{language.pluginWarn}
- {#if $DataBase.plugins.length === 0}
-
No Plugins
- {:else}
- {#each $DataBase.plugins as plugin, i}
- {#if i !== 0}
-
- {/if}
-
- {plugin.displayName ?? plugin.name}
- {
- const v = await alertConfirm(language.removeConfirm + (plugin.displayName ?? plugin.name))
- if(v){
- if($DataBase.currentPluginProvider === plugin.name){
- $DataBase.currentPluginProvider = ''
- }
- let plugins = $DataBase.plugins
- plugins.splice(i, 1)
- $DataBase.plugins = plugins
- }
- }}>
-
-
-
- {#if Object.keys(plugin.arguments).length > 0}
-
- {#each Object.keys(plugin.arguments) as arg}
- {arg}
- {#if Array.isArray(plugin.arguments[arg])}
-
- {#each plugin.arguments[arg] as a}
- a
- {/each}
-
- {:else if plugin.arguments[arg] === 'string'}
-
- {:else if plugin.arguments[arg] === 'int'}
-
- {/if}
- {/each}
-
- {/if}
- {/each}
- {/if}
+
+ AutoMark (Official Plugin)
+
+
+
+
+ {#each $DataBase.plugins as plugin, i}
+
+
+ {plugin.displayName ?? plugin.name}
+ {
+ const v = await alertConfirm(language.removeConfirm + (plugin.displayName ?? plugin.name))
+ if(v){
+ if($DataBase.currentPluginProvider === plugin.name){
+ $DataBase.currentPluginProvider = ''
+ }
+ let plugins = $DataBase.plugins
+ plugins.splice(i, 1)
+ $DataBase.plugins = plugins
+ }
+ }}>
+
+
+
+ {#if Object.keys(plugin.arguments).length > 0}
+
+ {#each Object.keys(plugin.arguments) as arg}
+ {arg}
+ {#if Array.isArray(plugin.arguments[arg])}
+
+ {#each plugin.arguments[arg] as a}
+ a
+ {/each}
+
+ {:else if plugin.arguments[arg] === 'string'}
+
+ {:else if plugin.arguments[arg] === 'int'}
+
+ {/if}
+ {/each}
+
+ {/if}
+ {/each}
{
diff --git a/src/ts/plugins/automark.ts b/src/ts/plugins/automark.ts
index 9adc42ea..906f3f73 100644
--- a/src/ts/plugins/automark.ts
+++ b/src/ts/plugins/automark.ts
@@ -4,49 +4,22 @@ const reg:[RegExp,string][] = []
export function autoMarkPlugin(data:string){
if(reg.length === 0){
const pluginRegex = [
- {
- "in": "“|”",
- "out": "\"",
- "flag": "g"
- },
- {
- "in": "‘|’",
- "out": "'",
- "flag": "g"
- },
- {
- "in": "^(?!\\d\\.)([\\wㄱ-ㅎ가-힣'])(?!.*[{<>}])|(?<=^\\[.*\\] *|^\\(.*\\) *)([\\wㄱ-ㅎ가-힣'])(?!.*[{<>}])",
- "out": "$1$2",
- "flag": "gm"
- },
- {
- "in": "(?.*)(?",
- "flag": "gm"
- },
- {
- "in": "(?<=.*|^\".*)( +\"[\\S])|(?<=.*|\" +.*)( *\\[)",
- "out": " $1$2",
- "flag": "gm"
- },
- {
- "in": "(?<=^\".*|<\\/em>.*)([\\S]\" +|[\\S]\"(?=[,.…ㄱ-ㅎ가-힣]))|(?<=<\\/em>.*)( *\\] *)",
- "out": "$1$2",
- "flag": "gm"
- },
- {
- "in": "(?<=.*? +|\\[|\\[.* +|\\(|\\(.* +|\"|\".*? +)(?)('[\\wㄱ-ㅎ가-힣])",
- "out": "$1$2",
- "flag": "gm"
- },
- {
- "in": "(?<=')(.*?')(?= +.+?|[ㄱ-ㅎ가-힣?!:;,.…—-])|(?<='.*)(')(?=<\\/em>|\")|(?<=\\(')(?=\\))",
- "out": "$1$2 ",
- "flag": "gm"
- }
+ {"comment":"──── ▼ Head 스크립트 ▼ ───────────────────────────────────────────────","in":"","out":"","type":"editinput","ableFlag":false,"flag":"g"},
+ {"comment":"[ 💱 ]ㅤ구조변환 #1ㅤ=ㅤ대사 부호 수정","in":"“|”","out":"\"","type":"editdisplay","ableFlag":false},
+ {"comment":"[ 💱 ]ㅤ구조변환 #2ㅤ=ㅤ생각 부호 수정","in":"‘|’","out":"'","type":"editdisplay","ableFlag":false},
+ {"comment":"──── ▼ Auto 스크립트 ▼ ───────────────────────────────────────────────","in":"","out":"","type":"editinput","ableFlag":false,"flag":"g"},
+ {"comment":"[ 🧷 ]ㅤ이탈릭체 #1ㅤ=ㅤ문장 앞 묶음 추가","in":"^(?!\\d\\.)([\\wㄱ-ㅎ가-힣'])(?!.*[{<>}])|(?<=^\\[.*\\] *|^\\(.*\\) *)([\\wㄱ-ㅎ가-힣'])(?!.*[{<>}])","out":"$1$2","type":"editdisplay","ableFlag":true,"flag":"gm"},
+ {"comment":"[ 🧷 ]ㅤ이탈릭체 #2ㅤ=ㅤ문장 뒤 묶음 추가","in":"(?.*)(?","type":"editdisplay","ableFlag":true,"flag":"gm"},
+ {"comment":"[ 🧷 ]ㅤ대사묶음 #1ㅤ=ㅤ대사 앞 묶음 추가","in":"(?<=.*|^\".*)( +\"[\\S])|(?<=.*|\" +.*)( *\\[)","out":" $1$2","type":"editdisplay","ableFlag":true,"flag":"gm"},
+ {"comment":"[ 🧷 ]ㅤ대사묶음 #2ㅤ=ㅤ대사 뒤 묶음 추가","in":"(?<=^\".*|<\\/em>.*)([\\S]\" +|[\\S]\"(?=[,.…ㄱ-ㅎ가-힣]))|(?<=<\\/em>.*)( *\\] *)","out":"$1$2","type":"editdisplay","ableFlag":true,"flag":"gm"},
+ {"comment":"[ 🧷 ]ㅤ생각묶음 #1ㅤ=ㅤ생각 앞 묶음 추가","in":"(?<=.*? +|\\[|\\[.* +|\\(|\\(.* +|\"|\".*? +)(?)('[\\wㄱ-ㅎ가-힣])","out":"$1$2","type":"editdisplay","ableFlag":true,"flag":"gm"},
+ {"comment":"[ 🧷 ]ㅤ생각묶음 #2ㅤ=ㅤ생각 뒤 묶음 추가","in":"(?<=')(.*?')(?= +.+?|[ㄱ-ㅎ가-힣?!:;,.…—-])|(?<='.*)(')(?=<\\/em>|\")|(?<=\\(')(?=\\))","out":"$1$2 ","type":"editdisplay","ableFlag":true,"flag":"gm"},
+ {"comment":"──── ▼ Key 스크립트 ▼ ────────────────────────────────────────────────","in":"","out":"","type":"editinput","ableFlag":false},
+ {"comment":"[ 📝 ]ㅤ추가핫키 #1ㅤ=ㅤ따옴표 추가 : (`)","in":"(?