From df6b0d6046bdf8d7281758a65f4525d9cad09bf1 Mon Sep 17 00:00:00 2001 From: "yvan.calatayud" Date: Wed, 17 Jan 2024 15:46:04 +0100 Subject: [PATCH 1/9] fix : index --- Blazor/Blazor/Pages/Index.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blazor/Blazor/Pages/Index.razor b/Blazor/Blazor/Pages/Index.razor index d0073f0..10a1cf8 100644 --- a/Blazor/Blazor/Pages/Index.razor +++ b/Blazor/Blazor/Pages/Index.razor @@ -2,8 +2,8 @@ Home -
- Logo MathsEduc +
+ Logo MathsEduc

@Localizer["Title"]

From e98baf9966a031ca91f9056f8598d7cddb4f45a1 Mon Sep 17 00:00:00 2001 From: "yvan.calatayud" Date: Wed, 17 Jan 2024 16:14:35 +0100 Subject: [PATCH 2/9] feat : modif composant --- .../Blazor/Components/CardViewQuestion.razor | 33 +++++++++++++++--- .../Components/CardViewQuestion.razor.cs | 11 +++--- .../Pages/Questions/DisplayQuestions.razor | 34 +------------------ 3 files changed, 34 insertions(+), 44 deletions(-) diff --git a/Blazor/Blazor/Components/CardViewQuestion.razor b/Blazor/Blazor/Components/CardViewQuestion.razor index 0574549..7a33f64 100644 --- a/Blazor/Blazor/Components/CardViewQuestion.razor +++ b/Blazor/Blazor/Components/CardViewQuestion.razor @@ -1,6 +1,29 @@ - -
- @CardHeader - @CardBody - @CardFooter + + +
+

Question n°@Question.Id

+
+
@Question.Content
+
+ +
+ @foreach (var answer in Answers) + { +
+ @if (answer.Id == Question.IdAnswerGood) + { +

@answer.Content

+ } + else + { +

@answer.Content

+ } +
+ } +
+ + + diff --git a/Blazor/Blazor/Components/CardViewQuestion.razor.cs b/Blazor/Blazor/Components/CardViewQuestion.razor.cs index 220bb56..76c1ea1 100644 --- a/Blazor/Blazor/Components/CardViewQuestion.razor.cs +++ b/Blazor/Blazor/Components/CardViewQuestion.razor.cs @@ -1,16 +1,15 @@ -using Microsoft.AspNetCore.Components; +using Blazor.Pages; +using Blazor.ViewClasses; +using Microsoft.AspNetCore.Components; namespace Blazor.Components { public partial class CardViewQuestion { [Parameter] - public RenderFragment CardBody { get; set; } + public Question Question { get; set; } [Parameter] - public RenderFragment CardFooter { get; set; } - - [Parameter] - public RenderFragment CardHeader { get; set; } + public List Answers { get; set; } } } diff --git a/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor b/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor index 0e4df0f..84d9463 100644 --- a/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor +++ b/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor @@ -2,36 +2,4 @@ @using Blazor.Components; - - -
-

Question n°@question.Id

