MCPcopy
hub / github.com/ihmily/StreamCap / get_content

Method get_content

app/ui/components/dialogs/help_dialog.py:23–38  ·  view source on GitHub ↗

Help card information content

(self)

Source from the content-addressed store, hash-verified

21 self._.update(language.get(key, {}))
22
23 def get_content(self):
24 """Help card information content"""
25 help_text_list = [
26 self._["description"],
27 f"\n{self._['main_page']}",
28 self._["search_recording"],
29 self._["refresh_list"],
30 self._["add_new_recording"],
31 self._["start_all"],
32 self._["stop_all"],
33 self._["delete_all"],
34 f"\n{self._['settings_page']}",
35 self._["save_configuration"],
36 f"\n{self._['view_help']}",
37 ]
38 return ft.Text("\n".join(help_text_list))
39
40 def close_panel(self, _):
41 self.open = False

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected