Skip to content

Commit 6dff404

Browse files
luke-mino-altherrclaude
authored andcommitted
refactor: change model button terminology from Upload to Import (#6800)
## Summary Changes user-facing text from "Upload" to "Import" for the model import feature, as "Import" better describes importing models from external sources like Civitai. ## Changes - Updated button icon from `upload` to `package-plus` - Changed all user-facing text in English locale from "Upload" to "Import" 🤖 Generated with [Claude Code](https://claude.com/claude-code) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6800-refactor-change-model-button-terminology-from-Upload-to-Import-2b26d73d365081059ce6e4a548f943ce) by [Unito](https://www.unito.io) Co-authored-by: Claude <noreply@anthropic.com>
1 parent b2f2144 commit 6dff404

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/locales/en/main.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,8 +2075,8 @@
20752075
"failedToCreateNode": "Failed to create node. Please try again or check console for details.",
20762076
"noModelsInFolder": "No {type} available in this folder",
20772077
"searchAssetsPlaceholder": "Type to search...",
2078-
"uploadModel": "Upload model",
2079-
"uploadModelFromCivitai": "Upload a model from Civitai",
2078+
"uploadModel": "Import model",
2079+
"uploadModelFromCivitai": "Import a model from Civitai",
20802080
"uploadModelFailedToRetrieveMetadata": "Failed to retrieve metadata. Please check the link and try again.",
20812081
"onlyCivitaiUrlsSupported": "Only Civitai URLs are supported",
20822082
"uploadModelDescription1": "Paste a Civitai model download link to add it to your library.",
@@ -2093,16 +2093,16 @@
20932093
"tags": "Tags",
20942094
"tagsPlaceholder": "e.g., models, checkpoint",
20952095
"tagsHelp": "Separate tags with commas",
2096-
"upload": "Upload",
2097-
"uploadingModel": "Uploading model...",
2098-
"uploadSuccess": "Model uploaded successfully!",
2099-
"uploadFailed": "Upload failed",
2096+
"upload": "Import",
2097+
"uploadingModel": "Importing model...",
2098+
"uploadSuccess": "Model imported successfully!",
2099+
"uploadFailed": "Import failed",
21002100
"modelAssociatedWithLink": "The model associated with the link you provided:",
21012101
"modelTypeSelectorLabel": "What type of model is this?",
21022102
"modelTypeSelectorPlaceholder": "Select model type",
21032103
"selectModelType": "Select model type",
21042104
"notSureLeaveAsIs": "Not sure? Just leave this as is",
2105-
"modelUploaded": "Model uploaded! 🎉",
2105+
"modelUploaded": "Model imported! 🎉",
21062106
"findInLibrary": "Find it in the {type} section of the models library.",
21072107
"finish": "Finish",
21082108
"allModels": "All Models",
@@ -2122,7 +2122,7 @@
21222122
"errorUnsafeVirusScan": "CivitAI detected malware or suspicious content in this file",
21232123
"errorModelTypeNotSupported": "This model type is not supported",
21242124
"errorUnknown": "An unexpected error occurred",
2125-
"errorUploadFailed": "Failed to upload asset. Please try again.",
2125+
"errorUploadFailed": "Failed to import asset. Please try again.",
21262126
"ariaLabel": {
21272127
"assetCard": "{name} - {type} asset",
21282128
"loadingAsset": "Loading asset"

src/platform/assets/components/AssetBrowserModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
:on-click="handleUploadClick"
3939
>
4040
<template #icon>
41-
<i class="icon-[lucide--upload]" />
41+
<i class="icon-[lucide--package-plus]" />
4242
</template>
4343
</IconTextButton>
4444
</div>

0 commit comments

Comments
 (0)