add notifications for shared access granted/revoked/login

This commit is contained in:
Hazelnoot 2025-06-21 22:01:23 -04:00
parent 2a13e97863
commit 35a167701f
10 changed files with 260 additions and 12 deletions

44
locales/index.d.ts vendored
View file

@ -10434,6 +10434,18 @@ export interface Locale extends ILocale {
* Import of {x} has been completed
*/
"importOfXCompleted": ParameterizedString<"x">;
/**
* Shared access granted
*/
"sharedAccessGranted": string;
/**
* Shared access revoked
*/
"sharedAccessRevoked": string;
/**
* Shared access login
*/
"sharedAccessLogin": string;
};
"_deck": {
/**
@ -13536,7 +13548,39 @@ export interface Locale extends ILocale {
* User
*/
"user": string;
/**
* default
*/
"default": string;
};
/**
* Permissions: {num}
*/
"permissionsLabel": ParameterizedString<"num">;
/**
* You have been granted shared access to {target} with {rank} rank and {perms} permissions.
*/
"sharedAccessGranted": ParameterizedString<"target" | "rank" | "perms">;
/**
* Shared access to {target} has been revoked.
*/
"sharedAccessRevoked": ParameterizedString<"target">;
/**
* {target} logged in via shared access.
*/
"sharedAccessLogin": ParameterizedString<"target">;
/**
* Unique name to record the purpose of this access token
*/
"accessTokenNameDescription": string;
/**
* Are you sure you want to revoke this token?
*/
"confirmRevokeToken": string;
/**
* Are you sure you want to revoke this token? {num} shared other users will lose shared access.
*/
"confirmRevokeSharedToken": ParameterizedString<"num">;
}
declare const locales: {
[lang: string]: Locale;