From 1cc142c28cfa485fd04faff6d116e0daea58a919 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 29 Sep 2018 00:12:13 -0400 Subject: [PATCH] Changes to "on remote" terminology vs "in remote" --- README.md | 52 ++++++++++++++++++------------------ package.json | 12 ++++----- src/commands/openBranchInRemote.ts | 6 ++--- src/commands/openBranchesInRemote.ts | 4 +-- src/commands/openCommitInRemote.ts | 4 +-- src/commands/openFileInRemote.ts | 4 +-- src/commands/openInRemote.ts | 2 +- src/commands/openRepoInRemote.ts | 4 +-- src/quickpicks/remotesQuickPick.ts | 6 ++--- 9 files changed, 47 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index dfdcd72..2f70f40 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ The repositories explorer provides the following features, - Provides additional upstream status nodes, if the current branch is tracking a remote branch and, - is behind the upstream — quickly see and explore the specific commits behind the upstream (i.e. commits that haven't been pulled) - is ahead of the upstream — quickly see and explore the specific commits ahead of the upstream (i.e. commits that haven't been pushed) - - A context menu provides _Open Repository in Remote_, and _Refresh_ commands + - A context menu provides _Open Repository on Remote_, and _Refresh_ commands - **Changed Files** — lists all the "working" changes - Expands to a file-based view of all changed files in the working tree ([optionally](#repositories-explorer-settings 'Jump to the Repositories explorer settings')) and/or all files in all commits ahead of the upstream - **History (current-branch)** — lists the revision (commit) history of the current branch @@ -128,7 +128,7 @@ The repositories explorer provides the following features, - **Branches** — lists the local branches - Indicates which branch is the current branch and [optionally](#repositories-explorer-settings 'Jump to the Repositories explorer settings') shows the remote tracking branch - - A context menu provides _Open Branches in Remote_, and _Refresh_ commands + - A context menu provides _Open Branches on Remote_, and _Refresh_ commands - Branches expand to show its revision (commit) history - Provides indicator dots on each branch icon which denote the following: - _None_ — no upstream or up-to-date with the upstream @@ -136,12 +136,12 @@ The repositories explorer provides the following features, - _Red_ — behind the upstream - _Yellow_ — both ahead of and behind the upstream - Context menus for each branch provide - - _Open Branch in Remote_ (if available), _Compare with Remote_ (if available), _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Compare Ancestry with Working Tree_ (when available), _Select for Compare_, _Open Directory Compare with Working Tree_, _Checkout Branch (via Terminal)_, _Merge Branch (via Terminal)_, _Rebase (Interactive) Branch (via Terminal)_, _Rebase (Interactive) Branch to Remote (via Terminal)_, _Squash Branch into Commit (via Terminal)_, _Create Branch (via Terminal)..._, _Delete Branch (via Terminal)_, _Create Tag (via Terminal)..._, and _Refresh_ commands + - _Open Branch on Remote_ (if available), _Compare with Remote_ (if available), _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Compare Ancestry with Working Tree_ (when available), _Select for Compare_, _Open Directory Compare with Working Tree_, _Checkout Branch (via Terminal)_, _Merge Branch (via Terminal)_, _Rebase (Interactive) Branch (via Terminal)_, _Rebase (Interactive) Branch to Remote (via Terminal)_, _Squash Branch into Commit (via Terminal)_, _Create Branch (via Terminal)..._, _Delete Branch (via Terminal)_, _Create Tag (via Terminal)..._, and _Refresh_ commands - Revisions (commits) expand to show the set of files changed, complete with status indicators for adds, changes, renames, and deletes - Context menus for each revision (commit) provide - - _Open Commit in Remote_ (if available), _Open All Changes_, _Open All Changes with Working Tree_, _Open Files_, _Open Revisions_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Select for Compare_, _Cherry Pick Commit (via Terminal)_ (when available), _Push to Commit (via Terminal)_ (when available), _Revert Commit (via Terminal)_ (when available), _Checkout Commit (via Terminal)_, _Rebase to Commit (via Terminal)_, _Reset to Commit (via Terminal)_, _Create Branch (via Terminal)..._, _Create Tag (via Terminal)..._, and _Refresh_ commands + - _Open Commit on Remote_ (if available), _Open All Changes_, _Open All Changes with Working Tree_, _Open Files_, _Open Revisions_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Select for Compare_, _Cherry Pick Commit (via Terminal)_ (when available), _Push to Commit (via Terminal)_ (when available), _Revert Commit (via Terminal)_ (when available), _Checkout Commit (via Terminal)_, _Rebase to Commit (via Terminal)_, _Reset to Commit (via Terminal)_, _Create Branch (via Terminal)..._, _Create Tag (via Terminal)..._, and _Refresh_ commands - Context menus for each changed file provide - - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in Remote_, _Open Revision in Remote_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Copy Remote File Url to Clipboard_, _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands + - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on Remote_, _Open Revision on Remote_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Copy Remote File Url to Clipboard_, _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands - Inline toolbars for each changed file provide an _Open File_ command - **Remotes** — lists the remotes @@ -150,7 +150,7 @@ The repositories explorer provides the following features, - A context menu provides a _Refresh_ command - Remotes expands show its list of branches - Context menus for each remote provide - - _Open Branches in Remote_, _Open Repository in Remote_, _Remove Remote (via Terminal)_, and _Refresh_ commands + - _Open Branches on Remote_, _Open Repository on Remote_, _Remove Remote (via Terminal)_, and _Refresh_ commands - Branches expand to show its revision (commit) history - See the _Branches expand_ section under **Branches** above for more details @@ -161,7 +161,7 @@ The repositories explorer provides the following features, - Context menus for each stash provide - _Apply Stashed Changes_ (confirmation required), _Delete Stashed Changes_ (confirmation required), _Open All Changes_, _Open All Changes with Working Tree_, _Open Files_, _Open Revisions_, _Copy Commit Message to Clipboard_, _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Select for Compare_, and _Refresh_ commands - Context menus for each stashed file provide - - _Apply Changes_, _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in Remote_ (if available), _Compare with Selected_ (when available), _Select for Compare_, and _Show File History_ commands + - _Apply Changes_, _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on Remote_ (if available), _Compare with Selected_ (when available), _Select for Compare_, and _Show File History_ commands - **Tags** — lists the tags - A context menu provides a _Refresh_ command @@ -187,10 +187,10 @@ A [customizable](#file-history-explorer-settings 'Jump to the File History explo The file history explorer provides the following features, - Automatically updates to track the current editor -- A context menu provides _Open File_, _Open File in Remote_ (if available), _Copy Remote File Url to Clipboard_ (if available), and _Refresh_ commands +- A context menu provides _Open File_, _Open File on Remote_ (if available), _Copy Remote File Url to Clipboard_ (if available), and _Refresh_ commands - An inline toolbar provides an _Open File_ command - Context menus for each revision (commit) provides - - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in Remote_ (if available), _Open Revision in Remote_ (if available), _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands + - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on Remote_ (if available), _Open Revision on Remote_ (if available), _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands --- @@ -208,10 +208,10 @@ A [customizable](#line-history-explorer-settings 'Jump to the Line History explo The line history explorer provides the following features, - Automatically updates to track the selection of the current editor -- A context menu provides _Open File_, _Open File in Remote_ (if available), _Copy Remote File Url to Clipboard_ (if available), and _Refresh_ commands +- A context menu provides _Open File_, _Open File on Remote_ (if available), _Copy Remote File Url to Clipboard_ (if available), and _Refresh_ commands - An inline toolbar provides an _Open File_ command - Context menus for each revision (commit) provides - - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in Remote_ (if available), _Open Revision in Remote_ (if available), _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands + - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on Remote_ (if available), _Open Revision on Remote_ (if available), _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands --- @@ -239,9 +239,9 @@ The results explorer provides the following features, - A context menu provides _Clear Results_, and _Refresh_ commands - Revisions (commits) expand show the set of files changed, complete with status indicators for adds, changes, renames, and deletes - Context menus for each revision (commit) provide - - _Open Commit in Remote_ (if available), _Open All Changes_, _Open All Changes with Working Tree_, _Open Files_, _Open Revisions_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Select for Compare_, _Cherry Pick Commit (via Terminal)_ (when available), _Push to Commit (via Terminal)_ (when available), _Revert Commit (via Terminal)_ (when available), _Checkout Commit (via Terminal)_, _Rebase to Commit (via Terminal)_, _Reset to Commit (via Terminal)_, _Create Branch (via Terminal)..._, _Create Tag (via Terminal)..._, and _Refresh_ commands + - _Open Commit on Remote_ (if available), _Open All Changes_, _Open All Changes with Working Tree_, _Open Files_, _Open Revisions_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Compare with HEAD_, _Compare with Working Tree_, _Compare with Selected_ (when available), _Select for Compare_, _Cherry Pick Commit (via Terminal)_ (when available), _Push to Commit (via Terminal)_ (when available), _Revert Commit (via Terminal)_ (when available), _Checkout Commit (via Terminal)_, _Rebase to Commit (via Terminal)_, _Reset to Commit (via Terminal)_, _Create Branch (via Terminal)..._, _Create Tag (via Terminal)..._, and _Refresh_ commands - Context menus for each changed file provide - - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in Remote_, _Open Revision in Remote_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Copy Remote File Url to Clipboard_, _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands + - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on Remote_, _Open Revision on Remote_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Copy Remote File Url to Clipboard_, _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands #### Compare @@ -264,7 +264,7 @@ The results explorer provides the following features, - **Changed Files** — lists the files changed between the compared revisions (branches or commits) - Expands to a file-based view of all changed files - Context menus for each changed file provide - - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in Remote_, _Open Revision in Remote_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Copy Remote File Url to Clipboard_, _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands + - _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on Remote_, _Open Revision on Remote_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Copy Remote File Url to Clipboard_, _Apply Changes_, _Compare with Selected_ (when available), _Select for Compare_, and _Show Commit File Details_ commands --- @@ -354,7 +354,7 @@ The results explorer provides the following features, - Adds a **details hover** annotation to the current line to show more commit details ([optional](#hover-settings 'Jump to the Hover settings'), on by default) - Provides automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services in commit messages - - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open in Remote_, and _Show More Actions_ command buttons + - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open on Remote_, and _Show More Actions_ command buttons - Click the commit id to execute the _Show Commit Details_ command ##### Changes (diff) Hover @@ -383,7 +383,7 @@ The results explorer provides the following features, - Adds a **details hover** annotation to each line while annotating to show more commit details ([optional](#hover-settings 'Jump to the Hover settings'), on by default) - Provides automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services in commit messages - - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open in Remote_, and _Show More Actions_ command buttons + - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open on Remote_, and _Show More Actions_ command buttons - Click the commit id to execute the _Show Commit Details_ command ##### Changes (diff) Hover @@ -462,13 +462,13 @@ The results explorer provides the following features, - Adds a _Show Last Opened Quick Pick_ command (`gitlens.showLastQuickPick`) with a shortcut of `alt+-` to quickly get back to where you were when the last GitLens quick pick menu closed -- Adds commands to open files, commits, branches, and the repository in the supported remote services, **Bitbucket, GitHub, GitLab, and Visual Studio Team Services** or a [**user-defined** remote services](#custom-remotes-settings 'Jump to Custom Remotes settings') — only available if a Git upstream service is configured in the repository +- Adds commands to Open files, commits, branches, and the repository on the supported remote services, **Bitbucket, GitHub, GitLab, and Visual Studio Team Services** or a [**user-defined** remote services](#custom-remotes-settings 'Jump to Custom Remotes settings') — only available if a Git upstream service is configured in the repository - Also supports [remote services with custom domains](#custom-remotes-settings 'Jump to Custom Remotes settings'), such as **Bitbucket, Bitbucket Server (previously called Stash), GitHub, GitHub Enterprise, GitLab** - - _Open Branches in Remote_ command (`gitlens.openBranchesInRemote`) — opens the branches in the supported remote service - - _Open Branch in Remote_ command (`gitlens.openBranchInRemote`) — opens the current branch commits in the supported remote service - - _Open Commit in Remote_ command (`gitlens.openCommitInRemote`) — opens the commit revision of the current line in the supported remote service - - _Open File in Remote_ command (`gitlens.openFileInRemote`) — opens the current file/revision in the supported remote service - - _Open Repository in Remote_ command (`gitlens.openRepoInRemote`) — opens the repository in the supported remote service + - _Open Branches on Remote_ command (`gitlens.openBranchesInRemote`) — opens the branches on the supported remote service + - _Open Branch on Remote_ command (`gitlens.openBranchInRemote`) — opens the current branch commits on the supported remote service + - _Open Commit on Remote_ command (`gitlens.openCommitInRemote`) — opens the commit revision of the current line on the supported remote service + - _Open File on Remote_ command (`gitlens.openFileInRemote`) — opens the current file/revision on the supported remote service + - _Open Repository on Remote_ command (`gitlens.openRepoInRemote`) — opens the repository on the supported remote service #### Branch History @@ -478,7 +478,7 @@ The results explorer provides the following features, - Adds a _Show Current Branch History_ command (`gitlens.showQuickRepoHistory`) with a shortcut of `shift+alt+h` to show a paged **branch history quick pick menu** of the current branch for exploring its commit history - - Provides entries to _Show Commit Search_ and _Open Branch in \_ when available + - Provides entries to _Show Commit Search_ and _Open Branch on \_ when available - Navigate back to the previous quick pick menu via `alt+left arrow`, if available - Navigate pages via `alt+,` and `alt+.` to go backward and forward respectively @@ -492,7 +492,7 @@ The results explorer provides the following features,

- Adds a _Show File History_ command (`gitlens.showQuickFileHistory`) to show a paged **file history quick pick menu** of the current file for exploring its commit history - - Provides additional entries to _Show in Results_, _Show Branch History_, and _Open File in \_ when available + - Provides additional entries to _Show in Results_, _Show Branch History_, and _Open File on \_ when available - Navigate back to the previous quick pick menu via `alt+left arrow`, if available - Navigate pages via `alt+,` and `alt+.` to go backward and forward respectively @@ -504,7 +504,7 @@ The results explorer provides the following features, - Adds a _Show Commit Details_ command (`gitlens.showQuickCommitDetails`) to show a **commit details quick pick menu** of the most recent commit of the current file - Quickly see the set of files changed in the commit, complete with status indicators for adds, changes, renames, and deletes - - Provides additional entries to _Show in Results_, _Open Commit in \_ when available, _Open Files_, _Open Revisions_, _Open Directory Compare with Previous Revision_, _Open Directory Compare with Working Tree_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_ + - Provides additional entries to _Show in Results_, _Open Commit on \_ when available, _Open Files_, _Open Revisions_, _Open Directory Compare with Previous Revision_, _Open Directory Compare with Working Tree_, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_ - Navigate back to the previous quick pick menu via `alt+left arrow`, if available - Use the `alt+right arrow` shortcut on an entry to execute it without closing the quick pick menu, if possible — commands that open windows outside of VS Code will still close the quick pick menu unless [`"gitlens.advanced.quickPick.closeOnFocusOut": false`](#advanced-settings 'Jump to Advanced settings') is set - Use the `alt+right arrow` shortcut on a file entry in the `Changed Files` section to preview the comparison of the current revision with the previous one @@ -514,7 +514,7 @@ The results explorer provides the following features,

- Adds a _Show Commit File Details_ command (`gitlens.showQuickCommitFileDetails`) with a shortcut of `alt+c` to show a **file commit details quick pick menu** of the most recent commit of the current file - - Provides entries to _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File in \_ when available, _Open Revision in \_ when available, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Show File History_, and _Show Previous File History_ + - Provides entries to _Open Changes_, _Open Changes with Working File_, _Open File_, _Open Revision_, _Open File on \_ when available, _Open Revision on \_ when available, _Copy Commit ID to Clipboard_, _Copy Commit Message to Clipboard_, _Show Commit Details_, _Show File History_, and _Show Previous File History_ - Navigate back to the previous quick pick menu via `alt+left arrow`, if available - Use the `alt+right arrow` shortcut on an entry to execute it without closing the quick pick menu, if possible — commands that open windows outside of VS Code will still close the quick pick menu unless [`"gitlens.advanced.quickPick.closeOnFocusOut": false`](#advanced-settings 'Jump to Advanced settings') is set diff --git a/package.json b/package.json index f5ea35e..b5ed336 100644 --- a/package.json +++ b/package.json @@ -1758,22 +1758,22 @@ }, { "command": "gitlens.openBranchesInRemote", - "title": "Open Branches in Remote", + "title": "Open Branches on Remote", "category": "GitLens" }, { "command": "gitlens.openBranchInRemote", - "title": "Open Branch in Remote", + "title": "Open Branch on Remote", "category": "GitLens" }, { "command": "gitlens.openCommitInRemote", - "title": "Open Commit in Remote", + "title": "Open Commit on Remote", "category": "GitLens" }, { "command": "gitlens.openFileInRemote", - "title": "Open File in Remote", + "title": "Open File on Remote", "category": "GitLens" }, { @@ -1783,7 +1783,7 @@ }, { "command": "gitlens.openRepoInRemote", - "title": "Open Repository in Remote", + "title": "Open Repository on Remote", "category": "GitLens" }, { @@ -1933,7 +1933,7 @@ }, { "command": "gitlens.explorers.openFileRevisionInRemote", - "title": "Open Revision in Remote", + "title": "Open Revision on Remote", "category": "GitLens" }, { diff --git a/src/commands/openBranchInRemote.ts b/src/commands/openBranchInRemote.ts index 4357966..5fde5ab 100644 --- a/src/commands/openBranchInRemote.ts +++ b/src/commands/openBranchInRemote.ts @@ -43,7 +43,7 @@ export class OpenBranchInRemoteCommand extends ActiveEditorCommand { const repoPath = await getRepoPathOrActiveOrPrompt( gitUri, editor, - `Open branch in remote for which repository${GlyphChars.Ellipsis}` + `Open branch on remote for which repository${GlyphChars.Ellipsis}` ); if (!repoPath) return undefined; @@ -55,7 +55,7 @@ export class OpenBranchInRemoteCommand extends ActiveEditorCommand { if (branches.length > 1) { const pick = await BranchesQuickPick.show( branches, - `Open which branch in remote${GlyphChars.Ellipsis}` + `Open which branch on remote${GlyphChars.Ellipsis}` ); if (pick === undefined) return undefined; @@ -82,7 +82,7 @@ export class OpenBranchInRemoteCommand extends ActiveEditorCommand { catch (ex) { Logger.error(ex, 'OpenBranchInRemoteCommandArgs'); return window.showErrorMessage( - `Unable to open branch in remote provider. See output channel for more details` + `Unable to open branch on remote provider. See output channel for more details` ); } } diff --git a/src/commands/openBranchesInRemote.ts b/src/commands/openBranchesInRemote.ts index 9a4487e..9ec5b3a 100644 --- a/src/commands/openBranchesInRemote.ts +++ b/src/commands/openBranchesInRemote.ts @@ -40,7 +40,7 @@ export class OpenBranchesInRemoteCommand extends ActiveEditorCommand { const repoPath = await getRepoPathOrActiveOrPrompt( gitUri, editor, - `Open branches in remote for which repository${GlyphChars.Ellipsis}` + `Open branches on remote for which repository${GlyphChars.Ellipsis}` ); if (!repoPath) return undefined; @@ -58,7 +58,7 @@ export class OpenBranchesInRemoteCommand extends ActiveEditorCommand { catch (ex) { Logger.error(ex, 'OpenBranchesInRemoteCommand'); return window.showErrorMessage( - `Unable to open branches in remote provider. See output channel for more details` + `Unable to open branches on remote provider. See output channel for more details` ); } } diff --git a/src/commands/openCommitInRemote.ts b/src/commands/openCommitInRemote.ts index b8d9e36..30ff255 100644 --- a/src/commands/openCommitInRemote.ts +++ b/src/commands/openCommitInRemote.ts @@ -50,7 +50,7 @@ export class OpenCommitInRemoteCommand extends ActiveEditorCommand { : await Container.git.getBlameForLine(gitUri, blameline); if (blame === undefined) { return Messages.showFileNotUnderSourceControlWarningMessage( - 'Unable to open commit in remote provider' + 'Unable to open commit on remote provider' ); } @@ -81,7 +81,7 @@ export class OpenCommitInRemoteCommand extends ActiveEditorCommand { catch (ex) { Logger.error(ex, 'OpenCommitInRemoteCommand'); return window.showErrorMessage( - `Unable to open commit in remote provider. See output channel for more details` + `Unable to open commit on remote provider. See output channel for more details` ); } } diff --git a/src/commands/openFileInRemote.ts b/src/commands/openFileInRemote.ts index 1fb9bba..5f85627 100644 --- a/src/commands/openFileInRemote.ts +++ b/src/commands/openFileInRemote.ts @@ -62,7 +62,7 @@ export class OpenFileInRemoteCommand extends ActiveEditorCommand { ? `Copy url for ${gitUri.getRelativePath()} to clipboard for which branch${ GlyphChars.Ellipsis }` - : `Open ${gitUri.getRelativePath()} in remote for which branch${GlyphChars.Ellipsis}` + : `Open ${gitUri.getRelativePath()} on remote for which branch${GlyphChars.Ellipsis}` ); if (pick === undefined) return undefined; @@ -104,7 +104,7 @@ export class OpenFileInRemoteCommand extends ActiveEditorCommand { catch (ex) { Logger.error(ex, 'OpenFileInRemoteCommand'); return window.showErrorMessage( - `Unable to open file in remote provider. See output channel for more details` + `Unable to open file on remote provider. See output channel for more details` ); } } diff --git a/src/commands/openInRemote.ts b/src/commands/openInRemote.ts index bdf8d12..e6b4063 100644 --- a/src/commands/openInRemote.ts +++ b/src/commands/openInRemote.ts @@ -42,7 +42,7 @@ export class OpenInRemoteCommand extends ActiveEditorCommand { } const verb = args.clipboard ? 'Copy url for' : 'Open'; - const suffix = args.clipboard ? `to clipboard from${GlyphChars.Ellipsis}` : `in${GlyphChars.Ellipsis}`; + const suffix = args.clipboard ? `to clipboard from${GlyphChars.Ellipsis}` : `on${GlyphChars.Ellipsis}`; let placeHolder = ''; switch (args.resource.type) { case RemoteResourceType.Branch: diff --git a/src/commands/openRepoInRemote.ts b/src/commands/openRepoInRemote.ts index 60549ff..39e57be 100644 --- a/src/commands/openRepoInRemote.ts +++ b/src/commands/openRepoInRemote.ts @@ -40,7 +40,7 @@ export class OpenRepoInRemoteCommand extends ActiveEditorCommand { const repoPath = await getRepoPathOrActiveOrPrompt( gitUri, editor, - `Open which repository in remote${GlyphChars.Ellipsis}` + `Open which repository on remote${GlyphChars.Ellipsis}` ); if (!repoPath) return undefined; @@ -58,7 +58,7 @@ export class OpenRepoInRemoteCommand extends ActiveEditorCommand { catch (ex) { Logger.error(ex, 'OpenRepoInRemoteCommand'); return window.showErrorMessage( - `Unable to open repository in remote provider. See output channel for more details` + `Unable to open repository on remote provider. See output channel for more details` ); } } diff --git a/src/quickpicks/remotesQuickPick.ts b/src/quickpicks/remotesQuickPick.ts index ca60fd7..658f928 100644 --- a/src/quickpicks/remotesQuickPick.ts +++ b/src/quickpicks/remotesQuickPick.ts @@ -29,7 +29,7 @@ export class OpenRemoteCommandQuickPickItem extends CommandQuickPickItem { ? `$(link-external) Copy ${getNameFromRemoteResource(resource)} Url to Clipboard from ${ remote.provider!.name }` - : `$(link-external) Open ${getNameFromRemoteResource(resource)} in ${remote.provider!.name}`, + : `$(link-external) Open ${getNameFromRemoteResource(resource)} on ${remote.provider!.name}`, description: `${Strings.pad(GlyphChars.Dash, 2, 3)} $(repo) ${remote.provider!.path}` }, undefined, @@ -104,7 +104,7 @@ export class OpenRemotesCommandQuickPickItem extends CommandQuickPickItem { if (remotes.length === 1) { super( { - label: `$(link-external) Open ${name} in ${remote.provider!.name}`, + label: `$(link-external) Open ${name} on ${remote.provider!.name}`, description: `${Strings.pad(GlyphChars.Dash, 2, 3)} $(repo) ${remote.provider!.path} ${Strings.pad( GlyphChars.Dot, 1, @@ -131,7 +131,7 @@ export class OpenRemotesCommandQuickPickItem extends CommandQuickPickItem { super( { - label: `$(link-external) Open ${name} in ${provider}${GlyphChars.Ellipsis}`, + label: `$(link-external) Open ${name} on ${provider}${GlyphChars.Ellipsis}`, description: `${Strings.pad(GlyphChars.Dash, 2, 3)} ${description}` }, Commands.OpenInRemote,