Skip to content

Commit b74084c

Browse files
author
luxuemin
committed
chore: udpate translation
1 parent 1e4e704 commit b74084c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
},
117117
{
118118
"command": "leetcode.resetSolution",
119-
"title": "Reset the default code of LeetCode",
119+
"title": "Reset to default code definition",
120120
"category": "LeetCode"
121121
},
122122
{
@@ -682,7 +682,7 @@
682682
"enumDescriptions": [
683683
"Submit your answer to LeetCode.",
684684
"Test your answer with customized test cases.",
685-
"Reset the default code of template.",
685+
"Reset to default code definition.",
686686
"Star or unstar the current problem.",
687687
"Show the top voted solution for the current problem.",
688688
"Show the problem description page."

src/commands/reset.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const resetBtn = 'Reset';
1010

1111
export async function resetSolution(uri?: vscode.Uri): Promise<void> {
1212
try {
13-
const selection = await vscode.window.showInformationMessage("Are you sure to reset the default code", {
13+
const selection = await vscode.window.showInformationMessage("Are you sure to reset to default code definition", {
1414
'detail': 'If reset, your current code will be lost',
1515
modal: true
1616
} as vscode.MessageOptions, resetBtn)

0 commit comments

Comments
 (0)