Skip to content

Commit 668b24c

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 07e4004 commit 668b24c

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
@@ -2085,8 +2085,8 @@
20852085
"failedToCreateNode": "Failed to create node. Please try again or check console for details.",
20862086
"noModelsInFolder": "No {type} available in this folder",
20872087
"searchAssetsPlaceholder": "Type to search...",
2088-
"uploadModel": "Upload model",
2089-
"uploadModelFromCivitai": "Upload a model from Civitai",
2088+
"uploadModel": "Import model",
2089+
"uploadModelFromCivitai": "Import a model from Civitai",
20902090
"uploadModelFailedToRetrieveMetadata": "Failed to retrieve metadata. Please check the link and try again.",
20912091
"onlyCivitaiUrlsSupported": "Only Civitai URLs are supported",
20922092
"uploadModelDescription1": "Paste a Civitai model download link to add it to your library.",
@@ -2103,16 +2103,16 @@
21032103
"tags": "Tags",
21042104
"tagsPlaceholder": "e.g., models, checkpoint",
21052105
"tagsHelp": "Separate tags with commas",
2106-
"upload": "Upload",
2107-
"uploadingModel": "Uploading model...",
2108-
"uploadSuccess": "Model uploaded successfully!",
2109-
"uploadFailed": "Upload failed",
2106+
"upload": "Import",
2107+
"uploadingModel": "Importing model...",
2108+
"uploadSuccess": "Model imported successfully!",
2109+
"uploadFailed": "Import failed",
21102110
"modelAssociatedWithLink": "The model associated with the link you provided:",
21112111
"modelTypeSelectorLabel": "What type of model is this?",
21122112
"modelTypeSelectorPlaceholder": "Select model type",
21132113
"selectModelType": "Select model type",
21142114
"notSureLeaveAsIs": "Not sure? Just leave this as is",
2115-
"modelUploaded": "Model uploaded! 🎉",
2115+
"modelUploaded": "Model imported! 🎉",
21162116
"findInLibrary": "Find it in the {type} section of the models library.",
21172117
"finish": "Finish",
21182118
"allModels": "All Models",
@@ -2132,7 +2132,7 @@
21322132
"errorUnsafeVirusScan": "CivitAI detected malware or suspicious content in this file",
21332133
"errorModelTypeNotSupported": "This model type is not supported",
21342134
"errorUnknown": "An unexpected error occurred",
2135-
"errorUploadFailed": "Failed to upload asset. Please try again.",
2135+
"errorUploadFailed": "Failed to import asset. Please try again.",
21362136
"ariaLabel": {
21372137
"assetCard": "{name} - {type} asset",
21382138
"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)