Skip to content
Permalink
Browse files

Add Austrian localization for datepicker, based on German version.

  • Loading branch information...
0-wiz-0 committed Aug 31, 2014
1 parent 304c00d commit 3024bad59152e0bb82981a3b159b5e291f59ce95
Showing with 38 additions and 0 deletions.
  1. +38 −0 ui/i18n/datepicker-at.js
@@ -0,0 +1,38 @@
/* Austrian initialisation for the jQuery UI date picker plugin. */
/* Based on German files, originally written by Milian Wolff (mail@milianw.de). */
/* Modifications by Thomas Klausner <tk@giga.or.at>. */
(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['at'] = {
closeText: 'Schließen',
prevText: '&#x3C;Zurück',
nextText: 'Vor&#x3E;',
currentText: 'Heute',
monthNames: ['Jänner','Februar','März','April','Mai','Juni',
'Juli','August','September','Oktober','November','Dezember'],
monthNamesShort: ['Jän','Feb','Mär','Apr','Mai','Jun',
'Jul','Aug','Sep','Okt','Nov','Dez'],
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
weekHeader: 'KW',
dateFormat: 'dd.mm.yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
datepicker.setDefaults(datepicker.regional['at']);

return datepicker.regional['at'];

}));

0 comments on commit 3024bad

Please sign in to comment.
You can’t perform that action at this time.