From: David De Sloovere Date: Thu, 17 Nov 2011 19:43:02 +0000 (-0600) Subject: Datepicker: added i18n for nl-BE. Fixes #7895 Datepicker: Add Dutch (Belgium) Localiz... X-Git-Tag: 1.9m7~139^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F527%2Fhead;p=jquery-ui.git Datepicker: added i18n for nl-BE. Fixes #7895 Datepicker: Add Dutch (Belgium) Localization --- diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 8aa91153a..553406757 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -50,6 +50,7 @@ + @@ -106,6 +107,7 @@ + diff --git a/demos/index.html b/demos/index.html index 75e155b24..700ebcdd6 100644 --- a/demos/index.html +++ b/demos/index.html @@ -86,6 +86,7 @@ + diff --git a/ui/i18n/jquery.ui.datepicker-nl-BE.js b/ui/i18n/jquery.ui.datepicker-nl-BE.js new file mode 100644 index 000000000..56207cb04 --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-nl-BE.js @@ -0,0 +1,23 @@ +/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */ +/* David De Sloovere @DavidDeSloovere */ +jQuery(function($){ + $.datepicker.regional['nl-BE'] = { + closeText: 'Sluiten', + prevText: '←', + nextText: '→', + currentText: 'Vandaag', + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], + monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['nl-BE']); +}); \ No newline at end of file