diff --git a/l10n/bundle.l10n.json b/l10n/bundle.l10n.json
index 61cafda7..c08f1ed2 100644
--- a/l10n/bundle.l10n.json
+++ b/l10n/bundle.l10n.json
@@ -31,6 +31,7 @@
"Enter the environment URL": "Enter the environment URL",
"Active auth profile is not found or has expired. To create a new auth profile, enter the environment URL.": "Active auth profile is not found or has expired. To create a new auth profile, enter the environment URL.",
"Selection is empty.": "Selection is empty.",
+ "PREVIEW": "PREVIEW",
"Explain the following code snippet:": "Explain the following code snippet:",
"Selection is too large. Try making a shorter selection.": "Selection is too large. Try making a shorter selection.",
"Feature is not enabled for this geo.": "Feature is not enabled for this geo.",
diff --git a/loc/translations-export/vscode-powerplatform.xlf b/loc/translations-export/vscode-powerplatform.xlf
index 9ed16109..79905571 100644
--- a/loc/translations-export/vscode-powerplatform.xlf
+++ b/loc/translations-export/vscode-powerplatform.xlf
@@ -241,6 +241,9 @@ The {3} represents Dataverse Environment's Organization ID (GUID)
+
+
+
@@ -389,6 +392,12 @@ The fifth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.s
+
+
+
+
+
+
diff --git a/package.json b/package.json
index 2d287df8..73aace77 100644
--- a/package.json
+++ b/package.json
@@ -353,7 +353,7 @@
{
"command": "powerpages.copilot.clearConversation",
"category": "Copilot In Power Pages",
- "title": "Clear Conversation",
+ "title": "%powerpages.copilotPanel.clearConversation.title%",
"icon": "$(clear-all)"
},
{
@@ -937,7 +937,7 @@
{
"type": "webview",
"id": "powerpages.copilot",
- "name": "Copilot In Power Pages",
+ "name": "%powerpages.copilotPanel.title%",
"initialSize": 6,
"visibility": "visible",
"when": "(!virtualWorkspace && powerpages.websiteYmlExists && config.powerPlatform.experimental.copilotEnabled) || (isWeb && config.powerPlatform.experimental.enableWebCopilot)"
diff --git a/package.nls.json b/package.nls.json
index 99f9a882..70304aba 100644
--- a/package.nls.json
+++ b/package.nls.json
@@ -11,6 +11,9 @@
"power-platform-activitybar.title": "Power Platform",
+ "powerpages.copilotPanel.title": "Copilot In Power Pages",
+ "powerpages.copilotPanel.clearConversation.title": "Clear Conversation",
+
"pacCLI.authPanel.title": "Auth Profiles",
"pacCLI.authPanel.welcome.whenInteractiveSupported": {
"message": "No auth profiles found on this computer.\n[Add Auth Profile](command:pacCLI.authPanel.newAuthProfile)",
diff --git a/src/common/copilot/PowerPagesCopilot.ts b/src/common/copilot/PowerPagesCopilot.ts
index 8edfa6c3..170fbc8e 100644
--- a/src/common/copilot/PowerPagesCopilot.ts
+++ b/src/common/copilot/PowerPagesCopilot.ts
@@ -156,7 +156,7 @@ export class PowerPagesCopilot implements vscode.WebviewViewProvider {
this._view = webviewView;
webviewView.title = "Copilot In Power Pages" + (IS_DESKTOP ? "" : " [PREVIEW]");
- webviewView.description = "PREVIEW";
+ webviewView.description = vscode.l10n.t("PREVIEW");
webviewView.webview.options = {
// Allow scripts in the webview
enableScripts: true,
@@ -210,7 +210,7 @@ export class PowerPagesCopilot implements vscode.WebviewViewProvider {
type: 'copilotStrings',
value: copilotStrings
});
-
+
if (this.aibEndpoint === COPILOT_UNAVAILABLE) {
this.sendMessageToWebview({ type: 'Unavailable' });
return;