feat(desktop): honest, unified dictation popups with Esc to cancel

Wave 3 of the 2026-09-28 design overhaul.

- Esc (no modifiers) cancels an in-progress dictation, recording or
  processing: VoiceModeService.requestEscape() queues the dead 'escape'
  action. Clicking the capsule cancels only while recording, so a stray
  click during processing no longer throws the text away.
- Errors show in the user's language: bootstrap now passes error.code to
  the tip (the translated branch never ran), and one core classifier
  (voice-error-message) feeds both the tip and the main-window alert.
- Capsule: bars stay flat without input (no fake "alive" wobble before the
  mic opens), an indeterminate bar replaces the made-up percentage, the
  partial transcript stays visible while processing, an Esc hint, and a
  brief "Inserted" state so success is visible.
- All six popups share popups/_shared (Pretendard, one panel radius,
  selection, kbd hints, reduced motion). History/command popups get
  titles, listbox roles and window sizes from popup-list-geometry (empty
  states were clipped); the command popup's "0" key is registered;
  result popup explains why it appeared and can be closed; captions keep
  a theme-independent dark backing on purpose.
- Popup themes follow the OS when set to system and the document lang
  follows the app language.
- Site hero demo mirrors the new capsule (done state, indeterminate bar,
  Esc hint; 10 locales).
This commit is contained in:
Yun Chan 2026-09-28 20:46:24 +09:00
parent f064c93197
commit 7b1210b5d1
41 changed files with 1565 additions and 1143 deletions

View file

@ -81,6 +81,10 @@ export interface Translations {
docLine: string
/** 캡슐의 처리 중 문구 */
processing: string
/** 캡슐 완료 표시 — 앱 recording-tip 의 done 상태 */
inserted: string
/** 캡슐 오른쪽 키 안내 */
cancelHint: string
stateIdle: string
stateListening: string
statePolishing: string

View file

@ -36,7 +36,9 @@ export const de: Translations = {
note: 'Ein vorbereitetes Beispiel, keine echte Aufnahme.',
windowTitle: 'Notizen',
docLine: 'Notizen zum Team-Meeting am Freitag',
processing: 'Wird verarbeitet...',
processing: 'Wird transkribiert',
inserted: 'Eingefügt',
cancelHint: 'Esc zum Abbrechen',
stateIdle: 'Wartet',
stateListening: 'Gedrückt halten und sprechen',
statePolishing: 'Losgelassen, wird bereinigt',

View file

@ -36,7 +36,9 @@ export const en: Translations = {
note: 'A scripted example, not a real recording.',
windowTitle: 'Notes',
docLine: 'Friday team meeting notes',
processing: 'Processing...',
processing: 'Transcribing',
inserted: 'Inserted',
cancelHint: 'Esc to cancel',
stateIdle: 'Waiting',
stateListening: 'Holding and speaking',
statePolishing: 'Released, cleaning up',

View file

@ -36,7 +36,9 @@ export const es: Translations = {
note: 'Un ejemplo guionado, no una grabación real.',
windowTitle: 'Notas',
docLine: 'Notas de la reunión de equipo del viernes',
processing: 'Procesando...',
processing: 'Transcribiendo',
inserted: 'Insertado',
cancelHint: 'Esc para cancelar',
stateIdle: 'Esperando',
stateListening: 'Manteniendo presionado y hablando',
statePolishing: 'Al soltar, limpiando',

View file

@ -36,7 +36,9 @@ export const fr: Translations = {
note: 'Un exemple scénarisé, pas un véritable enregistrement.',
windowTitle: 'Notes',
docLine: 'Notes de la réunion d\'équipe du vendredi',
processing: 'Traitement en cours...',
processing: 'Transcription',
inserted: 'Inséré',
cancelHint: 'Échap pour annuler',
stateIdle: 'En attente',
stateListening: 'Maintien et parole',
statePolishing: 'Relâché, mise en forme',

View file

@ -36,7 +36,9 @@ export const ja: Translations = {
note: '台本による例であり、実際の録音ではありません。',
windowTitle: 'メモ',
docLine: '金曜日のチーム会議メモ',
processing: '処理中...',
processing: '文字起こし中',
inserted: '入力しました',
cancelHint: 'Esc で取消',
stateIdle: '待機中',
stateListening: '押しながら話している',
statePolishing: '離すと整形',

View file

@ -36,7 +36,9 @@ export const ko: Translations = {
note: '실제 녹음이 아닌 예시 화면입니다.',
windowTitle: '메모',
docLine: '금요일 팀 회의 메모',
processing: '다듬는 중...',
processing: '받아쓰는 중',
inserted: '입력함',
cancelHint: 'Esc 취소',
stateIdle: '기다리는 중',
stateListening: '듣는 중',
statePolishing: '다듬는 중',

View file

@ -36,7 +36,9 @@ export const pt: Translations = {
note: 'Um exemplo roteirizado, não uma gravação real.',
windowTitle: 'Notas',
docLine: 'Notas da reunião de equipe de sexta-feira',
processing: 'Processando...',
processing: 'Transcrevendo',
inserted: 'Inserido',
cancelHint: 'Esc para cancelar',
stateIdle: 'Aguardando',
stateListening: 'Segurando e falando',
statePolishing: 'Solto, corrigindo',

View file

@ -36,7 +36,9 @@ export const ru: Translations = {
note: 'Заранее подготовленный пример, а не настоящая запись.',
windowTitle: 'Заметки',
docLine: 'Заметки с пятничной встречи команды',
processing: 'Обработка...',
processing: 'Расшифровка',
inserted: 'Вставлено',
cancelHint: 'Esc — отмена',
stateIdle: 'Ожидание',
stateListening: 'Зажато, говорю',
statePolishing: 'Отпущено, идёт очистка',

View file

@ -36,7 +36,9 @@ export const vi: Translations = {
note: 'Đây là ví dụ dựng sẵn, không phải bản ghi âm thật.',
windowTitle: 'Ghi chú',
docLine: 'Ghi chú họp nhóm thứ Sáu',
processing: 'Đang xử lý...',
processing: 'Đang chép lời',
inserted: 'Đã chèn',
cancelHint: 'Esc để hủy',
stateIdle: 'Đang chờ',
stateListening: 'Đang giữ và nói',
statePolishing: 'Đã thả, đang làm sạch',

View file

@ -36,7 +36,9 @@ export const zh: Translations = {
note: '这是脚本示例,并非真实录音。',
windowTitle: '备忘录',
docLine: '周五团队会议记录',
processing: '处理中...',
processing: '正在转写',
inserted: '已输入',
cancelHint: 'Esc 取消',
stateIdle: '等待中',
stateListening: '按住说话中',
statePolishing: '松开后润色中',