You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,7 +130,11 @@ class ActionItemRenderer<T extends IListMenuItem<IActionItem>> implements IListR
129
130
if(element.disabled){
130
131
data.container.title=element.label;
131
132
}elseif(actionTitle&&previewTitle){
132
-
data.container.title=localize({key: 'label',comment: ['placeholders are keybindings, e.g "F2 to apply, Shift+F2 to preview"']},"{0} to apply, {1} to preview",actionTitle,previewTitle);
133
+
if(this._supportsPreview){
134
+
data.container.title=localize({key: 'label-preview',comment: ['placeholders are keybindings, e.g "F2 to apply, Shift+F2 to preview"']},"{0} to apply, {1} to preview",actionTitle,previewTitle);
135
+
}else{
136
+
data.container.title=localize({key: 'label',comment: ['placeholder is a keybinding, e.g "F2 to apply"']},"{0} to apply",actionTitle);
0 commit comments