Localize commit message generation error notification

This commit is contained in:
Steven Wexler 2025-06-05 09:35:26 -04:00
parent 9920bd3366
commit 844784445c

View file

@ -179,7 +179,7 @@ class GenerateCommitMessageService extends Disposable implements IGenerateCommit
private onError(error: any) {
if (!isCancellationError(error)) {
console.error(error)
this.notificationService.error('Failed to generate commit message')
this.notificationService.error(localize2('voidFailedToGenerateCommitMessage', 'Failed to generate commit message.').value)
}
}
}