Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
feat: Cmd+K command search across notes and transcripts
Gabriel Steindc522935f7b6
diff --git a/src/components/CommandSearch.tsx b/src/components/CommandSearch.tsxnew file mode 100644index 000000000..930740a12--- /dev/null+++ b/src/components/CommandSearch.tsx@@ -0,0 +1,432 @@+import { useState, useEffect, useCallback, useMemo, useRef } from "react";+import { useTranslation } from "react-i18next";+import * as DialogPrimitive from "@radix-ui/react-dialog";+import { Search, FileText, Mic, Folder } from "lucide-react";+import { cn } from "./lib/utils";+import type { NoteItem, FolderItem, TranscriptionItem } from "../types/electron.js";+import { normalizeDbDate } from "../utils/dateFormatting";++export interface CommandSearchProps {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ transcriptions: TranscriptionItem[];+ onNoteSelect: (noteId: number) => void;+ onTranscriptSelect: (transcriptId: number) => void;+}++type FlatItem =+ | { kind: "note"; note: NoteItem }+ | { kind: "transcript"; transcript: TranscriptionItem };++function relativeTime(+ dateStr: string,+ t: (key: string, opts?: Record<string, unknown>) => string+): string {+ const date = normalizeDbDate(dateStr);+ if (Number.isNaN(date.getTime())) return "";+ const diff = Date.now() - date.getTime();+ const minutes = Math.floor(diff / 60000);+ const hours = Math.floor(diff / 3600000);+ const days = Math.floor(diff / 86400000);+ if (minutes < 1) return t("notes.list.timeNow");+ if (minutes < 60) return t("notes.list.minutesAgo", { count: minutes });+ if (hours < 24) return t("notes.list.hoursAgo", { count: hours });+ if (days < 7) return t("notes.list.daysAgo", { count: days });+ return date.toLocaleDateString(undefined, { month: "short", day: "numeric" });+}++function stripMarkdownPreview(text: string): string {+ return text+ .replace(/#{1,6}\s+/g, "")+ .replace(/[*_~`]+/g, "")+ .replace(/\[([^\]]+)\]\([^)]+\)/g, "$1")+ .replace(/\n+/g, " ")+ .trim();+}++export default function CommandSearch({+ open,+ onOpenChange,+ transcriptions,+ onNoteSelect,+ onTranscriptSelect,+}: CommandSearchProps) {+ const { t } = useTranslation();+ const [query, setQuery] = useState("");+ const [notes, setNotes] = useState<NoteItem[]>([]);+ const [folders, setFolders] = useState<FolderItem[]>([]);+ const [selectedIndex, setSelectedIndex] = useState(0);+ const inputRef = useRef<HTMLInputElement>(null);+ const listRef = useRef<HTMLDivElement>(null);+ const searchTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);++ useEffect(() => {+ window.electronAPI+ .getFolders()+ .then(setFolders)+ .catch(() => {});+ }, []);++ useEffect(() => {+ if (!open) return;+ setQuery("");+ setSelectedIndex(0);+ window.electronAPI+ .getNotes()+ .then(setNotes)+ .catch(() => {});+ }, [open]);++ useEffect(() => {+ if (searchTimerRef.current) clearTimeout(searchTimerRef.current);++ if (!query.trim()) {+ window.electronAPI+ .getNotes()+ .then(setNotes)+ .catch(() => {});+ return;+ }++ searchTimerRef.current = setTimeout(async () => {+ try {+ const results = await window.electronAPI.searchNotes(query);+ setNotes(results);+ } catch {+ // keep current results+ }+ }, 200);++ return () => {+ if (searchTimerRef.current) clearTimeout(searchTimerRef.current);+ };+ }, [query]);++ useEffect(() => {+ setSelectedIndex(0);+ }, [notes, query]);++ const folderMap = useMemo(() => new Map(folders.map((f) => [f.id, f])), [folders]);++ const noteGroups = useMemo(() => {+ const groups = new Map<number | null, NoteItem[]>();+ for (const note of notes) {+ const fid = note.folder_id ?? null;+ if (!groups.has(fid)) groups.set(fid, []);+ groups.get(fid)!.push(note);+ }+ return [...groups.entries()]+ .sort(([a], [b]) => {+ if (a === null) return -1;+ if (b === null) return 1;+ const fa = folderMap.get(a);+ const fb = folderMap.get(b);+ if (fa?.is_default) return -1;+ if (fb?.is_default) return 1;+ return (fa?.sort_order ?? 0) - (fb?.sort_order ?? 0);+ })+ .map(([fid, items]) => ({+ folder: fid !== null ? (folderMap.get(fid) ?? null) : null,+ items,+ }));+ }, [notes, folderMap]);++ const filteredTranscripts = useMemo(() => {+ const slice = query.trim()+ ? transcriptions.filter((tr) => tr.text.toLowerCase().includes(query.toLowerCase()))+ : transcriptions;+ return slice.slice(0, 5);+ }, [transcriptions, query]);++ const flatItems = useMemo<FlatItem[]>(() => {+ const items: FlatItem[] = [];+ for (const group of noteGroups) {+ for (const note of group.items) items.push({ kind: "note", note });+ }+ for (const transcript of filteredTranscripts) items.push({ kind: "transcript", transcript });+ return items;+ }, [noteGroups, filteredTranscripts]);++ const selectItem = useCallback(+ (item: FlatItem) => {+ if (item.kind === "note") onNoteSelect(item.note.id);+ else onTranscriptSelect(item.transcript.id);+ onOpenChange(false);+ },+ [onNoteSelect, onTranscriptSelect, onOpenChange]+ );++ const handleKeyDown = useCallback(+ (e: React.KeyboardEvent<HTMLInputElement>) => {+ if (e.key === "ArrowDown") {+ e.preventDefault();+ setSelectedIndex((i) => Math.min(i + 1, flatItems.length - 1));+ } else if (e.key === "ArrowUp") {+ e.preventDefault();+ setSelectedIndex((i) => Math.max(i - 1, 0));+ } else if (e.key === "Enter") {+ e.preventDefault();+ const item = flatItems[selectedIndex];+ if (item) selectItem(item);+ }+ },+ [flatItems, selectedIndex, selectItem]+ );++ useEffect(() => {+ const el = listRef.current?.querySelector(`[data-idx="${selectedIndex}"]`);+ el?.scrollIntoView({ block: "nearest" });+ }, [selectedIndex]);++ const hasResults = flatItems.length > 0;++ return (+ <DialogPrimitive.Root open={open} onOpenChange={onOpenChange}>+ <DialogPrimitive.Portal>+ <DialogPrimitive.Overlay className="fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" />+ <DialogPrimitive.Content+ className={cn(+ "fixed left-[50%] top-[18%] z-50 w-full max-w-xl translate-x-[-50%]",+ "rounded-xl border border-border/60 bg-card shadow-2xl overflow-hidden",+ "dark:bg-surface-2 dark:border-border dark:shadow-modal",+ "data-[state=open]:animate-in data-[state=closed]:animate-out",+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",+ "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",+ "data-[state=open]:slide-in-from-top-[44%] data-[state=closed]:slide-out-to-top-[44%]",+ "data-[state=open]:slide-in-from-left-1/2 data-[state=closed]:slide-out-to-left-1/2"+ )}+ >+ <DialogPrimitive.Title className="sr-only">+ {t("commandSearch.title")}+ </DialogPrimitive.Title>+ <DialogPrimitive.Description className="sr-only">+ {t("commandSearch.description")}+ </DialogPrimitive.Description>++ {/* Search input */}+ <div className="flex items-center gap-2.5 px-3.5 py-3 border-b border-border/40">+ <Search size={14} className="shrink-0 text-muted-foreground/50" />+ <input+ ref={inputRef}+ value={query}+ onChange={(e) => setQuery(e.target.value)}+ onKeyDown={handleKeyDown}+ placeholder={t("commandSearch.placeholder")}+ autoFocus+ className="flex-1 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/40 outline-none"+ />+ {query && (+ <button+ onClick={() => setQuery("")}+ className="text-[11px] text-muted-foreground/40 hover:text-muted-foreground transition-colors outline-none"+ >+ ✕+ </button>+ )}+ </div>++ {/* Results list */}+ <div ref={listRef} className="overflow-y-auto max-h-[340px] p-1.5">+ {!hasResults ? (+ <div className="flex items-center justify-center py-10">+ <p className="text-xs text-muted-foreground/50">+ {query.trim() ? t("commandSearch.noResults") : t("commandSearch.emptyState")}+ </p>+ </div>+ ) : (+ <>+ {noteGroups.length > 0 && (+ <div>+ {noteGroups.map((group) => {+ const label = group.folder?.name ?? t("commandSearch.sections.notes");+ const Icon = group.folder ? Folder : FileText;+ return (+ <div key={group.folder?.id ?? "null-folder"}>+ <SectionHeader icon={<Icon size={11} />} label={label} />+ {group.items.map((note) => {+ const idx = flatItems.findIndex(+ (fi) => fi.kind === "note" && fi.note.id === note.id+ );+ return (+ <NoteRow+ key={note.id}+ note={note}+ idx={idx}+ isSelected={selectedIndex === idx}+ onSelect={() => selectItem({ kind: "note", note })}+ onHover={() => setSelectedIndex(idx)}+ t={t}+ />+ );+ })}+ </div>+ );+ })}+ </div>+ )}++ {filteredTranscripts.length > 0 && (+ <div className={noteGroups.length > 0 ? "mt-0.5" : ""}>+ <SectionHeader+ icon={<Mic size={11} />}+ label={t("commandSearch.sections.transcripts")}+ />+ {filteredTranscripts.map((transcript) => {+ const idx = flatItems.findIndex(+ (fi) => fi.kind === "transcript" && fi.transcript.id === transcript.id+ );+ return (+ <TranscriptRow+ key={transcript.id}+ transcript={transcript}+ idx={idx}+ isSelected={selectedIndex === idx}+ onSelect={() => selectItem({ kind: "transcript", transcript })}+ onHover={() => setSelectedIndex(idx)}+ t={t}+ />+ );+ })}+ </div>+ )}+ </>+ )}+ </div>++ {/* Footer */}+ <div className="flex items-center gap-4 px-3.5 py-2 border-t border-border/30 bg-muted/15">+ <FooterHint keys={["↑", "↓"]} label={t("commandSearch.footer.navigate")} />+ <FooterHint keys={["↵"]} label={t("commandSearch.footer.open")} />+ <FooterHint keys={["Esc"]} label={t("commandSearch.footer.dismiss")} />+ </div>+ </DialogPrimitive.Content>+ </DialogPrimitive.Portal>+ </DialogPrimitive.Root>+ );+}++function SectionHeader({ icon, label }: { icon: React.ReactNode; label: string }) {+ return (+ <div className="flex items-center gap-1.5 px-2.5 pt-2 pb-1">+ <span className="text-muted-foreground/45">{icon}</span>+ <span className="text-[10px] font-semibold uppercase tracking-wide text-muted-foreground/50">+ {label}+ </span>+ </div>+ );+}++function NoteRow({+ note,+ idx,+ isSelected,+ onSelect,+ onHover,+ t,+}: {+ note: NoteItem;+ idx: number;+ isSelected: boolean;+ onSelect: () => void;+ onHover: () => void;+ t: (key: string, opts?: Record<string, unknown>) => string;+}) {+ const preview = stripMarkdownPreview(note.content).slice(0, 90);+ return (+ <button+ type="button"+ data-idx={idx}+ onClick={onSelect}+ onMouseEnter={onHover}+ className={cn(+ "group flex items-center gap-2.5 w-full px-2.5 py-2 rounded-lg text-left transition-colors duration-100 outline-none",+ isSelected+ ? "bg-primary/8 dark:bg-primary/10"+ : "hover:bg-foreground/4 dark:hover:bg-white/4"+ )}+ >+ <FileText+ size={13}+ className={cn(+ "shrink-0 mt-px transition-colors",+ isSelected ? "text-primary" : "text-muted-foreground/40"+ )}+ />+ <div className="flex-1 min-w-0">+ <p+ className={cn(+ "text-xs font-medium truncate",+ note.title ? "text-foreground" : "italic text-muted-foreground/50"+ )}+ >+ {note.title || t("notes.list.untitled")}+ </p>+ {preview && (+ <p className="text-[11px] text-muted-foreground/55 truncate mt-px">{preview}</p>+ )}+ </div>+ <span className="text-[10px] text-muted-foreground/35 tabular-nums shrink-0">+ {relativeTime(note.updated_at, t)}+ </span>+ </button>+ );+}++function TranscriptRow({+ transcript,+ idx,+ isSelected,+ onSelect,+ onHover,+ t,+}: {+ transcript: TranscriptionItem;+ idx: number;+ isSelected: boolean;+ onSelect: () => void;+ onHover: () => void;+ t: (key: string, opts?: Record<string, unknown>) => string;+}) {+ return (+ <button+ type="button"+ data-idx={idx}+ onClick={onSelect}+ onMouseEnter={onHover}+ className={cn(+ "group flex items-center gap-2.5 w-full px-2.5 py-2 rounded-lg text-left transition-colors duration-100 outline-none",+ isSelected+ ? "bg-primary/8 dark:bg-primary/10"+ : "hover:bg-foreground/4 dark:hover:bg-white/4"+ )}+ >+ <Mic+ size={13}+ className={cn(+ "shrink-0 mt-px transition-colors",+ isSelected ? "text-primary" : "text-muted-foreground/40"+ )}+ />+ <p className="flex-1 text-xs text-foreground/75 truncate min-w-0">{transcript.text}</p>+ <span className="text-[10px] text-muted-foreground/35 tabular-nums shrink-0">+ {relativeTime(transcript.created_at, t)}+ </span>+ </button>+ );+}++function FooterHint({ keys, label }: { keys: string[]; label: string }) {+ return (+ <div className="flex items-center gap-1">+ {keys.map((k) => (+ <kbd+ key={k}+ className="text-[10px] px-1 py-px rounded border border-border/40 bg-muted/50 text-muted-foreground/55 font-mono leading-tight"+ >+ {k}+ </kbd>+ ))}+ <span className="text-[10px] text-muted-foreground/40 ml-0.5">{label}</span>+ </div>+ );+}diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsxindex 348337b8e..9da31723f 100644--- a/src/components/ControlPanel.tsx+++ b/src/components/ControlPanel.tsx@@ -29,6 +29,7 @@ const ReferralModal = React.lazy(() => import("./ReferralModal"));const PersonalNotesView = React.lazy(() => import("./notes/PersonalNotesView"));const DictionaryView = React.lazy(() => import("./DictionaryView"));const UploadAudioView = React.lazy(() => import("./notes/UploadAudioView"));+const CommandSearch = React.lazy(() => import("./CommandSearch"));export default function ControlPanel() {const { t } = useTranslation();@@ -43,6 +44,7 @@ export default function ControlPanel() {() => localStorage.getItem("aiCTADismissed") === "true");const [showReferrals, setShowReferrals] = useState(false);+ const [showSearch, setShowSearch] = useState(false);const [showCloudMigrationBanner, setShowCloudMigrationBanner] = useState(false);const [activeView, setActiveView] = useState<ControlPanelView>("home");const [gpuAccelAvailable, setGpuAccelAvailable] = useState<{ cuda: boolean; vulkan: boolean }>({@@ -88,6 +90,18 @@ export default function ControlPanel() {loadTranscriptions();}, []);+ useEffect(() => {+ const handleKeyDown = (e: KeyboardEvent) => {+ const mod = platform === "darwin" ? e.metaKey : e.ctrlKey;+ if (mod && e.key === "k") {+ e.preventDefault();+ setShowSearch(true);+ }+ };+ window.addEventListener("keydown", handleKeyDown);+ return () => window.removeEventListener("keydown", handleKeyDown);+ }, []);+useEffect(() => {if (updateStatus.updateDownloaded && !isDownloading) {toast({@@ -354,10 +368,28 @@ export default function ControlPanel() {</Suspense>)}+ {showSearch && (+ <Suspense fallback={null}>+ <CommandSearch+ open={showSearch}+ onOpenChange={setShowSearch}+ transcriptions={history}+ onNoteSelect={(id) => {+ setActiveNoteId(id);+ setActiveView("personal-notes");+ }}+ onTranscriptSelect={() => {+ setActiveView("home");+ }}+ />+ </Suspense>+ )}+<div className="flex flex-1 overflow-hidden"><ControlPanelSidebaractiveView={activeView}onViewChange={setActiveView}+ onOpenSearch={() => setShowSearch(true)}onOpenSettings={() => {setSettingsSection(undefined);setShowSettings(true);diff --git a/src/components/ControlPanelSidebar.tsx b/src/components/ControlPanelSidebar.tsxindex 89bd57cea..f0bceab04 100644--- a/src/components/ControlPanelSidebar.tsx+++ b/src/components/ControlPanelSidebar.tsx@@ -9,11 +9,15 @@ import {HelpCircle,UserCircle,X,+ Search,} from "lucide-react";import logoIcon from "../assets/icon.png";import { useTranslation } from "react-i18next";import { cn } from "./lib/utils";import SupportDropdown from "./ui/SupportDropdown";+import { getCachedPlatform } from "../utils/platform";++const platform = getCachedPlatform();export type ControlPanelView = "home" | "personal-notes" | "dictionary" | "upload";@@ -21,6 +25,7 @@ interface ControlPanelSidebarProps {activeView: ControlPanelView;onViewChange: (view: ControlPanelView) => void;onOpenSettings: () => void;+ onOpenSearch?: () => void;onOpenReferrals?: () => void;onUpgrade?: () => void;onUpgradeCheckout?: () => void;@@ -39,6 +44,7 @@ export default function ControlPanelSidebar({activeView,onViewChange,onOpenSettings,+ onOpenSearch,onOpenReferrals,onUpgrade,onUpgradeCheckout,@@ -83,7 +89,24 @@ export default function ControlPanelSidebar({style={{ WebkitAppRegion: "drag" } as React.CSSProperties}/>- <nav className="flex flex-col gap-0.5 px-2 pt-4 pb-2">+ {onOpenSearch && (+ <div className="px-2 pb-1">+ <button+ onClick={onOpenSearch}+ className="group flex items-center w-full h-7 px-2.5 rounded-md border border-border/25 dark:border-white/8 bg-foreground/3 dark:bg-white/3 hover:bg-foreground/5 dark:hover:bg-white/5 transition-colors gap-2 outline-none focus-visible:ring-1 focus-visible:ring-primary/30"+ >+ <Search size={11} className="text-muted-foreground/50 shrink-0" />+ <span className="flex-1 text-[11px] text-left text-muted-foreground/50">+ {t("commandSearch.shortPlaceholder")}+ </span>+ <kbd className="text-[10px] text-muted-foreground/35 font-mono leading-none">+ {platform === "darwin" ? "⌘K" : "⌃K"}+ </kbd>+ </button>+ </div>+ )}++ <nav className="flex flex-col gap-0.5 px-2 pt-2 pb-2">{navItems.map((item) => {const Icon = item.icon;const isActive = activeView === item.id;diff --git a/src/locales/de/translation.json b/src/locales/de/translation.jsonindex 4765a26d2..594469ed0 100644--- a/src/locales/de/translation.json+++ b/src/locales/de/translation.json@@ -920,7 +920,11 @@"enterprise": {"name": "Enterprise","price": "Individuell",- "features": ["Cloud-Synchronisation", "Team-Funktionen (demnächst)", "SSO & Compliance"],+ "features": [+ "Cloud-Synchronisation",+ "Team-Funktionen (demnächst)",+ "SSO & Compliance"+ ],"cta": "Kontakt aufnehmen"},"currentPlan": "Aktueller Tarif"@@ -1609,7 +1613,7 @@},"searchEmpty": {"title": "Keine Ergebnisse",- "description": "Keine Notizen für \u201e{{query}}\u201c gefunden."+ "description": "Keine Notizen für „{{query}}“ gefunden."},"noteType": {"personal": "persönlich",@@ -1623,5 +1627,22 @@"deleteConfirmTitle": "Notiz löschen?","deleteConfirmDescription": "Diese Notiz wird dauerhaft gelöscht und kann nicht wiederhergestellt werden.","deleteConfirm": "Löschen"+ },+ "commandSearch": {+ "title": "Suche",+ "description": "In Notizen und Transkripten suchen",+ "shortPlaceholder": "Suche",+ "placeholder": "Notizen und Transkripte durchsuchen…",+ "sections": {+ "notes": "Notizen",+ "transcripts": "Transkripte"+ },+ "noResults": "Keine Ergebnisse",+ "emptyState": "Tippen, um zu suchen",+ "footer": {+ "navigate": "Navigieren",+ "open": "Öffnen",+ "dismiss": "Schließen"+ }}}diff --git a/src/locales/en/translation.json b/src/locales/en/translation.jsonindex 63553cb71..1e5b9fdf8 100644--- a/src/locales/en/translation.json+++ b/src/locales/en/translation.json@@ -1623,5 +1623,22 @@"deleteConfirmTitle": "Delete note?","deleteConfirmDescription": "This note will be permanently deleted and cannot be recovered.","deleteConfirm": "Delete"+ },+ "commandSearch": {+ "title": "Search",+ "description": "Search across notes and transcripts",+ "shortPlaceholder": "Search",+ "placeholder": "Search notes and transcripts…",+ "sections": {+ "notes": "Notes",+ "transcripts": "Transcripts"+ },+ "noResults": "No results",+ "emptyState": "Start typing to search",+ "footer": {+ "navigate": "Navigate",+ "open": "Open",+ "dismiss": "Dismiss"+ }}}diff --git a/src/locales/es/translation.json b/src/locales/es/translation.jsonindex 4fd0e4a07..b6a693e32 100644--- a/src/locales/es/translation.json+++ b/src/locales/es/translation.json@@ -1627,5 +1627,22 @@"deleteConfirmTitle": "¿Eliminar nota?","deleteConfirmDescription": "Esta nota se eliminará permanentemente y no se podrá recuperar.","deleteConfirm": "Eliminar"+ },+ "commandSearch": {+ "title": "Buscar",+ "description": "Buscar en notas y transcripciones",+ "shortPlaceholder": "Buscar",+ "placeholder": "Buscar notas y transcripciones…",+ "sections": {+ "notes": "Notas",+ "transcripts": "Transcripciones"+ },+ "noResults": "Sin resultados",+ "emptyState": "Escribe para buscar",+ "footer": {+ "navigate": "Navegar",+ "open": "Abrir",+ "dismiss": "Cerrar"+ }}}diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.jsonindex 211c1fc23..34241587b 100644--- a/src/locales/fr/translation.json+++ b/src/locales/fr/translation.json@@ -1627,5 +1627,22 @@"deleteConfirmTitle": "Supprimer la note ?","deleteConfirmDescription": "Cette note sera supprimée définitivement et ne pourra pas être récupérée.","deleteConfirm": "Supprimer"+ },+ "commandSearch": {+ "title": "Rechercher",+ "description": "Rechercher dans les notes et transcriptions",+ "shortPlaceholder": "Rechercher",+ "placeholder": "Rechercher notes et transcriptions…",+ "sections": {+ "notes": "Notes",+ "transcripts": "Transcriptions"+ },+ "noResults": "Aucun résultat",+ "emptyState": "Commencez à taper pour rechercher",+ "footer": {+ "navigate": "Naviguer",+ "open": "Ouvrir",+ "dismiss": "Fermer"+ }}}diff --git a/src/locales/it/translation.json b/src/locales/it/translation.jsonindex 831030549..885c720fc 100644--- a/src/locales/it/translation.json+++ b/src/locales/it/translation.json@@ -1627,5 +1627,22 @@"deleteConfirmTitle": "Eliminare la nota?","deleteConfirmDescription": "Questa nota verrà eliminata definitivamente e non potrà essere recuperata.","deleteConfirm": "Elimina"+ },+ "commandSearch": {+ "title": "Cerca",+ "description": "Cerca tra note e trascrizioni",+ "shortPlaceholder": "Cerca",+ "placeholder": "Cerca note e trascrizioni…",+ "sections": {+ "notes": "Note",+ "transcripts": "Trascrizioni"+ },+ "noResults": "Nessun risultato",+ "emptyState": "Inizia a digitare per cercare",+ "footer": {+ "navigate": "Naviga",+ "open": "Apri",+ "dismiss": "Chiudi"+ }}}diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.jsonindex 32de38cc6..e275f041b 100644--- a/src/locales/ja/translation.json+++ b/src/locales/ja/translation.json@@ -920,7 +920,11 @@"enterprise": {"name": "Enterprise","price": "カスタム",- "features": ["クラウド同期", "チーム機能(近日公開)", "SSO & コンプライアンス"],+ "features": [+ "クラウド同期",+ "チーム機能(近日公開)",+ "SSO & コンプライアンス"+ ],"cta": "お問い合わせ"},"currentPlan": "現在のプラン"@@ -1623,5 +1627,22 @@"deleteConfirmTitle": "ノートを削除しますか?","deleteConfirmDescription": "このノートは完全に削除され、復元できません。","deleteConfirm": "削除"+ },+ "commandSearch": {+ "title": "検索",+ "description": "ノートと文字起こしを検索",+ "shortPlaceholder": "検索",+ "placeholder": "ノートと文字起こしを検索…",+ "sections": {+ "notes": "ノート",+ "transcripts": "文字起こし"+ },+ "noResults": "結果なし",+ "emptyState": "入力して検索",+ "footer": {+ "navigate": "移動",+ "open": "開く",+ "dismiss": "閉じる"+ }}}diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.jsonindex 04b1c4b5a..8b9301abb 100644--- a/src/locales/pt/translation.json+++ b/src/locales/pt/translation.json@@ -1627,5 +1627,22 @@"deleteConfirmTitle": "Excluir nota?","deleteConfirmDescription": "Esta nota será excluída permanentemente e não poderá ser recuperada.","deleteConfirm": "Excluir"+ },+ "commandSearch": {+ "title": "Pesquisar",+ "description": "Pesquisar notas e transcrições",+ "shortPlaceholder": "Pesquisar",+ "placeholder": "Pesquisar notas e transcrições…",+ "sections": {+ "notes": "Notas",+ "transcripts": "Transcrições"+ },+ "noResults": "Sem resultados",+ "emptyState": "Comece a digitar para pesquisar",+ "footer": {+ "navigate": "Navegar",+ "open": "Abrir",+ "dismiss": "Fechar"+ }}}diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.jsonindex 6d7943987..e2cc5c54a 100644--- a/src/locales/ru/translation.json+++ b/src/locales/ru/translation.json@@ -1627,5 +1627,22 @@"deleteConfirmTitle": "Удалить заметку?","deleteConfirmDescription": "Эта заметка будет удалена безвозвратно.","deleteConfirm": "Удалить"+ },+ "commandSearch": {+ "title": "Поиск",+ "description": "Поиск по заметкам и транскрипциям",+ "shortPlaceholder": "Поиск",+ "placeholder": "Поиск по заметкам и транскрипциям…",+ "sections": {+ "notes": "Заметки",+ "transcripts": "Транскрипции"+ },+ "noResults": "Нет результатов",+ "emptyState": "Начните ввод для поиска",+ "footer": {+ "navigate": "Навигация",+ "open": "Открыть",+ "dismiss": "Закрыть"+ }}}diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.jsonindex 2fd0515a3..9cd353988 100644--- a/src/locales/zh-CN/translation.json+++ b/src/locales/zh-CN/translation.json@@ -940,7 +940,11 @@"enterprise": {"name": "企业版","price": "自定义",- "features": ["云端同步", "团队功能(即将推出)", "SSO 与合规"],+ "features": [+ "云端同步",+ "团队功能(即将推出)",+ "SSO 与合规"+ ],"cta": "联系我们"},"currentPlan": "当前套餐"@@ -1609,7 +1613,7 @@},"searchEmpty": {"title": "无结果",- "description": "未找到与\u201c{{query}}\u201d匹配的笔记。"+ "description": "未找到与“{{query}}”匹配的笔记。"},"noteType": {"personal": "个人",@@ -1623,5 +1627,22 @@"deleteConfirmTitle": "删除笔记?","deleteConfirmDescription": "此笔记将被永久删除,无法恢复。","deleteConfirm": "删除"+ },+ "commandSearch": {+ "title": "搜索",+ "description": "搜索笔记和转录",+ "shortPlaceholder": "搜索",+ "placeholder": "搜索笔记和转录…",+ "sections": {+ "notes": "笔记",+ "transcripts": "转录"+ },+ "noResults": "无结果",+ "emptyState": "输入内容开始搜索",+ "footer": {+ "navigate": "导航",+ "open": "打开",+ "dismiss": "关闭"+ }}}diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.jsonindex 167a4cdfd..3088b8589 100644--- a/src/locales/zh-TW/translation.json+++ b/src/locales/zh-TW/translation.json@@ -940,7 +940,11 @@"enterprise": {"name": "企業版","price": "自訂",- "features": ["雲端同步", "團隊功能(即將推出)", "SSO 與合規"],+ "features": [+ "雲端同步",+ "團隊功能(即將推出)",+ "SSO 與合規"+ ],"cta": "聯絡我們"},"currentPlan": "目前方案"@@ -1623,5 +1627,22 @@"deleteConfirmTitle": "刪除筆記?","deleteConfirmDescription": "此筆記將被永久刪除,無法復原。","deleteConfirm": "刪除"+ },+ "commandSearch": {+ "title": "搜尋",+ "description": "搜尋筆記與轉錄",+ "shortPlaceholder": "搜尋",+ "placeholder": "搜尋筆記與轉錄…",+ "sections": {+ "notes": "筆記",+ "transcripts": "轉錄"+ },+ "noResults": "無結果",+ "emptyState": "輸入內容開始搜尋",+ "footer": {+ "navigate": "導覽",+ "open": "開啟",+ "dismiss": "關閉"+ }}}