mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-06 07:09:06 +00:00
49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
|
namespace AIStudio.Settings.DataModel;
|
||
|
|
||
|
public sealed class DataTranslation
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// The live translation interval for debouncing in milliseconds.
|
||
|
/// </summary>
|
||
|
public int DebounceIntervalMilliseconds { get; set; } = 1_500;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Do we want to preselect any translator options?
|
||
|
/// </summary>
|
||
|
public bool PreselectOptions { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Preselect the live translation?
|
||
|
/// </summary>
|
||
|
public bool PreselectLiveTranslation { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Hide the web content reader?
|
||
|
/// </summary>
|
||
|
public bool HideWebContentReader { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Preselect the web content reader?
|
||
|
/// </summary>
|
||
|
public bool PreselectWebContentReader { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Preselect the content cleaner agent?
|
||
|
/// </summary>
|
||
|
public bool PreselectContentCleanerAgent { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Preselect the target language?
|
||
|
/// </summary>
|
||
|
public CommonLanguages PreselectedTargetLanguage { get; set; } = CommonLanguages.EN_US;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Preselect any other language?
|
||
|
/// </summary>
|
||
|
public string PreselectOtherLanguage { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The preselected translator provider.
|
||
|
/// </summary>
|
||
|
public string PreselectedProvider { get; set; } = string.Empty;
|
||
|
}
|