From: Erik V. <eri...@xs...> - 2010-01-27 21:39:15
|
Oh dear, I have mixed those up again... My English is far less than perfect, but (if starting again) I would tend to use "amount" for money and "quantity" for other countable items. I haven't really found it worth while to align all such usage, but I wouldn't object either. Erik. -----Original Message----- From: Freek Dijkstra [mailto:sf_...@ma...] Sent: Wednesday 27 January 2010 01:00 To: Development list for Rails Subject: [Rails-devel] XML: amount vs quantity Another minor bug. The TileSet.xml of 18Kaas did contain the wrong attribute for yellow tiles: <Tile id="1" amount="1" /> <Tile id="2" amount="1" /> while the correct attribute is quantity: <Tile id="1" quantity="1" /> <Tile id="2" quantity="1" /> Attached is a patch for 18Kaas. A quick survey learned that this is the only place this is mixed up, but it does make me wonder why CompanyManager.xml and Game.xml use the attribute "amount", while TileSet.xml uses the attribute "quantity", to represent roughly the same thing. Should we change it? Regards, Freek |