DevTools: Localize strings in the command menu
The commands that were added to the command menu (i.e. ctrl+shift+p) were not calling ls(). This fix does two things: 1. Adds a call to ls() for Action.title, Action.category 2. Adds an ls call for title and category arguments for CommandMenu.createCommand, CommandMenu.createRevealViewCommand, and CommandMenu.createSettingCommand Before: https://imgur.com/sWQWAqK After: https://imgur.com/2O4xq3k Bug: 941561 Change-Id: I82944ecf2a9eeb47bb7824336b6ac49283829e42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1789843Reviewed-by:Jeff Fisher <jeffish@microsoft.com> Reviewed-by:
Yang Guo <yangguo@chromium.org> Commit-Queue: Lorne Mitchell <lomitch@microsoft.com> Cr-Commit-Position: refs/heads/master@{#700310}
Showing
Please register or sign in to comment