Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: udpate translation
  • Loading branch information
luxuemin committed Aug 31, 2022
commit b74084c96e77e3adc9b8593044ee0e4b43b1bc8a
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
},
{
"command": "leetcode.resetSolution",
"title": "Reset the default code of LeetCode",
"title": "Reset to default code definition",
"category": "LeetCode"
},
{
Expand Down Expand Up @@ -682,7 +682,7 @@
"enumDescriptions": [
"Submit your answer to LeetCode.",
"Test your answer with customized test cases.",
"Reset the default code of template.",
"Reset to default code definition.",
"Star or unstar the current problem.",
"Show the top voted solution for the current problem.",
"Show the problem description page."
Expand Down
2 changes: 1 addition & 1 deletion src/commands/reset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const resetBtn = 'Reset';

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