Fix language in datetimepicker, ref T50
authorAndreas Boehler <andreas@aboehler.at>
Wed, 15 Nov 2017 14:56:52 +0100
changeset 98 44f79c6fb95f
parent 97 289b4fc06c1a
child 99 fba5a06844d8
Fix language in datetimepicker, ref T50
plugin.info.txt
script.js
--- a/plugin.info.txt	Fri Jul 28 14:45:21 2017 +0200
+++ b/plugin.info.txt	Wed Nov 15 14:56:52 2017 +0100
@@ -1,7 +1,7 @@
 base	davcal
 author  Andreas Boehler
 email   dev@aboehler.at
-date    2017-07-28
+date    2017-11-15
 name    Calendar PlugIn with CalDAV sharing support
 desc    Create one calendar per page and share/subscribe via CalDAV
 url     http://www.dokuwiki.org/plugin:davcal
--- a/script.js	Fri Jul 28 14:45:21 2017 +0200
+++ b/script.js	Wed Nov 15 14:56:52 2017 +0100
@@ -705,21 +705,25 @@
                                                       formatDate:'YYYY-MM-DD',
                                                       datepicker: true,
                                                       timepicker: false,
+                                                      lang: JSINFO.plugin.davcal['language'],
                                                       });
         jQuery('#dw_davcal__eventfromtime_edit').datetimepicker({format:'HH:mm',
                                                       formatTime:'HH:mm',
                                                       datepicker: false,
                                                       timepicker: true,
+                                                      lang: JSINFO.plugin.davcal['language'],
                                                       step: 15});
         jQuery('#dw_davcal__eventto_edit').datetimepicker({format:'YYYY-MM-DD',
                                                       formatDate:'YYYY-MM-DD',
                                                       datepicker: true,
                                                       timepicker: false,
+                                                      lang: JSINFO.plugin.davcal['language'],
                                                       });
         jQuery('#dw_davcal__eventtotime_edit').datetimepicker({format:'HH:mm',
                                                       formatTime:'HH:mm',
                                                       datepicker: false,
                                                       timepicker: true,
+                                                      lang: JSINFO.plugin.davcal['language'],
                                                       step:15});
         jQuery('#dw_davcal__allday_edit').change(function() {
             if(jQuery(this).is(":checked"))