langue sur branche

master
Baptiste ARNAUD 5 years ago
parent 198c1f7aeb
commit d47142f2a2

@ -1,4 +1,5 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
@ -15,6 +16,7 @@ using Android.App;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguage("fr")]
// Version information for an assembly consists of the following four values:
//

@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------

@ -118,69 +118,71 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="StrAcendingStack" xml:space="preserve">
<value>rising stack</value>
<comment>String to indicate an ascending stack</comment>
</data>
<data name="StrCantGetStack" xml:space="preserve">
<value>the chosen pile does not exist</value>
<value>Ascending stack</value>
</data>
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
<value>You have not played enough cards!</value>
</data>
<data name="StrChooseCardToPlay" xml:space="preserve">
<value>Please select a card to place on a stack</value>
<comment>String to indicate to choose a card</comment>
</data>
<data name="StrChooseStack" xml:space="preserve">
<value>Select the stack on which you want to put the card</value>
<comment>String for indicate to choose a stack</comment>
<value>You must play at least two cards before finishing your turn</value>
</data>
<data name="StrDownStack" xml:space="preserve">
<value>Down stack</value>
<comment>String to indicate an down stack</comment>
<value>Descending stack</value>
</data>
<data name="StrEndTurn" xml:space="preserve">
<value>End of turn</value>
<comment>Button to end turn</comment>
</data>
<data name="String1" xml:space="preserve">
<value />
<data name="StrEnterPseudo" xml:space="preserve">
<value>Please enter your username</value>
</data>
<data name="String3" xml:space="preserve">
<value>The game is over!</value>
</data>
<data name="String4" xml:space="preserve">
<value>Bravo vous avez gagné!</value>
</data>
<data name="StrLose" xml:space="preserve">
<value>The game is over! Sorry, you lost ... Try again!</value>
<value />
</data>
<data name="StrLose3CardEffect" xml:space="preserve">
<value>The game is over! Sorry, you lost ... You had to play three cards because of the effect \ "Three cards played \" off your game does not play as much! Try again!</value>
<data name="StrPlayerSelections" xml:space="preserve">
<value>Please choose a number of players and their name(s)</value>
</data>
<data name="StrNoMoreCardOnHand" xml:space="preserve">
<value>The player has no more cards in his hand</value>
<data name="StrPseudoGM" xml:space="preserve">
<value>Enter pseudo</value>
</data>
<data name="StrRules" xml:space="preserve">
<value>-The goal is to beat the game! Alone or with others!
<value>- Objective is to beat the machine alone and / or in cooperation.
-98 cards numbered from 2 to 99.
So that the user is 4 players (default): two ascending (Green) and two descendants (Red).
-4 batteries are at your disposal, two ascending and two descending.
- Ascending piles.
-The objective is to be able to put all the cards of the picks on the different piles at your disposal.
- The goal is to put the 98 cards of the game on different piles at your disposal.
(To do this, the rules of the game turn below)
-If you get to empty all the deck and put all the cards on the piles, you win, otherwise you lose.
- To play, just slide a card on the pile that you have decided.
-Every player must play at least two cards per turn.
This card must be well understood.
-On an ascending stack, it is possible to roll back 10 (eg 73 is played -&gt; possibility to play above 73 or 63).
There are two special cases to the rule above. Indeed, it is possible to put a smaller card on an ascending stack provided that it is a dozen lower. In the same way, if the card is bigger than a dozen, it is possible to put it on a falling battery.
-On a falling stack, it is possible to roll back 10 (eg 73 is played -&gt; possibility to play below 73 or 83).
- Ex: On a falling stack, we have 68 =&gt; We can then ask 78
On an ascending stack, we have again 68 =&gt; We can ask 58 or any numbers larger than 68.
-The cohesion and strategy will be two important friends to overcome The Game.</value>
</data>
<data name="StrSkullEffect" xml:space="preserve">
<value>Sorry, you did not cover the skull ... Try again;)</value>
- Each player must play at least two cards per turn.
There is therefore no maximum limit to the card to be played per round. However, it is advisable in most cases.
- One Time Tour, You are How to Buy "End of Tour" in order to pass to the next player.
- The end of the game occurs when all cards are played or when the player whose turn it is can not play.
- To the Preparing Party, Turning Display, Screen View Player Number of Player and Pseudo, The Type of Game.
- The type of game allows to define the cards with you will play: relative, decimal ...
The number of batteries corresponds to the initial number of batteries. Half of the piles are still ascending and the other half are still descending. Moreover, the more the number of piles is important, the easier the game is. "</value>
</data>
<data name="StrWin" xml:space="preserve">
<value>The game is over! Well done you won!</value>
<value>Congratulations, you won</value>
</data>
<data name="StrWrongStack" xml:space="preserve">
<value>The card does not fit in the selected stack!</value>
<value>The card does not fit in the cut pile!</value>
</data>
</root>

