diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-09-27 05:22:10 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-09-27 05:22:10 +0000 |
commit | 9a7fb0ad7be0ee3403f5b89eb0c16b68c991d519 (patch) | |
tree | 2b3be820a0bd43d64a2fe62b59c04cff62920c93 /public/javascripts/i18n/datepicker-lv.js | |
parent | 5ce32798f278675f7a7b81a5d4d6ce9402bd49c6 (diff) | |
download | redmine-9a7fb0ad7be0ee3403f5b89eb0c16b68c991d519.tar.gz redmine-9a7fb0ad7be0ee3403f5b89eb0c16b68c991d519.zip |
import jQuery Datepicker i18n files version 1.11.1
https://github.com/jquery/jquery-ui/commit/874945e66d6684e7ef7013e1bc2723b485ed6178
git-svn-id: http://svn.redmine.org/redmine/trunk@13416 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/i18n/datepicker-lv.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-lv.js | 56 |
1 files changed, 35 insertions, 21 deletions
diff --git a/public/javascripts/i18n/datepicker-lv.js b/public/javascripts/i18n/datepicker-lv.js index 003934e72..b9e288535 100644 --- a/public/javascripts/i18n/datepicker-lv.js +++ b/public/javascripts/i18n/datepicker-lv.js @@ -1,23 +1,37 @@ /* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ -jQuery(function($){ - $.datepicker.regional['lv'] = { - closeText: 'Aizvērt', - prevText: 'Iepr', - nextText: 'Nāka', - currentText: 'Šodien', - monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', - 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], - monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', - 'Jūl','Aug','Sep','Okt','Nov','Dec'], - dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], - dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], - dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], - weekHeader: 'Nav', - dateFormat: 'dd-mm-yy', - firstDay: 1, - isRTL: false, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['lv']); -});
\ No newline at end of file +(function( factory ) { + if ( typeof define === "function" && define.amd ) { + + // AMD. Register as an anonymous module. + define([ "../datepicker" ], factory ); + } else { + + // Browser globals + factory( jQuery.datepicker ); + } +}(function( datepicker ) { + +datepicker.regional['lv'] = { + closeText: 'Aizvērt', + prevText: 'Iepr.', + nextText: 'Nāk.', + currentText: 'Šodien', + monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', + 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', + 'Jūl','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], + dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], + dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], + weekHeader: 'Ned.', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; +datepicker.setDefaults(datepicker.regional['lv']); + +return datepicker.regional['lv']; + +})); |