diff --git a/src/commands/copyMessageToClipboard.ts b/src/commands/copyMessageToClipboard.ts index 99ef350..d5d74b8 100644 --- a/src/commands/copyMessageToClipboard.ts +++ b/src/commands/copyMessageToClipboard.ts @@ -88,7 +88,7 @@ export class CopyMessageToClipboardCommand extends ActiveEditorCommand { catch (ex) { if (ex.message.includes("Couldn't find the required `xsel` binary")) { window.showErrorMessage( - `Unable to copy message, xsel is not installed. You can install it via \`sudo apt install xsel\`` + `Unable to copy message, xsel is not installed. Please install it via your package manager, e.g. \`sudo apt install xsel\`` ); return; } diff --git a/src/commands/copyShaToClipboard.ts b/src/commands/copyShaToClipboard.ts index ece7df7..7099005 100644 --- a/src/commands/copyShaToClipboard.ts +++ b/src/commands/copyShaToClipboard.ts @@ -59,7 +59,7 @@ export class CopyShaToClipboardCommand extends ActiveEditorCommand { } catch (ex) { Logger.error(ex, 'CopyShaToClipboardCommand', `getBlameForLine(${blameline})`); - return Messages.showGenericErrorMessage('Unable to copy ommit id'); + return Messages.showGenericErrorMessage('Unable to copy commit id'); } } @@ -69,13 +69,13 @@ export class CopyShaToClipboardCommand extends ActiveEditorCommand { catch (ex) { if (ex.message.includes("Couldn't find the required `xsel` binary")) { window.showErrorMessage( - `Unable to copy commit id, xsel is not installed. You can install it via \`sudo apt install xsel\`` + `Unable to copy commit id, xsel is not installed. Please install it via your package manager, e.g. \`sudo apt install xsel\`` ); return; } Logger.error(ex, 'CopyShaToClipboardCommand'); - return Messages.showGenericErrorMessage('Unable to copy ommit id'); + return Messages.showGenericErrorMessage('Unable to copy commit id'); } } } diff --git a/src/git/remotes/provider.ts b/src/git/remotes/provider.ts index 8530f7e..1eaa9a2 100644 --- a/src/git/remotes/provider.ts +++ b/src/git/remotes/provider.ts @@ -127,7 +127,7 @@ export abstract class RemoteProvider { catch (ex) { if (ex.message.includes("Couldn't find the required `xsel` binary")) { window.showErrorMessage( - `Unable to copy remote url, xsel is not installed. You can install it via \`sudo apt install xsel\`` + `Unable to copy remote url, xsel is not installed. Please install it via your package manager, e.g. \`sudo apt install xsel\`` ); return; }