mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 04:07: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
@@ -34,6 +34,8 @@ public static class DataSourceReindexWarning
|
||||
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(DataSourceReindexWarning).Namespace, nameof(DataSourceReindexWarning));
|
||||
|
||||
private static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(DataSourceReindexWarning).Namespace, nameof(DataSourceReindexWarning));
|
||||
|
||||
/// <summary>
|
||||
/// Asks before an edited embedding provider is saved.
|
||||
/// </summary>
|
||||
@@ -124,16 +126,16 @@ public static class DataSourceReindexWarning
|
||||
var body = new StringBuilder();
|
||||
body.AppendLineLF(TB("AI Studio keeps what it has already prepared for every file it finds unchanged at the new location, that is, of the same type and with the same size and modification time. In a folder, such a file also has to keep its name and the subfolder it is in."));
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("Every other file goes to your embedding provider once more, which takes a while with many files. Files missing at the new location are removed from the index, while your files on disk stay as they are."));
|
||||
body.AppendLineLF(TA("Every other file goes to your embedding provider once more, which takes a while with many files. Files missing at the new location are removed from the index, while your files on disk stay as they are."));
|
||||
|
||||
if (usesCloudEmbedding)
|
||||
{
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("Your embedding provider runs in the cloud, so preparing files again costs money."));
|
||||
body.AppendLineLF(TA("Your embedding provider runs in the cloud, so preparing files again costs money."));
|
||||
}
|
||||
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("Do you want to apply this change anyway?"));
|
||||
body.AppendLineLF(TA("Do you want to apply this change anyway?"));
|
||||
|
||||
var dialogParameters = new DialogParameters<ConfirmDialog>
|
||||
{
|
||||
@@ -177,7 +179,7 @@ public static class DataSourceReindexWarning
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(FormatDataSourceNames(affected));
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("They keep answering keyword searches, but searching them by meaning stops working, and no further documents can be prepared for them. The ones which are already prepared stay tied to this provider as well, so you cannot simply move them to another one."));
|
||||
body.AppendLineLF(TA("They keep answering keyword searches, but searching them by meaning stops working, and no further documents can be prepared for them. The ones which are already prepared stay tied to this provider as well, so you cannot simply move them to another one."));
|
||||
|
||||
return body.ToString();
|
||||
}
|
||||
@@ -226,16 +228,16 @@ public static class DataSourceReindexWarning
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(FormatDataSourceNames(affected));
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("Everything prepared for them is thrown away, and every one of their documents goes to your embedding provider once more. With a large data source, this takes a while."));
|
||||
body.AppendLineLF(TA("Everything prepared for them is thrown away, and every one of their documents goes to your embedding provider once more. With a large data source, this takes a while."));
|
||||
|
||||
if (usesCloudEmbedding)
|
||||
{
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("Your embedding provider runs in the cloud, so preparing everything again costs money."));
|
||||
body.AppendLineLF(TA("Your embedding provider runs in the cloud, so preparing everything again costs money."));
|
||||
}
|
||||
|
||||
body.AppendLineLF();
|
||||
body.AppendLineLF(TB("Do you want to apply this change anyway?"));
|
||||
body.AppendLineLF(TA("Do you want to apply this change anyway?"));
|
||||
|
||||
var dialogParameters = new DialogParameters<ConfirmDialog>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user