# HG changeset patch # User IBBoard # Date 1270559604 0 # Node ID 18d607b0249b7a7c2545838844926420de591a24 # Parent ce63500e0ec1529505b82cc1094a6945f9babcdc Re #203: Translate to multiple languages * Add French translation from Dreadaxe Re #88: Complete initial WinForms UI * Resize new army form and text widgets on unit form to allow space for longer French translations diff -r ce63500e0ec1 -r 18d607b0249b FrmNewArmy.cs --- a/FrmNewArmy.cs Sat Apr 03 20:06:33 2010 +0000 +++ b/FrmNewArmy.cs Tue Apr 06 13:13:24 2010 +0000 @@ -107,10 +107,12 @@ // // lstRaces // + this.lstRaces.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.lstRaces.DisplayMember = "Name"; - this.lstRaces.Location = new System.Drawing.Point(110, 33); + this.lstRaces.Location = new System.Drawing.Point(141, 33); this.lstRaces.Name = "lstRaces"; - this.lstRaces.Size = new System.Drawing.Size(248, 121); + this.lstRaces.Size = new System.Drawing.Size(265, 121); this.lstRaces.TabIndex = 7; this.lstRaces.SelectedIndexChanged += new System.EventHandler(this.lstRaces_SelectedIndexChanged); // @@ -129,18 +131,20 @@ // this.lblRaceList.Location = new System.Drawing.Point(12, 33); this.lblRaceList.Name = "lblRaceList"; - this.lblRaceList.Size = new System.Drawing.Size(92, 80); + this.lblRaceList.Size = new System.Drawing.Size(123, 80); this.lblRaceList.TabIndex = 5; this.lblRaceList.Text = "race list"; this.lblRaceList.TextAlign = System.Drawing.ContentAlignment.TopRight; // // bttnSelectRace // + this.bttnSelectRace.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.bttnSelectRace.Enabled = false; this.bttnSelectRace.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bttnSelectRace.Location = new System.Drawing.Point(254, 231); this.bttnSelectRace.Name = "bttnSelectRace"; - this.bttnSelectRace.Size = new System.Drawing.Size(104, 24); + this.bttnSelectRace.Size = new System.Drawing.Size(152, 24); this.bttnSelectRace.TabIndex = 4; this.bttnSelectRace.Text = "create army"; this.bttnSelectRace.Click += new System.EventHandler(this.bttnSelectRace_Click); @@ -149,16 +153,18 @@ // this.lblArmyName.Location = new System.Drawing.Point(12, 163); this.lblArmyName.Name = "lblArmyName"; - this.lblArmyName.Size = new System.Drawing.Size(92, 17); + this.lblArmyName.Size = new System.Drawing.Size(123, 17); this.lblArmyName.TabIndex = 8; this.lblArmyName.Text = "army name"; this.lblArmyName.TextAlign = System.Drawing.ContentAlignment.TopRight; // // txtArmyName // - this.txtArmyName.Location = new System.Drawing.Point(110, 160); + this.txtArmyName.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtArmyName.Location = new System.Drawing.Point(141, 160); this.txtArmyName.Name = "txtArmyName"; - this.txtArmyName.Size = new System.Drawing.Size(248, 20); + this.txtArmyName.Size = new System.Drawing.Size(265, 20); this.txtArmyName.TabIndex = 9; this.txtArmyName.TextChanged += new System.EventHandler(this.txtArmyName_TextChanged); // @@ -166,7 +172,7 @@ // this.lblArmySize.Location = new System.Drawing.Point(12, 188); this.lblArmySize.Name = "lblArmySize"; - this.lblArmySize.Size = new System.Drawing.Size(92, 18); + this.lblArmySize.Size = new System.Drawing.Size(123, 18); this.lblArmySize.TabIndex = 10; this.lblArmySize.Text = "army size"; this.lblArmySize.TextAlign = System.Drawing.ContentAlignment.TopRight; @@ -178,7 +184,7 @@ 0, 0, 0}); - this.armySize.Location = new System.Drawing.Point(110, 186); + this.armySize.Location = new System.Drawing.Point(141, 186); this.armySize.Maximum = new decimal(new int[] { 1000000, 0, @@ -198,27 +204,27 @@ // this.lblGameSystem.Location = new System.Drawing.Point(12, 9); this.lblGameSystem.Name = "lblGameSystem"; - this.lblGameSystem.Size = new System.Drawing.Size(92, 18); + this.lblGameSystem.Size = new System.Drawing.Size(123, 18); this.lblGameSystem.TabIndex = 12; this.lblGameSystem.Text = "game system"; this.lblGameSystem.TextAlign = System.Drawing.ContentAlignment.TopRight; // // gameSystems // + this.gameSystems.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.gameSystems.DisplayMember = "Name"; this.gameSystems.FormattingEnabled = true; - this.gameSystems.Location = new System.Drawing.Point(110, 6); + this.gameSystems.Location = new System.Drawing.Point(141, 6); this.gameSystems.Name = "gameSystems"; - this.gameSystems.Size = new System.Drawing.Size(248, 21); + this.gameSystems.Size = new System.Drawing.Size(265, 21); this.gameSystems.TabIndex = 13; this.gameSystems.SelectedValueChanged += new System.EventHandler(this.gameSystems_SelectedValueChanged); // // FrmNewArmy // - this.AcceptButton = this.bttnSelectRace; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); - this.CancelButton = this.bttnCancel; - this.ClientSize = new System.Drawing.Size(370, 267); + this.ClientSize = new System.Drawing.Size(418, 267); this.Controls.Add(this.gameSystems); this.Controls.Add(this.lblGameSystem); this.Controls.Add(this.armySize); diff -r ce63500e0ec1 -r 18d607b0249b FrmUnit.cs --- a/FrmUnit.cs Sat Apr 03 20:06:33 2010 +0000 +++ b/FrmUnit.cs Tue Apr 06 13:13:24 2010 +0000 @@ -249,9 +249,9 @@ // lblUnitSize // this.lblUnitSize.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.lblUnitSize.Location = new System.Drawing.Point(452, 8); + this.lblUnitSize.Location = new System.Drawing.Point(426, 8); this.lblUnitSize.Name = "lblUnitSize"; - this.lblUnitSize.Size = new System.Drawing.Size(72, 23); + this.lblUnitSize.Size = new System.Drawing.Size(98, 23); this.lblUnitSize.TabIndex = 0; this.lblUnitSize.Text = "unit size"; this.lblUnitSize.TextAlign = System.Drawing.ContentAlignment.TopRight; @@ -327,7 +327,7 @@ // this.lblPoints.Location = new System.Drawing.Point(358, 8); this.lblPoints.Name = "lblPoints"; - this.lblPoints.Size = new System.Drawing.Size(88, 21); + this.lblPoints.Size = new System.Drawing.Size(77, 21); this.lblPoints.TabIndex = 12; this.lblPoints.Text = "(points)"; // diff -r ce63500e0ec1 -r 18d607b0249b IBBoard.WarFoundry.GUI.WinForms.csproj --- a/IBBoard.WarFoundry.GUI.WinForms.csproj Sat Apr 03 20:06:33 2010 +0000 +++ b/IBBoard.WarFoundry.GUI.WinForms.csproj Tue Apr 06 13:13:24 2010 +0000 @@ -210,6 +210,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest diff -r ce63500e0ec1 -r 18d607b0249b translations/fr.translation --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/translations/fr.translation Tue Apr 06 13:13:24 2010 +0000 @@ -0,0 +1,111 @@ + + + &Fichier + &Édition + &Aide + &Créer une armée + &Ouvrir une armée + &Enregistrer une armée + Enregistrer une armée sous… + &Exporter une armée + HTML Basic + &Fermer une armée + &Recharger les fichiers + &Sortir + &Annuler + &Rétablir + &À propos + OK + Annuler + Créer une armée + Ouvrir une armée + Sauvegarder une armée + Annuler + Rétablir + Arborescence de l'armée + &Supprimer une unité + &Éditer une unité + Ouvrir une armée + Sauvegarder une armée + WarFoundry Army Files (*.army) + {0} pts / {1} pts + Nombre de point d'armée actuel + Unité de {0} {1} + Créer une nouvelle armée + Système de jeux : + Races : + Nom de l'armée : + Taille de l'armée : + Créer une armée + Ajouter un nouveau choix {0} + Types d'unité : + Créer une unité + Nouvelle équipement pour {0} + Quantité : + Équipement : + Tout équiper + Le pourcentage actuel ({0}%) est trop important par rapport au maximum d'équipement accordé ({1}%). La valeur maximum sera utilisée à la place. + Le pourcentage d'équipement est trop important + Le pourcentage actuel ({0}%) est trop faible par rapport au minimum d'équipement demandé ({1}%). La valeur minimum sera utilisée à la place. + Pourcentage d'équipement trop petit + La valeur en point ({0}) est trop importante par rapport au maximum d'équipement accordé ({1}). La valeur maximum sera utilisée à la place. + Pourcentage d'équipement trop petit + La valeur en point ({0}) est trop faible par rapport au minimum d'équipement demandé ({1}). La valeur minimum sera utilisée à la place. + Nombre de point d'équipement trop faible + Édition {0} pour {1} + À propos de WarFoundry + Version : {0} + Développeurs : + Remerciement : + {0} + Taille d'unité : + Équipement : + Ajouter + Capacités : + Notes : + Supprimer + Remplacer + Éditer + {0} ({1} à {2} pts chacun) + {0} ({1} gratuit) + pour ({1}) + pour {0}% ({1}) + {0} + Fichier de race invalide + Fichier d'armée invalide + L'armée "{0}" a été modifiée. Sauvegarder les changements avant de fermer ? + Changements non-sauvegardés + WarFoundry ne peut pas sauvegarder le fichier. Veillez vérifier le log pour plus d'informations + Échec de la sauvegarde du fichier + {0} - {1} pts + Nom + Notes + Points + tout ({1}) + {0}% ({1}) + {0} + {0} pour {1} + tout ({1}) + {0}% ({1}) + {0} + Fixer {0} la quantité {1} par {2} + Fixer {0} la quantité {1} par {2} + Remplacer {0} de {1} par {2} + Remplacer {0} de {1} par {2} + Ajouter une unité de {0} + Supprimer une unité de {0} + Supprimer {0} + Rajouter {0} + Renommer "{0}" par "{1}" + Renommer "{0}" par "{1}" + Changer la taille de {0} par {1} + Changer la taille {0} par {1} + {0}; et {1} + {0}; ou {1} + {0} peut être sélectionné si aucun des objets suivants ne sont selectionnés : {1} + {1} peut être sélectionné {0} fois + {1} doit être sélectionné au moins {0} fois + {1} {0} + {0}, {1} + {0} peut être sélectionné seulement si l'objet suivant est sélectionné : {1} + \ No newline at end of file