New Plugin: Translate (#1089)

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
This commit is contained in:
V 2023-05-10 23:14:04 +02:00 committed by GitHub
parent 195f1a032f
commit cb385d1b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 669 additions and 5 deletions

View file

@ -147,8 +147,15 @@ export interface PluginSettingCommon {
description: string;
placeholder?: string;
onChange?(newValue: any): void;
/**
* Whether changing this setting requires a restart
*/
restartNeeded?: boolean;
componentProps?: Record<string, any>;
/**
* Hide this setting from the settings UI
*/
hidden?: boolean;
/**
* Set this if the setting only works on Browser or Desktop, not both
*/