From b7fffc31a5d8925349dc62a806bc4b52e58f452b Mon Sep 17 00:00:00 2001 From: Alex Ma Date: Thu, 19 Aug 2021 10:11:06 -0700 Subject: [PATCH] Added localization for title and category for dacpac (#16811) * added localization for title and category for dacpac * changed package.nls.json to DacFx * update for xlf --- extensions/dacpac/package.json | 4 ++-- extensions/dacpac/package.nls.json | 2 ++ resources/xlf/en/dacpac.xlf | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/extensions/dacpac/package.json b/extensions/dacpac/package.json index 066893df1f..6bf79b12cb 100644 --- a/extensions/dacpac/package.json +++ b/extensions/dacpac/package.json @@ -38,8 +38,8 @@ "commands": [ { "command": "dacFx.start", - "title": "Data-tier Application wizard", - "category": "Data-tier Application" + "title": "%dacFx.startTitle%", + "category": "%dacFx.category%" } ], "menus": { diff --git a/extensions/dacpac/package.nls.json b/extensions/dacpac/package.nls.json index 07cd4f04cd..734d2e45f5 100644 --- a/extensions/dacpac/package.nls.json +++ b/extensions/dacpac/package.nls.json @@ -1,4 +1,6 @@ { "dacFx.settings": "Dacpac", + "dacFx.startTitle": "Data-tier Application Wizard", + "dacFx.category": "DacFx", "dacFx.defaultSaveLocation": "Full path to folder where .DACPAC and .BACPAC files are saved by default" } diff --git a/resources/xlf/en/dacpac.xlf b/resources/xlf/en/dacpac.xlf index 8c120a277e..56abce7e29 100644 --- a/resources/xlf/en/dacpac.xlf +++ b/resources/xlf/en/dacpac.xlf @@ -4,6 +4,12 @@ Dacpac + + Data-tier Application Wizard + + + DacFx + Full path to folder where .DACPAC and .BACPAC files are saved by default