vtfuture / BForms

Bootstrap Forms for ASP.NET MVC
MIT License
62 stars 33 forks source link

bforms.datepicker.js and Localisation #267

Open meister-d opened 8 years ago

meister-d commented 8 years ago

Hi BForms Team, as we are programming for German Speaking Users, we have to modifiy / add some language strings to the files eg in bforms.datepicker.js i had to add the de part:

 $.fn.bsDatepickerLang = {
        'en': {
            nowText: 'Now',
            setDateText: 'Set date',
            setTimeText: 'Set time'
        },
        'ro': {
            nowText: 'Acum',
            setDateText: 'Setează data',
            setTimeText: 'Setează ora'
        },
        'de': {
            nowText: 'Now',
            setDateText: 'Set date',
            setTimeText: 'Set time'
        }
    };

If I deploy this in Debug mode, everything seems to work fine. But in release mode the minimized version of the plugins.js is used.

As I'm new to minimizing scripts: What's the best way to get from the Debug version of the Files to the minimized one so that we can deploy our application in release mode?

Regards Dumitru