-
-
-
@question.Content
-
-
- -
- @foreach (var answer in answers) - { -
- @if (answer.Id == question.IdAnswerGood) - { -

@answer.Content

- } - else - { -

@answer.Content

- } -
- } -
-
- - - - -
+ From a473d77cd803597af81d4f3916149612c9ec28e1 Mon Sep 17 00:00:00 2001 From: "Jade.VAN_BRABANDT" Date: Wed, 17 Jan 2024 16:16:06 +0100 Subject: [PATCH 3/9] feat : PageTitle with trad --- Blazor/Blazor/App.razor | 2 +- .../Pages/Admins/AddAdministrator.razor | 2 +- .../Blazor/Pages/Admins/Administrators.razor | 2 +- .../Pages/Admins/EditAdministrator.razor | 2 +- Blazor/Blazor/Pages/Chapters/AddChapter.razor | 2 +- Blazor/Blazor/Pages/Chapters/Chapters.razor | 2 +- .../Blazor/Pages/Chapters/EditChapter.razor | 2 +- Blazor/Blazor/Pages/Error.cshtml | 2 +- Blazor/Blazor/Pages/Index.razor | 2 +- Blazor/Blazor/Pages/Players/AddPlayer.razor | 2 +- Blazor/Blazor/Pages/Players/EditPlayer.razor | 2 +- Blazor/Blazor/Pages/Players/Players.razor | 2 +- .../Blazor/Pages/Questions/AddQuestion.razor | 2 +- .../Pages/Questions/DisplayQuestions.razor | 2 +- .../Pages/Questions/DisplayQuestions.razor.cs | 9 +- .../Blazor/Pages/Questions/EditQuestion.razor | 2 +- Blazor/Blazor/Pages/Questions/Questions.razor | 2 +- Blazor/Blazor/Pages/_Layout.cshtml | 40 +-- .../Pages.Admins.AddAdministrator.fr-FR.resx | 265 ++++++++-------- .../Pages.Admins.AddAdministrator.resx | 265 ++++++++-------- .../Pages.Admins.Administrators.fr-FR.resx | 271 ++++++++-------- .../Pages.Admins.Administrators.resx | 271 ++++++++-------- .../Pages.Admins.EditAdministrator.fr-FR.resx | 265 ++++++++-------- .../Pages.Admins.EditAdministrator.resx | 265 ++++++++-------- .../Pages.Chapters.AddChapter.fr-FR.resx | 259 ++++++++-------- .../Resources/Pages.Chapters.AddChapter.resx | 259 ++++++++-------- .../Pages.Chapters.Chapters.fr-FR.resx | 277 ++++++++--------- .../Resources/Pages.Chapters.Chapters.resx | 277 ++++++++--------- .../Pages.Chapters.EditChapter.fr-FR.resx | 259 ++++++++-------- .../Resources/Pages.Chapters.EditChapter.resx | 259 ++++++++-------- .../Blazor/Resources/Pages.Index.fr-FR.resx | 253 +++++++-------- Blazor/Blazor/Resources/Pages.Index.resx | 253 +++++++-------- .../Pages.Players.AddPlayer.fr-FR.resx | 265 ++++++++-------- .../Resources/Pages.Players.AddPlayer.resx | 265 ++++++++-------- .../Pages.Players.EditPlayer.fr-FR.resx | 265 ++++++++-------- .../Resources/Pages.Players.EditPlayer.resx | 265 ++++++++-------- .../Pages.Players.Players.fr-FR.resx | 271 ++++++++-------- .../Resources/Pages.Players.Players.resx | 271 ++++++++-------- .../Pages.Questions.AddQuestion.fr-FR.resx | 271 ++++++++-------- .../Pages.Questions.AddQuestion.resx | 273 +++++++++-------- .../Pages.Questions.EditQuestion.fr-FR.resx | 277 ++++++++--------- .../Pages.Questions.EditQuestion.resx | 277 ++++++++--------- .../Pages.Questions.Questions.fr-FR.resx | 289 +++++++++--------- .../Resources/Pages.Questions.Questions.resx | 289 +++++++++--------- Blazor/Blazor/wwwroot/favicon.png | Bin 1148 -> 1503 bytes 45 files changed, 3567 insertions(+), 3490 deletions(-) diff --git a/Blazor/Blazor/App.razor b/Blazor/Blazor/App.razor index af15d68..4389eff 100644 --- a/Blazor/Blazor/App.razor +++ b/Blazor/Blazor/App.razor @@ -5,7 +5,7 @@ - Not found + Not found

Sorry, there's nothing at this address.

