]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: added i18n for nl-BE. Fixes #7895 Datepicker: Add Dutch (Belgium) Localiz...
authorDavid De Sloovere <david.desloovere@hotmail.com>
Thu, 17 Nov 2011 19:43:02 +0000 (13:43 -0600)
committerScott González <scott.gonzalez@gmail.com>
Sat, 19 Nov 2011 15:26:27 +0000 (09:26 -0600)
(cherry picked from commit dfbd9be72df7734451f535af6dcc1f07294c242b)

demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-nl-BE.js [new file with mode: 0644]

index 8aa91153a8b33125d44b571f24d290ffe570a0b4..5534067575ade2a0c0c62adfe79d2db584564473 100644 (file)
@@ -50,6 +50,7 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
+       <script src="../../ui/i18n/jquery.ui.datepicker-nl-BE.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-pt.js"></script>
                <option value="hr">Croatian (Hrvatski jezik)</option>
                <option value="cs">Czech (&#269;e&#353;tina)</option>
                <option value="da">Danish (Dansk)</option>
+               <option value="nl-BE">Dutch (Belgium)</option>
                <option value="nl">Dutch (Nederlands)</option>
                <option value="en-AU">English/Australia</option>
                <option value="en-NZ">English/New Zealand</option>
index 09989723d118d4da7c09a22108548100e49621c9..588994a3f344a5e3a319b4d7723b7a39fcd4c10c 100644 (file)
@@ -79,6 +79,7 @@
        <script src="../ui/i18n/jquery.ui.datepicker-ml.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ms.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-nl.js"></script>
+       <script src="../ui/i18n/jquery.ui.datepicker-nl-BE.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-no.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-pl.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-pt.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-nl-BE.js b/ui/i18n/jquery.ui.datepicker-nl-BE.js
new file mode 100644 (file)
index 0000000..56207cb
--- /dev/null
@@ -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