From 17cffe0ab75abf1aae60085727fb5652bcd65037 Mon Sep 17 00:00:00 2001 From: Marvin Hochstetter Date: Thu, 11 Jul 2024 11:11:48 +0200 Subject: [PATCH] Reworked DeleteMultipleContentConfirmationDialog.razor --- ...eteMultipleContentConfirmationDialog.razor | 6 +-- ...eMultipleContentConfirmationDialog.de.resx | 53 +++++++++++++++++++ ...eMultipleContentConfirmationDialog.en.resx | 53 +++++++++++++++++++ 3 files changed, 109 insertions(+), 3 deletions(-) create mode 100644 Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.de.resx create mode 100644 Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.en.resx diff --git a/Presentation/Components/Dialogues/DeleteMultipleContentConfirmationDialog.razor b/Presentation/Components/Dialogues/DeleteMultipleContentConfirmationDialog.razor index 022035235..a3ced224e 100644 --- a/Presentation/Components/Dialogues/DeleteMultipleContentConfirmationDialog.razor +++ b/Presentation/Components/Dialogues/DeleteMultipleContentConfirmationDialog.razor @@ -1,12 +1,12 @@ +@using System.Diagnostics.CodeAnalysis @using Microsoft.Extensions.Localization @using Presentation.PresentationLogic.LearningContent @using Presentation.PresentationLogic.LearningElement @using Presentation.PresentationLogic.LearningWorld -@using System.Diagnostics.CodeAnalysis - @((MarkupString)Localizer["Dialog.Text1", "ContentName"].Value)
+ @((MarkupString)Localizer["Dialog.Text1"].Value)
@Localizer["Dialog.Text2"]
@@ -32,7 +32,7 @@ @code { [Inject, AllowNull] //can never be null, DI will throw exception on unresolved types - n.stich - internal IStringLocalizer Localizer { get; set; } + internal IStringLocalizer Localizer { get; set; } [CascadingParameter] public MudDialogInstance? MudDialog { get; set; } diff --git a/Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.de.resx b/Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.de.resx new file mode 100644 index 000000000..9d9576e70 --- /dev/null +++ b/Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.de.resx @@ -0,0 +1,53 @@ + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + Löschen + + + Abbrechen + + + Wollen Sie wirklich die folgenden Dateien löschen? + + + Die Dateien werden momentan in den folgenden Lernelementen verwendet: + + + Lernwelt + + + Lernelement + + + Lernmaterial + + + Nicht verwendetes Lernmaterial löschen + + + Alles löschen + + \ No newline at end of file diff --git a/Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.en.resx b/Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.en.resx new file mode 100644 index 000000000..61c468540 --- /dev/null +++ b/Presentation/Resources/Components/Dialogues/DeleteMultipleContentConfirmationDialog.en.resx @@ -0,0 +1,53 @@ + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + Cancel + + + Delete + + + The files are currently in use in the following learning elements: + + + Are you really sure you want to delete the following files? + + + Learning world + + + Learning element + + + Learning material + + + Delete unused learning material + + + Delete all + + \ No newline at end of file