feat(localization): update toast messages for improved user feedback and localization support across various components

This commit is contained in:
Will Miao
2025-08-31 16:52:58 +08:00
parent b2428f607c
commit 7bef562541
12 changed files with 68 additions and 95 deletions

View File

@@ -587,17 +587,6 @@
"recipes": "Loading recipes...",
"examples": "Loading examples..."
},
"tags": {
"messages": {
"updated": "Tags updated successfully",
"updateFailed": "Failed to update tags"
},
"validation": {
"maxLength": "Tag should not exceed 30 characters",
"maxCount": "Maximum 30 tags allowed",
"duplicate": "This tag already exists"
}
},
"recipeTab": {
"noRecipesFound": "No recipes found that use this Lora.",
"loadingRecipes": "Loading recipes...",
@@ -716,11 +705,6 @@
"finalizing": "Finalizing..."
}
},
"showcase": {
"exampleImages": {
"deleteFailed": "Failed to delete example image: {error}"
}
},
"duplicates": {
"found": "Found {count} duplicate groups",
"showNotification": "Show Duplicates Notification",
@@ -900,7 +884,11 @@
"renameFailed": "Failed to rename file: {message}",
"moveFailed": "Failed to move model(s): {message}",
"pleaseSelectRoot": "Please select a {type} root directory",
"nameTooLong": "Model name is limited to 100 characters"
"nameTooLong": "Model name is limited to 100 characters",
"verificationAlreadyDone": "This group has already been verified",
"verificationCompleteMismatch": "Verification complete. {count} file(s) have different actual hashes.",
"verificationCompleteSuccess": "Verification complete. All files are confirmed duplicates.",
"verificationFailed": "Failed to verify hashes: {message}"
},
"search": {
"atLeastOneOption": "At least one search option must be selected"
@@ -930,17 +918,6 @@
"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",
"loadError": "Error loading downloads: {message}",
@@ -966,12 +943,6 @@
"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",
@@ -980,19 +951,28 @@
"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"
"duplicates": {
"findFailed": "Failed to find duplicates: {message}",
"noDuplicatesFound": "No duplicate {type} found",
"noItemsSelected": "No {type} selected for deletion",
"deleteError": "Error: {message}",
"deleteSuccess": "Successfully deleted {count} {type}",
"deleteFailed": "Failed to delete {type}: {message}"
},
"favorites": {
"added": "Added to favorites",
"removed": "Removed from favorites",
"updateFailed": "Failed to update favorite status"
"controls": {
"reloadFailed": "Failed to reload {pageType}: {message}",
"refreshFailed": "Failed to {action} {pageType}: {message}",
"fetchMetadataFailed": "Failed to fetch metadata: {message}",
"clearFilterFailed": "Failed to clear custom filter: {message}"
},
"workflow": {
"checkpointNotImplemented": "Send checkpoint to workflow - feature to be implemented",
"failedToSend": "Failed to send LoRA to workflow"
"contextMenu": {
"contentRatingSet": "Content rating set to {level}",
"contentRatingFailed": "Failed to set content rating: {message}",
"relinkSuccess": "Model successfully re-linked to Civitai",
"relinkFailed": "Error: {message}",
"fetchMetadataFirst": "Please fetch metadata from CivitAI first",
"noCivitaiInfo": "No CivitAI information available",
"missingHash": "Model hash not available"
},
"exampleImages": {
"checkError": "Error checking for example images",

View File

@@ -587,17 +587,6 @@
"recipes": "正在加载配方...",
"examples": "正在加载示例..."
},
"tags": {
"messages": {
"updated": "标签更新成功",
"updateFailed": "更新标签失败"
},
"validation": {
"maxLength": "标签长度不能超过30个字符",
"maxCount": "最多允许30个标签",
"duplicate": "该标签已存在"
}
},
"recipeTab": {
"noRecipesFound": "未找到使用此 LoRA 的配方。",
"loadingRecipes": "正在加载配方...",
@@ -897,7 +886,11 @@
"renameFailed": "重命名文件失败:{message}",
"moveFailed": "移动模型失败:{message}",
"pleaseSelectRoot": "请选择 {type} 根目录",
"nameTooLong": "模型名称限制为100个字符"
"nameTooLong": "模型名称限制为100个字符",
"verificationAlreadyDone": "This group has already been verified",
"verificationCompleteMismatch": "Verification complete. {count} file(s) have different actual hashes.",
"verificationCompleteSuccess": "Verification complete. All files are confirmed duplicates.",
"verificationFailed": "Failed to verify hashes: {message}"
},
"search": {
"atLeastOneOption": "至少需要选择一个搜索选项"