include catalan and italian locales for moment and bootstrap-datepicker

This commit is contained in:
jelhan 2017-07-28 10:52:22 +02:00
parent 1b815f0ee9
commit 13598fbe1b
3 changed files with 5 additions and 3 deletions

View file

@ -1,8 +1,8 @@
export default {
'ca': 'catalan'
'ca': 'catalan',
'de': 'deutsch',
'en': 'english',
'en-GB': 'english (GB)',
'es': 'español'
'es': 'español',
'it': 'italiano'
};

View file

@ -34,7 +34,7 @@ module.exports = function(environment) {
},
moment: {
includeLocales: ['de', 'es'],
includeLocales: ['ca', 'de', 'es', 'it'],
includeTimezone: 'subset'
},

View file

@ -34,9 +34,11 @@ module.exports = function() {
// along with the exports of each module as its value.
app.import('bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js');
app.import('bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ca.js');
app.import('bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js');
app.import('bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-GB.js');
app.import('bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js');
app.import('bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js');
app.import({
development: 'bower_components/floatThead/dist/jquery.floatThead.js',