diff --git a/Blazor/Blazor/Pages/Admins/AddAdministrator.razor b/Blazor/Blazor/Pages/Admins/AddAdministrator.razor index 6aa0230..ec29e21 100644 --- a/Blazor/Blazor/Pages/Admins/AddAdministrator.razor +++ b/Blazor/Blazor/Pages/Admins/AddAdministrator.razor @@ -1,7 +1,7 @@ @page "/addAdministrator" @using Blazor.Models @using Blazor.Components - +@Localizer["PageTitle"]
diff --git a/Blazor/Blazor/Pages/Admins/Administrators.razor b/Blazor/Blazor/Pages/Admins/Administrators.razor index 277b478..dff45e9 100644 --- a/Blazor/Blazor/Pages/Admins/Administrators.razor +++ b/Blazor/Blazor/Pages/Admins/Administrators.razor @@ -1,7 +1,7 @@ @page "/administrators" @using Blazorise.DataGrid @using Blazor.ViewClasses - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Admins/EditAdministrator.razor b/Blazor/Blazor/Pages/Admins/EditAdministrator.razor index e03994f..4490d83 100644 --- a/Blazor/Blazor/Pages/Admins/EditAdministrator.razor +++ b/Blazor/Blazor/Pages/Admins/EditAdministrator.razor @@ -1,7 +1,7 @@ @page "/editAdministrator/{Id:int}" @using Blazor.Components; - +@Localizer["PageTitle"]
diff --git a/Blazor/Blazor/Pages/Chapters/AddChapter.razor b/Blazor/Blazor/Pages/Chapters/AddChapter.razor index b015b44..8e41a30 100644 --- a/Blazor/Blazor/Pages/Chapters/AddChapter.razor +++ b/Blazor/Blazor/Pages/Chapters/AddChapter.razor @@ -1,7 +1,7 @@ @page "/addChapter" @using Blazor.Models @using Blazor.Components - +@Localizer["PageTitle"]
diff --git a/Blazor/Blazor/Pages/Chapters/Chapters.razor b/Blazor/Blazor/Pages/Chapters/Chapters.razor index 5d315de..8d1b7a9 100644 --- a/Blazor/Blazor/Pages/Chapters/Chapters.razor +++ b/Blazor/Blazor/Pages/Chapters/Chapters.razor @@ -2,7 +2,7 @@ @using Blazor.ViewClasses; @using Blazorise.DataGrid @using Blazored.Modal; - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Chapters/EditChapter.razor b/Blazor/Blazor/Pages/Chapters/EditChapter.razor index def6e32..06b6c4d 100644 --- a/Blazor/Blazor/Pages/Chapters/EditChapter.razor +++ b/Blazor/Blazor/Pages/Chapters/EditChapter.razor @@ -1,7 +1,7 @@ @page "/editChapter/{Id:int}" @using Blazor.Components; - +@Localizer["PageTitle"] diff --git a/Blazor/Blazor/Pages/Error.cshtml b/Blazor/Blazor/Pages/Error.cshtml index 2448342..9a32460 100644 --- a/Blazor/Blazor/Pages/Error.cshtml +++ b/Blazor/Blazor/Pages/Error.cshtml @@ -3,7 +3,7 @@ - +Error diff --git a/Blazor/Blazor/Pages/Index.razor b/Blazor/Blazor/Pages/Index.razor index d0073f0..f322a5f 100644 --- a/Blazor/Blazor/Pages/Index.razor +++ b/Blazor/Blazor/Pages/Index.razor @@ -1,6 +1,6 @@ @page "/" -Home +@Localizer["PageTitle"]
Logo MathsEduc diff --git a/Blazor/Blazor/Pages/Players/AddPlayer.razor b/Blazor/Blazor/Pages/Players/AddPlayer.razor index 45c794b..0908b6e 100644 --- a/Blazor/Blazor/Pages/Players/AddPlayer.razor +++ b/Blazor/Blazor/Pages/Players/AddPlayer.razor @@ -3,7 +3,7 @@ @using Blazor.Components - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Players/EditPlayer.razor b/Blazor/Blazor/Pages/Players/EditPlayer.razor index 0621d5f..89a731e 100644 --- a/Blazor/Blazor/Pages/Players/EditPlayer.razor +++ b/Blazor/Blazor/Pages/Players/EditPlayer.razor @@ -3,7 +3,7 @@ @using Blazor.Components; - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Players/Players.razor b/Blazor/Blazor/Pages/Players/Players.razor index 24d4873..376f262 100644 --- a/Blazor/Blazor/Pages/Players/Players.razor +++ b/Blazor/Blazor/Pages/Players/Players.razor @@ -2,7 +2,7 @@ @using Blazor.ViewClasses; @using Blazorise.DataGrid @using Blazored.Modal; - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Questions/AddQuestion.razor b/Blazor/Blazor/Pages/Questions/AddQuestion.razor index a5fd0fd..61c6ac6 100644 --- a/Blazor/Blazor/Pages/Questions/AddQuestion.razor +++ b/Blazor/Blazor/Pages/Questions/AddQuestion.razor @@ -3,7 +3,7 @@ @using Blazor.Components - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor b/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor index 0e4df0f..a5c49d3 100644 --- a/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor +++ b/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor @@ -1,7 +1,7 @@ @page "/displayquestions/{QuestionId:int}" @using Blazor.Components; - +@Localizer["PageTitle"]
diff --git a/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor.cs b/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor.cs index 2bd62e0..082647c 100644 --- a/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor.cs +++ b/Blazor/Blazor/Pages/Questions/DisplayQuestions.razor.cs @@ -1,8 +1,6 @@ -using Blazor.Models; -using Blazor.Pages; -using Blazor.ViewClasses; +using Blazor.ViewClasses; using Microsoft.AspNetCore.Components; -using static System.Net.WebRequestMethods; +using Microsoft.Extensions.Localization; namespace Blazor.Pages.Questions { @@ -15,7 +13,8 @@ namespace Blazor.Pages.Questions private List answers = new(); public List questions = new(); - + [Inject] + public IStringLocalizer Localizer { get; set; } [Inject] public required HttpClient Http { get; set; } diff --git a/Blazor/Blazor/Pages/Questions/EditQuestion.razor b/Blazor/Blazor/Pages/Questions/EditQuestion.razor index dedc6dd..05df639 100644 --- a/Blazor/Blazor/Pages/Questions/EditQuestion.razor +++ b/Blazor/Blazor/Pages/Questions/EditQuestion.razor @@ -2,7 +2,7 @@ - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/Questions/Questions.razor b/Blazor/Blazor/Pages/Questions/Questions.razor index 3b777ad..a45b4b9 100644 --- a/Blazor/Blazor/Pages/Questions/Questions.razor +++ b/Blazor/Blazor/Pages/Questions/Questions.razor @@ -2,7 +2,7 @@ @using Blazor.ViewClasses; @using Blazorise.DataGrid @using Blazored.Modal; - +@Localizer["PageTitle"]

@Localizer["Title"]

diff --git a/Blazor/Blazor/Pages/_Layout.cshtml b/Blazor/Blazor/Pages/_Layout.cshtml index 7d6cf4d..a35ff43 100644 --- a/Blazor/Blazor/Pages/_Layout.cshtml +++ b/Blazor/Blazor/Pages/_Layout.cshtml @@ -1,22 +1,22 @@ - - - + + + Layout - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.fr-FR.resx index e465b26..48b6132 100644 --- a/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.fr-FR.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Mot de passe - - - Valider - - - Ajouter un administrateur - - - Nom d'utilisateur - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ajouter administrateur + + + Mot de passe + + + Valider + + + Ajouter un administrateur + + + Nom d'utilisateur + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.resx b/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.resx index f8d833e..d945f29 100644 --- a/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.resx +++ b/Blazor/Blazor/Resources/Pages.Admins.AddAdministrator.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Password - - - Submit - - - Add administrator - - - Username - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add Admnistrator + + + Password + + + Submit + + + Add administrator + + + Username + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Admins.Administrators.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Admins.Administrators.fr-FR.resx index e8903b8..5cf5e9e 100644 --- a/Blazor/Blazor/Resources/Pages.Admins.Administrators.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Admins.Administrators.fr-FR.resx @@ -1,135 +1,138 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ajouter - - - Supprimer - - - Editer - - - Administrateurs - - - Nom d'utilisateur - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ajouter + + + Supprimer + + + Editer + + + Administrateurs + + + Administrateurs + + + Nom d'utilisateur + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Admins.Administrators.resx b/Blazor/Blazor/Resources/Pages.Admins.Administrators.resx index 9b4d7f0..0724f5a 100644 --- a/Blazor/Blazor/Resources/Pages.Admins.Administrators.resx +++ b/Blazor/Blazor/Resources/Pages.Admins.Administrators.resx @@ -1,135 +1,138 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Add - - - Delete - - - Edit - - - Administrators - - - Username - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add + + + Delete + + + Edit + + + Administrators + + + Administrators + + + Username + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.fr-FR.resx index 9eae287..093336d 100644 --- a/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.fr-FR.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Mot de passe - - - Valider - - - Editer un administrateur - - - Nom d'utilisateur - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Mot de passe + + + Editer Administrateur + + + Valider + + + Editer un administrateur + + + Nom d'utilisateur + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.resx b/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.resx index 5d96373..52a7a32 100644 --- a/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.resx +++ b/Blazor/Blazor/Resources/Pages.Admins.EditAdministrator.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Password - - - Submit - - - Edit admin - - - Username - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Password + + + Edit Administrator + + + Submit + + + Edit admin + + + Username + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.fr-FR.resx index f6cf8b0..9d73407 100644 --- a/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.fr-FR.resx @@ -1,129 +1,132 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Nom - - - Valider - - - Ajouter un chapitre - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Nom + + + Ajouter Chapitre + + + Valider + + + Ajouter un chapitre + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.resx b/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.resx index e15d084..37bd054 100644 --- a/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.resx +++ b/Blazor/Blazor/Resources/Pages.Chapters.AddChapter.resx @@ -1,129 +1,132 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Name - - - Submit - - - Add chapter - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Name + + + Add Chapter + + + Submit + + + Add chapter + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Chapters.Chapters.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Chapters.Chapters.fr-FR.resx index 4be4877..1426104 100644 --- a/Blazor/Blazor/Resources/Pages.Chapters.Chapters.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Chapters.Chapters.fr-FR.resx @@ -1,138 +1,141 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ajouter - - - Supprimer - - - Éditer - - - Exporter - - - Nom - - - Chapitres - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ajouter + + + Supprimer + + + Éditer + + + Exporter + + + Nom + + + Chapitres + + + Chapitres + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Chapters.Chapters.resx b/Blazor/Blazor/Resources/Pages.Chapters.Chapters.resx index f39242f..84ccee5 100644 --- a/Blazor/Blazor/Resources/Pages.Chapters.Chapters.resx +++ b/Blazor/Blazor/Resources/Pages.Chapters.Chapters.resx @@ -1,138 +1,141 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Add - - - Delete - - - Edit - - - Export - - - Name - - - Chapters - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add + + + Delete + + + Edit + + + Export + + + Name + + + Chapters + + + Chapters + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.fr-FR.resx index c512fd8..55b4c9a 100644 --- a/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.fr-FR.resx @@ -1,129 +1,132 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Nom - - - Valider - - - Editer un chapitre - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Nom + + + Editer Chapitre + + + Valider + + + Editer un chapitre + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.resx b/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.resx index 8bf2929..c8a8cba 100644 --- a/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.resx +++ b/Blazor/Blazor/Resources/Pages.Chapters.EditChapter.resx @@ -1,129 +1,132 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Name - - - Submit - - - Edit chapter - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Name + + + Edit Chapter + + + Submit + + + Edit chapter + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Index.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Index.fr-FR.resx index fa05050..556f275 100644 --- a/Blazor/Blazor/Resources/Pages.Index.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Index.fr-FR.resx @@ -1,126 +1,129 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - C'est la partie administrateur de l'application MathsEduc. Vous pouvez modifier/ajouter/supprimer des questions ou gérer les joueurs, les administrateurs et les chapitres. - - - Bienvenue sur le backoffice de MathsEduc - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Acceuil + + + C'est la partie administrateur de l'application MathsEduc. Vous pouvez modifier/ajouter/supprimer des questions ou gérer les joueurs, les administrateurs et les chapitres. + + + Bienvenue sur le backoffice de MathsEduc + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Index.resx b/Blazor/Blazor/Resources/Pages.Index.resx index 127c567..e2fa3b8 100644 --- a/Blazor/Blazor/Resources/Pages.Index.resx +++ b/Blazor/Blazor/Resources/Pages.Index.resx @@ -1,126 +1,129 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - This is the administrator part of the MathsEduc application. You can edit/add/delete questions or manage players, admins and chapters. - - - Welcome to the MathsEduc backoffice - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Home + + + This is the administrator part of the MathsEduc application. You can edit/add/delete questions or manage players, admins and chapters. + + + Welcome to the MathsEduc backoffice + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Players.AddPlayer.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Players.AddPlayer.fr-FR.resx index d2b15fc..6cf72d5 100644 --- a/Blazor/Blazor/Resources/Pages.Players.AddPlayer.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Players.AddPlayer.fr-FR.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Mot de passe - - - Pseudo - - - Envoyer - - - Ajouter un joueur - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Mot de passe + + + Pseudo + + + Ajouter Joueur + + + Envoyer + + + Ajouter un joueur + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Players.AddPlayer.resx b/Blazor/Blazor/Resources/Pages.Players.AddPlayer.resx index 00b6703..6f76cb3 100644 --- a/Blazor/Blazor/Resources/Pages.Players.AddPlayer.resx +++ b/Blazor/Blazor/Resources/Pages.Players.AddPlayer.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Password - - - Nickname - - - Submit - - - Add player - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Password + + + Nickname + + + Add Player + + + Submit + + + Add player + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Players.EditPlayer.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Players.EditPlayer.fr-FR.resx index ffca3c1..deb9d18 100644 --- a/Blazor/Blazor/Resources/Pages.Players.EditPlayer.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Players.EditPlayer.fr-FR.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Mot de passe - - - Pseudo - - - Valider - - - Éditer un joueur - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Mot de passe + + + Pseudo + + + Editer Joueur + + + Valider + + + Éditer un joueur + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Players.EditPlayer.resx b/Blazor/Blazor/Resources/Pages.Players.EditPlayer.resx index dc8f240..e081e21 100644 --- a/Blazor/Blazor/Resources/Pages.Players.EditPlayer.resx +++ b/Blazor/Blazor/Resources/Pages.Players.EditPlayer.resx @@ -1,132 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Password - - - Nickname - - - Submit - - - Edit player - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Password + + + Nickname + + + Edit Player + + + Submit + + + Edit player + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Players.Players.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Players.Players.fr-FR.resx index 823ebd6..3561e22 100644 --- a/Blazor/Blazor/Resources/Pages.Players.Players.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Players.Players.fr-FR.resx @@ -1,135 +1,138 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ajouter - - - Supprimer - - - Éditer - - - Pseudo - - - Joueurs - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ajouter + + + Supprimer + + + Éditer + + + Pseudo + + + Joueurs + + + Joueurs + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Players.Players.resx b/Blazor/Blazor/Resources/Pages.Players.Players.resx index a561243..5b03606 100644 --- a/Blazor/Blazor/Resources/Pages.Players.Players.resx +++ b/Blazor/Blazor/Resources/Pages.Players.Players.resx @@ -1,135 +1,138 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Add - - - Delete - - - Edit - - - Nickname - - - Players - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add + + + Delete + + + Edit + + + Nickname + + + Players + + + Players + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.fr-FR.resx index 75c856a..a61c511 100644 --- a/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.fr-FR.resx @@ -1,135 +1,138 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Réponse n° - - - Chapitre - - - Contenu - - - Valider - - - Ajouter une question - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Réponse n° + + + Chapitre + + + Contenu + + + Ajouter Question + + + Valider + + + Ajouter une question + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.resx b/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.resx index ef26925..ae6acd1 100644 --- a/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.resx +++ b/Blazor/Blazor/Resources/Pages.Questions.AddQuestion.resx @@ -1,136 +1,139 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Answer - ne pas oublier l'espace à la fin de "Answer " - - - Chapter - - - Content - - - Submit - - - Add question - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Answer + ne pas oublier l'espace à la fin de "Answer " + + + Chapter + + + Content + + + Add Question + + + Submit + + + Add question + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.fr-FR.resx index 3e76e44..861be56 100644 --- a/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.fr-FR.resx @@ -1,138 +1,141 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Réponse n° - - - Chapitre - - - Contenu - - - Correcte - - - Valider - - - Modifier une question - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Réponse n° + + + Chapitre + + + Contenu + + + Correcte + + + Editer Question + + + Valider + + + Modifier une question + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.resx b/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.resx index c1a37e6..5808943 100644 --- a/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.resx +++ b/Blazor/Blazor/Resources/Pages.Questions.EditQuestion.resx @@ -1,138 +1,141 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Answer n° - - - Chapter - - - Content - - - Correct - - - Submit - - - Edit question - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Answer n° + + + Chapter + + + Content + + + Correct + + + Edit Question + + + Submit + + + Edit question + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Questions.Questions.fr-FR.resx b/Blazor/Blazor/Resources/Pages.Questions.Questions.fr-FR.resx index 7f405a9..6d747d0 100644 --- a/Blazor/Blazor/Resources/Pages.Questions.Questions.fr-FR.resx +++ b/Blazor/Blazor/Resources/Pages.Questions.Questions.fr-FR.resx @@ -1,144 +1,147 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ajouter une question - - - Contenu - - - Supprimer - - - Difficulté - - - Éditer - - - Exporter - - - Afficher - - - Questions - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ajouter une question + + + Contenu + + + Supprimer + + + Difficulté + + + Éditer + + + Exporter + + + Questions + + + Afficher + + + Questions + \ No newline at end of file diff --git a/Blazor/Blazor/Resources/Pages.Questions.Questions.resx b/Blazor/Blazor/Resources/Pages.Questions.Questions.resx index 6a985f3..502695d 100644 --- a/Blazor/Blazor/Resources/Pages.Questions.Questions.resx +++ b/Blazor/Blazor/Resources/Pages.Questions.Questions.resx @@ -1,144 +1,147 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Add - - - Content - - - Delete - - - Difficulty - - - Edit - - - Export - - - Show - - - Questions - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add + + + Content + + + Delete + + + Difficulty + + + Edit + + + Export + + + Questions + + + Show + + + Questions + \ No newline at end of file diff --git a/Blazor/Blazor/wwwroot/favicon.png b/Blazor/Blazor/wwwroot/favicon.png index 8422b59695935d180d11d5dbe99653e711097819..1da234d79cb4095b12ee3d10ba149d08b65bba9d 100644 GIT binary patch literal 1503 zcmaJ>c|6n!6dz0LN^H&;N^2({eF(WN!l;p$h@3OA!?ORYmG$Jy{-&p<KQqgssbOzAl1y&6NMliL(dW zAD$_eB+m%~n^%L)|6%5SXkY1EzEbM^xldzcy$eWjL0^^B2`iC*EguS@` zF`vgU42`BvYWt4xEIwKEMyO3kE&h8Jf16M)e%7R}cI@%q#}Z-b!gTgLa-_iHw$H6b zjSnN-As%Z5xvQJ!TiM!aH&iMNTu>m-iF7N_xlbg;-{7GN9FKBpOHyT4?GjSemOV#wcE9|C9&#~s&>SSsXp048j)Q93Nx!(5q zS6B9JdsW6Vqm$5^npvg4X_BpVtEtU8C$gOumCQ1?E>fW~C=rf&C%hfja&-v2CBR%N zXSX0mbZTMi6zYcROYp(4Cs>$FQP~6Hqk3x%gYdNqIBlTs0h{XzI40o=CZ?OU3rUqd zd42~<`+Gh$5CT**70u}J9vUZ`IxEi7-u66T>+S7Ios4{lo|m!fQ)<3P!W@5(=HN$AtPi)xjXH@@Q!B+H>9=;M8Z76! z0?*IxY6pKXQ)be5%c}{pmkcV@)5epf``$oA0a0qH>%lK85DLNC$|$OH3YHU`IyYT{ zxG~Cz54T&-qC!)GE!7A~+_aA-#o*1QB>yHMjG3@zVJ@jz2`w)XXcDoKx{xP@F>7fs z4yXDXA&&YkhI}bom;>`~Zztu_9@yS-FKz?7BgZVSy4Y7$x`tGd`?Hs`p4?@Nt@^NC zr+Z0(#7HQ7FbF=snM|1$1)>oN8`oaTb&wauvD$aGSDE6LPH66G>Y?>Ez&P<~ka!o0 zGru*Gw-;{_w+8D4H_^kZJh8{`l4((l{6Uvs`EFt-o>v>_4`Z(!9g_w}=+b=+woRa= z5>pFpr1sIEMfJKGX&Zx=Q;f1B?%e^683_pK3R7-z{)%I4=$Skxc~qF literal 1148 zcmV-?1cUpDP)9h26h2-Cs%i*@Moc3?#6qJID|D#|3|2Hn7gTIYEkr|%Xjp);YgvFmB&0#2E2b=| zkVr)lMv9=KqwN&%obTp-$<51T%rx*NCwceh-E+=&e(oLO`@Z~7gybJ#U|^tB2Pai} zRN@5%1qsZ1e@R(XC8n~)nU1S0QdzEYlWPdUpH{wJ2Pd4V8kI3BM=)sG^IkUXF2-j{ zrPTYA6sxpQ`Q1c6mtar~gG~#;lt=s^6_OccmRd>o{*=>)KS=lM zZ!)iG|8G0-9s3VLm`bsa6e ze*TlRxAjXtm^F8V`M1%s5d@tYS>&+_ga#xKGb|!oUBx3uc@mj1%=MaH4GR0tPBG_& z9OZE;->dO@`Q)nr<%dHAsEZRKl zedN6+3+uGHejJp;Q==pskSAcRcyh@6mjm2z-uG;s%dM-u0*u##7OxI7wwyCGpS?4U zBFAr(%GBv5j$jS@@t@iI8?ZqE36I^4t+P^J9D^ELbS5KMtZ z{Qn#JnSd$15nJ$ggkF%I4yUQC+BjDF^}AtB7w348EL>7#sAsLWs}ndp8^DsAcOIL9 zTOO!!0!k2`9BLk25)NeZp7ev>I1Mn={cWI3Yhx2Q#DnAo4IphoV~R^c0x&nw*MoIV zPthX?{6{u}sMS(MxD*dmd5rU(YazQE59b|TsB5Tm)I4a!VaN@HYOR)DwH1U5y(E)z zQqQU*B%MwtRQ$%x&;1p%ANmc|PkoFJZ%<-uq%PX&C!c-7ypis=eP+FCeuv+B@h#{4 zGx1m0PjS~FJt}3mdt4c!lel`1;4W|03kcZRG+DzkTy|7-F~eDsV2Tx!73dM0H0CTh zl)F-YUkE1zEzEW(;JXc|KR5{ox%YTh{$%F$a36JP6Nb<0%#NbSh$dMYF-{ z1_x(Vx)}fs?5_|!5xBTWiiIQHG<%)*e=45Fhjw_tlnmlixq;mUdC$R8v#j( zhQ$9YR-o%i5Uc`S?6EC51!bTRK=Xkyb<18FkCKnS2;o*qlij1YA@-nRpq#OMTX&RbL<^2q@0qja!uIvI;j$6>~k@IMwD42=8$$!+R^@5o6HX(*n~ Date: Wed, 17 Jan 2024 17:28:32 +0100 Subject: [PATCH 4/9] fix : conversion to csv --- Blazor/Blazor/Blazor.csproj | 47 ++++++++++--------- .../Blazor/Pages/Questions/Questions.razor.cs | 16 +++---- 2 files changed, 30 insertions(+), 33 deletions(-) diff --git a/Blazor/Blazor/Blazor.csproj b/Blazor/Blazor/Blazor.csproj index 62be3fa..ea3a619 100644 --- a/Blazor/Blazor/Blazor.csproj +++ b/Blazor/Blazor/Blazor.csproj @@ -14,33 +14,34 @@ - - - - + + + + - + - - - - - - - - - - - - - - <_ContentIncludedByDefault Remove="Pages\_Layout.cshtml" /> - - - - + + + + + + + + + + + + + + + <_ContentIncludedByDefault Remove="Pages\_Layout.cshtml" /> + + + + diff --git a/Blazor/Blazor/Pages/Questions/Questions.razor.cs b/Blazor/Blazor/Pages/Questions/Questions.razor.cs index 865bde5..b5e8df7 100644 --- a/Blazor/Blazor/Pages/Questions/Questions.razor.cs +++ b/Blazor/Blazor/Pages/Questions/Questions.razor.cs @@ -13,6 +13,7 @@ using Blazored.Modal; using System.Text.RegularExpressions; using Blazor.Components; using Microsoft.Extensions.Localization; +using SuperConvert.Extensions; namespace Blazor.Pages.Questions; @@ -110,15 +111,9 @@ public partial class Questions StringBuilder sb = new StringBuilder(); HttpResponseMessage response = await Http.GetAsync(API.API_URL+"questionsExport/"+API.TOKEN); var json = await response.Content.ReadAsStringAsync(); - using (var jsonFile = ChoJSONReader.LoadText(json)) - { - using (var csvFile = new ChoCSVWriter(sb).WithFirstLineHeader()) - { - csvFile.Write(jsonFile); - } - } - - var sentFile = new MemoryStream(Encoding.Unicode.GetBytes(sb.ToString())); + byte[] csv = json.ToCsv(';'); + string csvString = Encoding.Unicode.GetString(csv); + var sentFile = new MemoryStream(Encoding.Unicode.GetBytes(csvString)); using (var streamRef = new DotNetStreamReference(stream: sentFile)) { await IJSRuntime.InvokeVoidAsync("downloadFileFromStream", "data.csv", streamRef); @@ -131,9 +126,10 @@ public partial class Questions { await e.File.OpenReadStream().CopyToAsync(ms); var bytes = ms.ToArray(); - string s = Encoding.UTF8.GetString(bytes); + string s = Encoding.Unicode.GetString(bytes); s = s.Replace("\r\n", "\n"); + s = s.Replace("\0", ""); var rows = s.Split('\n'); rows = rows.Skip(1).ToArray(); From 8ba38344c5f35345c5c578497554a56290666697 Mon Sep 17 00:00:00 2001 From: BelsethUwU Date: Fri, 19 Jan 2024 12:07:15 +0100 Subject: [PATCH 5/9] fix : Import question from CSV file --- .../Blazor/Pages/Questions/Questions.razor.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Blazor/Blazor/Pages/Questions/Questions.razor.cs b/Blazor/Blazor/Pages/Questions/Questions.razor.cs index b5e8df7..3ed0fb4 100644 --- a/Blazor/Blazor/Pages/Questions/Questions.razor.cs +++ b/Blazor/Blazor/Pages/Questions/Questions.razor.cs @@ -126,23 +126,23 @@ public partial class Questions { await e.File.OpenReadStream().CopyToAsync(ms); var bytes = ms.ToArray(); - string s = Encoding.Unicode.GetString(bytes); + string s = Encoding.UTF8.GetString(bytes); - s = s.Replace("\r\n", "\n"); - s = s.Replace("\0", ""); + s = s.Replace("\"", string.Empty); var rows = s.Split('\n'); rows = rows.Skip(1).ToArray(); foreach (var row in rows) { var field = row.Split(';'); + field[1] = field[1].Replace(" ", "+"); var formData = new List>(); formData.Add(new KeyValuePair("content", field[0])); - formData.Add(new KeyValuePair("answerContent1", field[2])); - formData.Add(new KeyValuePair("answerContent2", field[3])); - formData.Add(new KeyValuePair("answerContent3", field[4])); - formData.Add(new KeyValuePair("answerContent4", field[5])); - formData.Add(new KeyValuePair("idanswergood", field[6])); + formData.Add(new KeyValuePair("answerContent1", field[3])); + formData.Add(new KeyValuePair("answerContent2", field[4])); + formData.Add(new KeyValuePair("answerContent3", field[5])); + formData.Add(new KeyValuePair("answerContent4", field[6])); + formData.Add(new KeyValuePair("idanswergood", field[2])); string apiUri = API.API_URL+"chapters/name/"+field[1] + "/" + API.TOKEN; @@ -163,7 +163,7 @@ public partial class Questions } var formContent = new FormUrlEncodedContent(formData); - apiUri = API.API_URL+"add/questions/"+API.TOKEN; + apiUri = API.API_URL+"add/question/"+API.TOKEN; response = await Http.PostAsync(apiUri, formContent); From 916a2c0b9c2472a1e737e40121c3dc97ce4cd1d5 Mon Sep 17 00:00:00 2001 From: BelsethUwU Date: Fri, 19 Jan 2024 12:09:37 +0100 Subject: [PATCH 6/9] fix : codesmells --- Blazor/Test/UnitTest1.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Blazor/Test/UnitTest1.cs b/Blazor/Test/UnitTest1.cs index 20b9e62..5b4ace0 100644 --- a/Blazor/Test/UnitTest1.cs +++ b/Blazor/Test/UnitTest1.cs @@ -6,6 +6,7 @@ namespace Test [TestMethod] public void TestMethod1() { + Assert.IsTrue(true); } } } \ No newline at end of file From d8c60b710f3afabe9f4e6de93c0326a590c467ac Mon Sep 17 00:00:00 2001 From: "yvan.calatayud" Date: Fri, 19 Jan 2024 12:12:22 +0100 Subject: [PATCH 7/9] docs : maj readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a8cf1e5..22e784c 100755 --- a/README.md +++ b/README.md @@ -43,6 +43,14 @@ Les principaux objectifs incluent : - Intégrer des fonctionnalités de suivi des progrès pour que les étudiants puissent mesurer leur compréhension au fil du temps. - Assurer la compatibilité avec différents dispositifs et navigateurs pour une accessibilité optimale. +## Le backoffice + +Une partie administrateur est disponible pour gérer l'ajout/la suppression des questions, des chapitres, des administrateurs et des joueurs. +Un export/import des questions au format csv est disponible. +Nous avons créé un composant complexe pour afficher les détails des questions. + +Le blazor, utilisant une api, un fichier de configuration API.cs est nécessaire (n'hésitez à nous le demander). + ## Les Parties Prenantes et leurs Rôles 1. **GUITARD Maxence** - Développeur polyvalent From 1bcd519397416c459f6a1a6ddd97546f35c9bb09 Mon Sep 17 00:00:00 2001 From: "yvan.calatayud" Date: Fri, 19 Jan 2024 13:42:24 +0100 Subject: [PATCH 8/9] fix : hide password --- Blazor/Blazor/Pages/Admins/AddAdministrator.razor | 2 +- Blazor/Blazor/Pages/Admins/EditAdministrator.razor | 2 +- Blazor/Blazor/Pages/Players/AddPlayer.razor | 2 +- Blazor/Blazor/Pages/Players/EditPlayer.razor | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Blazor/Blazor/Pages/Admins/AddAdministrator.razor b/Blazor/Blazor/Pages/Admins/AddAdministrator.razor index ec29e21..4ce2573 100644 --- a/Blazor/Blazor/Pages/Admins/AddAdministrator.razor +++ b/Blazor/Blazor/Pages/Admins/AddAdministrator.razor @@ -24,7 +24,7 @@
- +
diff --git a/Blazor/Blazor/Pages/Admins/EditAdministrator.razor b/Blazor/Blazor/Pages/Admins/EditAdministrator.razor index 4490d83..36a7985 100644 --- a/Blazor/Blazor/Pages/Admins/EditAdministrator.razor +++ b/Blazor/Blazor/Pages/Admins/EditAdministrator.razor @@ -25,7 +25,7 @@
- +
diff --git a/Blazor/Blazor/Pages/Players/AddPlayer.razor b/Blazor/Blazor/Pages/Players/AddPlayer.razor index 0908b6e..2a549ee 100644 --- a/Blazor/Blazor/Pages/Players/AddPlayer.razor +++ b/Blazor/Blazor/Pages/Players/AddPlayer.razor @@ -25,7 +25,7 @@
- +
diff --git a/Blazor/Blazor/Pages/Players/EditPlayer.razor b/Blazor/Blazor/Pages/Players/EditPlayer.razor index 89a731e..939d7e6 100644 --- a/Blazor/Blazor/Pages/Players/EditPlayer.razor +++ b/Blazor/Blazor/Pages/Players/EditPlayer.razor @@ -24,7 +24,7 @@
- +
From b4edd88cb46c369e9fccc8df413e4fd36022f915 Mon Sep 17 00:00:00 2001 From: "yvan.calatayud" Date: Fri, 19 Jan 2024 14:18:49 +0100 Subject: [PATCH 9/9] fix : crash si aucunes questions --- Blazor/Blazor/Pages/Questions/Questions.razor.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Blazor/Blazor/Pages/Questions/Questions.razor.cs b/Blazor/Blazor/Pages/Questions/Questions.razor.cs index 3ed0fb4..53aca9f 100644 --- a/Blazor/Blazor/Pages/Questions/Questions.razor.cs +++ b/Blazor/Blazor/Pages/Questions/Questions.razor.cs @@ -101,8 +101,10 @@ public partial class Questions selectedQuestions.Add(questions[i]); } questions = selectedQuestions; - - totalQuestion = response[0].total_questions; + if (!response.IsNullOrEmpty()) + { + totalQuestion = response[0].total_questions; + } } } @@ -126,9 +128,10 @@ public partial class Questions { await e.File.OpenReadStream().CopyToAsync(ms); var bytes = ms.ToArray(); - string s = Encoding.UTF8.GetString(bytes); + string s = Encoding.Unicode.GetString(bytes); s = s.Replace("\"", string.Empty); + s = s.Replace("\0", string.Empty); var rows = s.Split('\n'); rows = rows.Skip(1).ToArray();