URL:
<http://gna.org/patch/?2487>
Summary: enum modpack_type
Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 07 Feb 2011 01:19:12 AM EET
Category: module installer
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3.0, 2.4.0
_______________________________________________________
Details:
Currently modpack ("custom content package" would be better description) type
is passed as string that is read from downloaded modpack.list. This is
obviously sub-optimal when we add features that really use modpack type
information instead of just displaying it on screen.
Attached patch turns this type into (spec)enum.
There's immediate benefit from this patch. Since we no longer pass enum type
string as it is, but produce it when needed, it can be translatable. I
consider it a bug that it was earlier not translatable, and thus targeted this
patch to S2_3 also.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 07 Feb 2011 01:19:12 AM EET Name: EnumModpackType.diff Size: 4kB
By: cazfi
<http://gna.org/patch/download.php?file_id=12299>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2487>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev