diff --git a/src/blame.test.ts b/src/blame.test.ts index 79031494..6979fb29 100644 --- a/src/blame.test.ts +++ b/src/blame.test.ts @@ -323,7 +323,7 @@ describe('getBlameStatusBarItem()', () => { sourcegraph: SOURCEGRAPH as any, now: NOW, }).text - ).toBe('Blame: (testUserName) i, 2 months ago') + ).toBe('Author: (testUserName) i, 2 months ago') }) it('displays the most recent hunk if there are no selections', () => { @@ -334,7 +334,7 @@ describe('getBlameStatusBarItem()', () => { sourcegraph: SOURCEGRAPH as any, now: NOW, }).text - ).toBe('Blame: e, 21 days ago') + ).toBe('Author: e, 21 days ago') expect( getBlameStatusBarItem({ @@ -343,6 +343,6 @@ describe('getBlameStatusBarItem()', () => { sourcegraph: SOURCEGRAPH as any, now: NOW, }).text - ).toBe('Blame: e, 21 days ago') + ).toBe('Author: e, 21 days ago') }) }) diff --git a/src/blame.ts b/src/blame.ts index b8e68ce5..7a3f9711 100644 --- a/src/blame.ts +++ b/src/blame.ts @@ -204,7 +204,7 @@ export const getBlameStatusBarItem = ({ ) return { - text: `Blame: ${username}${displayName}, ${distance}`, + text: `Author: ${username}${displayName}, ${distance}`, command: { id: 'open', args: [linkURL] }, tooltip: hoverMessage, } @@ -220,7 +220,7 @@ export const getBlameStatusBarItem = ({ if (!mostRecentHunk) { // Probably a network error return { - text: 'Blame: not found', + text: 'Author: not found', } } const { displayName, username, distance, linkURL, hoverMessage } = getDisplayInfoFromHunk( @@ -230,7 +230,7 @@ export const getBlameStatusBarItem = ({ ) return { - text: `Blame: ${username}${displayName}, ${distance}`, + text: `Author: ${username}${displayName}, ${distance}`, command: { id: 'open', args: [linkURL] }, tooltip: hoverMessage, }