]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added Luxembourgish translation. Fixes #7891 Datepicker: Add Luxembourgis...
authorMichel Weimerskirch <michel@weimerskirch.net>
Thu, 17 Nov 2011 17:52:32 +0000 (11:52 -0600)
committerkborchers <k_borchers@yahoo.com>
Thu, 17 Nov 2011 17:52:32 +0000 (11:52 -0600)
demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-lb.js [new file with mode: 0644]

index d63859663e83d073f4721d6451f189aafd79edaf..36cf4cfa713096ea52b6f643565c98e35b27d186 100644 (file)
@@ -42,6 +42,7 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-kk.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script>
+       <script src="../../ui/i18n/jquery.ui.datepicker-lb.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script>
                <option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
                <option value="lv">Latvian (Latvie&ouml;u Valoda)</option>
                <option value="lt">Lithuanian (lietuviu kalba)</option>
+               <option value="lb">Luxembourgish</option>
                <option value="ml">Malayalam</option>
                <option value="ms">Malaysian (Bahasa Malaysia)</option>
                <option value="no">Norwegian (Norsk)</option>
index 8ea00483119d641521aa5cd1264f8191a3970868..97de3913259ec9433cb569bbd1d8aaac60773c97 100644 (file)
@@ -78,6 +78,7 @@
        <script src="../ui/i18n/jquery.ui.datepicker-ja.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-kk.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ko.js"></script>
+       <script src="../ui/i18n/jquery.ui.datepicker-lb.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ml.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-lb.js b/ui/i18n/jquery.ui.datepicker-lb.js
new file mode 100644 (file)
index 0000000..87c79d5
--- /dev/null
@@ -0,0 +1,23 @@
+/* Luxembourgish initialisation for the jQuery UI date picker plugin. */
+/* Written by Michel Weimerskirch <michel@weimerskirch.net> */
+jQuery(function($){
+       $.datepicker.regional['lb'] = {
+               closeText: 'Fäerdeg',
+               prevText: 'Zréck',
+               nextText: 'Weider',
+               currentText: 'Haut',
+               monthNames: ['Januar','Februar','Mäerz','Abrëll','Mee','Juni',
+               'Juli','August','September','Oktober','November','Dezember'],
+               monthNamesShort: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun',
+               'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
+               dayNames: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'],
+               dayNamesShort: ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'],
+               dayNamesMin: ['So','Mé','Dë','Më','Do','Fr','Sa'],
+               weekHeader: 'W',
+               dateFormat: 'dd.mm.yy',
+               firstDay: 1,
+               isRTL: false,
+               showMonthAfterYear: false,
+               yearSuffix: ''};
+       $.datepicker.setDefaults($.datepicker.regional['lb']);
+});