summaryrefslogtreecommitdiffstats
path: root/public/javascripts/i18n/datepicker-lv.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/i18n/datepicker-lv.js')
-rw-r--r--public/javascripts/i18n/datepicker-lv.js53
1 files changed, 32 insertions, 21 deletions
diff --git a/public/javascripts/i18n/datepicker-lv.js b/public/javascripts/i18n/datepicker-lv.js
index b9e288535..25d4a3741 100644
--- a/public/javascripts/i18n/datepicker-lv.js
+++ b/public/javascripts/i18n/datepicker-lv.js
@@ -1,37 +1,48 @@
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
-(function( factory ) {
+( function( factory ) {
+ "use strict";
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define([ "../datepicker" ], factory );
+ define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
-}(function( datepicker ) {
+} )( function( datepicker ) {
+"use strict";
-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',
+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']);
+ yearSuffix: "" };
+datepicker.setDefaults( datepicker.regional.lv );
-return datepicker.regional['lv'];
+return datepicker.regional.lv;
-}));
+} );