Use localized background switching key shortcut in tooltip

This commit is contained in:
Bryan Housel
2017-06-18 00:31:45 -04:00
parent 22cb4c7f20
commit dcf4fea450

View File

@@ -71,7 +71,7 @@ export function uiBackground(context) {
.html(true)
.title(function() {
var tip = '<div>' + t('background.switch') + '</div>';
return uiTooltipHtml(tip, uiCmd('⌘B'));
return uiTooltipHtml(tip, uiCmd('⌘' + key));
})
);
} else if (description || isOverflowing) {