fix(web): close the i18n coverage gaps in the non-JSX scanner and locale catalogs (#2727)

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
João Salavisa
2026-08-16 23:03:29 +00:00
committed by GitHub
parent 7c96621de1
commit 5257dfbaab
284 changed files with 4672 additions and 886 deletions
@@ -4,6 +4,7 @@ import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react
import { searchUserPRs, searchUserIssues } from "@/lib/api/domains/github-api";
import type { GitHubPR, GitHubIssue } from "@/lib/types/github";
import type { PresetOption } from "./search-bar";
import { t } from "@/lib/i18n";
type SearchKind = "pr" | "issue";
@@ -114,7 +115,7 @@ export function useGitHubSearch<T extends GitHubPR | GitHubIssue>({
setState((s) => ({
items: [],
loading: false,
error: err instanceof Error ? err.message : "Failed to search GitHub",
error: err instanceof Error ? err.message : t("github:failedToSearchGitHub"),
lastFetchedAt: s.lastFetchedAt,
total: 0,
}));