aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/ui/i18n/ui.datepicker-sv.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/ui/i18n/ui.datepicker-sv.js')
-rw-r--r--themes/default/js/ui/i18n/ui.datepicker-sv.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/default/js/ui/i18n/ui.datepicker-sv.js b/themes/default/js/ui/i18n/ui.datepicker-sv.js
new file mode 100644
index 000000000..47c4b24e4
--- /dev/null
+++ b/themes/default/js/ui/i18n/ui.datepicker-sv.js
@@ -0,0 +1,19 @@
+/* Swedish initialisation for the jQuery UI date picker plugin. */
+/* Written by Anders Ekdahl ( anders@nomadiz.se). */
+jQuery(function($){
+ $.datepicker.regional['sv'] = {
+ closeText: 'Stäng',
+ prevText: '«Förra',
+ nextText: 'Nästa»',
+ currentText: 'Idag',
+ monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
+ 'Juli','Augusti','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
+ dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
+ dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
+ dateFormat: 'yy-mm-dd', firstDay: 1,
+ isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['sv']);
+});