merge: smarter "clean remote files" - fixes #801 (!1143)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1143

Closes #801

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
Marie 2025-06-28 22:47:27 +00:00
commit 559a7566ab
7 changed files with 130 additions and 28 deletions

30
locales/index.d.ts vendored
View file

@ -13285,6 +13285,36 @@ export interface Locale extends ILocale {
* Signup Reason
*/
"signupReason": string;
"clearCachedFilesOptions": {
/**
* Delete all cached remote files
*/
"title": string;
/**
* Only delete files older than:
*/
"olderThan": string;
/**
* now
*/
"now": string;
/**
* one week
*/
"oneWeek": string;
/**
* one month
*/
"oneMonth": string;
/**
* one year
*/
"oneYear": string;
/**
* Don't delete files used as avatars&c
*/
"keepFilesInUse": string;
};
}
declare const locales: {
[lang: string]: Locale;