@ -119,44 +119,39 @@
</resheader>
<data name="StrAcendingStack" xml:space="preserve">
<value>Pile ascendante</value>
<comment>String to indicate an ascending stack</comment>
</data>
<data name="StrCantGetStack" xml:space="preserve">
<value>La pile choisie n'existe pas!</value>
</data>
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
<value>Vous devez jouer au minimum deux cartes avant de finir votre tour</value>
</data>
<data name="StrChooseCardToPlay" xml:space="preserve">
<value>Veuillez selectionner une carte à placer sur une pile</value>
<comment>String to indicate to choose a card</comment>
<data name="StrCardDoesntExist" xml:space="preserve">
<value>Carte inexistante</value>
</data>
<data name="StrChooseStack" xml:space="preserve">
<value>Selectionner la pile sur laquelle vous souhaitez poser la carte</value>
<comment>String for indicate to choose a stack</comment>
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
<value>Vous devez jouer au minimum deux cartes par tour</value>
</data>
<data name="StrDownStack" xml:space="preserve">
<value>Pile Descendante</value>
<comment>String to indicate an down stack</comment>
</data>
<data name="StrEndOfGame" xml:space="preserve">
<value>Le jeu est fini! Veuillez lancer une nouvelle partie!</value>
<value>Pile descendante</value>
</data>
<data name="StrEndTurn" xml:space="preserve">
<value>Fin de tour</value>
<comment>Button to end turn</comment>
</data>
<data name="StrLose" xml:space="preserve">
<value>Le jeu est terminé! Désolé, vous avez perdu... Essayez encore!</value>
<data name="StrEnterPseudo" xml:space="preserve">
<value>Entrez votre pseudo</value>
</data>
<data name="String3" xml:space="preserve">
<value>La partie est terminée</value>
</data>
<data name="String4" xml:space="preserve">
<value>Bravo vous avez gagné!</value>
</data>
<data name="StrLose3CardEffect" xml:space="preserve">
<value>Le jeu est terminé! Désolé, vous avez perdu... Vous deviez jouer trois cartes à cause de l'effet \"Trois cartes joué\" hors votre jeu ne permet pas d'en jouer autant! Essayez encore!</value>
<data name="StrLose" xml:space="preserve">
<value />
</data>
<data name="StrNoMoreCardOnHand" xml:space="preserve">
<value>Le joueur n'a plus de carte dans sa main</value>
<data name="StrPlayerSelections" xml:space="preserve">
<value> Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s)</value>
</data>
<data name="StrRules" xml:space="preserve">
<value> - L'objectif est de battre la machine seul et/ou en coopération.
<value>- L'objectif est de battre la machine seul et/ou en coopération.
- Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par defaut): deux ascendantes(Verte) et deux descendantes(Rouge).
@ -185,27 +180,12 @@
- Le type de jeu permet de définir les cartes avec lesquelles vous allez jouer: relatif, décimal...
- le nombre de piles correspond au nombre de piles initial sur lesquelles vous pourrez poser des cartes. La moitié des piles sont toujours ascendantes et l'autre moitié sont quant à elles toujours descendantes. Par ailleurs, plus le nombre de piles est important plus le jeu est facile.</value>
</data>
<data name="StrSkullEffect" xml:space="preserve">
<value>Désolé, vous n'avez pas recouvert la tête de mort... Réessayez ;)</value>
- le nombre de piles correspond au nombre de piles initial sur lesquelles vous pourrez poser des cartes. La moitié des piles sont toujours ascendantes et l'autre moitié sont quant à elles toujours descendantes. Par ailleurs, plus le nombre de piles est important plus le jeu est facile."</value>
</data>
<data name="StrWin" xml:space="preserve">
<value>
Le jeu est terminé!
Bravo vous avez gagné!
</value>
<value>Félicitation vous avez gagné</value>
</data>
<data name="StrWrongStack" xml:space="preserve">
<value>La carte ne rentre pas dans la pile sectionnée!</value>
</data>
<data name="StrPlayerSelections" xml:space="preserve">
<value>Veuillez choisir un nombre de joueur et leur(s) nom(s)</value>
</data>
<data name="StrEnterPseudo" xml:space="preserve">
<value>Veuillez saisir votre pseudo</value>
</data>
<data name="StrCardDoesntExist" xml:space="preserve">
<value>Carte inexistante</value>
<value>La carte choisie ne rentre pas dans la pile</value>
</data>
</root>

