@@ -846,7 +846,7 @@ def streams_view(self) -> Any:
846
846
self .view .stream_w = StreamsView (streams_btn_list , self .view )
847
847
w = urwid .LineBox (
848
848
self .view .stream_w ,
849
- title = "Channels " ,
849
+ title = "Streams " ,
850
850
title_attr = "column_title" ,
851
851
tlcorner = COLUMN_TITLE_BAR_LINE ,
852
852
tline = COLUMN_TITLE_BAR_LINE ,
@@ -914,7 +914,7 @@ def show_topic_view(self, stream_button: Any) -> None:
914
914
)
915
915
916
916
def keypress (self , size : urwid_Size , key : str ) -> Optional [str ]:
917
- if is_command_key ("SEARCH_CHANNELS " , key ) or is_command_key (
917
+ if is_command_key ("SEARCH_STREAMS " , key ) or is_command_key (
918
918
"SEARCH_TOPICS" , key
919
919
):
920
920
self .focus_position = 1
@@ -1116,8 +1116,6 @@ def __init__(
1116
1116
else []
1117
1117
)
1118
1118
1119
- print (self .feature_level_content )
1120
-
1121
1119
contents = [
1122
1120
("Application" , [("Zulip Terminal" , zt_version )]),
1123
1121
("Server" , [("Version" , server_version )] + self .feature_level_content ),
@@ -1424,14 +1422,14 @@ def __init__(self, controller: Any, stream_id: int) -> None:
1424
1422
if stream ["history_public_to_subscribers" ]
1425
1423
else "Not Public to Users"
1426
1424
)
1427
- member_keys = ", " .join (map (repr , display_keys_for_command ("CHANNEL_MEMBERS " )))
1425
+ member_keys = ", " .join (map (repr , display_keys_for_command ("STREAM_MEMBERS " )))
1428
1426
1429
1427
self ._stream_email = controller .model .get_stream_email_address (stream_id )
1430
1428
if self ._stream_email is None :
1431
1429
stream_copy_text = "< Stream email is unavailable >"
1432
1430
else :
1433
1431
email_keys = ", " .join (
1434
- map (repr , display_keys_for_command ("COPY_CHANNEL_EMAIL " ))
1432
+ map (repr , display_keys_for_command ("COPY_STREAM_EMAIL " ))
1435
1433
)
1436
1434
stream_copy_text = f"Press { email_keys } to copy Stream email address"
1437
1435
@@ -2177,4 +2175,4 @@ def keypress(self, size: urwid_Size, key: str) -> str:
2177
2175
self .controller .exit_editor_mode ()
2178
2176
self .controller .exit_popup ()
2179
2177
return key
2180
- return super ().keypress (size , key )
2178
+ return super ().keypress (size , key )
0 commit comments