Browse Source

Aligns messages & buttons

main
Eric Amodio 2 years ago
parent
commit
2bb84a2e6b
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/commands/quickCommand.steps.ts
  2. +3
    -3
      src/git/remotes/gitlab.ts
  3. +1
    -1
      src/quickpicks/items/directive.ts

+ 1
- 1
src/commands/quickCommand.steps.ts View File

@ -2241,7 +2241,7 @@ export async function* ensureAccessStep<
let placeholder: string;
if (access.subscription.current.account?.verified === false) {
directives.push(DirectiveQuickPickItem.create(Directive.RequiresVerification, true));
placeholder = 'You must verify your account email address before you can continue';
placeholder = 'You must verify your GitLens+ account email address before you can continue';
} else {
if (access.subscription.required == null) return undefined;

+ 3
- 3
src/git/remotes/gitlab.ts View File

@ -153,7 +153,7 @@ export class GitLabRemote extends RichRemoteProvider {
while (true) {
const subscription = await container.subscription.getSubscription();
if (subscription.account?.verified === false) {
const resend = { title: 'Resend verification email' };
const resend = { title: 'Resend Verification' };
const cancel = { title: 'Cancel', isCloseAffordance: true };
const result = await window.showWarningMessage(
`${title}\n\nYou must verify your GitLens+ account email address before you can continue.`,
@ -189,7 +189,7 @@ export class GitLabRemote extends RichRemoteProvider {
void container.subscription.startPreviewTrial();
break;
} else if (subscription.account == null) {
const signIn = { title: 'Sign in to GitLens+' };
const signIn = { title: 'Sign In to GitLens+' };
const cancel = { title: 'Cancel', isCloseAffordance: true };
const result = await window.showWarningMessage(
`${title}\n\nDo you want to sign in to GitLens+?`,
@ -204,7 +204,7 @@ export class GitLabRemote extends RichRemoteProvider {
}
}
} else {
const upgrade = { title: 'Upgrade your account' };
const upgrade = { title: 'Upgrade Account' };
const cancel = { title: 'Cancel', isCloseAffordance: true };
const result = await window.showWarningMessage(
`${title}\n\nDo you want to upgrade your account?`,

+ 1
- 1
src/quickpicks/items/directive.ts View File

@ -51,7 +51,7 @@ export namespace DirectiveQuickPickItem {
break;
case Directive.RequiresVerification:
label = 'Resend Verification Email';
detail = 'You must verify your account email address before you can continue';
detail = 'You must verify your GitLens+ account email address before you can continue';
break;
case Directive.RequiresFreeSubscription:
label = 'Sign in to GitLens+';

Loading…
Cancel
Save