知了 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: in English, Japanese and Korean, a to-do's owner no longer shows as 对方, 你 or 说话人2
wquguru5d20f2e1a761
diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.stringsindex 2bd1727..b735ba0 100644--- a/Resources/en.lproj/Localizable.strings+++ b/Resources/en.lproj/Localizable.strings@@ -1297,9 +1297,9 @@"只改这一处" = "Just this one";"回车 改成 · esc 取消" = "Return to apply · Esc to cancel";"改成" = "Apply";-"改了 %lld 处听错的词" = "Fixed %lld misheard words";+"改了 %lld 处听错的词" = "Misheard words fixed: %lld";"改成…" = "Change to…";-"改了 %lld 处听错的词,%lld 处等你确认" = "Fixed %lld misheard words · %lld to confirm";+"改了 %lld 处听错的词,%lld 处等你确认" = "Misheard words fixed: %lld · %lld to confirm";"已收进人名和术语,稍后再看" = "Saved to Names and terms for later";"已改 %@ → %@,记进词表" = "%@ → %@ · Saved to Word list";"这场不再问 %@" = "Won't ask about %@ again in this meeting";@@ -1321,3 +1321,5 @@"删掉这个听错的词" = "Remove this misheard form";"新增 %lld · 补充听成 %lld · 跳过 %lld" = "%lld new · %lld updated · %lld skipped";"导入 %lld 个" = "Import %lld";+/* Notes: a to-do's owner after it */+"待办的负责人 %@" = " (%@)";diff --git a/Resources/ja.lproj/Localizable.strings b/Resources/ja.lproj/Localizable.stringsindex eb413eb..0c65fa2 100644--- a/Resources/ja.lproj/Localizable.strings+++ b/Resources/ja.lproj/Localizable.strings@@ -1297,9 +1297,9 @@"只改这一处" = "ここだけ";"回车 改成 · esc 取消" = "Return で修正 · Esc でキャンセル";"改成" = "修正";-"改了 %lld 处听错的词" = "聞き間違いを %lld か所修正";+"改了 %lld 处听错的词" = "聞き間違いの修正:%lld か所";"改成…" = "修正…";-"改了 %lld 处听错的词,%lld 处等你确认" = "聞き間違いを %lld か所修正 · %lld か所が確認待ち";+"改了 %lld 处听错的词,%lld 处等你确认" = "聞き間違いの修正:%lld か所 · 確認待ち %lld か所";"已收进人名和术语,稍后再看" = "人名と用語に入れました。あとで確認";"已改 %@ → %@,记进词表" = "%@ → %@ に修正し、単語リストに保存";"这场不再问 %@" = "この会議では %@ をもう聞きません";@@ -1321,3 +1321,5 @@"删掉这个听错的词" = "この聞き間違いを削除";"新增 %lld · 补充听成 %lld · 跳过 %lld" = "追加 %lld · 更新 %lld · スキップ %lld";"导入 %lld 个" = "%lld 個を追加";+/* Notes: a to-do's owner after it */+"待办的负责人 %@" = "(%@)";diff --git a/Resources/ko.lproj/Localizable.strings b/Resources/ko.lproj/Localizable.stringsindex 7734a72..e7e86b5 100644--- a/Resources/ko.lproj/Localizable.strings+++ b/Resources/ko.lproj/Localizable.strings@@ -1297,9 +1297,9 @@"只改这一处" = "여기만";"回车 改成 · esc 取消" = "Return 적용 · Esc 취소";"改成" = "적용";-"改了 %lld 处听错的词" = "잘못 들은 단어 %lld곳 고침";+"改了 %lld 处听错的词" = "잘못 들은 단어 고침: %lld곳";"改成…" = "고치기…";-"改了 %lld 处听错的词,%lld 处等你确认" = "잘못 들은 단어 %lld곳 고침 · %lld곳 확인 필요";+"改了 %lld 处听错的词,%lld 处等你确认" = "잘못 들은 단어 고침: %lld곳 · 확인 필요 %lld곳";"已收进人名和术语,稍后再看" = "인명과 용어에 넣었습니다. 나중에 확인";"已改 %@ → %@,记进词表" = "%@ → %@ 고치고 단어 목록에 저장";"这场不再问 %@" = "이 회의에서는 %@을(를) 다시 묻지 않습니다";@@ -1321,3 +1321,5 @@"删掉这个听错的词" = "이 형태 삭제";"新增 %lld · 补充听成 %lld · 跳过 %lld" = "추가 %lld · 업데이트 %lld · 건너뜀 %lld";"导入 %lld 个" = "%lld개 가져오기";+/* Notes: a to-do's owner after it */+"待办的负责人 %@" = " (%@)";diff --git a/Resources/zh-Hans.lproj/Localizable.strings b/Resources/zh-Hans.lproj/Localizable.stringsindex bde4efb..39ce922 100644--- a/Resources/zh-Hans.lproj/Localizable.strings+++ b/Resources/zh-Hans.lproj/Localizable.strings@@ -1321,3 +1321,5 @@"删掉这个听错的词" = "删掉这个听错的词";"新增 %lld · 补充听成 %lld · 跳过 %lld" = "新增 %lld · 补充听成 %lld · 跳过 %lld";"导入 %lld 个" = "导入 %lld 个";+/* Notes: a to-do's owner after it */+"待办的负责人 %@" = "(%@)";diff --git a/Sources/Cicada/Notes.swift b/Sources/Cicada/Notes.swiftindex d9a7bca..ae82b7a 100644--- a/Sources/Cicada/Notes.swift+++ b/Sources/Cicada/Notes.swift@@ -55,6 +55,22 @@ struct NoteItem: Codable, Equatable, Identifiable {/// When it was said (first evidence line).var t: Double?var id: String { text }++ /// The owner as stored ("你", "对方", "说话人2" or a name) in the UI language.+ var ownerShown: String? {+ guard let owner else { return nil }+ switch owner {+ case "你": return L("你")+ case "对方": return L("对方")+ case "未识别": return L("未识别")+ default: break+ }+ if owner.hasPrefix("说话人"), let n = Int(owner.dropFirst(3).trimmingCharacters(in: .whitespaces)) { return L("说话人 \(n)") }+ return owner+ }++ /// The to-do with its owner after it: "(对方)" in Chinese, " (Them)" in English.+ var withOwner: String { text + (ownerShown.map { L("待办的负责人 \($0)") } ?? "") }}/// A name or term as the notes settled on it, and how speech recognition heard it.diff --git a/Sources/Cicada/NotesViews.swift b/Sources/Cicada/NotesViews.swiftindex 4aebdeb..486c902 100644--- a/Sources/Cicada/NotesViews.swift+++ b/Sources/Cicada/NotesViews.swift@@ -121,7 +121,7 @@ struct NotesContentView: View {.alignmentGuide(.firstTextBaseline) { $0[.bottom] + 4 }.frame(width: 13)}- Text(item.text + (item.owner.map { "(\($0))" } ?? ""))+ Text(item.withOwner).font(.system(size: 14)).lineSpacing(2).foregroundStyle(item.support == 0 ? Palette.tertiary : Palette.ink).frame(maxWidth: .infinity, alignment: .leading)@@ -199,7 +199,7 @@ private struct DocumentNotesView: View {/// jumps to the lines behind it. One with little support stays grey.private func conclusion(_ item: NoteItem, index: Int, todo: Bool) -> some View {let weak = item.support == 0- let text = item.text + (item.owner.map { "(\($0))" } ?? "")+ let text = item.withOwnerreturn HStack(alignment: .firstTextBaseline, spacing: 8) {Group {if todo { Image(systemName: "circle").font(.system(size: 11)) } else { Text("\(index)").font(.system(size: 12).monospacedDigit()) }diff --git a/Sources/Cicada/SessionStore.swift b/Sources/Cicada/SessionStore.swiftindex 76bad1e..41717b5 100644--- a/Sources/Cicada/SessionStore.swift+++ b/Sources/Cicada/SessionStore.swift@@ -462,7 +462,7 @@ enum TranscriptExport {}if !n.conclusions.isEmpty { out += "### \(L("结论"))\n\n" + n.conclusions.map { "- \($0.text)\n" }.joined() + "\n" }if !n.todos.isEmpty {- out += "### \(L("待办"))\n\n" + n.todos.map { "- [ ] \($0.text)" + ($0.owner.map { "(\($0))" } ?? "") + "\n" }.joined() + "\n"+ out += "### \(L("待办"))\n\n" + n.todos.map { "- [ ] \($0.withOwner)\n" }.joined() + "\n"}if !n.terms.isEmpty {out += "### \(L("人名和术语"))\n\n" + n.terms.map { "- **\($0.name)** \($0.note)\n" }.joined() + "\n"@@ -537,7 +537,7 @@ enum TranscriptExport {}if !n.todos.isEmpty {add(L("待办"), size: 12, weight: .semibold, after: 3)- for t in n.todos { add("☐ \(t.text)" + (t.owner.map { "(\($0))" } ?? ""), size: 11, after: 2) }+ for t in n.todos { add("☐ \(t.withOwner)", size: 11, after: 2) }}add(L("文字记录"), size: 15, weight: .bold, after: 6)}diff --git a/site/changelog.json b/site/changelog.jsonindex cea8fb5..1a25e7f 100644--- a/site/changelog.json+++ b/site/changelog.json@@ -141,6 +141,14 @@],"title": "改过的词带下划线,纪要窗口里问一次“这样改对吗?”,会议记录里能自己“改这句…”,设置里多了“词表”。","text": "纪要窗口的“这样改对吗?”只用点,不抢输入焦点,× 留到会后再问;指着一句能看到原来听成什么,点“改回”恢复。会议记录里右键或指着一句选“改这句…”,整场同样听错的地方一起改并记进词表;会后顶部会逐个问还没确认的改法。每次改动都能撤销。词表可以一次粘贴导入、就地改写法和听错的形式,删掉的词能撤销。Linux 没法让纪要窗口避开屏幕共享,所以“这样改对吗?”在共享屏幕时也会显示。"+ },+ {+ "kind": "fixed",+ "platforms": [+ "mac"+ ],+ "title": "英文、日文、韩文界面里,待办后面的负责人不再显示成中文的“对方”“你”“说话人2”。",+ "text": "纪要里记的是中文标记,显示时换成界面语言(Them、You、Speaker 2),导出的 Markdown 和 Word 也一样。"}]},