mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 01:47:22 +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
@@ -8,7 +8,7 @@ namespace AIStudio.Dialogs;
|
||||
|
||||
public partial class ReviewAttachmentsDialog : MSGComponentBase
|
||||
{
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ReviewAttachmentsDialog).Namespace, nameof(ReviewAttachmentsDialog));
|
||||
private new static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(ReviewAttachmentsDialog).Namespace, nameof(ReviewAttachmentsDialog));
|
||||
|
||||
[CascadingParameter]
|
||||
private IMudDialogInstance MudDialog { get; set; } = null!;
|
||||
@@ -186,7 +186,7 @@ public partial class ReviewAttachmentsDialog : MSGComponentBase
|
||||
if (keepReadText is not null)
|
||||
dialogParameters.Add(x => x.KeepReadText, keepReadText);
|
||||
|
||||
var dialogReference = await dialogService.ShowAsync<ReviewAttachmentsDialog>(TB("Your attached files"), dialogParameters, DialogOptions.FULLSCREEN);
|
||||
var dialogReference = await dialogService.ShowAsync<ReviewAttachmentsDialog>(TA("Your attached files"), dialogParameters, DialogOptions.FULLSCREEN);
|
||||
var dialogResult = await dialogReference.Result;
|
||||
if (dialogResult is null || dialogResult.Canceled)
|
||||
return documentPaths;
|
||||
|
||||
Reference in new issue
Block a user