mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-27 02:37:26 +01:00
Onboard GitHub & Microsoft auth extensions to l10n (#163662)
* onboard github-auth completely to l10n * onboard microsoft-authentication entirely on to l10n
This commit is contained in:
committed by
GitHub
parent
f83ad50c89
commit
6684350a58
@@ -256,7 +256,7 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
||||
*/
|
||||
this._telemetryReporter?.sendTelemetryEvent('loginFailed');
|
||||
|
||||
vscode.window.showErrorMessage(`Sign in failed: ${e}`);
|
||||
vscode.window.showErrorMessage(vscode.l10n.t('Sign in failed: {0}', `${e}`));
|
||||
this._logger.error(e);
|
||||
throw e;
|
||||
}
|
||||
@@ -299,7 +299,7 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
||||
*/
|
||||
this._telemetryReporter?.sendTelemetryEvent('logoutFailed');
|
||||
|
||||
vscode.window.showErrorMessage(`Sign out failed: ${e}`);
|
||||
vscode.window.showErrorMessage(vscode.l10n.t('Sign out failed: {0}', `${e}`));
|
||||
this._logger.error(e);
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user