refactor: Add v2 warning
This commit is contained in:
@@ -567,5 +567,6 @@ export const languageChinese = {
|
||||
"syntax": "Syntax(语法)",
|
||||
"run": "运行",
|
||||
"noMessage": "输入一些文字开始聊天。",
|
||||
"combineTranslation": "合并翻译"
|
||||
"combineTranslation": "合并翻译",
|
||||
"v2Warning": "警告:V2 不再受支持。它可能不包含所有数据。"
|
||||
}
|
||||
@@ -648,4 +648,5 @@ export const languageEnglish = {
|
||||
search: "Search",
|
||||
goCharacterOnImport: "Go to Character on Realm Import",
|
||||
format: "Format",
|
||||
v2Warning: "Warning: V2 card is no longer supported. it may not contain all the data.",
|
||||
}
|
||||
@@ -585,5 +585,7 @@ export const languageKorean = {
|
||||
"hypaChunkSize": "청크 크기",
|
||||
"hypaV2Desc": "하이파메모리 V2는 벡터 검색과 요약을 둘 다 사용하는 장기기억 시스템입니다.",
|
||||
"supaDesc": "수파메모리는 요약을 사용하는 장기기억 시스템입니다.",
|
||||
"hanuraiDesc": "하느라이메모리는 벡터 검색을 사용하는 장기기억 시스템입니다."
|
||||
"hanuraiDesc": "하느라이메모리는 벡터 검색을 사용하는 장기기억 시스템입니다.",
|
||||
"v2Warning": "주의: V2 카드는 더 이상 지원되지 않습니다. 일부 데이터가 누락될 수 있습니다.",
|
||||
|
||||
}
|
||||
@@ -567,5 +567,6 @@ export const languageChineseTraditional = {
|
||||
"syntax": "Syntax(語法)",
|
||||
"run": "執行",
|
||||
"noMessage": "輸入一些文字開始聊天。",
|
||||
"combineTranslation": "合併翻譯"
|
||||
"combineTranslation": "合併翻譯",
|
||||
"v2Warning": "警告:V2 不再受支援。它可能不包含所有數據。"
|
||||
}
|
||||
@@ -403,21 +403,22 @@
|
||||
<span class="text-textcolor2 text-sm">{language.jsonDesc}</span>
|
||||
{:else if cardExportType === 'ccv2'}
|
||||
<span class="text-textcolor2 text-sm">{language.ccv2Desc}</span>
|
||||
<span class="text-red-500 text-sm">{language.v2Warning}</span>
|
||||
{:else}
|
||||
<span class="text-textcolor2 text-sm">{language.realmDesc}</span>
|
||||
{/if}
|
||||
<div class="flex items-center flex-wrap mt-2">
|
||||
{#if $alertStore.submsg === 'preset'}
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>Risupreset</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'json'} on:click={() => {cardExportType = 'json'}}>JSON</button>
|
||||
{:else if $alertStore.submsg === 'module'}
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>JSON</button>
|
||||
{:else}
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>Character Card V3</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'ccv2'} on:click={() => {cardExportType = 'ccv2'}}>Character Card V2</button>
|
||||
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'ccv2'} on:click={() => {cardExportType = 'ccv2'}}>Character Card V2</button>
|
||||
{/if}
|
||||
</div>
|
||||
{#if $alertStore.submsg === '' && cardExportType === ''}
|
||||
|
||||
Reference in New Issue
Block a user