mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Merge pull request #3122 from takluyver/i3074
Don't try to translate missing help strings
This commit is contained in:
commit
946fa40c53
@ -157,6 +157,11 @@ define([
|
||||
} else {
|
||||
display_text = humanize_action_id(action_id);
|
||||
}
|
||||
|
||||
var help = null;
|
||||
if (action.help) {
|
||||
help = i18n.msg._(action.help);
|
||||
}
|
||||
|
||||
src[group].data.push({
|
||||
display: display_text,
|
||||
@ -164,7 +169,7 @@ define([
|
||||
mode_shortcut: get_mode_for_action_id(action_id, notebook),
|
||||
group: group,
|
||||
icon: action.icon,
|
||||
help: i18n.msg._(action.help),
|
||||
help: help,
|
||||
key: action_id,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user