From 2a5aa1735dc19c5794c2f11749156383771228a2 Mon Sep 17 00:00:00 2001 From: Alex Ma Date: Mon, 30 Aug 2021 19:18:56 -0700 Subject: [PATCH] added localization for profiler (#16941) --- extensions/profiler/package.json | 20 ++++++++++---------- extensions/profiler/package.nls.json | 9 +++++++++ 2 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 extensions/profiler/package.nls.json diff --git a/extensions/profiler/package.json b/extensions/profiler/package.json index 99db03f29d..a2674b6f2c 100644 --- a/extensions/profiler/package.json +++ b/extensions/profiler/package.json @@ -1,7 +1,7 @@ { "name": "profiler", - "displayName": "SQL Server Profiler", - "description": "SQL Server Profiler for Azure Data Studio", + "displayName": "%displayName%", + "description": "%description%", "version": "0.12.0", "publisher": "Microsoft", "preview": true, @@ -29,23 +29,23 @@ "commands": [ { "command": "profiler.newProfiler", - "title": "Launch Profiler", - "category": "Profiler" + "title": "%profiler.contributes.title.newProfler%", + "category": "%profiler.category%" }, { "command": "profiler.start", - "title": "Start", - "category": "Profiler" + "title": "profiler.contributes.title.start", + "category": "%profiler.category%" }, { "command": "profiler.stop", - "title": "Stop", - "category": "Profiler" + "title": "profiler.contributes.title.stop", + "category": "%profiler.category%" }, { "command": "profiler.openCreateSessionDialog", - "title": "Create Profiler Session", - "category": "Profiler" + "title": "profiler.contributes.title.openCreateSessionDialog", + "category": "%profiler.category%" } ], "menus": { diff --git a/extensions/profiler/package.nls.json b/extensions/profiler/package.nls.json new file mode 100644 index 0000000000..84a6395767 --- /dev/null +++ b/extensions/profiler/package.nls.json @@ -0,0 +1,9 @@ +{ + "displayName": "SQL Server Profiler", + "description": "SQL Server Profiler for Azure Data Studio", + "profiler.contributes.title.newProfler": "Launch Profiler", + "profiler.contributes.title.start": "Start", + "profiler.contributes.title.stop": "Stop", + "profiler.contributes.title.openCreateSessionDialog": "Create Profiler Season", + "profiler.category": "Profiler" +}