summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-08 15:07:47 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-08 15:07:47 -0500
commitacf3941b4aa95bff9e80aa03e22dc064036e69cf (patch)
treefa00598349637eb125c8eb132f3dd74a2e3e9e6f /scripts
parent813b7c4c0036a73c3bb5ef31f98e83cce2630e9e (diff)
Improve js and add native language support for datepicker and calendar
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-assets.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/make-assets.sh b/scripts/make-assets.sh
index 1a2a7763..10334a98 100755
--- a/scripts/make-assets.sh
+++ b/scripts/make-assets.sh
@@ -3,8 +3,9 @@
app_css="base links title table form button alert tooltip header board task comment subtask markdown listing activity dashboard pagination popover confirm sidebar responsive dropdown"
vendor_css="jquery-ui-1.10.4.custom chosen.min fullcalendar.min font-awesome.min"
-app_js="base board calendar task analytic swimlane dashboard init"
+app_js="base board calendar analytic swimlane dashboard"
vendor_js="jquery-1.11.1.min jquery-ui-1.10.4.custom.min jquery.ui.touch-punch.min chosen.jquery.min dropit.min moment.min fullcalendar.min mousetrap.min app.min"
+lang_js="da de es fi fr hu it ja pl pt-br ru sv th zh-cn"
function merge_css {
@@ -44,6 +45,7 @@ function merge_js {
rm -f $dst_file 2>/dev/null
for file in $vendor_js; do cat "assets/js/vendor/${file}.js" >> $dst_file; done
+ for file in $lang_js; do cat "assets/js/vendor/lang/${file}.js" >> $dst_file; done
rm -f $tmp_file 2>/dev/null
}