diff options
author | David De Sloovere <david.desloovere@hotmail.com> | 2011-11-17 13:43:02 -0600 |
---|---|---|
committer | kborchers <k_borchers@yahoo.com> | 2011-11-17 13:43:02 -0600 |
commit | dfbd9be72df7734451f535af6dcc1f07294c242b (patch) | |
tree | 3fd5c170462fbd78195fca0f4814c0e9696584a6 | |
parent | 9ebbcfe87ed9213f1e20a2873e526878e474ee90 (diff) | |
download | jquery-ui-dfbd9be72df7734451f535af6dcc1f07294c242b.tar.gz jquery-ui-dfbd9be72df7734451f535af6dcc1f07294c242b.zip |
Datepicker: added i18n for nl-BE. Fixes #7895 Datepicker: Add Dutch (Belgium) Localization
-rw-r--r-- | demos/datepicker/localization.html | 2 | ||||
-rw-r--r-- | demos/index.html | 1 | ||||
-rw-r--r-- | ui/i18n/jquery.ui.datepicker-nl-BE.js | 23 |
3 files changed, 26 insertions, 0 deletions
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 @@ <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> @@ -106,6 +107,7 @@ <option value="hr">Croatian (Hrvatski jezik)</option> <option value="cs">Czech (češ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> 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 @@ <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 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 |