mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +02:00
word
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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' }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user