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.

fix(linux): the key field of your own AI server is wide enough to read its hint in English, Japanese and Korean

wquguru96e714babb11
diff --git a/linux/cicada/app/settings_window.py b/linux/cicada/app/settings_window.py
index d1e9126..9b47ed9 100644
--- a/linux/cicada/app/settings_window.py
+++ b/linux/cicada/app/settings_window.py
@@ -606,7 +606,9 @@ class SettingsWindow(Gtk.Window):
self.custom_change = ui.button(L("更换"), self._custom_change_key, "outline")
self.custom_remove = ui.button(L("移除 key"), self.remove_key, "dangertext")
self.custom_save = ui.button(L("保存并检查"), self.save_key, "darkbtn")
- key_row = ui.hbox(8, self._label("key"), self.custom_key_line, self.custom_key)
+ key_row = ui.hbox(8, self._label("key"), self.custom_key_line)
+ # Up to 保存并检查: "Optional on this computer or your local network" doesn't fit 26 characters.
+ key_row.pack_start(self.custom_key, True, True, 0)
for b in (self.custom_change, self.custom_remove, self.custom_save):
b.set_valign(Gtk.Align.CENTER)
key_row.pack_end(b, False, False, 0)