Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

chore: Edit Notes labels follow the UI language instead of staying Chinese

wquguru28272903cc36
diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings
index 33b9f0f..07d40c9 100644
--- a/Resources/en.lproj/Localizable.strings
+++ b/Resources/en.lproj/Localizable.strings
@@ -1531,6 +1531,7 @@
"写上名字后,这场记录会按这个名字显示。要下次自动认出,再点“记住这个声音”。" = "This meeting will show this name. To recognize them next time, also choose “Remember this voice”.";
"请先确认对方知道。声纹只保存在这台 Mac,用于以后会议认出这个人,可随时在人员库里删除。" = "Make sure they know first. The voiceprint stays only on this Mac, is used to recognize this person in later meetings, and can be deleted from People anytime.";
"编辑纪要" = "Edit Notes";
+"纪要标题" = "Notes title";
"改完保存在这场会议里;人名和术语也会用于以后整理。" = "Saved with this meeting; names and terms are also used for later notes.";
"名字写对后,纪要里所有人名会按这里显示;识别错的写法放在“听成”里。" = "Names in the notes follow the spelling here; put misheard spellings under “Heard as”.";
"例如:季度产品评审" = "e.g. Quarterly product review";
diff --git a/Resources/ja.lproj/Localizable.strings b/Resources/ja.lproj/Localizable.strings
index afbef88..1820477 100644
--- a/Resources/ja.lproj/Localizable.strings
+++ b/Resources/ja.lproj/Localizable.strings
@@ -1531,6 +1531,7 @@
"写上名字后,这场记录会按这个名字显示。要下次自动认出,再点“记住这个声音”。" = "この会議ではこの名前で表示されます。次回も自動で認識するには「この声を覚える」も選んでください。";
"请先确认对方知道。声纹只保存在这台 Mac,用于以后会议认出这个人,可随时在人员库里删除。" = "まず相手に知らせてください。声紋はこのMacだけに保存され、今後の会議でこの人を認識するために使います。「人物」からいつでも削除できます。";
"编辑纪要" = "メモを編集";
+"纪要标题" = "メモのタイトル";
"改完保存在这场会议里;人名和术语也会用于以后整理。" = "この会議に保存されます。名前と用語は今後のメモにも使われます。";
"名字写对后,纪要里所有人名会按这里显示;识别错的写法放在“听成”里。" = "メモ内の名前はここの表記に揃います。聞き間違えた表記は「聞き取り」に入れてください。";
"例如:季度产品评审" = "例:四半期プロダクトレビュー";
diff --git a/Resources/ko.lproj/Localizable.strings b/Resources/ko.lproj/Localizable.strings
index 16aee80..7bac3a4 100644
--- a/Resources/ko.lproj/Localizable.strings
+++ b/Resources/ko.lproj/Localizable.strings
@@ -1531,6 +1531,7 @@
"写上名字后,这场记录会按这个名字显示。要下次自动认出,再点“记住这个声音”。" = "이 회의에서는 이 이름으로 표시됩니다. 다음에도 자동으로 알아보려면 ‘이 목소리 기억하기’도 선택하세요.";
"请先确认对方知道。声纹只保存在这台 Mac,用于以后会议认出这个人,可随时在人员库里删除。" = "먼저 상대방에게 알려 주세요. 음성 지문은 이 Mac에만 저장되며 앞으로 이 사람을 인식하는 데 사용됩니다. ‘사람’에서 언제든지 삭제할 수 있습니다.";
"编辑纪要" = "메모 편집";
+"纪要标题" = "메모 제목";
"改完保存在这场会议里;人名和术语也会用于以后整理。" = "이 회의에 저장됩니다. 이름과 용어는 이후 메모에도 쓰입니다.";
"名字写对后,纪要里所有人名会按这里显示;识别错的写法放在“听成”里。" = "메모 속 이름은 여기 표기를 따릅니다. 잘못 들린 표기는 ‘들린 말’에 넣으세요.";
"例如:季度产品评审" = "예: 분기 제품 리뷰";
diff --git a/Resources/zh-Hans.lproj/Localizable.strings b/Resources/zh-Hans.lproj/Localizable.strings
index d322535..5878075 100644
--- a/Resources/zh-Hans.lproj/Localizable.strings
+++ b/Resources/zh-Hans.lproj/Localizable.strings
@@ -1436,6 +1436,7 @@
"写上名字后,这场记录会按这个名字显示。要下次自动认出,再点“记住这个声音”。" = "写上名字后,这场记录会按这个名字显示。要下次自动认出,再点“记住这个声音”。";
"请先确认对方知道。声纹只保存在这台 Mac,用于以后会议认出这个人,可随时在人员库里删除。" = "请先确认对方知道。声纹只保存在这台 Mac,用于以后会议认出这个人,可随时在人员库里删除。";
"编辑纪要" = "编辑纪要";
+"纪要标题" = "纪要标题";
"改完保存在这场会议里;人名和术语也会用于以后整理。" = "改完保存在这场会议里;人名和术语也会用于以后整理。";
"名字写对后,纪要里所有人名会按这里显示;识别错的写法放在“听成”里。" = "名字写对后,纪要里所有人名会按这里显示;识别错的写法放在“听成”里。";
"例如:季度产品评审" = "例如:季度产品评审";
diff --git a/Sources/Cicada/NotesEditorView.swift b/Sources/Cicada/NotesEditorView.swift
index 53de192..2e6a2c0 100644
--- a/Sources/Cicada/NotesEditorView.swift
+++ b/Sources/Cicada/NotesEditorView.swift
@@ -25,7 +25,7 @@ struct NotesEditorView: View {
Spacer()
Button("取消") { dismiss() }.buttonStyle(.plain)
.font(.system(size: 13)).foregroundStyle(Palette.secondary)
- SoftButton("保存", dark: true) { save() }
+ SoftButton(L("保存"), dark: true) { save() }
}
.padding(.horizontal, 20).padding(.top, 18).padding(.bottom, 14)
@@ -33,17 +33,17 @@ struct NotesEditorView: View {
ScrollView {
VStack(alignment: .leading, spacing: 18) {
- field("纪要标题") {
+ field(L("纪要标题")) {
TextField("例如:季度产品评审", text: optional(\.title))
.textFieldStyle(.roundedBorder)
}
- field("总结") {
+ field(L("总结")) {
editor($draft.summary, height: 110)
}
if !draft.topics.isEmpty {
- section("议题")
+ section(L("议题"))
ForEach(draft.topics.indices, id: \.self) { i in
VStack(alignment: .leading, spacing: 6) {
TextField("议题标题", text: $draft.topics[i].title)
@@ -63,20 +63,20 @@ struct NotesEditorView: View {
}
if !draft.conclusions.isEmpty {
- section("结论")
+ section(L("结论"))
ForEach(draft.conclusions.indices, id: \.self) { i in
- item($draft.conclusions[i], prefix: "结论")
+ item($draft.conclusions[i], prefix: L("结论"))
}
}
if !draft.todos.isEmpty {
- section("待办")
+ section(L("待办"))
ForEach(draft.todos.indices, id: \.self) { i in
- item($draft.todos[i], prefix: "待办")
+ item($draft.todos[i], prefix: L("待办"))
}
}
if !draft.terms.isEmpty {
- section("人名和术语")
+ section(L("人名和术语"))
Text("名字写对后,纪要里所有人名会按这里显示;识别错的写法放在“听成”里。")
.font(.system(size: 11)).foregroundStyle(Palette.tertiary)
ForEach(draft.terms.indices, id: \.self) { i in