Mercurial > repos > IBBoard.WarFoundry.API
comparison api/Objects/UnitEquipmentRatioSelection.cs @ 228:ece26f6a62f3
Re #223: Use translations within the API
* Translate headings in basic HTML output
* Remove some translation of exception messages (exceptions are for developers, users should get a message built from exception message)
* Replace a string concat with String.Format
Still need to check Requirements and below
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 20 Dec 2009 20:59:28 +0000 |
parents | 1b718b67f7f6 |
children | 92d10b06ab0f |
comparison
equal
deleted
inserted
replaced
227:bf4f04f385d0 | 228:ece26f6a62f3 |
---|---|
51 { | 51 { |
52 string amountString; | 52 string amountString; |
53 | 53 |
54 if (amount == 100) | 54 if (amount == 100) |
55 { | 55 { |
56 amountString = "all"; //TODO: Translate | 56 amountString = "all"; |
57 } | 57 } |
58 else | 58 else |
59 { | 59 { |
60 amountString = amount + "%"; | 60 amountString = amount + "%"; |
61 } | 61 } |