知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
fix(linux): Cicada stays in the dock while it runs, so it can be found during a meeting
wquguru7b1430864cc5
diff --git a/linux/README.md b/linux/README.mdindex 1193f5f..85c8c77 100644--- a/linux/README.md+++ b/linux/README.md@@ -55,7 +55,7 @@ linux/vm/vmctl.sh shot shot.png # 截屏(QEMU,不受 Waylandlinux/scripts/build.sh && linux/vm/push.sh # 把 build/cicada-linux 和测试工具放进虚拟机的 ~/cicada-linux```-在虚拟机里 `~/cicada-linux/bin/cicada --dev` 启动开发版(记录在 `~/.local/share/cicada-dev`,日志在 `~/.local/state/cicada-dev/debug.log`),再用 `scripts/cicadactl` 驱动它:`state`、`start`、`stop`、`feed <wav>`、`sample`、`view notes|subtitles`、`show records|notes|settings|onboarding`、`windows`、`quit`;结束会议用 `calls zoom=Zoom|none|real`(假装会议软件在通话)、`realcalls`、`endtimes <没人说话秒数> <倒计时> <挂断宽限>|off`、`endkeep`;纪要窗用 `notes-tab notes|transcript`、`notes-search <词>`、`notes-wide on|off`、`notes-end ask|keep|end`(结束前的确认)、`notes-status failed|invalidKey|rateLimited|idle`(看出错横幅);记录用 `rename <id> [标题]`(不给标题即恢复自动标题)、`delete <id>`;还有 `onboarding-step <0-4>`、`settings-scroll <0-1>`;AI 服务检查用 `ai-check`(现在查一次)、`ai-check-sim <原因|lowBalance|off>`(每次检查都按这个原因结束,截各状态的图)、`ask settings|fix|close`(回答开始听时的对话框)、`settings-ai`、`tray-menu`(顶栏菜单的各项);只有你能修的问题(key、余额、模型、地址)在顶栏图标上加橙点,纪要窗收起时每场会议发一次通知(连不上的话持续 2 分钟后才发),`hide notes` 收起纪要窗、`problem-wait <秒>|off` 缩短这 2 分钟、`state` 的 `aiProblem` 看结果。保存会议录音用 `codecs`(这台电脑有没有 AAC 编码器 / 解码器)、`play [秒]`、`pause`、`rate`、`playstate`(播放到哪、亮着哪一句)、`settings-general`;Ubuntu 默认没有 AAC 编码器,测录音要先在虚拟机里 `sudo apt install gstreamer1.0-libav`,测完再删掉,看默认的灰开关。改正听错的词:`start` 后用 `heard <一句话>`(不用声音,当作听到的一整句,走真实的翻译 + 改词请求),`fix-state` 看每句的改法,`fix-answer yes|no`、`fix-later`、`fix-revert <句子 id>`、`fix-edit <句子 id>=<改后>[|one][|keep0]`、`fix-undo`,`fix-editor <句子 id>=<改后>` 在会议记录里打开“改这句…”,`vocab-add Morpho=莫拉`、`vocab-state`、`word-list [import <文字>|edit <词>|heard <词>=<听成>|delete <词>]` 看设置里的词表。分享成链接(`cicada/core/share.py`,设备密钥是纯 Python 的 Ed25519,`cicada/core/ed25519.py`):`share <id>[,full][,pw]`、`unshare <id>`、`share-last`、`shareSheet <id>` 打开“分享…”,`share-ui scope|days|names|pw|summary|options|go|strip|back|confirm|copy all|link|password|revoke|close|state` 操作它(`options` 即“更改”,`state` 的 `clipboard` 是剪贴板里的那条消息);虚拟机连不上 cicada.indaloop.app 时用 `https_proxy=http://10.0.2.2:7890` 启动。`scripts/smoke.sh` 一步跑完:开窗口、放一段声音、确认 monitor 听到了。+在虚拟机里 `~/cicada-linux/bin/cicada --dev` 启动开发版(记录在 `~/.local/share/cicada-dev`,日志在 `~/.local/state/cicada-dev/debug.log`),再用 `scripts/cicadactl` 驱动它:`state`、`start`、`stop`、`feed <wav>`、`sample`、`view notes|subtitles`、`show records|notes|settings|onboarding`、`windows`、`quit`;在 Dock 中显示用 `dock [on|off]`(打开时会议记录窗口最小化留在 Dock 里,`windows` 的 `iconified` 看它)、`close records`(点会议记录的 ×);结束会议用 `calls zoom=Zoom|none|real`(假装会议软件在通话)、`realcalls`、`endtimes <没人说话秒数> <倒计时> <挂断宽限>|off`、`endkeep`;纪要窗用 `notes-tab notes|transcript`、`notes-search <词>`、`notes-wide on|off`、`notes-end ask|keep|end`(结束前的确认)、`notes-status failed|invalidKey|rateLimited|idle`(看出错横幅);记录用 `rename <id> [标题]`(不给标题即恢复自动标题)、`delete <id>`;还有 `onboarding-step <0-4>`、`settings-scroll <0-1>`;AI 服务检查用 `ai-check`(现在查一次)、`ai-check-sim <原因|lowBalance|off>`(每次检查都按这个原因结束,截各状态的图)、`ask settings|fix|close`(回答开始听时的对话框)、`settings-ai`、`tray-menu`(顶栏菜单的各项);只有你能修的问题(key、余额、模型、地址)在顶栏图标上加橙点,纪要窗收起时每场会议发一次通知(连不上的话持续 2 分钟后才发),`hide notes` 收起纪要窗、`problem-wait <秒>|off` 缩短这 2 分钟、`state` 的 `aiProblem` 看结果。保存会议录音用 `codecs`(这台电脑有没有 AAC 编码器 / 解码器)、`play [秒]`、`pause`、`rate`、`playstate`(播放到哪、亮着哪一句)、`settings-general`;Ubuntu 默认没有 AAC 编码器,测录音要先在虚拟机里 `sudo apt install gstreamer1.0-libav`,测完再删掉,看默认的灰开关。改正听错的词:`start` 后用 `heard <一句话>`(不用声音,当作听到的一整句,走真实的翻译 + 改词请求),`fix-state` 看每句的改法,`fix-answer yes|no`、`fix-later`、`fix-revert <句子 id>`、`fix-edit <句子 id>=<改后>[|one][|keep0]`、`fix-undo`,`fix-editor <句子 id>=<改后>` 在会议记录里打开“改这句…”,`vocab-add Morpho=莫拉`、`vocab-state`、`word-list [import <文字>|edit <词>|heard <词>=<听成>|delete <词>]` 看设置里的词表。分享成链接(`cicada/core/share.py`,设备密钥是纯 Python 的 Ed25519,`cicada/core/ed25519.py`):`share <id>[,full][,pw]`、`unshare <id>`、`share-last`、`shareSheet <id>` 打开“分享…”,`share-ui scope|days|names|pw|summary|options|go|strip|back|confirm|copy all|link|password|revoke|close|state` 操作它(`options` 即“更改”,`state` 的 `clipboard` 是剪贴板里的那条消息);虚拟机连不上 cicada.indaloop.app 时用 `https_proxy=http://10.0.2.2:7890` 启动。`scripts/smoke.sh` 一步跑完:开窗口、放一段声音、确认 monitor 听到了。焦点:`bin/focus_test.sh` 开一个最大化的“会议 app”(`focus_probe.py`),用 `click.py`(uinput,真实指针)点纪要窗和“字幕”链接,再在 Mac 上 `linux/vm/vmctl.sh type ok`;`/tmp/focus-probe.log` 里不能出现 `active=False`,最后一行应是 `text=…ok`。xdotool 只到 XWayland,测不了这个。diff --git a/linux/cicada/app/debug.py b/linux/cicada/app/debug.pyindex 781e7c0..9bb3e9c 100644--- a/linux/cicada/app/debug.py+++ b/linux/cicada/app/debug.py@@ -97,7 +97,8 @@ def _window(w) -> dict | None:gdk = w.get_window()return {"visible": w.get_visible(), "x": x, "y": y, "w": width, "h": height, "title": w.get_title(),"xid": gdk.get_xid() if gdk is not None and hasattr(gdk, "get_xid") else None,- "acceptFocus": w.get_accept_focus(), "active": w.is_active()}+ "acceptFocus": w.get_accept_focus(), "active": w.is_active(),+ "iconified": getattr(w, "iconified", None)}def _speakers(app, s) -> dict:@@ -239,6 +240,16 @@ def command(app, line: str) -> dict:if cmd == "view":app.set_view(arg)return {"ok": True, "view": app.settings.view}+ if cmd == "dock": # dock on|off: 在 Dock 中显示, as its switch sets it+ if arg in ("on", "off"):+ app.set_show_in_dock(arg == "on")+ w = app.records_window+ return {"ok": True, "on": app.settings.showInDock, "records": _window(w),+ "parked": w.parked if w is not None else None}+ if cmd == "close" and arg == "records": # the ✕ of the records window+ if app.records_window is not None:+ app.records_window.close()+ return {"ok": True}if cmd == "show":{"records": app.show_records, "notes": app.show_notes, "settings": app.show_settings,"onboarding": app.show_onboarding}[arg]()diff --git a/linux/cicada/app/main.py b/linux/cicada/app/main.pyindex 8a72326..e1ba56d 100644--- a/linux/cicada/app/main.py+++ b/linux/cicada/app/main.py@@ -241,6 +241,7 @@ class Controller:self.show_records() # where 已更新到 … is said, onceself.records_window.toasts.show(reopened)self.updates.start()+ self.keep_in_dock()def changed(self) -> None:"""Engine threads call this: one coalesced refresh on the main loop."""@@ -277,18 +278,62 @@ class Controller:self.notes_window.refresh()self.notes_window.show_all()- def show_records(self) -> None:- from . import media- media.rescan() # a recording plays once the formats are installed, no restart+ def _records(self):if self.records_window is None:from .records_window import RecordsWindowself.records_window = RecordsWindow(self)self.application.add_window(self.records_window)- self.records_window.fill()- self.records_window.show_all()+ return self.records_window++ def show_records(self) -> None:+ from . import media+ media.rescan() # a recording plays once the formats are installed, no restart+ w = self._records()+ if w.get_visible() and w.iconified:+ # Minimized (keep_in_dock), Mutter won't bring it back for a request without a user's+ # event time (the tray, a second launch): shown afresh instead, as when it was hidden.+ w.hide()+ w.fill()+ w.set_focus_on_map(True)+ w.deiconify() # unmapped, this only clears GTK's "map it minimized" (keep_in_dock's iconify)+ w.show_all()self.records_window.present()self.records_window.set_focus(None) # not the search box: its placeholder would vanish+ @property+ def records_open(self) -> bool:+ """On screen: not hidden, nor minimized to keep the dock icon (a dialog over it would be too)."""+ w = self.records_window+ return w is not None and w.get_visible() and not w.iconified++ def keep_in_dock(self) -> None:+ """在 Dock 中显示 (the Mac's showInDock): GNOME's dock lists an app only while it has a window+ there, and the notes window, a notification that never takes focus, has none. So while the+ setting is on the records window stays, minimized, and clicking the dock icon brings it back.+ Mapped minimized and never presented: the meeting app keeps the focus."""+ w = self.records_window+ if not self.settings.showInDock or (w is not None and w.get_visible()):+ return+ w = self._records()+ w.fill()+ w.parked = True+ w.set_focus_on_map(False)+ w.iconify() # before it's mapped: it starts minimized (WM_HINTS IconicState)+ w.show_all()+ w.set_focus(None) # back from the dock, not in the search box: its placeholder would vanish+ Log.d("dock: records window kept minimized")++ def set_show_in_dock(self, on: bool) -> None:+ """设置 › 在 Dock 中显示. Off: as before it existed, the records window only while it's open."""+ self.settings.showInDock = on+ self.settings.save()+ w = self.records_window+ if on:+ self.keep_in_dock()+ elif w is not None and w.parked:+ w.hide()+ Log.d("dock: %s" % ("on" if on else "off"))+def show_settings(self, ai: bool = False, general: bool = False) -> None:"""设置; `ai`: at AI 服务 (its first section), where every AI problem is fixed; `general`: at 通用(保存会议录音, from a record that has none)."""@@ -351,13 +396,13 @@ class Controller:self.onboarding = Onboarding(self, at)self.application.add_window(self.onboarding)# Over the records window, so closing it leaves a window to click, not an empty screen.- if self.records_window is not None and self.records_window.get_visible():+ if self.records_open:self.onboarding.set_transient_for(self.records_window)self.onboarding.set_position(Gtk.WindowPosition.CENTER_ON_PARENT)def closed(*_):self.onboarding = None- if self.tray is None and (self.records_window is None or not self.records_window.get_visible()):+ if self.tray is None and not self.records_open:self.show_records()self.changed()self.onboarding.connect("destroy", closed)@@ -704,7 +749,7 @@ class Controller:title, body = LF("连不上 %@", name), ling.message()hint = r.proxy_line(name, ling.service_host)fix = L("重新检查并开始")- dialog = Gtk.Dialog(transient_for=self.records_window if self.records_window and self.records_window.get_visible() else None,+ dialog = Gtk.Dialog(transient_for=self.records_window if self.records_open else None,modal=True)dialog.set_decorated(False)dialog.set_resizable(False)diff --git a/linux/cicada/app/notes_window.py b/linux/cicada/app/notes_window.pyindex a177c59..ae61404 100644--- a/linux/cicada/app/notes_window.py+++ b/linux/cicada/app/notes_window.py@@ -51,6 +51,8 @@ class NotesWindow(Gtk.Window):self._bottom = None # the subtitle bar's bottom edge: it grows upward as text wrapsself.connect("configure-event", self._configured)self.connect("realize", lambda w: x11.never_take_focus(w.get_window()))+ # Mutter flags it as demanding attention once it's mapped (just after map-event).+ self.connect("map-event", lambda w, _e: GLib.timeout_add(200, lambda: x11.no_attention(w.get_window()) or False) and False)self.connect("delete-event", lambda *_: self.hide() or True)self._queued = Falseself._built = Falsediff --git a/linux/cicada/app/records_window.py b/linux/cicada/app/records_window.pyindex c04fbc6..db57d49 100644--- a/linux/cicada/app/records_window.py+++ b/linux/cicada/app/records_window.py@@ -30,7 +30,12 @@ class RecordsWindow(Gtk.Window):self.set_size_request(720, 480)self.set_position(Gtk.WindowPosition.CENTER)self.set_wmclass("cicada", "Cicada")- self.connect("delete-event", lambda *_: self.hide() or self.app.records_closed() or True)+ self.connect("delete-event", lambda *_: self.close_to_dock() or self.app.records_closed() or True)+ # Minimized it isn't refilled on every change of a meeting; it catches up when it comes back.+ self.iconified = False+ self.parked = False # minimized by 知了 to keep its dock icon (Controller.keep_in_dock)+ self.connect("window-state-event", self._state_changed)+ self.connect("hide", lambda *_: setattr(self, "iconified", False) or setattr(self, "parked", False))self.selected = Noneself.pending_delete = None # a record deleted but still undoableself.query = ""@@ -337,6 +342,35 @@ class RecordsWindow(Gtk.Window):self._fill_listen_box()return True+ def close_to_dock(self) -> None:+ """✕: hidden, or with 在 Dock 中显示 on, minimized: the dock lists 知了 only while it has a window."""+ if self.app.settings.showInDock:+ self.parked = True+ self.iconify()+ else:+ self.hide()++ def _state_changed(self, _w, event) -> bool:+ if event.changed_mask & Gdk.WindowState.ICONIFIED and not event.new_window_state & Gdk.WindowState.WITHDRAWN:+ self.iconified = bool(event.new_window_state & Gdk.WindowState.ICONIFIED)+ if not self.iconified:+ self.refresh() # back from the dock: what changed while it was minimized+ # Mapped minimized, Mutter flicks it to normal and back within a few ms: only a+ # window still up a moment later was brought back (by the dock, or Alt+Tab).+ GLib.timeout_add(200, self._restored)+ return False++ def _restored(self) -> bool:+ if self.parked and not self.iconified and self.get_mapped() and self.is_active():+ self.parked = False+ # Mapped minimized, it isn't drawn when it comes back (seen with the notes window up):+ # presenting it, which it already is (active: the WM brought it back, not the flick),+ # gets it drawn.+ self.present()+ self.set_focus(None)+ Log.d("dock: records window brought back")+ return False+# Listdef refresh(self) -> None:@@ -346,7 +380,7 @@ class RecordsWindow(Gtk.Window):def run():self._queued = False- if self.get_visible():+ if self.get_visible() and not self.iconified:self.fill()self.fix_toast()return Falsediff --git a/linux/cicada/app/settings_window.py b/linux/cicada/app/settings_window.pyindex 1727902..8ecf1ec 100644--- a/linux/cicada/app/settings_window.py+++ b/linux/cicada/app/settings_window.py@@ -196,6 +196,9 @@ class SettingsWindow(Gtk.Window):switch = Gtk.Switch()switch.set_active(autostart_enabled())switch.connect("notify::active", lambda w, _p: set_autostart(w.get_active(), app.launcher))+ dock = Gtk.Switch()+ dock.set_active(s.showInDock)+ dock.connect("notify::active", lambda w, _p: app.set_show_in_dock(w.get_active()))warn = ui.hbox(12)warn_icon = ui.icon("view-reveal-symbolic", 15)ui.classes(warn_icon, "warn")@@ -206,6 +209,7 @@ class SettingsWindow(Gtk.Window):page.pack_start(self._group(L("正在听时"), ui.boxed([ui.prow(L("悬浮窗"), ui.segmented([("notes", L("实时纪要")), ("subtitles", L("字幕条"))], s.view, app.set_view)),ui.prow(L("登录时打开"), switch, L("登录后在顶栏待命")),+ ui.prow(L("在 Dock 中显示"), dock, L("关掉后只在顶栏,打开窗口时才出现")),self._shortcut_row(),warn_row])), False, False, 0)diff --git a/linux/cicada/app/x11.py b/linux/cicada/app/x11.pyindex e9cd58e..1dd3514 100644--- a/linux/cicada/app/x11.py+++ b/linux/cicada/app/x11.py@@ -1,7 +1,9 @@-"""The one X11 detail GTK 3 doesn't cover. With set_accept_focus(False) GTK still lists+"""The X11 details GTK 3 doesn't cover. With set_accept_focus(False) GTK still listsWM_TAKE_FOCUS in WM_PROTOCOLS, so on every click Mutter hands focus away from the meeting app for amoment (the "globally active" input model) before giving it back; a blip a browser-based meeting app-sees as blur. Listing only WM_DELETE_WINDOW (the "no input" model) leaves focus alone."""+sees as blur. Listing only WM_DELETE_WINDOW (the "no input" model) leaves focus alone. And a window+Mutter maps over the focused one without focusing it is marked as demanding attention, which GTK+can't take back (no_attention)."""from __future__ import annotationsimport ctypes@@ -23,6 +25,9 @@ def _lib():x.XSetWMProtocols.argtypes = [ctypes.c_void_p, ctypes.c_ulong, ctypes.POINTER(ctypes.c_ulong), ctypes.c_int]x.XFlush.argtypes = [ctypes.c_void_p]x.XCloseDisplay.argtypes = [ctypes.c_void_p]+ x.XDefaultRootWindow.restype = ctypes.c_ulong+ x.XDefaultRootWindow.argtypes = [ctypes.c_void_p]+ x.XSendEvent.argtypes = [ctypes.c_void_p, ctypes.c_ulong, ctypes.c_int, ctypes.c_long, ctypes.c_void_p]_x = xreturn _x@@ -53,3 +58,37 @@ def _protocols(gdk_window, focus: bool) -> None:x.XCloseDisplay(d)except OSError as e:Log.d("x11: protocols not set (%s)" % e)+++class _ClientMessage(ctypes.Structure):+ _fields_ = [("type", ctypes.c_int), ("serial", ctypes.c_ulong), ("send_event", ctypes.c_int),+ ("display", ctypes.c_void_p), ("window", ctypes.c_ulong), ("message_type", ctypes.c_ulong),+ ("format", ctypes.c_int), ("data", ctypes.c_long * 5)]+++class _Event(ctypes.Union):+ _fields_ = [("xclient", _ClientMessage), ("pad", ctypes.c_long * 24)]+++def no_attention(gdk_window) -> None:+ """Takes back _NET_WM_STATE_DEMANDS_ATTENTION (an EWMH request to the root window). The notes+ window gets it whenever it's shown over the meeting app; the dock then counts it as urgent and+ spends the next click of 知了's icon on it (it can't take focus) instead of the records window."""+ xid = gdk_window.get_xid() if hasattr(gdk_window, "get_xid") else None+ if not xid:+ return+ try:+ x = _lib()+ d = x.XOpenDisplay(None)+ if not d:+ return+ e = _Event()+ m = e.xclient+ m.type, m.send_event, m.window, m.format = 33, 1, xid, 32 # ClientMessage+ m.message_type = x.XInternAtom(d, b"_NET_WM_STATE", 0)+ m.data[0], m.data[1], m.data[3] = 0, x.XInternAtom(d, b"_NET_WM_STATE_DEMANDS_ATTENTION", 0), 1 # remove; from an app+ x.XSendEvent(d, x.XDefaultRootWindow(d), 0, (1 << 19) | (1 << 20), ctypes.byref(e)) # Substructure Notify | Redirect+ x.XFlush(d)+ x.XCloseDisplay(d)+ except OSError as e:+ Log.d("x11: attention not taken back (%s)" % e)diff --git a/linux/cicada/core/settings.py b/linux/cicada/core/settings.pyindex a0593e0..7089319 100644--- a/linux/cicada/core/settings.py+++ b/linux/cicada/core/settings.py@@ -37,6 +37,7 @@ class AppSettings:"sampleSeen": False,"speakLater": False, # 还差几步 › 同声传译 › 以后再说"trayHintShown": False, # 知了还在顶栏, said once after the records window is first closed+ "showInDock": True, # 在 Dock 中显示 (the Mac's): in the dock for as long as 知了 runs"uiLanguage": "system", # "system", "zh-Hans", "en", "ja" or "ko"# 同声传译: what I say is interpreted and spoken into 知了 麦克风 (the Mac's speakEnabled etc.).# 保存会议录音 (the Mac's recordAudio): system.m4a beside session.json, when GStreamer has an AAC encoder.diff --git a/linux/scripts/cicadactl b/linux/scripts/cicadactlindex cabf523..0738b80 100755--- a/linux/scripts/cicadactl+++ b/linux/scripts/cicadactl@@ -1,7 +1,7 @@#!/usr/bin/env python3"""Drives the running dev build through its control socket (cicada/app/debug.py has the commands):cicadactl state | start | stop | feed <wav> | sample | view notes|subtitles | show records|notes|settings|onboarding- target <code> | key-reload | windows | quit+ target <code> | key-reload | windows | quit | dock [on|off] | close recordscalls <program=name,…>|none|real | realcalls | endtimes <silence> <countdown> <grace>|off | endkeepnotes-tab notes|transcript | notes-search <text> | notes-wide on|off | onboarding-step <n> | settings-scroll <0-1>codecs | play [<seconds>] | pause | rate | playstate | settings-general (保存会议录音 and its player)diff --git a/linux/strings/en.lproj/Linux.strings b/linux/strings/en.lproj/Linux.stringsindex beeda34..446f918 100644--- a/linux/strings/en.lproj/Linux.strings+++ b/linux/strings/en.lproj/Linux.strings@@ -208,3 +208,5 @@/* 改正听错的词: Linux-only wording (a computer, not a Mac; one more text request per line) */"最多 %lld 个,满了优先用最近的。只存在这台电脑上" = "Up to %lld, recent ones first. Stored only on this computer";"每句多发一次文字请求" = "One more text request per sentence";+/* 在 Dock 中显示: the top bar, not a menu bar */+"关掉后只在顶栏,打开窗口时才出现" = "Off: top bar only, in the Dock just while a window is open";diff --git a/linux/strings/ja.lproj/Linux.strings b/linux/strings/ja.lproj/Linux.stringsindex 50822a4..4b7e9e1 100644--- a/linux/strings/ja.lproj/Linux.strings+++ b/linux/strings/ja.lproj/Linux.strings@@ -208,3 +208,5 @@/* 改正听错的词 */"最多 %lld 个,满了优先用最近的。只存在这台电脑上" = "最大 %lld 個、最近使ったものを優先。このコンピュータにだけ保存";"每句多发一次文字请求" = "1 文ごとにテキストのリクエストが 1 回増えます";+/* 在 Dock 中显示 */+"关掉后只在顶栏,打开窗口时才出现" = "オフ:トップバーのみ。ウインドウを開いている間だけ Dock に表示";diff --git a/linux/strings/ko.lproj/Linux.strings b/linux/strings/ko.lproj/Linux.stringsindex cfb8e39..3f133e4 100644--- a/linux/strings/ko.lproj/Linux.strings+++ b/linux/strings/ko.lproj/Linux.strings@@ -208,3 +208,5 @@/* 改正听错的词 */"最多 %lld 个,满了优先用最近的。只存在这台电脑上" = "최대 %lld개, 최근 것을 우선. 이 컴퓨터에만 저장";"每句多发一次文字请求" = "문장마다 텍스트 요청이 한 번 더 감";+/* 在 Dock 中显示 */+"关掉后只在顶栏,打开窗口时才出现" = "끄면 상단 바에만 있고, 창을 열 때만 Dock에 나타납니다";diff --git a/site/changelog.json b/site/changelog.jsonindex 248e7d0..d42801a 100644--- a/site/changelog.json+++ b/site/changelog.json@@ -14,6 +14,14 @@"title": "开着就在 Dock 里,录音时图标带一个橙点。","text": "以前只有打开主窗口或设置时 Dock 里才有知了,开会时找不到它。现在知了开着就在 Dock 里,正在记录时图标右上角有个橙点;右键图标可以开始或停止记录、打开实时纪要、会议记录和设置。只想要菜单栏的话,在“设置 › 通用”里关掉“在 Dock 中显示”。"},+ {+ "kind": "fixed",+ "platforms": [+ "linux"+ ],+ "title": "开会时 Dock 里也有知了。",+ "text": "以前只开着实时纪要时,Ubuntu 的 Dock 里没有知了,只能从顶栏找到它。现在知了开着就在 Dock 里,点图标打开会议记录;关掉会议记录窗口只是把它收进 Dock,不会抢走会议软件的焦点。只想要顶栏的话,在“设置 › 正在听时”里关掉“在 Dock 中显示”。"+ },{"kind": "improved","platforms": [