mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 07:05:43 -03:00
feat(localization): enhance toast messages for better user feedback and localization support
This commit is contained in:
160
locales/en.json
160
locales/en.json
@@ -703,6 +703,7 @@
|
||||
"sendToAll": "Send to All"
|
||||
},
|
||||
"exampleImages": {
|
||||
"opened": "Example images folder opened",
|
||||
"openingFolder": "Opening example images folder",
|
||||
"failedToOpen": "Failed to open example images folder"
|
||||
}
|
||||
@@ -764,5 +765,164 @@
|
||||
"title": "Provide Feedback",
|
||||
"description": "Your feedback helps shape future updates! Share your thoughts:"
|
||||
}
|
||||
},
|
||||
"toast": {
|
||||
"general": {
|
||||
"cannotInteractStandalone": "Cannot interact with ComfyUI in standalone mode",
|
||||
"failedWorkflowInfo": "Failed to get workflow information",
|
||||
"pageInitFailed": "Failed to initialize {pageType} page. Please reload.",
|
||||
"statisticsLoadFailed": "Failed to load statistics data",
|
||||
"unexpectedError": "An unexpected error occurred"
|
||||
},
|
||||
"loras": {
|
||||
"fetchFromCivitai": "Fetch from Civitai",
|
||||
"downloadFromUrl": "Download from URL",
|
||||
"copyOnlyForLoras": "Copy syntax is only available for LoRAs",
|
||||
"noLorasSelected": "No LoRAs selected",
|
||||
"missingDataForLoras": "Missing data for {count} LoRAs",
|
||||
"noValidLorasToCopy": "No valid LoRAs to copy",
|
||||
"sendOnlyForLoras": "Send to workflow is only available for LoRAs",
|
||||
"noValidLorasToSend": "No valid LoRAs to send",
|
||||
"syntaxCopiedWithGroups": "LoRA syntax with trigger word groups copied to clipboard",
|
||||
"downloadSuccessful": "LoRAs downloaded successfully",
|
||||
"allDownloadSuccessful": "All {count} LoRAs downloaded successfully",
|
||||
"downloadPartialSuccess": "Downloaded {completed} of {total} LoRAs"
|
||||
},
|
||||
"recipes": {
|
||||
"nameSaved": "Recipe \"{name}\" saved successfully",
|
||||
"nameUpdated": "Recipe name updated successfully",
|
||||
"tagsUpdated": "Recipe tags updated successfully",
|
||||
"sourceUrlUpdated": "Source URL updated successfully",
|
||||
"noRecipeId": "No recipe ID available",
|
||||
"copyFailed": "Error copying recipe syntax: {message}",
|
||||
"noMissingLoras": "No missing LoRAs to download",
|
||||
"missingLorasInfoFailed": "Failed to get information for missing LoRAs",
|
||||
"preparingForDownloadFailed": "Error preparing LoRAs for download",
|
||||
"enterLoraName": "Please enter a LoRA name or syntax",
|
||||
"reconnectedSuccessfully": "LoRA reconnected successfully",
|
||||
"reconnectFailed": "Error reconnecting LoRA: {message}",
|
||||
"cannotSend": "Cannot send recipe: Missing recipe ID",
|
||||
"sendFailed": "Failed to send recipe to workflow",
|
||||
"sendError": "Error sending recipe to workflow",
|
||||
"cannotDelete": "Cannot delete recipe: Missing recipe ID",
|
||||
"deleteConfirmationError": "Error showing delete confirmation",
|
||||
"deletedSuccessfully": "Recipe deleted successfully",
|
||||
"deleteFailed": "Error deleting recipe: {message}",
|
||||
"cannotShare": "Cannot share recipe: Missing recipe ID",
|
||||
"preparingForSharing": "Preparing recipe for sharing...",
|
||||
"downloadStarted": "Recipe download started",
|
||||
"shareError": "Error sharing recipe: {message}",
|
||||
"sharePreparationError": "Error preparing recipe for sharing"
|
||||
},
|
||||
"models": {
|
||||
"noModelsSelected": "No models selected",
|
||||
"deletedSuccessfully": "Successfully deleted {count} {type}(s)",
|
||||
"deleteFailed": "Error: {error}",
|
||||
"deleteFailedGeneral": "Failed to delete models",
|
||||
"selectedAdditional": "Selected {count} additional {type}(s)",
|
||||
"refreshMetadataFailed": "Failed to refresh metadata",
|
||||
"nameCannotBeEmpty": "Model name cannot be empty",
|
||||
"nameUpdatedSuccessfully": "Model name updated successfully",
|
||||
"nameUpdateFailed": "Failed to update model name",
|
||||
"baseModelUpdated": "Base model updated successfully",
|
||||
"baseModelUpdateFailed": "Failed to update base model",
|
||||
"invalidCharactersRemoved": "Invalid characters removed from filename",
|
||||
"filenameCannotBeEmpty": "File name cannot be empty",
|
||||
"renameFailed": "Failed to rename file: {message}",
|
||||
"moveFailed": "Failed to move model(s): {message}",
|
||||
"pleaseSelectRoot": "Please select a {type} root directory"
|
||||
},
|
||||
"search": {
|
||||
"atLeastOneOption": "At least one search option must be selected"
|
||||
},
|
||||
"settings": {
|
||||
"loraRootsFailed": "Failed to load LoRA roots: {message}",
|
||||
"checkpointRootsFailed": "Failed to load checkpoint roots: {message}",
|
||||
"embeddingRootsFailed": "Failed to load embedding roots: {message}",
|
||||
"mappingsUpdated": "Base model path mappings updated ({count} mapping{plural})",
|
||||
"mappingsCleared": "Base model path mappings cleared",
|
||||
"mappingSaveFailed": "Failed to save base model mappings: {message}",
|
||||
"downloadTemplatesUpdated": "Download path templates updated",
|
||||
"downloadTemplatesFailed": "Failed to save download path templates: {message}",
|
||||
"settingsUpdated": "Settings updated: {setting}",
|
||||
"compactModeToggled": "Compact Mode {state}",
|
||||
"compactModeEnabled": "enabled",
|
||||
"compactModeDisabled": "disabled",
|
||||
"settingSaveFailed": "Failed to save setting: {message}",
|
||||
"displayDensitySet": "Display Density set to {density}",
|
||||
"languageChangeFailed": "Failed to change language: {message}",
|
||||
"cacheCleared": "Cache files have been cleared successfully. Cache will rebuild on next action.",
|
||||
"cacheClearFailed": "Failed to clear cache: {error}",
|
||||
"cacheClearError": "Error clearing cache: {message}"
|
||||
},
|
||||
"filters": {
|
||||
"applied": "Filters applied - showing {count} {type}",
|
||||
"cleared": "Filters cleared"
|
||||
},
|
||||
"downloads": {
|
||||
"selectVersion": "Please select a version",
|
||||
"versionExists": "This version already exists in your library",
|
||||
"completed": "Download completed successfully",
|
||||
"alreadyInProgress": "Download already in progress",
|
||||
"enterLocationFirst": "Please enter a download location first",
|
||||
"started": "Example images download started",
|
||||
"startFailed": "Failed to start download",
|
||||
"paused": "Download paused",
|
||||
"pauseFailed": "Failed to pause download",
|
||||
"resumed": "Download resumed",
|
||||
"resumeFailed": "Failed to resume download",
|
||||
"imagesCompleted": "Example images {action} completed",
|
||||
"imagesFailed": "Example images {action} failed"
|
||||
},
|
||||
"import": {
|
||||
"enterRecipeName": "Please enter a recipe name",
|
||||
"selectImageFirst": "Please select an image first",
|
||||
"folderTreeFailed": "Failed to load folder tree",
|
||||
"folderTreeError": "Error loading folder tree",
|
||||
"imagesImported": "Example images imported successfully",
|
||||
"importFailed": "Failed to import example images: {message}"
|
||||
},
|
||||
"triggerWords": {
|
||||
"loadFailed": "Could not load trained words",
|
||||
"tooLong": "Trigger word should not exceed 30 words",
|
||||
"tooMany": "Maximum 30 trigger words allowed",
|
||||
"alreadyExists": "This trigger word already exists",
|
||||
"updated": "Trigger words updated successfully",
|
||||
"updateFailed": "Failed to update trigger words",
|
||||
"copyFailed": "Copy failed"
|
||||
},
|
||||
"examples": {
|
||||
"pathUpdated": "Example images path updated successfully",
|
||||
"deleted": "Example image deleted",
|
||||
"deleteFailed": "Failed to delete example image",
|
||||
"setPreviewFailed": "Failed to set preview image"
|
||||
},
|
||||
"virtual": {
|
||||
"loadFailed": "Failed to load items",
|
||||
"loadMoreFailed": "Failed to load more items",
|
||||
"loadPositionFailed": "Failed to load items at this position"
|
||||
},
|
||||
"bulk": {
|
||||
"unableToSelectAll": "Unable to select all items"
|
||||
},
|
||||
"tags": {
|
||||
"tagTooLong": "Tag is too long (max {max} characters)",
|
||||
"tooManyTags": "Too many tags (max {max} tags)",
|
||||
"tagAlreadyExists": "Tag already exists"
|
||||
},
|
||||
"favorites": {
|
||||
"added": "Added to favorites",
|
||||
"removed": "Removed from favorites",
|
||||
"updateFailed": "Failed to update favorite status"
|
||||
},
|
||||
"workflow": {
|
||||
"checkpointNotImplemented": "Send checkpoint to workflow - feature to be implemented",
|
||||
"failedToSend": "Failed to send LoRA to workflow"
|
||||
},
|
||||
"exampleImages": {
|
||||
"checkError": "Error checking for example images",
|
||||
"missingHash": "Missing model hash information.",
|
||||
"noRemoteImages": "No remote example images available for this model on Civitai"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -730,5 +730,71 @@
|
||||
"title": "提供反馈",
|
||||
"description": "您的反馈有助于塑造未来的更新!分享您的想法:"
|
||||
}
|
||||
},
|
||||
"uiHelpers": {
|
||||
"clipboard": {
|
||||
"copied": "已复制到剪贴板",
|
||||
"copyFailed": "复制失败"
|
||||
},
|
||||
"workflow": {
|
||||
"noSupportedNodes": "工作流中未找到支持的目标节点",
|
||||
"communicationFailed": "与 ComfyUI 通信失败",
|
||||
"loraAdded": "LoRA 已添加到工作流",
|
||||
"loraReplaced": "LoRA 已在工作流中替换",
|
||||
"recipeAdded": "配方已添加到工作流",
|
||||
"recipeReplaced": "配方已在工作流中替换",
|
||||
"loraFailedToSend": "发送 LoRA 到工作流失败",
|
||||
"recipeFailedToSend": "发送配方到工作流失败"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"recipe": "配方",
|
||||
"lora": "LoRA",
|
||||
"replace": "替换",
|
||||
"append": "追加",
|
||||
"selectTargetNode": "选择目标节点",
|
||||
"sendToAll": "发送到全部"
|
||||
},
|
||||
"exampleImages": {
|
||||
"opened": "示例图片文件夹已打开",
|
||||
"openingFolder": "正在打开示例图片文件夹",
|
||||
"failedToOpen": "打开示例图片文件夹失败"
|
||||
}
|
||||
},
|
||||
"toast": {
|
||||
"general": {
|
||||
"cannotInteractStandalone": "无法在独立模式下与 ComfyUI 交互",
|
||||
"failedWorkflowInfo": "获取工作流信息失败",
|
||||
"pageInitFailed": "初始化 {pageType} 页面失败。请重新加载。",
|
||||
"statisticsLoadFailed": "加载统计数据失败",
|
||||
"unexpectedError": "发生意外错误"
|
||||
},
|
||||
"loras": {
|
||||
"copyOnlyForLoras": "复制语法仅适用于 LoRA",
|
||||
"noLorasSelected": "未选择任何 LoRA",
|
||||
"missingDataForLoras": "{count} 个 LoRA 缺少数据",
|
||||
"noValidLorasToCopy": "没有有效的 LoRA 可复制",
|
||||
"sendOnlyForLoras": "发送到工作流仅适用于 LoRA",
|
||||
"noValidLorasToSend": "没有有效的 LoRA 可发送",
|
||||
"syntaxCopiedWithGroups": "LoRA 语法与触发词组已复制到剪贴板",
|
||||
"downloadSuccessful": "LoRA 下载成功",
|
||||
"allDownloadSuccessful": "所有 {count} 个 LoRA 下载成功",
|
||||
"downloadPartialSuccess": "已下载 {completed} / {total} 个 LoRA"
|
||||
},
|
||||
"models": {
|
||||
"noModelsSelected": "未选择任何模型",
|
||||
"deletedSuccessfully": "成功删除 {count} 个{type}",
|
||||
"deleteFailed": "错误:{error}",
|
||||
"deleteFailedGeneral": "删除模型失败",
|
||||
"selectedAdditional": "额外选择了 {count} 个{type}",
|
||||
"refreshMetadataFailed": "刷新元数据失败"
|
||||
},
|
||||
"search": {
|
||||
"atLeastOneOption": "至少需要选择一个搜索选项"
|
||||
},
|
||||
"virtual": {
|
||||
"loadFailed": "加载项目失败",
|
||||
"loadMoreFailed": "加载更多项目失败",
|
||||
"loadPositionFailed": "在此位置加载项目失败"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user