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(windows): list flagged categories the way the reader's language lists them

wquguru81745f12848d
diff --git a/windows/src/Cicada/ShareDialog.cs b/windows/src/Cicada/ShareDialog.cs
index f37f586..d7491c4 100644
--- a/windows/src/Cicada/ShareDialog.cs
+++ b/windows/src/Cicada/ShareDialog.cs
@@ -204,7 +204,8 @@ sealed class ShareDialog : Window
FrameworkElement HitRow(ShareHit h)
{
- var what = string.Join("、", h.Questions.Select(Category));
+ // A list in the reader's language (the Mac's ListFormatter): 、 in Chinese and Japanese, ", " otherwise.
+ var what = string.Join(Strings.Culture.TwoLetterISOLanguageName is "zh" or "ja" ? "、" : ", ", h.Questions.Select(Category));
string place, quote;
if (h.Part == "notes")
{