add settings UI to configure defaultCW and defaultCWPriority
This commit is contained in:
parent
c8f8a61a00
commit
889804b2a8
3 changed files with 64 additions and 2 deletions
34
locales/index.d.ts
vendored
34
locales/index.d.ts
vendored
|
|
@ -11634,6 +11634,40 @@ export interface Locale extends ILocale {
|
|||
* Adding entries here will override the default robots.txt packaged with Sharkey.
|
||||
*/
|
||||
"robotsTxtDescription": string;
|
||||
/**
|
||||
* Default content warning for new posts
|
||||
*/
|
||||
"defaultCW": string;
|
||||
/**
|
||||
* The value here will be auto-filled as the content warning for all new posts and replies.
|
||||
*/
|
||||
"defaultCWDescription": string;
|
||||
/**
|
||||
* Automatic CW priority
|
||||
*/
|
||||
"defaultCWPriority": string;
|
||||
/**
|
||||
* Select preferred action when default CW and keep CW settings are both enabled at the same time.
|
||||
*/
|
||||
"defaultCWPriorityDescription": string;
|
||||
"_defaultCWPriority": {
|
||||
/**
|
||||
* Use Default (use the default CW, ignoring the inherited CW)
|
||||
*/
|
||||
"default": string;
|
||||
/**
|
||||
* Use Parent (use the inherited CW, ignoring the default CW)
|
||||
*/
|
||||
"parent": string;
|
||||
/**
|
||||
* Use Default, then Parent (use the default CW, and append the inherited CW)
|
||||
*/
|
||||
"defaultParent": string;
|
||||
/**
|
||||
* Use Parent, then Default (use the inherited CW, and append the default CW)
|
||||
*/
|
||||
"parentDefault": string;
|
||||
};
|
||||
}
|
||||
declare const locales: {
|
||||
[lang: string]: Locale;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue