mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 07:05:43 -03:00
Enhance localization and UI for model management features
- Added new localization keys for usage statistics, collection analysis, storage efficiency, and insights in English and Chinese. - Updated modal templates to utilize localization for delete, exclude, and bulk delete confirmations. - Improved download modal with localized labels and placeholders. - Enhanced example access modal with localized titles and descriptions. - Updated help modal to include localized content for update vlogs and documentation sections. - Refactored move modal to use localization for labels and buttons. - Implemented localization in relink Civitai modal for warnings and help text. - Updated update modal to reflect localized text for actions and progress messages. - Enhanced statistics template with localized titles for charts and lists.
This commit is contained in:
127
locales/en.json
127
locales/en.json
@@ -291,7 +291,30 @@
|
||||
"totalSize": "Total Size",
|
||||
"favoriteModels": "Favorite Models"
|
||||
},
|
||||
"usage": {
|
||||
"mostUsedLoras": "Most Used LoRAs",
|
||||
"mostUsedCheckpoints": "Most Used Checkpoints",
|
||||
"mostUsedEmbeddings": "Most Used Embeddings"
|
||||
},
|
||||
"collection": {
|
||||
"popularTags": "Popular Tags",
|
||||
"modelTypes": "Model Types",
|
||||
"collectionAnalysis": "Collection Analysis"
|
||||
},
|
||||
"storage": {
|
||||
"storageUsage": "Storage Usage",
|
||||
"largestModels": "Largest Models",
|
||||
"storageEfficiency": "Storage vs Usage Efficiency"
|
||||
},
|
||||
"insights": {
|
||||
"smartInsights": "Smart Insights",
|
||||
"recommendations": "Recommendations"
|
||||
},
|
||||
"charts": {
|
||||
"collectionOverview": "Collection Overview",
|
||||
"baseModelDistribution": "Base Model Distribution",
|
||||
"usageTrends": "Usage Trends (Last 30 Days)",
|
||||
"usageDistribution": "Usage Distribution",
|
||||
"modelsByType": "Models by Type",
|
||||
"modelsByBaseModel": "Models by Base Model",
|
||||
"modelsBySize": "Models by File Size",
|
||||
@@ -320,6 +343,12 @@
|
||||
"useDefaultPath": "Use Default Path",
|
||||
"useDefaultPathTooltip": "When enabled, files are automatically organized using configured path templates",
|
||||
"selectRootDirectory": "Select a root directory",
|
||||
"selectModelRoot": "Select Model Root:",
|
||||
"targetFolderPath": "Target Folder Path:",
|
||||
"browseFolders": "Browse Folders:",
|
||||
"createNewFolder": "Create new folder",
|
||||
"pathPlaceholder": "Type folder path or select from tree below...",
|
||||
"root": "Root",
|
||||
"download": "Download",
|
||||
"cancel": "Cancel"
|
||||
},
|
||||
@@ -341,6 +370,79 @@
|
||||
"x": "X",
|
||||
"xxx": "XXX"
|
||||
}
|
||||
},
|
||||
"deleteModel": {
|
||||
"title": "Delete Model",
|
||||
"message": "Are you sure you want to delete this model and all associated files?"
|
||||
},
|
||||
"excludeModel": {
|
||||
"title": "Exclude Model",
|
||||
"message": "Are you sure you want to exclude this model? Excluded models won't appear in searches or model lists."
|
||||
},
|
||||
"deleteDuplicateRecipes": {
|
||||
"title": "Delete Duplicate Recipes",
|
||||
"message": "Are you sure you want to delete the selected duplicate recipes?",
|
||||
"countMessage": "recipes will be permanently deleted."
|
||||
},
|
||||
"deleteDuplicateModels": {
|
||||
"title": "Delete Duplicate Models",
|
||||
"message": "Are you sure you want to delete the selected duplicate models?",
|
||||
"countMessage": "models will be permanently deleted."
|
||||
},
|
||||
"clearCache": {
|
||||
"title": "Clear Cache Files",
|
||||
"message": "Are you sure you want to clear all cache files?",
|
||||
"description": "This will remove all cached model data. The system will need to rebuild the cache on next startup, which may take some time depending on your model collection size.",
|
||||
"action": "Clear Cache"
|
||||
},
|
||||
"bulkDelete": {
|
||||
"title": "Delete Multiple Models",
|
||||
"message": "Are you sure you want to delete all selected models and their associated files?",
|
||||
"countMessage": "models will be permanently deleted.",
|
||||
"action": "Delete All"
|
||||
},
|
||||
"exampleAccess": {
|
||||
"title": "Local Example Images",
|
||||
"message": "No local example images found for this model. View options:",
|
||||
"downloadOption": {
|
||||
"title": "Download from Civitai",
|
||||
"description": "Save remote examples locally for offline use and faster loading"
|
||||
},
|
||||
"importOption": {
|
||||
"title": "Import Your Own",
|
||||
"description": "Add your own custom examples for this model"
|
||||
},
|
||||
"footerNote": "Remote examples are still viewable in the model details even without local copies"
|
||||
},
|
||||
"moveModel": {
|
||||
"targetLocationPreview": "Target Location Preview:",
|
||||
"selectModelRoot": "Select Model Root:",
|
||||
"targetFolderPath": "Target Folder Path:",
|
||||
"browseFolders": "Browse Folders:",
|
||||
"createNewFolder": "Create new folder",
|
||||
"pathPlaceholder": "Type folder path or select from tree below...",
|
||||
"root": "Root"
|
||||
},
|
||||
"relinkCivitai": {
|
||||
"title": "Re-link to Civitai",
|
||||
"warning": "Warning:",
|
||||
"warningText": "This is a potentially destructive operation. Re-linking will:",
|
||||
"warningList": {
|
||||
"overrideMetadata": "Override existing metadata",
|
||||
"modifyHash": "Potentially modify the model hash",
|
||||
"unintendedConsequences": "May have other unintended consequences"
|
||||
},
|
||||
"proceedText": "Only proceed if you're sure this is what you want.",
|
||||
"urlLabel": "Civitai Model URL:",
|
||||
"urlPlaceholder": "https://civitai.com/models/649516/model-name?modelVersionId=726676",
|
||||
"helpText": {
|
||||
"title": "Paste any Civitai model URL. Supported formats:",
|
||||
"format1": "https://civitai.com/models/649516",
|
||||
"format2": "https://civitai.com/models/649516?modelVersionId=726676",
|
||||
"format3": "https://civitai.com/models/649516/model-name?modelVersionId=726676",
|
||||
"note": "Note: If no modelVersionId is provided, the latest version will be used."
|
||||
},
|
||||
"confirmAction": "Confirm Re-link"
|
||||
}
|
||||
},
|
||||
"errors": {
|
||||
@@ -472,13 +574,36 @@
|
||||
},
|
||||
"gettingStarted": {
|
||||
"title": "Getting Started with LoRA Manager"
|
||||
},
|
||||
"updateVlogs": {
|
||||
"title": "Latest Updates",
|
||||
"watchOnYouTube": "Watch on YouTube",
|
||||
"playlistTitle": "LoRA Manager Updates Playlist",
|
||||
"playlistDescription": "Watch all update videos showcasing the latest features and improvements."
|
||||
},
|
||||
"documentation": {
|
||||
"title": "Documentation",
|
||||
"general": "General",
|
||||
"troubleshooting": "Troubleshooting",
|
||||
"modelManagement": "Model Management",
|
||||
"recipes": "Recipes",
|
||||
"settings": "Settings & Configuration",
|
||||
"extensions": "Extensions",
|
||||
"newBadge": "NEW"
|
||||
}
|
||||
},
|
||||
"update": {
|
||||
"title": "Check for Updates",
|
||||
"currentVersion": "Current Version",
|
||||
"newVersion": "New Version",
|
||||
"commit": "Commit"
|
||||
"commit": "Commit",
|
||||
"viewOnGitHub": "View on GitHub",
|
||||
"updateNow": "Update Now",
|
||||
"preparingUpdate": "Preparing update...",
|
||||
"changelog": "Changelog",
|
||||
"checkingUpdates": "Checking for updates...",
|
||||
"checkingMessage": "Please wait while we check for the latest version.",
|
||||
"showNotifications": "Show update notifications"
|
||||
},
|
||||
"support": {
|
||||
"title": "Support the Project",
|
||||
|
||||
@@ -160,10 +160,10 @@
|
||||
"selectedSuffix": "已选择",
|
||||
"viewSelected": "点击查看选中项目",
|
||||
"sendToWorkflow": "发送到工作流",
|
||||
"copyAll": "复制所有选中的LoRA语法",
|
||||
"refreshAll": "刷新选中模型的Civitai元数据",
|
||||
"moveAll": "移动选中模型到文件夹",
|
||||
"deleteAll": "删除选中模型",
|
||||
"copyAll": "复制LoRA语法",
|
||||
"refreshAll": "刷新元数据",
|
||||
"moveAll": "移动到文件夹",
|
||||
"deleteAll": "删除",
|
||||
"clear": "清除选择"
|
||||
},
|
||||
"contextMenu": {
|
||||
@@ -291,7 +291,30 @@
|
||||
"totalSize": "总大小",
|
||||
"favoriteModels": "收藏模型"
|
||||
},
|
||||
"usage": {
|
||||
"mostUsedLoras": "最常用的 LoRA",
|
||||
"mostUsedCheckpoints": "最常用的 Checkpoint",
|
||||
"mostUsedEmbeddings": "最常用的 Embedding"
|
||||
},
|
||||
"collection": {
|
||||
"popularTags": "热门标签",
|
||||
"modelTypes": "模型类型",
|
||||
"collectionAnalysis": "收藏分析"
|
||||
},
|
||||
"storage": {
|
||||
"storageUsage": "存储使用",
|
||||
"largestModels": "最大的模型",
|
||||
"storageEfficiency": "存储与使用效率"
|
||||
},
|
||||
"insights": {
|
||||
"smartInsights": "智能洞察",
|
||||
"recommendations": "建议"
|
||||
},
|
||||
"charts": {
|
||||
"collectionOverview": "收藏概览",
|
||||
"baseModelDistribution": "基础模型分布",
|
||||
"usageTrends": "使用趋势(最近30天)",
|
||||
"usageDistribution": "使用分布",
|
||||
"modelsByType": "按类型统计模型",
|
||||
"modelsByBaseModel": "按基础模型统计",
|
||||
"modelsBySize": "按文件大小统计",
|
||||
@@ -320,6 +343,12 @@
|
||||
"useDefaultPath": "使用默认路径",
|
||||
"useDefaultPathTooltip": "启用时,文件会使用配置的路径模板自动组织",
|
||||
"selectRootDirectory": "选择根目录",
|
||||
"selectModelRoot": "选择模型根目录:",
|
||||
"targetFolderPath": "目标文件夹路径:",
|
||||
"browseFolders": "浏览文件夹:",
|
||||
"createNewFolder": "创建新文件夹",
|
||||
"pathPlaceholder": "输入文件夹路径或从下面的树中选择...",
|
||||
"root": "根目录",
|
||||
"download": "下载",
|
||||
"cancel": "取消"
|
||||
},
|
||||
@@ -341,6 +370,79 @@
|
||||
"x": "成人级",
|
||||
"xxx": "重口级"
|
||||
}
|
||||
},
|
||||
"deleteModel": {
|
||||
"title": "删除模型",
|
||||
"message": "确定要删除此模型及其所有关联文件吗?"
|
||||
},
|
||||
"excludeModel": {
|
||||
"title": "排除模型",
|
||||
"message": "确定要排除此模型吗?被排除的模型不会出现在搜索或模型列表中。"
|
||||
},
|
||||
"deleteDuplicateRecipes": {
|
||||
"title": "删除重复配方",
|
||||
"message": "确定要删除选中的重复配方吗?",
|
||||
"countMessage": "个配方将被永久删除。"
|
||||
},
|
||||
"deleteDuplicateModels": {
|
||||
"title": "删除重复模型",
|
||||
"message": "确定要删除选中的重复模型吗?",
|
||||
"countMessage": "个模型将被永久删除。"
|
||||
},
|
||||
"clearCache": {
|
||||
"title": "清理缓存文件",
|
||||
"message": "确定要清理所有缓存文件吗?",
|
||||
"description": "这将删除所有缓存的模型数据。系统需要在下次启动时重建缓存,这可能需要一些时间,具体取决于您的模型收藏规模。",
|
||||
"action": "清理缓存"
|
||||
},
|
||||
"bulkDelete": {
|
||||
"title": "删除多个模型",
|
||||
"message": "确定要删除所有选中的模型及其关联文件吗?",
|
||||
"countMessage": "个模型将被永久删除。",
|
||||
"action": "全部删除"
|
||||
},
|
||||
"exampleAccess": {
|
||||
"title": "本地示例图片",
|
||||
"message": "未找到此模型的本地示例图片。查看选项:",
|
||||
"downloadOption": {
|
||||
"title": "从 Civitai 下载",
|
||||
"description": "将远程示例保存到本地,供离线使用和快速加载"
|
||||
},
|
||||
"importOption": {
|
||||
"title": "导入您自己的",
|
||||
"description": "为此模型添加您自己的自定义示例"
|
||||
},
|
||||
"footerNote": "即使没有本地副本,仍可在模型详情中查看远程示例"
|
||||
},
|
||||
"moveModel": {
|
||||
"targetLocationPreview": "目标位置预览:",
|
||||
"selectModelRoot": "选择模型根目录:",
|
||||
"targetFolderPath": "目标文件夹路径:",
|
||||
"browseFolders": "浏览文件夹:",
|
||||
"createNewFolder": "创建新文件夹",
|
||||
"pathPlaceholder": "输入文件夹路径或从下面的树中选择...",
|
||||
"root": "根目录"
|
||||
},
|
||||
"relinkCivitai": {
|
||||
"title": "重新链接到 Civitai",
|
||||
"warning": "警告:",
|
||||
"warningText": "这是一个可能具有破坏性的操作。重新链接将:",
|
||||
"warningList": {
|
||||
"overrideMetadata": "覆盖现有元数据",
|
||||
"modifyHash": "可能修改模型哈希值",
|
||||
"unintendedConsequences": "可能有其他意想不到的后果"
|
||||
},
|
||||
"proceedText": "只有在您确定这是您想要的操作时才继续。",
|
||||
"urlLabel": "Civitai 模型 URL:",
|
||||
"urlPlaceholder": "https://civitai.com/models/649516/model-name?modelVersionId=726676",
|
||||
"helpText": {
|
||||
"title": "粘贴任何 Civitai 模型 URL。支持的格式:",
|
||||
"format1": "https://civitai.com/models/649516",
|
||||
"format2": "https://civitai.com/models/649516?modelVersionId=726676",
|
||||
"format3": "https://civitai.com/models/649516/model-name?modelVersionId=726676",
|
||||
"note": "注意:如果未提供 modelVersionId,将使用最新版本。"
|
||||
},
|
||||
"confirmAction": "确认重新链接"
|
||||
}
|
||||
},
|
||||
"errors": {
|
||||
@@ -472,13 +574,36 @@
|
||||
},
|
||||
"gettingStarted": {
|
||||
"title": "LoRA 管理器快速入门"
|
||||
},
|
||||
"updateVlogs": {
|
||||
"title": "最新更新",
|
||||
"watchOnYouTube": "在 YouTube 上观看",
|
||||
"playlistTitle": "LoRA 管理器更新播放列表",
|
||||
"playlistDescription": "观看所有展示最新功能和改进的更新视频。"
|
||||
},
|
||||
"documentation": {
|
||||
"title": "文档",
|
||||
"general": "一般",
|
||||
"troubleshooting": "故障排除",
|
||||
"modelManagement": "模型管理",
|
||||
"recipes": "配方",
|
||||
"settings": "设置和配置",
|
||||
"extensions": "扩展",
|
||||
"newBadge": "新功能"
|
||||
}
|
||||
},
|
||||
"update": {
|
||||
"title": "检查更新",
|
||||
"currentVersion": "当前版本",
|
||||
"newVersion": "新版本",
|
||||
"commit": "提交"
|
||||
"commit": "提交",
|
||||
"viewOnGitHub": "在 GitHub 上查看",
|
||||
"updateNow": "立即更新",
|
||||
"preparingUpdate": "准备更新...",
|
||||
"changelog": "更新日志",
|
||||
"checkingUpdates": "检查更新中...",
|
||||
"checkingMessage": "请稍候,我们正在检查最新版本。",
|
||||
"showNotifications": "显示更新通知"
|
||||
},
|
||||
"support": {
|
||||
"title": "支持项目",
|
||||
|
||||
Reference in New Issue
Block a user