Skip to content

Commit 6e2e591

Browse files
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 27fcc45 commit 6e2e591

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
@@ -2076,8 +2076,8 @@
20762076
"failedToCreateNode": "Failed to create node. Please try again or check console for details.",
20772077
"noModelsInFolder": "No {type} available in this folder",
20782078
"searchAssetsPlaceholder": "Type to search...",
2079-
"uploadModel": "Upload model",
2080-
"uploadModelFromCivitai": "Upload a model from Civitai",
2079+
"uploadModel": "Import model",
2080+
"uploadModelFromCivitai": "Import a model from Civitai",
20812081
"uploadModelFailedToRetrieveMetadata": "Failed to retrieve metadata. Please check the link and try again.",
20822082
"onlyCivitaiUrlsSupported": "Only Civitai URLs are supported",
20832083
"uploadModelDescription1": "Paste a Civitai model download link to add it to your library.",
@@ -2094,16 +2094,16 @@
20942094
"tags": "Tags",
20952095
"tagsPlaceholder": "e.g., models, checkpoint",
20962096
"tagsHelp": "Separate tags with commas",
2097-
"upload": "Upload",
2098-
"uploadingModel": "Uploading model...",
2099-
"uploadSuccess": "Model uploaded successfully!",
2100-
"uploadFailed": "Upload failed",
2097+
"upload": "Import",
2098+
"uploadingModel": "Importing model...",
2099+
"uploadSuccess": "Model imported successfully!",
2100+
"uploadFailed": "Import failed",
21012101
"modelAssociatedWithLink": "The model associated with the link you provided:",
21022102
"modelTypeSelectorLabel": "What type of model is this?",
21032103
"modelTypeSelectorPlaceholder": "Select model type",
21042104
"selectModelType": "Select model type",
21052105
"notSureLeaveAsIs": "Not sure? Just leave this as is",
2106-
"modelUploaded": "Model uploaded! 🎉",
2106+
"modelUploaded": "Model imported! 🎉",
21072107
"findInLibrary": "Find it in the {type} section of the models library.",
21082108
"finish": "Finish",
21092109
"allModels": "All Models",
@@ -2123,7 +2123,7 @@
21232123
"errorUnsafeVirusScan": "CivitAI detected malware or suspicious content in this file",
21242124
"errorModelTypeNotSupported": "This model type is not supported",
21252125
"errorUnknown": "An unexpected error occurred",
2126-
"errorUploadFailed": "Failed to upload asset. Please try again.",
2126+
"errorUploadFailed": "Failed to import asset. Please try again.",
21272127
"ariaLabel": {
21282128
"assetCard": "{name} - {type} asset",
21292129
"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)