From dcf4fea450a2ba10e36aeb17890d51fa64354a4d Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sun, 18 Jun 2017 00:31:45 -0400 Subject: [PATCH] Use localized background switching key shortcut in tooltip --- modules/ui/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/background.js b/modules/ui/background.js index faeeb1171..9be6240bf 100644 --- a/modules/ui/background.js +++ b/modules/ui/background.js @@ -71,7 +71,7 @@ export function uiBackground(context) { .html(true) .title(function() { var tip = '
' + t('background.switch') + '
'; - return uiTooltipHtml(tip, uiCmd('⌘B')); + return uiTooltipHtml(tip, uiCmd('⌘' + key)); }) ); } else if (description || isOverflowing) {