diff --git a/app/src/components/ServerTab/CapturesPage.tsx b/app/src/components/ServerTab/CapturesPage.tsx index 74bf1d9a..48cd16a4 100644 --- a/app/src/components/ServerTab/CapturesPage.tsx +++ b/app/src/components/ServerTab/CapturesPage.tsx @@ -1,4 +1,4 @@ -import { Check, ChevronDown, FolderOpen, Keyboard, Laptop, Lock, Volume2 } from 'lucide-react'; +import { Check, ChevronDown, FolderOpen, Info, Keyboard, Laptop, Lock, Volume2 } from 'lucide-react'; import { useCallback, useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { AccessibilityNotice } from '@/components/AccessibilityGate/AccessibilityGate'; @@ -61,6 +61,9 @@ function ChordPreview({ keys }: { keys: string[] }) { ); } +const isWindows = + typeof navigator !== 'undefined' && navigator.userAgent.includes('Windows'); + const PILL_SEQUENCE: PillState[] = ['recording', 'transcribing', 'refining', 'rest']; const PILL_DURATIONS: Partial> = { recording: 2600, @@ -569,6 +572,21 @@ export function CapturesPage() { + {isWindows && ( +
+
+ +
+

+ {t('settings.captures.sidebar.windowsCaveat.title')} +

+

+ {t('settings.captures.sidebar.windowsCaveat.body')} +

+
+
+
+ )} {/* Same six-gate checklist the CapturesTab empty state uses. diff --git a/app/src/i18n/locales/en/translation.json b/app/src/i18n/locales/en/translation.json index b9e0bd68..a349c22f 100644 --- a/app/src/i18n/locales/en/translation.json +++ b/app/src/i18n/locales/en/translation.json @@ -1022,6 +1022,10 @@ "crossPlatform": { "title": "Cross-platform.", "body": "Same shortcut, same flow on macOS, Windows, and Linux." + }, + "windowsCaveat": { + "title": "Heads-up on Windows", + "body": "The shortcut won't fire while Voicebox itself or any app running as administrator is focused. Working on it." } } }, diff --git a/app/src/i18n/locales/ja/translation.json b/app/src/i18n/locales/ja/translation.json index 57a3c819..a7f0fd24 100644 --- a/app/src/i18n/locales/ja/translation.json +++ b/app/src/i18n/locales/ja/translation.json @@ -1022,6 +1022,10 @@ "crossPlatform": { "title": "クロスプラットフォーム。", "body": "macOS、Windows、Linux で同じショートカットと同じフローを利用できます。" + }, + "windowsCaveat": { + "title": "Windows での注意点", + "body": "Voicebox 自体や管理者として実行中のアプリにフォーカスがあるあいだは、ショートカットが反応しません。現在対応中です。" } } }, diff --git a/app/src/i18n/locales/zh-CN/translation.json b/app/src/i18n/locales/zh-CN/translation.json index e1d6040b..b0c78241 100644 --- a/app/src/i18n/locales/zh-CN/translation.json +++ b/app/src/i18n/locales/zh-CN/translation.json @@ -1022,6 +1022,10 @@ "crossPlatform": { "title": "跨平台。", "body": "在 macOS、Windows 和 Linux 上使用相同的快捷键和流程。" + }, + "windowsCaveat": { + "title": "Windows 上的提示", + "body": "当 Voicebox 自身或任何以管理员身份运行的应用处于焦点时,快捷键不会触发。我们正在解决这个问题。" } } }, diff --git a/app/src/i18n/locales/zh-TW/translation.json b/app/src/i18n/locales/zh-TW/translation.json index fdb64bf2..e946fc95 100644 --- a/app/src/i18n/locales/zh-TW/translation.json +++ b/app/src/i18n/locales/zh-TW/translation.json @@ -1022,6 +1022,10 @@ "crossPlatform": { "title": "跨平台。", "body": "在 macOS、Windows 與 Linux 上享有相同的快捷鍵與相同的流程。" + }, + "windowsCaveat": { + "title": "Windows 上的提醒", + "body": "當 Voicebox 本身或任何以系統管理員身分執行的應用程式取得焦點時,快捷鍵不會觸發。我們正在處理中。" } } },