We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ce534c + b23cbdc commit 946fa40Copy full SHA for 946fa40
notebook/static/notebook/js/commandpalette.js
@@ -157,14 +157,19 @@ define([
157
} else {
158
display_text = humanize_action_id(action_id);
159
}
160
+
161
+ var help = null;
162
+ if (action.help) {
163
+ help = i18n.msg._(action.help);
164
+ }
165
166
src[group].data.push({
167
display: display_text,
168
shortcut: short,
169
mode_shortcut: get_mode_for_action_id(action_id, notebook),
170
group: group,
171
icon: action.icon,
- help: i18n.msg._(action.help),
172
+ help: help,
173
key: action_id,
174
});
175
0 commit comments