Mise en place terminée de la langue

master
Baptiste ARNAUD 5 years ago
parent d47142f2a2
commit 41d1bc0519

@ -16,7 +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,191 +0,0 @@
<?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>

@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace TheGameExtreme {
namespace TheGameExtreme.Resx {
using System;
@ -22,14 +22,14 @@ namespace TheGameExtreme {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class AppRessources {
public class AppResources {
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() {
internal AppResources() {
}
/// <summary>
@ -39,7 +39,7 @@ namespace TheGameExtreme {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheGameExtreme.AppRessources", typeof(AppRessources).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheGameExtreme.Resx.AppResources", typeof(AppResources).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -70,7 +70,16 @@ namespace TheGameExtreme {
}
/// <summary>
/// Recherche une chaîne localisée semblable à La pile choisie n&apos;existe pas!.
/// Recherche une chaîne localisée semblable à Jouer.
/// </summary>
public static string StrBtnPlay {
get {
return ResourceManager.GetString("StrBtnPlay", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à La pile n&apos;est pas disponnible.
/// </summary>
public static string StrCantGetStack {
get {
@ -79,7 +88,7 @@ namespace TheGameExtreme {
}
/// <summary>
/// Recherche une chaîne localisée semblable à Carte inexistante.
/// Recherche une chaîne localisée semblable à La carte n&apos;existe pas .
/// </summary>
public static string StrCardDoesntExist {
get {
@ -96,6 +105,15 @@ namespace TheGameExtreme {
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Fermer.
/// </summary>
public static string StrCloseWind {
get {
return ResourceManager.GetString("StrCloseWind", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Pile descendante.
/// </summary>
@ -141,6 +159,15 @@ namespace TheGameExtreme {
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Jeu en local.
/// </summary>
public static string StrLocalGame {
get {
return ResourceManager.GetString("StrLocalGame", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à .
/// </summary>
@ -150,6 +177,42 @@ namespace TheGameExtreme {
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Multijoueur.
/// </summary>
public static string StrMultiplayer {
get {
return ResourceManager.GetString("StrMultiplayer", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Nombre de cartes :.
/// </summary>
public static string StrNbCards {
get {
return ResourceManager.GetString("StrNbCards", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Nombre de joueurs :.
/// </summary>
public static string StrNbPlayers {
get {
return ResourceManager.GetString("StrNbPlayers", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Nombre de pile en jeu :.
/// </summary>
public static string StrNbStacksInGame {
get {
return ResourceManager.GetString("StrNbStacksInGame", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s).
/// </summary>
@ -159,6 +222,15 @@ namespace TheGameExtreme {
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Entrez votre pseudo :.
/// </summary>
public static string StrPseudoGM {
get {
return ResourceManager.GetString("StrPseudoGM", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - L&apos;objectif est de battre la machine seul et/ou en coopération.
///
@ -177,6 +249,33 @@ namespace TheGameExtreme {
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à OrderStacks.
/// </summary>
public static string StrTitle {
get {
return ResourceManager.GetString("StrTitle", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Règles.
/// </summary>
public static string StrTitleRules {
get {
return ResourceManager.GetString("StrTitleRules", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Jouer avec des valeurs :.
/// </summary>
public static string StrValueType {
get {
return ResourceManager.GetString("StrValueType", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Félicitation vous avez gagné.
/// </summary>
@ -194,5 +293,68 @@ namespace TheGameExtreme {
return ResourceManager.GetString("StrWrongStack", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Fractionnées.
/// </summary>
public static string TypeValuefractionated {
get {
return ResourceManager.GetString("TypeValuefractionated", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Centièmes.
/// </summary>
public static string TypeValuehundredth {
get {
return ResourceManager.GetString("TypeValuehundredth", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Relatives.
/// </summary>
public static string TypeValueRelative {
get {
return ResourceManager.GetString("TypeValueRelative", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Dizièmes.
/// </summary>
public static string TypeValueTens {
get {
return ResourceManager.GetString("TypeValueTens", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Millièmes.
/// </summary>
public static string TypeValuethousandth {
get {
return ResourceManager.GetString("TypeValuethousandth", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Entière.
/// </summary>
public static string TypeValueWhole {
get {
return ResourceManager.GetString("TypeValueWhole", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à Thème clair :.
/// </summary>
public static string WhiteTheme {
get {
return ResourceManager.GetString("WhiteTheme", resourceCulture);
}
}
}
}

@ -120,14 +120,26 @@
<data name="StrAcendingStack" xml:space="preserve">
<value>Ascending stack</value>
</data>
<data name="StrBtnPlay" xml:space="preserve">
<value>Play</value>
</data>
<data name="StrCantGetStack" xml:space="preserve">
<value>Stack doesn't exist</value>
</data>
<data name="StrCardDoesntExist" xml:space="preserve">
<value>Card doesn't exist</value>
</data>
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
<value>You must play at least two cards before finishing your turn</value>
</data>
<data name="StrCloseWind" xml:space="preserve">
<value>Close</value>
</data>
<data name="StrDownStack" xml:space="preserve">
<value>Descending stack</value>
</data>
<data name="StrEndTurn" xml:space="preserve">
<value>End of turn</value>
<value>End turn</value>
</data>
<data name="StrEnterPseudo" xml:space="preserve">
<value>Please enter your username</value>
@ -136,16 +148,31 @@
<value>The game is over!</value>
</data>
<data name="String4" xml:space="preserve">
<value>Bravo vous avez gagné!</value>
<value>Congratulation, you won</value>
</data>
<data name="StrLocalGame" xml:space="preserve">
<value>Local game</value>
</data>
<data name="StrLose" xml:space="preserve">
<value />
</data>
<data name="StrMultiplayer" xml:space="preserve">
<value>Multiplayer</value>
</data>
<data name="StrNbCards" xml:space="preserve">
<value>Number of cards :</value>
</data>
<data name="StrNbPlayers" xml:space="preserve">
<value>Numbers of players :</value>
</data>
<data name="StrNbStacksInGame" xml:space="preserve">
<value>Number of stacks :</value>
</data>
<data name="StrPlayerSelections" xml:space="preserve">
<value>Please choose a number of players and their name(s)</value>
</data>
<data name="StrPseudoGM" xml:space="preserve">
<value>Enter pseudo</value>
<value>Enter pseudo :</value>
</data>
<data name="StrRules" xml:space="preserve">
<value>- Objective is to beat the machine alone and / or in cooperation.
@ -179,10 +206,40 @@ There is therefore no maximum limit to the card to be played per round. However,
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="StrTitle" xml:space="preserve">
<value>OrderStacks</value>
</data>
<data name="StrTitleRules" xml:space="preserve">
<value>Rules</value>
</data>
<data name="StrValueType" xml:space="preserve">
<value>Playing with values :</value>
</data>
<data name="StrWin" xml:space="preserve">
<value>Congratulations, you won</value>
</data>
<data name="StrWrongStack" xml:space="preserve">
<value>The card does not fit in the cut pile!</value>
</data>
<data name="TypeValuefractionated" xml:space="preserve">
<value>fractionated</value>
</data>
<data name="TypeValuehundredth" xml:space="preserve">
<value>hundredth</value>
</data>
<data name="TypeValueRelative" xml:space="preserve">
<value>Relative</value>
</data>
<data name="TypeValueTens" xml:space="preserve">
<value>tenth</value>
</data>
<data name="TypeValuethousandth" xml:space="preserve">
<value>thousandth</value>
</data>
<data name="TypeValueWhole" xml:space="preserve">
<value>Whole</value>
</data>
<data name="WhiteTheme" xml:space="preserve">
<value>White theme :</value>
</data>
</root>

@ -120,15 +120,21 @@
<data name="StrAcendingStack" xml:space="preserve">
<value>Pile ascendante</value>
</data>
<data name="StrBtnPlay" xml:space="preserve">
<value>Jouer</value>
</data>
<data name="StrCantGetStack" xml:space="preserve">
<value>La pile choisie n'existe pas!</value>
<value>La pile n'est pas disponnible</value>
</data>
<data name="StrCardDoesntExist" xml:space="preserve">
<value>Carte inexistante</value>
<value>La carte n'existe pas </value>
</data>
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
<value>Vous devez jouer au minimum deux cartes par tour</value>
</data>
<data name="StrCloseWind" xml:space="preserve">
<value>Fermer</value>
</data>
<data name="StrDownStack" xml:space="preserve">
<value>Pile descendante</value>
</data>
@ -144,12 +150,30 @@
<data name="String4" xml:space="preserve">
<value>Bravo vous avez gagné!</value>
</data>
<data name="StrLocalGame" xml:space="preserve">
<value>Jeu en local</value>
</data>
<data name="StrLose" xml:space="preserve">
<value />
</data>
<data name="StrMultiplayer" xml:space="preserve">
<value>Multijoueur</value>
</data>
<data name="StrNbCards" xml:space="preserve">
<value>Nombre de cartes :</value>
</data>
<data name="StrNbPlayers" xml:space="preserve">
<value>Nombre de joueurs :</value>
</data>
<data name="StrNbStacksInGame" xml:space="preserve">
<value>Nombre de pile en jeu :</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="StrPseudoGM" xml:space="preserve">
<value>Entrez votre pseudo :</value>
</data>
<data name="StrRules" xml:space="preserve">
<value>- L'objectif est de battre la machine seul et/ou en coopération.
@ -182,10 +206,40 @@
- 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="StrTitle" xml:space="preserve">
<value>OrderStacks</value>
</data>
<data name="StrTitleRules" xml:space="preserve">
<value>Règles</value>
</data>
<data name="StrValueType" xml:space="preserve">
<value>Jouer avec des valeurs :</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>
<data name="TypeValuefractionated" xml:space="preserve">
<value>Fractionnées</value>
</data>
<data name="TypeValuehundredth" xml:space="preserve">
<value>Centièmes</value>
</data>
<data name="TypeValueRelative" xml:space="preserve">
<value>Relatives</value>
</data>
<data name="TypeValueTens" xml:space="preserve">
<value>Dizièmes</value>
</data>
<data name="TypeValuethousandth" xml:space="preserve">
<value>Millièmes</value>
</data>
<data name="TypeValueWhole" xml:space="preserve">
<value>Entière</value>
</data>
<data name="WhiteTheme" xml:space="preserve">
<value>Thème clair :</value>
</data>
</root>

@ -52,15 +52,12 @@
<EmbeddedResource Include="Media\TrierImageB.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="AppResources.en-US.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
</EmbeddedResource>
<EmbeddedResource Update="AppResources.fr.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<EmbeddedResource Update="Resx\AppResources.en-US.resx">
<Generator></Generator>
</EmbeddedResource>
<EmbeddedResource Update="AppRessources.resx">
<EmbeddedResource Update="Resx\AppResources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>AppRessources.Designer.cs</LastGenOutput>
<LastGenOutput>AppResources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="DictionnaireBGCBLACK.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
@ -70,13 +67,13 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="AppRessources.Designer.cs">
<Compile Update="Resx\AppResources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AppRessources.resx</DependentUpon>
</Compile>
<Compile Update="AppRessources.Designer.cs">
<DependentUpon>AppRessources.resx</DependentUpon>
<Compile Update="Resx\AppResources.Designer.cs">
<DependentUpon>AppResources.resx</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>

@ -2,6 +2,7 @@
using System.Collections.Generic;
using TheGameExtreme.model.card;
using TheGameExtreme.model.piles;
using TheGameExtreme.Resx;
namespace TheGameExtreme.model.gameActions.classic
{
@ -42,11 +43,11 @@ namespace TheGameExtreme.model.gameActions.classic
}
else
{
ErrorMessage = AppRessources.StrCantGetStack;
ErrorMessage = AppResources.StrCantGetStack;
}
}
}
ErrorMessage = AppRessources.StrCardDoesntExist;
ErrorMessage = AppResources.StrCardDoesntExist;
return false;
}
@ -62,7 +63,7 @@ namespace TheGameExtreme.model.gameActions.classic
}
else
{
ErrorMessage = AppRessources.StrWrongStack;
ErrorMessage = AppResources.StrWrongStack;
return false;
}
}

@ -3,6 +3,7 @@ using System.Collections.Generic;
using TheGameExtreme.model.card;
using TheGameExtreme.model.card.rapidCard;
using TheGameExtreme.model.piles;
using TheGameExtreme.Resx;
namespace TheGameExtreme.model.gameActions.classic
{
@ -23,7 +24,7 @@ namespace TheGameExtreme.model.gameActions.classic
}
else
{
ErrorMessage = AppRessources.StrCardPlayedLessThanTwo;
ErrorMessage = AppResources.StrCardPlayedLessThanTwo;
return false;
}

@ -3,6 +3,7 @@ using System.Collections.Generic;
using TheGameExtreme.model.card;
using TheGameExtreme.model.gameActions.classic;
using TheGameExtreme.model.piles;
using TheGameExtreme.Resx;
namespace TheGameExtreme.model.gameActions.decimals
{
@ -32,7 +33,7 @@ namespace TheGameExtreme.model.gameActions.decimals
}
else
{
ErrorMessage = AppRessources.StrWrongStack;
ErrorMessage = AppResources.StrWrongStack;
return false;
}
}

@ -5,6 +5,7 @@ using TheGameExtreme.model.card;
using TheGameExtreme.model.@event;
using TheGameExtreme.model.gameActions;
using TheGameExtreme.model.piles;
using TheGameExtreme.Resx;
namespace TheGameExtreme.model.manager
{
@ -63,7 +64,7 @@ namespace TheGameExtreme.model.manager
}
if (i == 5)
{
EndMessage = AppRessources.StrWin;
EndMessage = AppResources.StrWin;
win = true;
}
else

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

@ -4,6 +4,7 @@
BackgroundColor="{DynamicResource BlackColor}"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
x:Class="TheGameExtreme.view.GamePreparationPage">
<ScrollView>
@ -37,7 +38,7 @@
Grid.Column="1">
<Button
Text="Play"
Text="{x:Static resources:AppResources.StrBtnPlay}"
Clicked="Play"
HorizontalOptions="End"
MinimumWidthRequest="30"
@ -64,7 +65,7 @@
Grid.Row="0"
Margin="0,0,10,0"
Orientation="Vertical">
<Label Text="Nombre de joueur : "
<Label Text="{x:Static resources:AppResources.StrNbPlayers}"
TextColor="{DynamicResource WhiteColor}"
FontSize="16"
VerticalTextAlignment="Center"
@ -83,7 +84,7 @@
<StackLayout
Grid.Row="1"
Margin="0,0,10,0">
<Label Text="Jouer avec des valeurs :"
<Label Text="{x:Static resources:AppResources.StrValueType}"
TextColor="{DynamicResource WhiteColor}"
FontSize="16"
VerticalTextAlignment="Center"
@ -104,7 +105,7 @@
Grid.Column="2"
Margin="0,0,20,0">
<Label Text="Nombre de pile en jeu :"
<Label Text="{x:Static resources:AppResources.StrNbStacksInGame}"
TextColor="{DynamicResource WhiteColor}"
FontSize="16"
VerticalTextAlignment="Center"
@ -124,7 +125,7 @@
Grid.Column="2"
Margin="0,0,20,0">
<Label Text="Nombre de cartes:"
<Label Text="{x:Static resources:AppResources.StrNbCards}"
TextColor="{DynamicResource WhiteColor}"
FontSize="16"
VerticalTextAlignment="Center"
@ -150,7 +151,7 @@
x:Name="NameList">
<Label
Text="Entrer vos pseudo ici:"
Text="{x:Static resources:AppResources.StrPseudoGM}"
TextColor="{DynamicResource WhiteColor}"
FontSize="16"
VerticalTextAlignment="Center"

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using TheGameExtreme.IO;
using TheGameExtreme.Resx;
using Xamarin.Forms;
namespace TheGameExtreme.view
@ -8,7 +9,7 @@ namespace TheGameExtreme.view
public partial class GamePreparationPage : ContentPage
{
public List<int> listNbPlayer = new List<int> { 1, 2, 3, 4, 5 };
public List<string> listGameMode = new List<string> { "entières", "relatives", "décimales", "dizaines", "centaines", "millièmes", "fractionnées" };
public List<string> listGameMode = new List<string> { AppResources.TypeValueWhole, AppResources.TypeValueRelative, AppResources.TypeValueTens, AppResources.TypeValuehundredth, AppResources.TypeValuethousandth, AppResources.TypeValuefractionated };
public List<int> listNbStack = new List<int> { 4, 6, 8 };
public List<int> listNbCard = new List<int> { 100, 80, 60, 40 };
@ -61,7 +62,7 @@ namespace TheGameExtreme.view
playersNames.Add(((Entry)NameList.Children[i]).Text);
if (string.IsNullOrWhiteSpace(playersNames[playersNames.Count - 1]))
{
await DisplayAlert("Erreur pseudo", AppRessources.StrEnterPseudo, "OK");
await DisplayAlert("Erreur pseudo", AppResources.StrEnterPseudo, "OK");
return;
}
}

@ -4,7 +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"
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
x:Class="TheGameExtreme.view.HomePage">
<StackLayout BackgroundColor="Transparent">
@ -24,7 +24,7 @@
</Grid.RowDefinitions>
<Label
Text="OrderStacks"
Text="{x:Static resources:AppResources.StrTitle}"
TextColor="{DynamicResource WhiteColor}"
Grid.Row="0" Grid.Column="1"
HorizontalTextAlignment="Center"
@ -43,7 +43,7 @@
BackgroundColor="{DynamicResource BlackColor}"/>
<Button
Text="Jeu en local"
Text="{x:Static resources:AppResources.StrLocalGame}"
FontSize="18"
Grid.Row="1"
Grid.Column="1"
@ -58,7 +58,7 @@
<Button
Text="Multijoueur"
Text="{x:Static resources:AppResources.StrMultiplayer}"
FontSize="18"
Grid.Row="2"
Grid.Column="1"

@ -7,6 +7,7 @@ using System.Diagnostics;
using TheGameExtreme.IO;
using Rg.Plugins.Popup.Pages;
using Rg.Plugins.Popup.Extensions;
using TheGameExtreme.Resx;
namespace TheGameExtreme.view
{
@ -39,7 +40,7 @@ namespace TheGameExtreme.view
private async void Rules_Clicked(object sender, EventArgs e)
{
await DisplayAlert("Règles", AppRessources.StrRules, "Fermer");
await DisplayAlert(AppResources.StrTitleRules, AppResources.StrRules, AppResources.StrCloseWind);
}

@ -9,6 +9,7 @@ using TouchTracking;
using Xamarin.Essentials;
using System.IO;
using System.Reflection;
using TheGameExtreme.Resx;
namespace TheGameExtreme.view
{
@ -45,7 +46,7 @@ namespace TheGameExtreme.view
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
EndTurnButton.Text = AppRessources.StrEndTurn; // Trouver le moyen d'avoir du binding
EndTurnButton.Text = AppResources.StrEndTurn; // Trouver le moyen d'avoir du binding
viewmodel = new Main(playersNames, nbPile, indexMode);
@ -305,7 +306,7 @@ namespace TheGameExtreme.view
gameOption.Children.Clear();
Button button = new Button();
button.Text = AppRessources.StrEndTurn;
button.Text = AppResources.StrEndTurn;
button.Clicked += Retry;
button.BackgroundColor = (Color)Application.Current.Resources["SkyBlueColor"];
gameOption.Children.Add(button);

@ -4,6 +4,7 @@
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
x:Class="TheGameExtreme.view.Settings">
<Grid
@ -27,81 +28,13 @@
Margin="10,10,0,0"/>
</StackLayout>
<Grid
Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="33*"/>
<ColumnDefinition Width="33*"/>
<ColumnDefinition Width="33*"/>
</Grid.ColumnDefinitions>
<Label
Grid.Column="0"
HorizontalTextAlignment="Start"
Text ="Langage"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"
VerticalTextAlignment="Center"/>
<!--<StackLayout
Grid.Column="1"
Orientation="Horizontal">
<Label
Text="English"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"
VerticalTextAlignment="Center"/>
<CheckBox
IsChecked="False"
x:Name="CBBr"
CheckedChanged="CBBr_CheckedChanged"
Color="{DynamicResource SkyBlueColor}"
/>
</StackLayout>-->
<StackLayout
Grid.Column="1"
Orientation="Horizontal">
<Label
Text="Français"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"
VerticalTextAlignment="Center"/>
<CheckBox
IsChecked="True"
x:Name="CBFr"/>
<!--CheckedChanged ="CBFr_CheckedChanged"/>-->
</StackLayout>
</Grid>
<!--<StackLayout
Grid.Row="2"
Orientation="Horizontal">
<Label
HorizontalTextAlignment="Start"
Text="Mode Extreme : "
FontSize="25"
TextColor="{DynamicResource WhiteColor}"/>
<Switch
OnColor="{DynamicResource SkyBlueColor}"
ThumbColor="WhiteSmoke"
Margin="30,0,0,50"/
</StackLayout>-->
<StackLayout
Grid.Row="3"
Orientation="Horizontal">
<Label
Text="Thème Clair : "
Text="{x:Static resources:AppResources.WhiteTheme}"
FontSize="25"
TextColor="{DynamicResource WhiteColor}"/>

Loading…
Cancel
Save