feat: add props system and refactor asset library architecture

This commit is contained in:
saturn
2026-03-19 15:37:47 +08:00
parent 9aff44e37a
commit f364bbc9e4
139 changed files with 9112 additions and 2827 deletions

View File

@@ -9,10 +9,13 @@
"allAssets": "所有资产",
"characters": "角色",
"locations": "场景",
"props": "道具",
"voices": "音色",
"addCharacter": "新建角色",
"addLocation": "新建场景",
"addProp": "新建道具",
"addVoice": "新建音色",
"addAsset": "新建资产",
"downloadAll": "打包下载",
"downloadAllTitle": "下载全部图片资产",
"downloading": "打包中...",
@@ -37,7 +40,10 @@
"confirmDeleteFolder": "确定删除此文件夹吗?文件夹内的资产将移至未分类。",
"confirmDeleteCharacter": "确定删除此角色吗?此操作无法撤回。",
"confirmDeleteLocation": "确定删除此场景吗?此操作无法撤回。",
"confirmDeleteProp": "确定删除此道具吗?此操作无法撤回。",
"confirmDeleteVoice": "确定删除此音色吗?此操作无法撤回。",
"locationLabel": "场景",
"propLabel": "道具",
"voiceName": "音色名称",
"voiceNamePlaceholder": "请输入音色名称",
"voiceNameRequired": "请输入音色名称",
@@ -104,4 +110,4 @@
"dropOrClick": "拖放图片或点击上传",
"supportedFormats": "支持 JPG、PNG 格式"
}
}
}

View File

@@ -3,12 +3,15 @@
"button": "资产库",
"characters": "角色",
"locations": "场景",
"props": "道具",
"noCharacters": "暂无角色",
"noLocations": "暂无场景",
"noProps": "暂无道具",
"addCharacter": "添加角色",
"addLocation": "添加场景",
"addProp": "添加道具",
"generateImage": "生成图片",
"regenerateImage": "重新生成",
"analyzeAssets": "分析资产",
"analyzing": "分析中..."
}
}

View File

@@ -51,6 +51,13 @@
"description": "场景描述",
"descPlaceholder": "请输入场景描述..."
},
"prop": {
"title": "新建道具",
"name": "道具名称",
"namePlaceholder": "请输入道具名称",
"summary": "道具描述",
"summaryPlaceholder": "请输入道具描述..."
},
"artStyle": {
"title": "画面风格"
},
@@ -72,6 +79,8 @@
"addOnlyToAssetHub": "仅添加人物到资产库",
"addOnlyLocation": "仅添加场景",
"addOnlyToAssetHubLocation": "仅添加场景到资产库",
"addOnlyProp": "仅添加道具",
"addOnlyToAssetHubProp": "仅添加道具到资产库",
"addAndGeneratePrefix": "添加并生成",
"generateCountSuffix": "张图片",
"selectGenerateCount": "选择生成数量",

View File

@@ -1,6 +1,7 @@
{
"selectCharacter": "从资产中心选择角色",
"selectLocation": "从资产中心选择场景",
"selectProp": "从资产中心选择道具",
"selectVoice": "从资产中心选择音色",
"searchPlaceholder": "搜索资产名称或文件夹...",
"noAssets": "资产中心暂无资产",
@@ -15,4 +16,4 @@
"copyFailed": "复制失败",
"preview": "试听",
"stop": "停止"
}
}

View File

@@ -3,6 +3,7 @@
"title": "资产确认",
"characters": "角色",
"locations": "场景",
"props": "道具",
"analyze": "分析资产",
"analyzing": "分析中...",
"generateAll": "批量生成全部",
@@ -14,8 +15,10 @@
"assetsTitle": "资产分析",
"characterAssets": "角色资产",
"locationAssets": "场景资产",
"propAssets": "道具资产",
"counts": "{characterCount} 个角色,{appearanceCount} 个形象",
"locationCounts": "{count} 个场景",
"propCounts": "{count} 个道具",
"undoFailed": "撤回失败",
"undoFailedError": "撤回失败: {error}",
"undoSuccess": "已撤回到上一版本",
@@ -70,6 +73,18 @@
"updateFailed": "更新描述失败",
"addFailed": "添加场景失败"
},
"prop": {
"add": "添加道具",
"edit": "编辑道具",
"delete": "删除道具",
"deleteConfirm": "确定要删除这个道具吗?",
"deleteFailed": "删除失败: {error}",
"name": "道具名",
"summary": "简要描述",
"summaryPlaceholder": "描述这个道具",
"regenerateImage": "重新生成",
"addFailed": "添加道具失败"
},
"image": {
"upload": "上传图片",
"uploadReplace": "上传替换图片",
@@ -160,6 +175,7 @@
"modifyFailed": "修改失败",
"editCharacter": "编辑角色",
"editLocation": "编辑场景",
"editProp": "编辑道具",
"saveAndGenerate": "保存并生成",
"generatingAutoClose": "正在生成图片,完成后将自动关闭...",
"aiLocationTip": "输入你想修改的内容AI会自动调整场景描述",
@@ -177,7 +193,7 @@
"showGenerated": "已生成",
"showPending": "待生成",
"assetManagement": "资产管理",
"assetCount": "共 {total} 个资产({appearances} 角色形象 + {locations} 场景)",
"assetCount": "共 {total} 个资产({appearances} 角色形象 + {locations} 场景 + {props} 道具",
"globalAnalyze": "全局分析",
"globalAnalyzing": "正在执行全局资产分析...",
"globalAnalyzingHint": "请勿刷新页面,分析完成后将自动显示结果",
@@ -239,11 +255,17 @@
"aiDesignFailed": "AI 设计失败",
"createFailed": "创建失败"
},
"filterBar": {
"all": "全部",
"allEpisodes": "全部集数",
"episodeLabel": "第{number}集 · {name}"
},
"assetLibrary": {
"button": "资产库",
"title": "资产库",
"copySuccessCharacter": "角色形象复制成功",
"copySuccessLocation": "场景图片复制成功",
"copySuccessProp": "道具图片复制成功",
"copySuccessVoice": "音色复制成功",
"copyFailed": "复制失败: {error}",
"downloadEmpty": "当前没有可下载的图片资产",
@@ -332,4 +354,4 @@
"referenceImagesHint": "(可选,支持粘贴)",
"startEditing": "开始编辑"
}
}
}