From 53e53d3e44a6c0e20e7b4e4a9f381b7b357c7407 Mon Sep 17 00:00:00 2001 From: Hui Miao Date: Mon, 15 Jul 2024 16:56:24 +0800 Subject: [PATCH] refactor: update strings and improve README instructions --- packages/vscode-extension/package.nls.json | 6 +++--- .../vscode-extension/test/utils/autoOpenHelper.test.ts | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/vscode-extension/package.nls.json b/packages/vscode-extension/package.nls.json index 3e14a685ed..5ae2f93d82 100644 --- a/packages/vscode-extension/package.nls.json +++ b/packages/vscode-extension/package.nls.json @@ -250,9 +250,9 @@ "teamstoolkit.handlers.provisionDescription": "[%s] is successfully created at [local address](%s). Continue to provision and then you can preview the app.", "teamstoolkit.handlers.provisionDescription.fallback": "[%s] is successfully created at %s. Continue to provision and then you can preview the app.", "teamstoolkit.handlers.provisionTitle": "Provision", - "teamstoolkit.handlers.manualStepRequired": "[%s] is created at [local address](%s). Before debugging, follow the steps in the README file.", - "teamstoolkit.handlers.manualStepRequired.fallback": "[%s] is created at %s. Before debugging, follow the steps in the README file.", - "teamstoolkit.handlers.manualStepRequiredTitle": "Get more info", + "teamstoolkit.handlers.manualStepRequired": "[%s] is created at [local address](%s). Follow the instructions in README file to preview your app.", + "teamstoolkit.handlers.manualStepRequired.fallback": "[%s] is created at %s. Follow the instructions in README file to preview your app.", + "teamstoolkit.handlers.manualStepRequiredTitle": "Open README", "teamstoolkit.handlers.referLinkForMoreDetails": "Please refer to this link for more details: ", "teamstoolkit.handlers.reportIssue": "Report Issue", "teamstoolkit.handlers.similarIssues": "Similar Issues", diff --git a/packages/vscode-extension/test/utils/autoOpenHelper.test.ts b/packages/vscode-extension/test/utils/autoOpenHelper.test.ts index ccd155de2d..b819e5b648 100644 --- a/packages/vscode-extension/test/utils/autoOpenHelper.test.ts +++ b/packages/vscode-extension/test/utils/autoOpenHelper.test.ts @@ -248,7 +248,7 @@ describe("autoOpenHelper", () => { .callsFake( (title: string, options: vscode.MessageOptions, ...items: vscode.MessageItem[]) => { return Promise.resolve({ - title: "Get more info", + title: "Open README", run: (options as any).run, } as vscode.MessageItem); } @@ -291,7 +291,7 @@ describe("autoOpenHelper", () => { .callsFake( (title: string, options: vscode.MessageOptions, ...items: vscode.MessageItem[]) => { return Promise.resolve({ - title: "Not Get more info", + title: "Not Open README", run: (options as any).run, } as vscode.MessageItem); } @@ -374,7 +374,7 @@ describe("autoOpenHelper", () => { .callsFake( (title: string, options: vscode.MessageOptions, ...items: vscode.MessageItem[]) => { return Promise.resolve({ - title: "Get more info", + title: "Open README", run: (options as any).run, } as vscode.MessageItem); } @@ -417,7 +417,7 @@ describe("autoOpenHelper", () => { .callsFake( (title: string, options: vscode.MessageOptions, ...items: vscode.MessageItem[]) => { return Promise.resolve({ - title: "Get more info", + title: "Open README", run: (options as any).run, } as vscode.MessageItem); }