From 6ebfac1d3b3b7a1dc19f8b7f71cf7cf253de43f4 Mon Sep 17 00:00:00 2001
From: ElinorW <elkaguon@microsoft.com>
Date: Wed, 22 May 2024 16:46:57 +0300
Subject: [PATCH] update french string

---
 vscode/microsoft-kiota/l10n/bundle.l10n.fr.json | 2 +-
 vscode/microsoft-kiota/src/extension.ts         | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/vscode/microsoft-kiota/l10n/bundle.l10n.fr.json b/vscode/microsoft-kiota/l10n/bundle.l10n.fr.json
index 36c88bf1e5..e639041a90 100644
--- a/vscode/microsoft-kiota/l10n/bundle.l10n.fr.json
+++ b/vscode/microsoft-kiota/l10n/bundle.l10n.fr.json
@@ -48,7 +48,7 @@
   "Select an option": "Sélectionnez une option",
   "class": "classe",
   "namespace": "espace de nommage",
-  "output path": "chemin de sortie",
+  "output directory": "répertoire de sortie",
   "language": "langage",
   "Create a new API client": "Créer un nouveau client d'API",
   "Create a new plugin": "Créer un nouveau composant",
diff --git a/vscode/microsoft-kiota/src/extension.ts b/vscode/microsoft-kiota/src/extension.ts
index 7b550d6be3..a3719a7dd8 100644
--- a/vscode/microsoft-kiota/src/extension.ts
+++ b/vscode/microsoft-kiota/src/extension.ts
@@ -232,8 +232,7 @@ export async function activate(
      await vscode.commands.executeCommand('setContext',`${treeViewId}.showIcons`, false);
      await vscode.commands.executeCommand('setContext', `${treeViewId}.showRegenerateIcon`, true);
     }),
-
-     registerCommandWithTelemetry(reporter,`${treeViewId}.regenerateButton`, async () => {
+    registerCommandWithTelemetry(reporter,`${treeViewId}.regenerateButton`, async () => {
       const settings = getExtensionSettings(extensionId); 
       const selectedPaths = openApiTreeProvider.getSelectedPaths();
      if (selectedPaths.length === 0) {
@@ -249,7 +248,6 @@ export async function activate(
       await regeneratePlugin(clientOrPluginKey, clientOrPluginObject, settings, selectedPaths);
     }
     }),
-      
     registerCommandWithTelemetry(reporter, `${extensionId}.regenerate`, async (clientKey: string, clientObject: ClientOrPluginProperties, generationType: string) => {
       const settings = getExtensionSettings(extensionId); 
       const workspaceJson = vscode.workspace.textDocuments.find(doc => doc.fileName.endsWith(kiotaWorkspaceFile));
@@ -445,7 +443,6 @@ export async function activate(
     
   void vscode.window.showInformationMessage(`Client ${clientKey} re-generated successfully.`);
   }
-
   async function regeneratePlugin(clientKey: string, clientObject:any, settings: ExtensionSettings,  selectedPaths?: string[]) {
     const pluginTypes = typeof clientObject.pluginTypes === 'string' ? parsePluginType(clientObject.pluginTypes) : KiotaPluginType.Microsoft;
     await vscode.window.withProgress({