Skip to content

Commit

Permalink
saveParticipats: clarify translated strings with command:
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Jun 9, 2021
1 parent 2f01e8a commit 6ad212c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ class FormatOnSaveParticipant implements ITextFileSaveParticipant {
progress.report({
message: localize(
'formatting',
"Running '{0}' Formatter ([configure](command:workbench.action.openSettings?%5B%22editor.formatOnSave%22%5D)).",
provider.displayName || provider.extensionId && provider.extensionId.value || '???'
"Running '{0}' Formatter ([configure]({1})).",
provider.displayName || provider.extensionId && provider.extensionId.value || '???',
'command:workbench.action.openSettings?%5B%22editor.formatOnSave%22%5D'
)
});
});
Expand Down Expand Up @@ -337,8 +338,9 @@ class CodeActionOnSaveParticipant implements ITextFileSaveParticipant {
progress.report({
message: localize(
'codeaction.get',
"Getting code actions from '{0}' ([configure](command:workbench.action.openSettings?%5B%22editor.codeActionsOnSave%22%5D)).",
[...this._names].map(name => `'${name}'`).join(', ')
"Getting code actions from '{0}' ([configure]({1})).",
[...this._names].map(name => `'${name}'`).join(', '),
'command:workbench.action.openSettings?%5B%22editor.codeActionsOnSave%22%5D'
)
});
}
Expand Down

0 comments on commit 6ad212c

Please sign in to comment.