mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 06:24:35 +00:00
Added whole documents to the Translation, Grammar & Spelling, and Rewrite & Improve assistants (#1179)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
f7666861f1
commit
918572c158
150 files changed
+12850
-302
No files matched your search
@@ -9,6 +9,7 @@
|
||||
</MudText>
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<ConfigurationSelect OptionDescription="@T("How should the grammar & spelling checker start?")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.GrammarSpelling.StartMode)" Data="@ConfigurationSelectDataFactory.GetAssistantStartModeData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.GrammarSpelling.StartMode = selectedValue)" OptionHelp="@TA("Choose whether the grammar & spelling checker asks you each time whether to check a document or a text, always starts with one of them, or starts with your last choice. After AI Studio restarts, your last choice is gone, and the grammar & spelling checker asks again. You can switch between the two at any time with the button next to the gear icon.")"/>
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect grammar & spell checker options?")" LabelOn="@T("Grammar & spell checker options are preselected")" LabelOff="@T("No grammar & spell checker options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.GrammarSpelling.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.GrammarSpelling.PreselectOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the grammar & spell checker options. This might be useful when you prefer a specific language or LLM model.")"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Preselect the target language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.GrammarSpelling.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.GrammarSpelling.PreselectedTargetLanguage)" Data="@ConfigurationSelectDataFactory.GetCommonLanguagesOptionalData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.GrammarSpelling.PreselectedTargetLanguage = selectedValue)" OptionHelp="@T("Which target language should be preselected?")"/>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
</MudText>
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<ConfigurationSelect OptionDescription="@T("How should the rewrite & improve assistant start?")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.RewriteImprove.StartMode)" Data="@ConfigurationSelectDataFactory.GetAssistantStartModeData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.RewriteImprove.StartMode = selectedValue)" OptionHelp="@TA("Choose whether the rewrite & improve assistant asks you each time whether to improve a document or a text, always starts with one of them, or starts with your last choice. After AI Studio restarts, your last choice is gone, and the rewrite & improve assistant asks again. You can switch between the two at any time with the button next to the gear icon.")"/>
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
<ConfigurationOption OptionDescription="@T("Preselect rewrite & improve text options?")" LabelOn="@T("Rewrite & improve text options are preselected")" LabelOff="@T("No rewrite & improve text options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.RewriteImprove.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.RewriteImprove.PreselectOptions = updatedState)" OptionHelp="@TA("When enabled, you can preselect the rewrite & improve text options. This might be useful when you prefer a specific language or LLM model.")"/>
|
||||
<ConfigurationSelect OptionDescription="@T("Preselect the target language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.RewriteImprove.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.RewriteImprove.PreselectedTargetLanguage)" Data="@ConfigurationSelectDataFactory.GetCommonLanguagesOptionalData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.RewriteImprove.PreselectedTargetLanguage = selectedValue)" OptionHelp="@T("Which target language should be preselected?")"/>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
</MudText>
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<ConfigurationSelect OptionDescription="@T("How should the translator start?")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.Translation.StartMode)" Data="@ConfigurationSelectDataFactory.GetAssistantStartModeData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.Translation.StartMode = selectedValue)" OptionHelp="@TA("Choose whether the translator asks you each time whether to translate a document or a text, always starts with one of them, or starts with your last choice. After AI Studio restarts, your last choice is gone, and the translator asks again. You can switch between the two at any time with the button next to the gear icon.")"/>
|
||||
<ConfigurationSlider T="int" OptionDescription="@T("How fast should the live translation react?")" Min="500" Max="3_000" Step="100" Unit="@T("milliseconds")" Value="@(() => this.SettingsManager.ConfigurationData.Translation.DebounceIntervalMilliseconds)" ValueUpdate="@(updatedValue => this.SettingsManager.ConfigurationData.Translation.DebounceIntervalMilliseconds = updatedValue)"/>
|
||||
<ConfigurationOption OptionDescription="@T("Hide the web content reader?")" LabelOn="@T("Web content reader is hidden")" LabelOff="@T("Web content reader is shown")" State="@(() => this.SettingsManager.ConfigurationData.Translation.HideWebContentReader)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.Translation.HideWebContentReader = updatedState)" OptionHelp="@T("When activated, the web content reader is hidden and cannot be used. As a result, the user interface becomes a bit easier to use.")"/>
|
||||
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
||||
|
||||
Reference in new issue
Block a user