add mandatory CW for instances

This commit is contained in:
Hazelnoot 2025-06-27 23:20:59 -04:00
parent 595c004a74
commit 5e0115335a
26 changed files with 282 additions and 8 deletions

22
locales/index.d.ts vendored
View file

@ -9216,6 +9216,10 @@ export interface Locale extends ILocale {
* Apply mandatory CW on notes
*/
"write:admin:cw-note": string;
/**
* Apply mandatory CW on instances
*/
"write:admin:cw-instance": string;
/**
* Silence users
*/
@ -10956,6 +10960,10 @@ export interface Locale extends ILocale {
* Set content warning for note
*/
"setMandatoryCWForNote": string;
/**
* Set content warning for instance
*/
"setMandatoryCWForInstance": string;
/**
* Set remote instance as NSFW
*/
@ -12100,6 +12108,10 @@ export interface Locale extends ILocale {
* Note is flagged: "{cw}"
*/
"noteIsFlaggedAs": ParameterizedString<"cw">;
/**
* {name} is flagged: "{cw}"
*/
"instanceIsFlaggedAs": ParameterizedString<"name" | "cw">;
/**
* Mark all media from user as NSFW
*/
@ -13054,13 +13066,21 @@ export interface Locale extends ILocale {
*/
"mandatoryCWDescription": string;
/**
* Add content warning
* Force content warning
*/
"mandatoryCWForNote": string;
/**
* Applies an additional content warning to this post. The new warning will appear like a word mute to distinguish it from the author's own content warning.
*/
"mandatoryCWForNoteDescription": string;
/**
* Force content warning
*/
"mandatoryCWForInstance": string;
/**
* Applies a content warning to all posts originating from this instance. The forced warnings will appear like a word mute to distinguish them from the notes' own content warnings.
*/
"mandatoryCWForInstanceDescription": string;
/**
* Fetch linked note
*/