diff --git a/TheGameExtreme/Resx/AppResources.Designer.cs b/TheGameExtreme/Resx/AppResources.Designer.cs index 47b7d9e..e30af09 100644 --- a/TheGameExtreme/Resx/AppResources.Designer.cs +++ b/TheGameExtreme/Resx/AppResources.Designer.cs @@ -356,5 +356,14 @@ namespace TheGameExtreme.Resx { return ResourceManager.GetString("WhiteTheme", resourceCulture); } } + + /// + /// Recherche une chaîne localisée semblable à Erreur pseudo :. + /// + public static string WrongPseudo { + get { + return ResourceManager.GetString("WrongPseudo", resourceCulture); + } + } } } diff --git a/TheGameExtreme/Resx/AppResources.en-US.resx b/TheGameExtreme/Resx/AppResources.en-US.resx index 44084a7..1f4d592 100644 --- a/TheGameExtreme/Resx/AppResources.en-US.resx +++ b/TheGameExtreme/Resx/AppResources.en-US.resx @@ -242,4 +242,7 @@ The number of batteries corresponds to the initial number of batteries. Half of White theme : + + Pseudo error : + \ No newline at end of file diff --git a/TheGameExtreme/Resx/AppResources.resx b/TheGameExtreme/Resx/AppResources.resx index a43ed79..eb3e4f8 100644 --- a/TheGameExtreme/Resx/AppResources.resx +++ b/TheGameExtreme/Resx/AppResources.resx @@ -242,4 +242,7 @@ Thème clair : + + Erreur pseudo : + \ No newline at end of file diff --git a/TheGameExtreme/view/GamePreparationPage.xaml.cs b/TheGameExtreme/view/GamePreparationPage.xaml.cs index 0113ed9..d6bc25a 100644 --- a/TheGameExtreme/view/GamePreparationPage.xaml.cs +++ b/TheGameExtreme/view/GamePreparationPage.xaml.cs @@ -62,7 +62,7 @@ namespace TheGameExtreme.view playersNames.Add(((Entry)NameList.Children[i]).Text); if (string.IsNullOrWhiteSpace(playersNames[playersNames.Count - 1])) { - await DisplayAlert("Erreur pseudo", AppResources.StrEnterPseudo, "OK"); + await DisplayAlert(AppResources.WrongPseudo, AppResources.StrEnterPseudo, AppResources.StrCloseWind); return; } }