This commit is contained in:
pa
2026-03-15 21:28:46 +09:00
parent 9e0116fce7
commit 82339adff3
3 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -574,10 +574,10 @@
"steam_screenshots_description": "Opens your Steam screenshots folder" "steam_screenshots_description": "Opens your Steam screenshots folder"
}, },
"header": "Pictures", "header": "Pictures",
"screenshot": "Screenshot Management", "screenshot": "Screenshot Manager",
"screenshot_description": "Manage screenshots and view metadata", "screenshot_description": "View and manage screenshot metadata",
"inventory": "VRC+ Images & Inventory Management", "gallery": "Image Manager",
"inventory_description": "Manage VRC+ Images & Inventory" "gallery_description": "Manage images and inventory"
}, },
"shortcuts": { "shortcuts": {
"header": "Shortcuts", "header": "Shortcuts",
+2 -2
View File
@@ -23,8 +23,8 @@ const toolDefinitions = [
category: 'image', category: 'image',
iconKey: 'image', iconKey: 'image',
navIcon: 'ri-image-line', navIcon: 'ri-image-line',
titleKey: 'view.tools.pictures.inventory', titleKey: 'view.tools.pictures.gallery',
descriptionKey: 'view.tools.pictures.inventory_description', descriptionKey: 'view.tools.pictures.gallery_description',
navEligible: true, navEligible: true,
action: { type: 'route', routeName: 'gallery' } action: { type: 'route', routeName: 'gallery' }
}, },
+5 -5
View File
@@ -101,17 +101,17 @@ describe('Tools.vue', () => {
expect(push).toHaveBeenCalledWith({ name: 'screenshot-metadata' }); expect(push).toHaveBeenCalledWith({ name: 'screenshot-metadata' });
}); });
test('clicking inventory tool calls showGalleryPage', async () => { test('clicking gallery tool calls showGalleryPage', async () => {
const wrapper = mount(Tools); const wrapper = mount(Tools);
await flushPromises(); await flushPromises();
const inventoryItem = findToolItemByTitle( const galleryItem = findToolItemByTitle(
wrapper, wrapper,
'view.tools.pictures.inventory' 'view.tools.pictures.gallery'
); );
expect(inventoryItem).toBeTruthy(); expect(galleryItem).toBeTruthy();
await inventoryItem.trigger('click'); await galleryItem.trigger('click');
expect(showGalleryPage).toHaveBeenCalled(); expect(showGalleryPage).toHaveBeenCalled();
}); });