File tree Expand file tree Collapse file tree
workbench/services/authentication/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,13 +176,14 @@ declare module 'vscode' {
176176 export function getProviderIds ( ) : Thenable < ReadonlyArray < string > > ;
177177
178178 /**
179+ * @deprecated
179180 * An array of the ids of authentication providers that are currently registered.
180181 */
181182 export const providerIds : string [ ] ;
182183
183184 /**
184185 * Returns whether a provider has any sessions matching the requested scopes. This request
185- * is transparent to the user, not UI is shown. Rejects if a provider with providerId is not
186+ * is transparent to the user, no UI is shown. Rejects if a provider with providerId is not
186187 * registered.
187188 * @param providerId The id of the provider
188189 * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication
Original file line number Diff line number Diff line change @@ -237,7 +237,13 @@ export class AuthenticationService extends Disposable implements IAuthentication
237237 group : '2_signInRequests' ,
238238 command : {
239239 id : `${ extensionId } signIn` ,
240- title : nls . localize ( 'signInRequest' , "Sign in to use {0} (1)" , extensionName )
240+ title : nls . localize (
241+ {
242+ key : 'signInRequest' ,
243+ comment : [ 'The placeholder {0} will be replaced with an extension name. (1) is to indicate that this menu item contributes to a badge count.' ]
244+ } ,
245+ "Sign in to use {0} (1)" ,
246+ extensionName )
241247 }
242248 } ) ;
243249
You can’t perform that action at this time.
0 commit comments