@ -1,252 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TheGameExtreme {
using System;
/// <summary>
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
/// </summary>
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
// avec l'option /str ou régénérez votre projet VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AppRessource {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AppRessource() {
}
/// <summary>
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheGameExtreme.AppRessource", typeof(AppRessource).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Pile ascendante.
/// </summary>
internal static string StrAcendingStack {
get {
return ResourceManager.GetString("StrAcendingStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à La pile choisie n&apos;existe pas!.
/// </summary>
internal static string StrCantGetStack {
get {
return ResourceManager.GetString("StrCantGetStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Carte inexistante.
/// </summary>
internal static string StrCardDoesntExist {
get {
return ResourceManager.GetString("StrCardDoesntExist", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Vous n&apos;avez pas joué assez de carte! essaye encore.
/// </summary>
internal static string StrCardPlayedLessThanTwo {
get {
return ResourceManager.GetString("StrCardPlayedLessThanTwo", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez selectionner une carte à placer sur une pile.
/// </summary>
internal static string StrChooseCardToPlay {
get {
return ResourceManager.GetString("StrChooseCardToPlay", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Selectionner la pile sur laquelle vous souhaitez poser la carte.
/// </summary>
internal static string StrChooseStack {
get {
return ResourceManager.GetString("StrChooseStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Pile Descendante.
/// </summary>
internal static string StrDownStack {
get {
return ResourceManager.GetString("StrDownStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est fini! Veuillez lancer une nouvelle partie!.
/// </summary>
internal static string StrEndOfGame {
get {
return ResourceManager.GetString("StrEndOfGame", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Fin de tour.
/// </summary>
internal static string StrEndTurn {
get {
return ResourceManager.GetString("StrEndTurn", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez saisir votre pseudo.
/// </summary>
internal static string StrEnterPseudo {
get {
return ResourceManager.GetString("StrEnterPseudo", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est terminé! Désolé, vous avez perdu... Essayez encore!.
/// </summary>
internal static string StrLose {
get {
return ResourceManager.GetString("StrLose", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est terminé! Désolé, vous avez perdu... Vous deviez jouer trois cartes à cause de l&apos;effet \&quot;Trois cartes joué\&quot; hors votre jeu ne permet pas d&apos;en jouer autant! Essayez encore!.
/// </summary>
internal static string StrLose3CardEffect {
get {
return ResourceManager.GetString("StrLose3CardEffect", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le joueur n&apos;a plus de carte dans sa main.
/// </summary>
internal static string StrNoMoreCardOnHand {
get {
return ResourceManager.GetString("StrNoMoreCardOnHand", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez choisir un nombre de joueur et leur(s) nom(s).
/// </summary>
internal static string StrPlayerSelections {
get {
return ResourceManager.GetString("StrPlayerSelections", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à -L&apos;objectif est de battre la machine ! Seul ou à plusieurs !
///
///-Le but est de pouvoir poser toute les cartes de la pioche sur les différentes piles à votre disposition.
///
///-Le jeu comporte 98 cartes numérotées de 2 à 99.
///
///-4 piles sont à votre disposition, deux ascendantes(↑), et deux descendantes(↓).
///
///-L&apos;objectif est de réussir à poser la totalité des cartes sur les piles proposées, afin de gagner la partie.
///
///-Chaque joueur doit jouer au minimum deux cartes par tour.
///
///-Pour empiler les cartes sur [le reste de la chaîne a été tronqué]&quot;;.
/// </summary>
internal static string StrRules {
get {
return ResourceManager.GetString("StrRules", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Désolé, vous n&apos;avez pas recouvert la tête de mort... Réessayez ;).
/// </summary>
internal static string StrSkullEffect {
get {
return ResourceManager.GetString("StrSkullEffect", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est terminé!\n Bravo vous avez gagné!.
/// </summary>
internal static string StrWin {
get {
return ResourceManager.GetString("StrWin", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à La carte ne rentre pas dans la pile sectionnée!.
/// </summary>
internal static string StrWrongStack {
get {
return ResourceManager.GetString("StrWrongStack", resourceCulture);
}
}
<<<<<<< HEAD
internal static string StrEnterPseudo {
get {
return ResourceManager.GetString("StrEnterPseudo", resourceCulture);
}
}
internal static string StrCardDoesntExist {
get {
return ResourceManager.GetString("StrCardDoesntExist", resourceCulture);
}
}
=======
>>>>>>> 985b076af5ba98470ade6180f79ac3e69cf31ff7
}
}

@ -1,210 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TheGameExtreme {
using System;
/// <summary>
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
/// </summary>
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
// avec l'option /str ou régénérez votre projet VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AppRessources_br {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AppRessources_br() {
}
/// <summary>
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheGameExtreme.AppRessources-br", typeof(AppRessources_br).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à rising stack.
/// </summary>
internal static string StrAcendingStack {
get {
return ResourceManager.GetString("StrAcendingStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à the chosen pile does not exist.
/// </summary>
internal static string StrCantGetStack {
get {
return ResourceManager.GetString("StrCantGetStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à You have not played enough cards!.
/// </summary>
internal static string StrCardPlayedLessThanTwo {
get {
return ResourceManager.GetString("StrCardPlayedLessThanTwo", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Please select a card to place on a stack.
/// </summary>
internal static string StrChooseCardToPlay {
get {
return ResourceManager.GetString("StrChooseCardToPlay", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Select the stack on which you want to put the card.
/// </summary>
internal static string StrChooseStack {
get {
return ResourceManager.GetString("StrChooseStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Down stack.
/// </summary>
internal static string StrDownStack {
get {
return ResourceManager.GetString("StrDownStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à End of turn.
/// </summary>
internal static string StrEndTurn {
get {
return ResourceManager.GetString("StrEndTurn", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à .
/// </summary>
internal static string String1 {
get {
return ResourceManager.GetString("String1", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à The game is over! Sorry, you lost ... Try again!.
/// </summary>
internal static string StrLose {
get {
return ResourceManager.GetString("StrLose", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à The game is over! Sorry, you lost ... You had to play three cards because of the effect \ &quot;Three cards played \&quot; off your game does not play as much! Try again!.
/// </summary>
internal static string StrLose3CardEffect {
get {
return ResourceManager.GetString("StrLose3CardEffect", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à The player has no more cards in his hand.
/// </summary>
internal static string StrNoMoreCardOnHand {
get {
return ResourceManager.GetString("StrNoMoreCardOnHand", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à -The goal is to beat the game! Alone or with others!
///
///-98 cards numbered from 2 to 99.
///
///-4 batteries are at your disposal, two ascending and two descending.
///
///-The objective is to be able to put all the cards of the picks on the different piles at your disposal.
///
///-If you get to empty all the deck and put all the cards on the piles, you win, otherwise you lose.
///
///-Every player must play at least two cards per turn.
///
///-On an ascending stack, it is possible to roll back 10 (eg 73 is played -&gt; possibil [le reste de la chaîne a été tronqué]&quot;;.
/// </summary>
internal static string StrRules {
get {
return ResourceManager.GetString("StrRules", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Sorry, you did not cover the skull ... Try again;).
/// </summary>
internal static string StrSkullEffect {
get {
return ResourceManager.GetString("StrSkullEffect", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à The game is over! Well done you won!.
/// </summary>
internal static string StrWin {
get {
return ResourceManager.GetString("StrWin", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à The card does not fit in the selected stack!.
/// </summary>
internal static string StrWrongStack {
get {
return ResourceManager.GetString("StrWrongStack", resourceCulture);
}
}
}
}

@ -22,24 +22,24 @@ namespace TheGameExtreme {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AppRessource {
public class AppRessources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AppRessource() {
internal AppRessources() {
}
/// <summary>
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheGameExtreme.AppRessource", typeof(AppRessource).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheGameExtreme.AppRessources", typeof(AppRessources).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +51,7 @@ namespace TheGameExtreme {
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +63,7 @@ namespace TheGameExtreme {
/// <summary>
/// Recherche une chaîne localisée semblable à Pile ascendante.
/// </summary>
internal static string StrAcendingStack {
public static string StrAcendingStack {
get {
return ResourceManager.GetString("StrAcendingStack", resourceCulture);
}
@ -72,7 +72,7 @@ namespace TheGameExtreme {
/// <summary>
/// Recherche une chaîne localisée semblable à La pile choisie n&apos;existe pas!.
/// </summary>
internal static string StrCantGetStack {
public static string StrCantGetStack {
get {
return ResourceManager.GetString("StrCantGetStack", resourceCulture);
}
@ -81,106 +81,79 @@ namespace TheGameExtreme {
/// <summary>
/// Recherche une chaîne localisée semblable à Carte inexistante.
/// </summary>
internal static string StrCardDoesntExist {
public static string StrCardDoesntExist {
get {
return ResourceManager.GetString("StrCardDoesntExist", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Vous devez jouer au minimum deux cartes avant de finir votre tour.
/// Recherche une chaîne localisée semblable à Vous devez jouer au minimum deux cartes par tour.
/// </summary>
internal static string StrCardPlayedLessThanTwo {
public static string StrCardPlayedLessThanTwo {
get {
return ResourceManager.GetString("StrCardPlayedLessThanTwo", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez selectionner une carte à placer sur une pile.
/// Recherche une chaîne localisée semblable à Pile descendante.
/// </summary>
internal static string StrChooseCardToPlay {
get {
return ResourceManager.GetString("StrChooseCardToPlay", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Selectionner la pile sur laquelle vous souhaitez poser la carte.
/// </summary>
internal static string StrChooseStack {
get {
return ResourceManager.GetString("StrChooseStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Pile Descendante.
/// </summary>
internal static string StrDownStack {
public static string StrDownStack {
get {
return ResourceManager.GetString("StrDownStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est fini! Veuillez lancer une nouvelle partie!.
/// </summary>
internal static string StrEndOfGame {
get {
return ResourceManager.GetString("StrEndOfGame", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Fin de tour.
/// </summary>
internal static string StrEndTurn {
public static string StrEndTurn {
get {
return ResourceManager.GetString("StrEndTurn", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez saisir votre pseudo.
/// Recherche une chaîne localisée semblable à Entrez votre pseudo.
/// </summary>
internal static string StrEnterPseudo {
public static string StrEnterPseudo {
get {
return ResourceManager.GetString("StrEnterPseudo", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est terminé! Désolé, vous avez perdu... Essayez encore!.
/// Recherche une chaîne localisée semblable à La partie est terminée.
/// </summary>
internal static string StrLose {
public static string String3 {
get {
return ResourceManager.GetString("StrLose", resourceCulture);
return ResourceManager.GetString("String3", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le jeu est terminé! Désolé, vous avez perdu... Vous deviez jouer trois cartes à cause de l&apos;effet \&quot;Trois cartes joué\&quot; hors votre jeu ne permet pas d&apos;en jouer autant! Essayez encore!.
/// Recherche une chaîne localisée semblable à Bravo vous avez gagné!.
/// </summary>
internal static string StrLose3CardEffect {
public static string String4 {
get {
return ResourceManager.GetString("StrLose3CardEffect", resourceCulture);
return ResourceManager.GetString("String4", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Le joueur n&apos;a plus de carte dans sa main.
/// Recherche une chaîne localisée semblable à .
/// </summary>
internal static string StrNoMoreCardOnHand {
public static string StrLose {
get {
return ResourceManager.GetString("StrNoMoreCardOnHand", resourceCulture);
return ResourceManager.GetString("StrLose", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez choisir un nombre de joueur et leur(s) nom(s).
/// Recherche une chaîne localisée semblable à Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s).
/// </summary>
internal static string StrPlayerSelections {
public static string StrPlayerSelections {
get {
return ResourceManager.GetString("StrPlayerSelections", resourceCulture);
}
@ -195,39 +168,28 @@ namespace TheGameExtreme {
///
/// - Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition.
/// (Pour ce faire confer les règles de tour de jeu ci-dessous)
/// /// [le reste de la chaîne a été tronqué]&quot;;.
///
/// [le reste de la chaîne a été tronqué]&quot;;.
/// </summary>
internal static string StrRules {
public static string StrRules {
get {
return ResourceManager.GetString("StrRules", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Désolé, vous n&apos;avez pas recouvert la tête de mort... Réessayez ;).
/// </summary>
internal static string StrSkullEffect {
get {
return ResourceManager.GetString("StrSkullEffect", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à
/// Le jeu est terminé!
/// Bravo vous avez gagné!
/// .
/// Recherche une chaîne localisée semblable à Félicitation vous avez gagné.
/// </summary>
internal static string StrWin {
public static string StrWin {
get {
return ResourceManager.GetString("StrWin", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à La carte ne rentre pas dans la pile sectionnée!.
/// Recherche une chaîne localisée semblable à La carte choisie ne rentre pas dans la pile.
/// </summary>
internal static string StrWrongStack {
public static string StrWrongStack {
get {
return ResourceManager.GetString("StrWrongStack", resourceCulture);
}

@ -0,0 +1,191 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="StrAcendingStack" xml:space="preserve">
<value>Pile ascendante</value>
</data>
<data name="StrCantGetStack" xml:space="preserve">
<value>La pile choisie n'existe pas!</value>
</data>
<data name="StrCardDoesntExist" xml:space="preserve">
<value>Carte inexistante</value>
</data>
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
<value>Vous devez jouer au minimum deux cartes par tour</value>
</data>
<data name="StrDownStack" xml:space="preserve">
<value>Pile descendante</value>
</data>
<data name="StrEndTurn" xml:space="preserve">
<value>Fin de tour</value>
</data>
<data name="StrEnterPseudo" xml:space="preserve">
<value>Entrez votre pseudo</value>
</data>
<data name="String3" xml:space="preserve">
<value>La partie est terminée</value>
</data>
<data name="String4" xml:space="preserve">
<value>Bravo vous avez gagné!</value>
</data>
<data name="StrLose" xml:space="preserve">
<value />
</data>
<data name="StrPlayerSelections" xml:space="preserve">
<value> Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s)</value>
</data>
<data name="StrRules" xml:space="preserve">
<value>- L'objectif est de battre la machine seul et/ou en coopération.
- Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par defaut): deux ascendantes(Verte) et deux descendantes(Rouge).
- Sur les piles ascendantes, le joueur doit bien entendu poser des cartes plus grandes et inversement sur les piles descendantes.
- Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition.
(Pour ce faire confer les règles de tour de jeu ci-dessous)
- Pour jouer, il suffit de faire glisser une carte sur la pile que vous avez décidé.
- Cette carte doit bien entendu être plus grande que celle déjà présente s'il s'agit d'une pile ascendante et plus petite si c'est l'inverse.
- Il y a deux cas particuliers à la règle du dessus. En effet, il est possible de poser une carte plus petite sur une pile ascendante à condition que ce soit une dizaine inférieur. De la même manière, si la carte est plus grande d'une dizaine, il est possible de la poser sur une pile descendante.
- Ex: Sur une pile descendante, nous avons 68 =&gt; Nous pouvons alors poser 78 ou n'importe quels nombres plus petits que 68.
Sur une pile ascendante, nous avons à nouveau 68 =&gt; Nous pouvons poser 58 ou n'importe quels nombres plus grands que 68.
- Chaque joueur doit jouer au minimum deux cartes par tour.
Il n'y a donc aucune limite maximale de carte à jouer par tour. Cependant, il est conseillé dans la plupart des cas de ne pas jouer toutes les cartes de sa main.
- Une fois votre tour terminé, vous pouvez appuyez sur le boutton "Fin de tour" afin de passer au joueur suivant.
- La fin du jeu survient quand toutes les cartes sont jouées ou quand le joueur dont c'est le tour ne peut plus jouer.
- Afin de préparer la partie, vous disposez d'un écran permettant de choisir le nombre de joueur et leur pseudo, le type de jeu auquels vous souhaitez jouer et enfin le nombre de piles pour jouer.
- Le type de jeu permet de définir les cartes avec lesquelles vous allez jouer: relatif, décimal...
- le nombre de piles correspond au nombre de piles initial sur lesquelles vous pourrez poser des cartes. La moitié des piles sont toujours ascendantes et l'autre moitié sont quant à elles toujours descendantes. Par ailleurs, plus le nombre de piles est important plus le jeu est facile."</value>
</data>
<data name="StrWin" xml:space="preserve">
<value>Félicitation vous avez gagné</value>
</data>
<data name="StrWrongStack" xml:space="preserve">
<value>La carte choisie ne rentre pas dans la pile</value>
</data>
</root>

@ -52,9 +52,15 @@
<EmbeddedResource Include="Media\TrierImageB.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="AppRessource.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>AppRessource.Designer.cs</LastGenOutput>
<EmbeddedResource Update="AppResources.en-US.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
</EmbeddedResource>
<EmbeddedResource Update="AppResources.fr.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
</EmbeddedResource>
<EmbeddedResource Update="AppRessources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>AppRessources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="DictionnaireBGCBLACK.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
@ -64,10 +70,10 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Condition=" '$(EnableDefaultCompileItems)' == 'true' " Update="AppRessource.Designer.cs">
<Compile Update="AppRessources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AppRessource.resx</DependentUpon>
<DependentUpon>AppRessources.resx</DependentUpon>
</Compile>
<Compile Update="AppRessources.Designer.cs">
<DependentUpon>AppRessources.resx</DependentUpon>

@ -42,11 +42,11 @@ namespace TheGameExtreme.model.gameActions.classic
}
else
{
ErrorMessage = AppRessource.StrCantGetStack;
ErrorMessage = AppRessources.StrCantGetStack;
}
}
}
ErrorMessage = AppRessource.StrCardDoesntExist;
ErrorMessage = AppRessources.StrCardDoesntExist;
return false;
}
@ -62,7 +62,7 @@ namespace TheGameExtreme.model.gameActions.classic
}
else
{
ErrorMessage = AppRessource.StrWrongStack;
ErrorMessage = AppRessources.StrWrongStack;
return false;
}
}

@ -23,7 +23,7 @@ namespace TheGameExtreme.model.gameActions.classic
}
else
{
ErrorMessage = AppRessource.StrCardPlayedLessThanTwo;
ErrorMessage = AppRessources.StrCardPlayedLessThanTwo;
return false;
}

@ -32,7 +32,7 @@ namespace TheGameExtreme.model.gameActions.decimals
}
else
{
ErrorMessage = AppRessource.StrWrongStack;
ErrorMessage = AppRessources.StrWrongStack;
return false;
}
}

@ -63,7 +63,7 @@ namespace TheGameExtreme.model.manager
}
if (i == 5)
{
EndMessage = AppRessource.StrWin;
EndMessage = AppRessources.StrWin;
win = true;
}
else

@ -1,3 +1,5 @@
using Xamarin.Forms.Xaml;
using System.Resources;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
[assembly: NeutralResourcesLanguage("en-US")]

@ -61,7 +61,7 @@ namespace TheGameExtreme.view
playersNames.Add(((Entry)NameList.Children[i]).Text);
if (string.IsNullOrWhiteSpace(playersNames[playersNames.Count - 1]))
{
await DisplayAlert("Erreur pseudo", AppRessource.StrEnterPseudo, "OK");
await DisplayAlert("Erreur pseudo", AppRessources.StrEnterPseudo, "OK");
return;
}
}

@ -4,6 +4,7 @@
BackgroundColor="{DynamicResource BlackColor}"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:Resource="clr-namespace:TheGameExtreme"
x:Class="TheGameExtreme.view.HomePage">
<StackLayout BackgroundColor="Transparent">

@ -39,7 +39,7 @@ namespace TheGameExtreme.view
private async void Rules_Clicked(object sender, EventArgs e)
{
await DisplayAlert("Règles", AppRessource.StrRules, "Fermer");
await DisplayAlert("Règles", AppRessources.StrRules, "Fermer");
}

@ -45,7 +45,7 @@ namespace TheGameExtreme.view
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
EndTurnButton.Text = AppRessource.StrEndTurn; // Trouver le moyen d'avoir du binding
EndTurnButton.Text = AppRessources.StrEndTurn; // Trouver le moyen d'avoir du binding
viewmodel = new Main(playersNames, nbPile, indexMode);
@ -305,7 +305,7 @@ namespace TheGameExtreme.view
gameOption.Children.Clear();
Button button = new Button();
button.Text = AppRessource.StrEndTurn;
button.Text = AppRessources.StrEndTurn;
button.Clicked += Retry;
button.BackgroundColor = (Color)Application.Current.Resources["SkyBlueColor"];
gameOption.Children.Add(button);

Loading…
Cancel
Save