diff --git a/openless-all/app/src/components/Capsule.tsx b/openless-all/app/src/components/Capsule.tsx
index 848b9a9b..76ce96db 100644
--- a/openless-all/app/src/components/Capsule.tsx
+++ b/openless-all/app/src/components/Capsule.tsx
@@ -56,26 +56,6 @@ function AudioBars({ level }: AudioBarsProps) {
);
}
-function ProcessingDots() {
- return (
-
- {[0, 1, 2].map(i => (
-
- ))}
-
- );
-}
-
interface CenterTextProps {
os: OS;
kind: 'default' | 'processing' | 'error';
@@ -176,6 +156,20 @@ function Pill({ os, state, level, insertedChars, message, onCancel, onConfirm }:
const processingLayout = getCapsuleMessageLayout(os, 'processing');
const enabled = state === 'recording';
+ // "thinking" 扫光速度:进入 transcribing/polishing 的头 2 秒走快速(0.9s/cycle,提示
+ // 「流式刚开始」),之后切回慢速(2.4s)作为稳态。切回 idle / done / 其他 state 也复位
+ // 为 fast,下次进入时从头开始 burst。
+ const [shineFast, setShineFast] = useState(true);
+ useEffect(() => {
+ if (state === 'transcribing' || state === 'polishing') {
+ setShineFast(true);
+ const t = setTimeout(() => setShineFast(false), 2000);
+ return () => clearTimeout(t);
+ }
+ setShineFast(true);
+ return undefined;
+ }, [state]);
+
let center: JSX.Element;
switch (state) {
case 'recording':
@@ -187,24 +181,43 @@ function Pill({ os, state, level, insertedChars, message, onCancel, onConfirm }:
diff --git a/openless-all/app/src/i18n/en.ts b/openless-all/app/src/i18n/en.ts
index a58e295f..83245938 100644
--- a/openless-all/app/src/i18n/en.ts
+++ b/openless-all/app/src/i18n/en.ts
@@ -30,7 +30,7 @@ export const en: typeof zhCN = {
durationMinutes: '{{value}}m',
},
capsule: {
- thinking: 'Thinking…',
+ thinking: 'thinking',
cancelled: 'Cancelled',
error: 'Something went wrong',
inserted: 'Inserted {{count}}',
diff --git a/openless-all/app/src/i18n/ja.ts b/openless-all/app/src/i18n/ja.ts
index e5a6eca1..884dfd14 100644
--- a/openless-all/app/src/i18n/ja.ts
+++ b/openless-all/app/src/i18n/ja.ts
@@ -32,7 +32,7 @@ export const ja: typeof zhCN = {
durationMinutes: '{{value}} 分',
},
capsule: {
- thinking: '考えています',
+ thinking: 'thinking',
cancelled: 'キャンセルしました',
error: 'エラーが発生しました',
inserted: '{{count}} 文字を入力しました',
diff --git a/openless-all/app/src/i18n/ko.ts b/openless-all/app/src/i18n/ko.ts
index 535513e1..05db092f 100644
--- a/openless-all/app/src/i18n/ko.ts
+++ b/openless-all/app/src/i18n/ko.ts
@@ -32,7 +32,7 @@ export const ko: typeof zhCN = {
durationMinutes: '{{value}}분',
},
capsule: {
- thinking: '생각 중',
+ thinking: 'thinking',
cancelled: '취소됨',
error: '오류 발생',
inserted: '{{count}}자 입력됨',
diff --git a/openless-all/app/src/i18n/zh-CN.ts b/openless-all/app/src/i18n/zh-CN.ts
index 6c0aa3ff..91b00c19 100644
--- a/openless-all/app/src/i18n/zh-CN.ts
+++ b/openless-all/app/src/i18n/zh-CN.ts
@@ -28,7 +28,7 @@ export const zhCN = {
durationMinutes: '{{value}} 分钟',
},
capsule: {
- thinking: '正在思考中',
+ thinking: 'thinking',
cancelled: '已取消',
error: '出错了',
inserted: '已插入 {{count}}',
diff --git a/openless-all/app/src/i18n/zh-TW.ts b/openless-all/app/src/i18n/zh-TW.ts
index a10ccab5..a22e408c 100644
--- a/openless-all/app/src/i18n/zh-TW.ts
+++ b/openless-all/app/src/i18n/zh-TW.ts
@@ -30,7 +30,7 @@ export const zhTW: typeof zhCN = {
durationMinutes: '{{value}} 分鐘',
},
capsule: {
- thinking: '正在思考中',
+ thinking: 'thinking',
cancelled: '已取消',
error: '出錯了',
inserted: '已插入 {{count}}',