Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

feat(webv2): rename gallery Assets to Uploads

Josh Corbettd77a74a91360
diff --git a/invokeai/frontend/webv2/public/locales/en.json b/invokeai/frontend/webv2/public/locales/en.json
index ff6ce62634..35b0a40a17 100644
--- a/invokeai/frontend/webv2/public/locales/en.json
+++ b/invokeai/frontend/webv2/public/locales/en.json
@@ -171,7 +171,7 @@
"apply": "Apply",
"archived": "Archived",
"asc": "Asc",
- "assets": "Assets",
+ "assets": "Uploads",
"cancel": "Cancel",
"cancelFailed": "Cancel failed",
"canceled": "Canceled",
@@ -1547,7 +1547,7 @@
"generatorImagesFromBoard": "Images from board",
"generatorImagesCategory": "Category",
"generatorCategoryImages": "Images",
- "generatorCategoryAssets": "Assets",
+ "generatorCategoryAssets": "Uploads",
"generatorImages_one": "{{count}} image",
"generatorImages_other": "{{count}} images",
"generatorNRandomValues_one": "{{count}} random value",
@@ -3219,7 +3219,7 @@
"rename": "Rename layer",
"reorder": "Reorder layer",
"runWorkflow": "Run workflow",
- "saveLayerToAssets": "Save layer to assets",
+ "saveLayerToAssets": "Save layer to uploads",
"select": "Select {{name}}",
"selectObject": "Select object",
"toggleAutoNegative": "Toggle auto-negative",
@@ -3734,13 +3734,13 @@
"alwaysShowDimensions": "Always show dimensions",
"archiveBoard": "Archive Board",
"archivedBoards": "Archived boards",
- "assetCount_one": "{{count}} asset",
- "assetCount_other": "{{count}} assets",
+ "assetCount_one": "{{count}} upload",
+ "assetCount_other": "{{count}} uploads",
"boardActionsForBoard": "Board actions for {{name}}",
"boardArchived": "Archived board \"{{name}}\"",
"boardArchivePreparing_one": "Preparing an image archive of \"{{name}}\". {{count}} video will be omitted.",
"boardArchivePreparing_other": "Preparing an image archive of \"{{name}}\". {{count}} videos will be omitted.",
- "boardCountsBreakdown": "{{media}} media, {{assets}} assets",
+ "boardCountsBreakdown": "{{media}} media, {{assets}} uploads",
"boardCreated": "Created board \"{{name}}\"",
"boardGroups": {
"boards": "Boards",
@@ -3960,7 +3960,7 @@
"uploadFailed": "No files uploaded. {{failed}} failed.",
"uploadMediaToBoard": "Upload media to {{name}}",
"uploadPartialTitle": "Uploaded {{succeeded}} of {{total}} files",
- "uploadSplit": "Images appear in Assets; videos appear in Media.",
+ "uploadSplit": "Images appear in Uploads; videos appear in Media.",
"uploadSuccessTitle_one": "Uploaded {{count}} file",
"uploadSuccessTitle_other": "Uploaded {{count}} files",
"uploadSummary": "{{images}} and {{videos}} uploaded to {{board}}. {{failed}} failed.",
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetView.test.ts b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetView.test.ts
index 73a7c0fd9a..11945133e9 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetView.test.ts
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetView.test.ts
@@ -44,7 +44,7 @@ describe('mixed-media gallery translations', () => {
images: instance.t('widgets.gallery.imageCount', { count: 2 }),
videos: instance.t('widgets.gallery.videoCount', { count: 3 }),
})
- ).toBe('2 images · 3 videos · 4 assets');
+ ).toBe('2 images · 3 videos · 4 uploads');
expect(instance.t('widgets.gallery.downloadBoardWithOmission', { count: 2 })).toBe(
'Download Board (2 videos omitted)'
);
@@ -56,7 +56,7 @@ describe('mixed-media gallery translations', () => {
videos: instance.t('widgets.gallery.videoCount', { count: 3 }),
})
).toBe('2 images and 3 videos uploaded to Clips. 1 failed.');
- expect(instance.t('widgets.gallery.uploadSplit')).toBe('Images appear in Assets; videos appear in Media.');
+ expect(instance.t('widgets.gallery.uploadSplit')).toBe('Images appear in Uploads; videos appear in Media.');
expect(
instance.t('widgets.gallery.deleteBoardMediaOutcome', {
failedImages: instance.t('widgets.gallery.imageCount', { count: 1 }),
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.ts b/invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.ts
index a57398e327..8b4fbb29d3 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.ts
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.ts
@@ -822,7 +822,7 @@ export const LAYER_CONTEXT_ACTION_DEFINITIONS: readonly LayerContextActionDefini
supportedLayerTypes: ALL_LAYER_TYPES,
},
{
- defaultLabel: 'Save layer to assets',
+ defaultLabel: 'Save layer to uploads',
handler: ({ effects }) => effects.saveToAssets(),
icon: SaveIcon,
id: 'save-to-assets',