Paratron/SimpLESS — pull request #7 by mike182uk (2011-10-30 00:06:29+00:00)
Title: Added localization, user configuration and CSS minification

## Features Added

- **Localization (L10n) Support** - When i first started using this app i noticed the months where in german. Rather than simply replacing them to english equivalents i have added L10n.json which contains localized data depending on the users preference. This could be expanded to include lots of other locales.
- **User Configuration Support** - For the localization support to work correctly the user needs the ability to select there locale. I have created a configuration page the user can go to, to modify the configuration of the app. I have moved the show love message here as-well. I think on the homescreen rather than having the 'show love' icon in the bottom bar, a cog icon (indicates settings) would be more appropriate which would then take you to the conifg page (where you can modify multiple settings for the app). This adds scope to add more configurable options later.
- **CSS Minification Support** - On the configuration page the user can select wether they want the CSS output to be minified or not.

## Notes

**Design**

Unfortunately im not a designer so im not too good at making things look pretty :( You did an awesome job with the looks of the app so i have left the design of the configure cog, and configuration page up to you.

**Misc**

I have used localStorage to save the users configuration data. Im not 100% sure how titanium works with this but when i was testing it seemed to work fine with me (making changes, rebooting app etc.)

The users configuration data is saved as a JSON string (stringified). It needs parsing on retrieval.

The CSS minification is done by a series of regular expressions. I have tested on a few different less files (with different levels of formattings) and it seems to work fine. Regular expressions could probably do with refactoring a little though.