From 70b71b889b8c5a99b238df1f0e913ef58226735b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nidhi=20Tyagi=20=F0=9F=8C=9F=F0=9F=90=87=F0=9F=8C=B4?= =?UTF-8?q?=E2=9D=84=EF=B8=8F?= Date: Tue, 3 Oct 2023 23:41:41 +0530 Subject: [PATCH] Localize provider command text --- l10n/bundle.l10n.json | 2 ++ loc/translations-export/vscode-powerplatform.xlf | 12 ++++++------ package.json | 4 ++-- package.nls.json | 2 -- .../client/webViews/powerPagesNavigationProvider.ts | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/l10n/bundle.l10n.json b/l10n/bundle.l10n.json index 83248b89..543eb689 100644 --- a/l10n/bundle.l10n.json +++ b/l10n/bundle.l10n.json @@ -5,6 +5,8 @@ "Edit the site": "Edit the site", "Be careful making changes. Anyone can see the changes you make immediately. Choose Edit the site to make edits, or close the editor tab to cancel without editing.": "Be careful making changes. Anyone can see the changes you make immediately. Choose Edit the site to make edits, or close the editor tab to cancel without editing.", "You are editing a live, public site ": "You are editing a live, public site ", + "Preview site": "Preview site", + "Open in Power Pages": "Open in Power Pages", "Opening preview site...": "Opening preview site...", "Microsoft wants your feeback": "Microsoft wants your feeback", "Check the URL and verify the parameters are correct": "Check the URL and verify the parameters are correct", diff --git a/loc/translations-export/vscode-powerplatform.xlf b/loc/translations-export/vscode-powerplatform.xlf index cfacfafb..a74eea10 100644 --- a/loc/translations-export/vscode-powerplatform.xlf +++ b/loc/translations-export/vscode-powerplatform.xlf @@ -179,6 +179,9 @@ The {3} represents Dataverse Environment's Organization ID (GUID) One or more attribute names have been changed or removed. Contact your admin. + + Open in Power Pages + Opening preview site... @@ -211,6 +214,9 @@ The {3} represents Dataverse Environment's Organization ID (GUID) Preparing pac CLI (v{0})... {0} represents the version number + + Preview site + Profile Kind: {0} The {0} represents the profile type (Admin vs Dataverse) @@ -298,9 +304,6 @@ To learn more, visit [Prevent accidental overwrites](command:powerplatform-walkt This is a Markdown formatted string, and the formatting must persist across translations. The fifth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.saveConflict-learn-more).', keeping brackets and the text in the parentheses unmodified - - Back to Studio - Clear Auth Profiles @@ -416,9 +419,6 @@ The second line should be '[TRANSLATION HERE](command:powerplatform-walkthrough. PowerApps Portal -> Show preview - - Preview Power Pages site - Refresh diff --git a/package.json b/package.json index a1520ee5..d7004a17 100644 --- a/package.json +++ b/package.json @@ -155,12 +155,12 @@ "commands": [ { "command": "powerpages.powerPagesFileExplorer.powerPagesRuntimePreview", - "title": "%microsoft-powerplatform-portals.navigation-loop.previewSite.title%", + "title": "Preview site", "when": "never" }, { "command": "powerpages.powerPagesFileExplorer.backToStudio", - "title": "%microsoft-powerplatform-portals.navigation-loop.backToStudio.title%", + "title": "Open in Power Pages", "when": "never" }, { diff --git a/package.nls.json b/package.nls.json index f8f4fa40..99f9a882 100644 --- a/package.nls.json +++ b/package.nls.json @@ -94,7 +94,5 @@ "The fifth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.saveConflict-learn-more).', keeping brackets and the text in the parentheses unmodified" ] }, - "microsoft-powerplatform-portals.navigation-loop.backToStudio.title": "Back to Studio", - "microsoft-powerplatform-portals.navigation-loop.previewSite.title": "Preview Power Pages site", "microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title": "POWER PAGES ACTIONS" } diff --git a/src/web/client/webViews/powerPagesNavigationProvider.ts b/src/web/client/webViews/powerPagesNavigationProvider.ts index f8636a20..34972a1b 100644 --- a/src/web/client/webViews/powerPagesNavigationProvider.ts +++ b/src/web/client/webViews/powerPagesNavigationProvider.ts @@ -33,17 +33,17 @@ export class PowerPagesNavigationProvider implements vscode.TreeDataProvider