diff --git a/webview-ui/src/test/test-utils.tsx b/webview-ui/src/test/test-utils.tsx index a73b9428f4..99cd1405ad 100644 --- a/webview-ui/src/test/test-utils.tsx +++ b/webview-ui/src/test/test-utils.tsx @@ -20,21 +20,55 @@ i18next.use(initReactI18next).init({ resources: { en: { "package-manager": { + title: "Package Manager", + tabs: { + browse: "Browse", + sources: "Sources", + }, filters: { + search: { + placeholder: "Search package manager items...", + }, type: { + label: "Filter by type:", + all: "All types", package: "Package", mode: "Mode", "mcp server": "MCP Server", prompt: "Prompt", }, + sort: { + label: "Sort by:", + name: "Name", + author: "Author", + lastUpdated: "Last Updated", + }, tags: { + label: "Filter by tags:", + available: "{{count}} available", + clear: "Clear tags ({{count}})", + placeholder: "Type to search and select tags...", + noResults: "No matching tags found", + selected: "Showing items with any of the selected tags ({{count}} selected)", clickToFilter: "Click tags to filter items", }, }, items: { + empty: { + noItems: "No package manager items found", + withFilters: "Try adjusting your filters", + noSources: "Try adding a source in the Sources tab", + }, + count: "{{count}} items found", + refresh: { + button: "Refresh", + refreshing: "Refreshing...", + }, card: { by: "by {{author}}", + from: "from {{source}}", viewSource: "View", + viewOnSource: "View on {{source}}", externalComponents: "Contains {{count}} external component", externalComponents_plural: "Contains {{count}} external components", },