知了 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
chore: plurals and list separators in the English share sheet
wqugurue45a06a0c3f5
diff --git a/Resources/en.lproj/Localizable.stringsdict b/Resources/en.lproj/Localizable.stringsdictindex d392ed7..2df465c 100644--- a/Resources/en.lproj/Localizable.stringsdict+++ b/Resources/en.lproj/Localizable.stringsdict@@ -210,5 +210,53 @@<string>%lld people</string></dict></dict>+ <key>打开 %lld 次</key>+ <dict>+ <key>NSStringLocalizedFormatKey</key>+ <string>%#@n@</string>+ <key>n</key>+ <dict>+ <key>NSStringFormatSpecTypeKey</key>+ <string>NSStringPluralRuleType</string>+ <key>NSStringFormatValueTypeKey</key>+ <string>lld</string>+ <key>one</key>+ <string>Opened %lld time</string>+ <key>other</key>+ <string>Opened %lld times</string>+ </dict>+ </dict>+ <key>%lld 天后失效</key>+ <dict>+ <key>NSStringLocalizedFormatKey</key>+ <string>%#@n@</string>+ <key>n</key>+ <dict>+ <key>NSStringFormatSpecTypeKey</key>+ <string>NSStringPluralRuleType</string>+ <key>NSStringFormatValueTypeKey</key>+ <string>lld</string>+ <key>one</key>+ <string>Expires in %lld day</string>+ <key>other</key>+ <string>Expires in %lld days</string>+ </dict>+ </dict>+ <key>还有 %lld 处</key>+ <dict>+ <key>NSStringLocalizedFormatKey</key>+ <string>%#@n@</string>+ <key>n</key>+ <dict>+ <key>NSStringFormatSpecTypeKey</key>+ <string>NSStringPluralRuleType</string>+ <key>NSStringFormatValueTypeKey</key>+ <string>lld</string>+ <key>one</key>+ <string>And %lld more</string>+ <key>other</key>+ <string>And %lld more</string>+ </dict>+ </dict></dict></plist>diff --git a/Sources/Cicada/ShareViews.swift b/Sources/Cicada/ShareViews.swiftindex f2e8e0d..ee30c17 100644--- a/Sources/Cicada/ShareViews.swift+++ b/Sources/Cicada/ShareViews.swift@@ -164,7 +164,8 @@ struct ShareSheet: View {}private func hitRow(_ h: ShareHit, kept: [Int]) -> some View {- let what = h.questions.map(Self.category).joined(separator: "、")+ // A list in the reader's language: 、 in Chinese, ", " in English.+ let what = ListFormatter.localizedString(byJoining: h.questions.map(Self.category))let quote: Stringlet place: Stringif h.part == "notes" {