I have added a number of properties to my.properties:
1. Ways to define a locale. As it is now, it is a bit of an overkill,
allowing entering all of language, country and locale code
(which includes both language and country, and optionally a variant).
I suppose we could get rid of locale, but I'll leave it in for now.
The locale affects the resource bundle that will be selected,
see my separate post on that subject.
2. A custom money format.
If specified, it will override anything specified in Game.xml.
3. Next to the game report directory, also options to
change the report filename (date/time part and extension).
Date/time must be valid pattern characters as in SimpleDateFormat.
I know this is a stretch for most users, so this needs
documentation if we leave it in.
4. Default player names (e.g. Alice,Bob,Charlie in stead of 0,1,2).
By default the player name boxes are now empty.
While testing the above, I noticed that Game.initialise() was called twice.
I have cleaned that up.
I have also added many more localisations. I believe that now
all user-visible text (except the log) is localised.
I think the localisation file still needs to be cleaned up somewhat.
Again, see my separate post.
Erik Vos
|