Skip to content

Commit 4b697ec

Browse files
Niloth-pneiljp
authored andcommitted
keys: Improve case consistency across help text of hotkeys.
Only the named menus are to be capitalized, everything else is to be in lower case. Hotkeys document regenerated.
1 parent 5fbfe07 commit 4b697ec

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

docs/hotkeys.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
## General
66
|Command|Key Combination|
77
| :--- | :---: |
8-
|Show/hide help menu|<kbd>?</kbd>|
9-
|Show/hide markdown help menu|<kbd>Meta</kbd> + <kbd>m</kbd>|
10-
|Show/hide about menu|<kbd>Meta</kbd> + <kbd>?</kbd>|
11-
|Go Back|<kbd>Esc</kbd>|
8+
|Show/hide Help Menu|<kbd>?</kbd>|
9+
|Show/hide Markdown Help Menu|<kbd>Meta</kbd> + <kbd>m</kbd>|
10+
|Show/hide About Menu|<kbd>Meta</kbd> + <kbd>?</kbd>|
11+
|Go back|<kbd>Esc</kbd>|
1212
|Open draft message saved in this session|<kbd>d</kbd>|
1313
|Redraw screen|<kbd>Ctrl</kbd> + <kbd>l</kbd>|
1414
|Quit|<kbd>Ctrl</kbd> + <kbd>c</kbd>|
15-
|View user information (From Users list)|<kbd>i</kbd>|
15+
|View user information (from users list)|<kbd>i</kbd>|
1616

1717
## Navigation
1818
|Command|Key Combination|
@@ -35,11 +35,11 @@
3535
## Searching
3636
|Command|Key Combination|
3737
| :--- | :---: |
38-
|Search Users|<kbd>w</kbd>|
39-
|Search Messages|<kbd>/</kbd>|
40-
|Search Streams|<kbd>q</kbd>|
38+
|Search users|<kbd>w</kbd>|
39+
|Search messages|<kbd>/</kbd>|
40+
|Search streams|<kbd>q</kbd>|
4141
|Search topics in a stream|<kbd>q</kbd>|
42-
|Search emojis from Emoji-picker popup|<kbd>p</kbd>|
42+
|Search emojis from emoji picker popup|<kbd>p</kbd>|
4343

4444
## Message actions
4545
|Command|Key Combination|
@@ -51,7 +51,7 @@
5151
|Edit message's content or topic|<kbd>e</kbd>|
5252
|New message to a stream|<kbd>c</kbd>|
5353
|New message to a person or group of people|<kbd>x</kbd>|
54-
|Show/hide Emoji picker popup for current message|<kbd>:</kbd>|
54+
|Show/hide emoji picker popup for current message|<kbd>:</kbd>|
5555
|Narrow to the stream of the current message|<kbd>s</kbd>|
5656
|Narrow to the topic of the current message|<kbd>S</kbd>|
5757
|Narrow to a topic/direct-chat, or stream/all-direct-messages|<kbd>z</kbd>|
@@ -69,7 +69,7 @@
6969
|Command|Key Combination|
7070
| :--- | :---: |
7171
|Toggle topics in a stream|<kbd>t</kbd>|
72-
|Mute/unmute Streams|<kbd>m</kbd>|
72+
|Mute/unmute streams|<kbd>m</kbd>|
7373
|Show/hide stream information & modify settings|<kbd>i</kbd>|
7474
|Show/hide stream members (from stream information)|<kbd>m</kbd>|
7575
|Copy stream email to clipboard (from stream information)|<kbd>c</kbd>|

zulipterminal/config/keys.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ class KeyBinding(TypedDict):
3131

3232
'HELP': {
3333
'keys': ['?'],
34-
'help_text': 'Show/hide help menu',
34+
'help_text': 'Show/hide Help Menu',
3535
'excluded_from_random_tips': True,
3636
'key_category': 'general',
3737
},
3838
'MARKDOWN_HELP': {
3939
'keys': ['meta m'],
40-
'help_text': 'Show/hide markdown help menu',
40+
'help_text': 'Show/hide Markdown Help Menu',
4141
'key_category': 'general',
4242
},
4343
'ABOUT': {
4444
'keys': ['meta ?'],
45-
'help_text': 'Show/hide about menu',
45+
'help_text': 'Show/hide About Menu',
4646
'key_category': 'general',
4747
},
4848
'GO_BACK': {
4949
'keys': ['esc'],
50-
'help_text': 'Go Back',
50+
'help_text': 'Go back',
5151
'excluded_from_random_tips': False,
5252
'key_category': 'general',
5353
},
@@ -154,7 +154,7 @@ class KeyBinding(TypedDict):
154154
},
155155
'ADD_REACTION': {
156156
'keys': [':'],
157-
'help_text': 'Show/hide Emoji picker popup for current message',
157+
'help_text': 'Show/hide emoji picker popup for current message',
158158
'key_category': 'msg_actions',
159159
},
160160
'STREAM_NARROW': {
@@ -220,17 +220,17 @@ class KeyBinding(TypedDict):
220220
},
221221
'SEARCH_PEOPLE': {
222222
'keys': ['w'],
223-
'help_text': 'Search Users',
223+
'help_text': 'Search users',
224224
'key_category': 'searching',
225225
},
226226
'SEARCH_MESSAGES': {
227227
'keys': ['/'],
228-
'help_text': 'Search Messages',
228+
'help_text': 'Search messages',
229229
'key_category': 'searching',
230230
},
231231
'SEARCH_STREAMS': {
232232
'keys': ['q'],
233-
'help_text': 'Search Streams',
233+
'help_text': 'Search streams',
234234
'key_category': 'searching',
235235
},
236236
'SEARCH_TOPICS': {
@@ -240,13 +240,13 @@ class KeyBinding(TypedDict):
240240
},
241241
'SEARCH_EMOJIS': {
242242
'keys': ['p'],
243-
'help_text': 'Search emojis from Emoji-picker popup',
243+
'help_text': 'Search emojis from emoji picker popup',
244244
'excluded_from_random_tips': True,
245245
'key_category': 'searching',
246246
},
247247
'TOGGLE_MUTE_STREAM': {
248248
'keys': ['m'],
249-
'help_text': 'Mute/unmute Streams',
249+
'help_text': 'Mute/unmute streams',
250250
'key_category': 'stream_list',
251251
},
252252
'ENTER': {
@@ -317,7 +317,7 @@ class KeyBinding(TypedDict):
317317
},
318318
'USER_INFO': {
319319
'keys': ['i'],
320-
'help_text': 'View user information (From Users list)',
320+
'help_text': 'View user information (from users list)',
321321
'key_category': 'general',
322322
},
323323
'BEGINNING_OF_LINE': {

0 commit comments

Comments
 (0)