comparison Widgets/UnitDisplayWidget.cs @ 135:fda46380dd68

Re #329: "Points" system should be used in UI * Replace fixed "pts" or "pt" with game system's text (May be fixed, but needs more testing)
author IBBoard <dev@ibboard.co.uk>
date Sun, 09 Oct 2011 21:03:09 +0100
parents b4416ca69153
children
comparison
equal deleted inserted replaced
134:7e77e79e5fdd 135:fda46380dd68
227 { 227 {
228 translation = Translation.GetTranslation("equipmentAmountWithZeroCost", "{0} ({1} - free)", item.Name, GetAmountString(item)); 228 translation = Translation.GetTranslation("equipmentAmountWithZeroCost", "{0} ({1} - free)", item.Name, GetAmountString(item));
229 } 229 }
230 else 230 else
231 { 231 {
232 translation = Translation.GetTranslation("equipmentAmountWithCost", "{0} ({1} at {2}pts each)", item.Name, GetAmountString(item), item.Cost); 232 translation = Translation.GetTranslation("equipmentAmountWithCost", "{0} ({1} at {2}{3} each)", item.Name, GetAmountString(item), item.Cost, WarFoundryCore.CurrentGameSystem.GetPointsAbbrev(item.Cost));
233 } 233 }
234 234
235 return translation; 235 return translation;
236 } 236 }
237 237