mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 16:47:21 +00:00
Added the choice between formal and informal address to the whole app (#1200)
This commit is contained in:
1 parent
382db4b8d0
commit
c9a376f742
342 files changed
+14378
-1893
No files matched your search
@@ -202,9 +202,9 @@ public partial class DataSourceLocalDirectoryDialog : MSGComponentBase
|
||||
private string? MediaTranscriptionHint => !this.SelectsMedia
|
||||
? null
|
||||
: this.MediaTranscriptionService.GetUsableProvider() is null
|
||||
? T("Audio and video files which this data source selects are skipped until you choose a transcription provider in the settings.")
|
||||
? TA("Audio and video files which this data source selects are skipped until you choose a transcription provider in the settings.")
|
||||
: this.AllowedTranscriptionProvider is null
|
||||
? T("Audio and video files which this data source selects are skipped, because your transcription provider does not meet the confidence level this data source requires.")
|
||||
? TA("Audio and video files which this data source selects are skipped, because your transcription provider does not meet the confidence level this data source requires.")
|
||||
: null;
|
||||
|
||||
private IEnumerable<ConfigurationSelectData<ConfidenceLevel>> ConfidenceLevels => ConfigurationSelectDataFactory.GetDataSourceConfidenceLevelsData();
|
||||
@@ -317,7 +317,7 @@ public partial class DataSourceLocalDirectoryDialog : MSGComponentBase
|
||||
return null;
|
||||
|
||||
if (maxChunkTokenLength < 1)
|
||||
return T("Please enter a token limit of at least 1.");
|
||||
return TA("Please enter a token limit of at least 1.");
|
||||
|
||||
var providerMaxChunkTokenLength = this.ProviderMaxChunkTokenLength;
|
||||
if (maxChunkTokenLength > providerMaxChunkTokenLength)
|
||||
@@ -332,7 +332,7 @@ public partial class DataSourceLocalDirectoryDialog : MSGComponentBase
|
||||
return null;
|
||||
|
||||
if (chunkOverlapTokenLength < 0)
|
||||
return T("Please enter 0 or a positive overlap length.");
|
||||
return TA("Please enter 0 or a positive overlap length.");
|
||||
|
||||
var effectiveMaxChunkTokenLength = this.showExpertSettings && this.dataMaxChunkTokenLength > 0
|
||||
? this.dataMaxChunkTokenLength
|
||||
|
||||
Reference in new issue
Block a user