Skip to content

Commit

Permalink
refactor: update strings and improve README instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
huimiu committed Jul 15, 2024
1 parent 6ccef43 commit 53e53d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/vscode-extension/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/vscode-extension/test/utils/autoOpenHelper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 53e53d3

Please sign in to comment.