Skip to content

Commit 62e0477

Browse files
committed
localized string in connectionDialogWebviewController
1 parent 88806b3 commit 62e0477

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/connectionconfig/connectionDialogWebviewController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class ConnectionDialogWebviewController extends FormWebviewController<
252252
}
253253
}
254254
} catch (err) {
255-
this.logger.error(`Unable to enforce default User Connections group: ${err}`);
255+
this.logger.error(Loc.unableToEnforceDefaultUserConnectionsGroup(getErrorMessage(err)));
256256
}
257257

258258
await this.updateItemVisibility();

src/constants/locConstants.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,14 @@ export class ConnectionDialog {
721721
public static noWorkspacesFound = l10n.t(
722722
"No workspaces found. Please change Fabric account or tenant to view available workspaces.",
723723
);
724+
725+
public static unableToEnforceDefaultUserConnectionsGroup(error: string) {
726+
return l10n.t({
727+
message: "Unable to enforce default User Connections group: {0}",
728+
args: [error],
729+
comment: ["{0} is the error message"],
730+
});
731+
}
724732
}
725733

726734
export class FirewallRule {

0 commit comments

Comments
 (0)