AI action panel improvements.

This commit is contained in:
Burak Kaan Köse
2026-04-04 01:34:57 +02:00
parent 1211e9b28a
commit 1667aa34db
12 changed files with 330 additions and 87 deletions
@@ -389,6 +389,24 @@ public class PreferencesService(IConfigurationService configurationService) : Ob
set => SetPropertyAndSave(nameof(IsWinoAccountButtonHidden), value);
}
public string AiDefaultTranslationLanguageCode
{
get => _configurationService.Get(nameof(AiDefaultTranslationLanguageCode), "en-US");
set => SetPropertyAndSave(nameof(AiDefaultTranslationLanguageCode), string.IsNullOrWhiteSpace(value) ? "en-US" : value.Trim());
}
public string AiSummarizeLanguageCode
{
get => _configurationService.Get(nameof(AiSummarizeLanguageCode), "en-US");
set => SetPropertyAndSave(nameof(AiSummarizeLanguageCode), string.IsNullOrWhiteSpace(value) ? "en-US" : value.Trim());
}
public string AiSummarySavePath
{
get => _configurationService.Get(nameof(AiSummarySavePath), string.Empty);
set => SetPropertyAndSave(nameof(AiSummarySavePath), value?.Trim() ?? string.Empty);
}
public WinoApplicationMode DefaultApplicationMode
{
get