comparison FrmUnit.cs @ 190:1ca23c47345a

Re #327: Point names used in the GUI
author snowblizz
date Mon, 24 Jan 2011 16:50:31 +0000
parents 97fd4b6f823b
children eaa7b639d390
comparison
equal deleted inserted replaced
189:cb86380cbf61 190:1ca23c47345a
46 private IBBLabel lblNotes; 46 private IBBLabel lblNotes;
47 private TextBox notes; 47 private TextBox notes;
48 private ListBox abilitiesList; 48 private ListBox abilitiesList;
49 private IBBLabel lblAbilities; 49 private IBBLabel lblAbilities;
50 private FlowLayoutPanel statsPanel; 50 private FlowLayoutPanel statsPanel;
51 public GameSystem CurrentGameSystem
52 {
53 get { return WarFoundryCore.CurrentGameSystem; }
54 set { WarFoundryCore.CurrentGameSystem = value; }
55 }
56
51 /// <summary> 57 /// <summary>
52 /// Required designer variable. 58 /// Required designer variable.
53 /// </summary> 59 /// </summary>
54 private System.ComponentModel.Container components = null; 60 private System.ComponentModel.Container components = null;
55 61
99 SetPointsValueText(); 105 SetPointsValueText();
100 } 106 }
101 107
102 private void SetPointsValueText() 108 private void SetPointsValueText()
103 { 109 {
104 lblPoints.Text = "(" + unit.Points + " pts)"; 110 lblPoints.Text = Translation.GetTranslation("FrmUnitlblPoints", "(" + unit.Points + " pts)", unit.Points, CurrentGameSystem.UsePointsAbbrev(unit.Points));
105 } 111 }
106 112
107 private void SetStats() 113 private void SetStats()
108 { 114 {
109 Stat[][] stats = unit.UnitStatsArraysWithName; 115 Stat[][] stats = unit.UnitStatsArraysWithName;